cheats.lua 738 B

12345678910111213141516171819202122232425262728
  1. -- kill everything
  2. _G.killing = true
  3. while _G.killing do
  4. for _, child in pairs(workspace.enemies:GetDescendants()) do
  5. if child:IsA("BasePart") then
  6. game.ReplicatedStorage.event.eAttackActor:FireServer(child)
  7. wait()
  8. end
  9. end
  10. wait()
  11. end
  12. -- WIPE SAVE --
  13. local playerName = "Nimblz"
  14. local player = game.Players:FindFirstChild(playerName)
  15. local action = {type = "PLAYER_ADD", player = player, saveData = {}, replicateTo = player}
  16. _G.store:dispatch(action)
  17. -- ADD ITEM --
  18. local playerName = "Nimblz"
  19. local player = game.Players:FindFirstChild(playerName)
  20. local action = {type = "ITEM_ADD", player = player, itemId = "wood", quantity = 10, replicateTo = player}
  21. _G.store:dispatch(action)