Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local player = game.Players.LocalPlayer
- local backpack = player.Backpack
- local RunService = game:GetService('RunService')
- function changeEvent()
- backpack.Power.E.Parent = game.ReplicatedStorage
- backpack.Health.Eat.Parent = game.ReplicatedStorage
- backpack.Speed.TrainEvent.Parent = game.ReplicatedStorage
- end
- function unEquipTools()
- for i,v in pairs(player.Character:GetChildren()) do
- if v.ClassName == "Tool" then
- v.Parent = backpack
- end
- end
- end
- unEquipTools()
- changeEvent()
- RunService.Heartbeat:connect(function()
- game.ReplicatedStorage.E:FireServer()
- game.ReplicatedStorage.Eat:FireServer()
- game.ReplicatedStorage.TrainEvent:FireServer()
- end)
Add Comment
Please, Sign In to add comment