Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Command = {":re", "!re"}
- game.Players.PlayerAdded:Connect(function(player)
- player.CharacterAdded:Connect(function(chr)
- player.Chatted:Connect(function(msg)
- for i, v in pairs(Command) do
- if msg:sub(1, v:len()):lower() == v:lower() then
- player:LoadCharacter(true)
- wait(0.9)
- chr.HumanoidRootPart.CFrame = chr.HumanoidRootPart.CFrame
- end
- end
- end)
- end)
- end)
- local Command = {":re", "!re"}
- game.Players.PlayerAdded:Connect(function(player)
- player.Chatted:Connect(function(msg)
- for i, v in pairs(Command) do
- if msg:sub(1, v:len()):lower() == v:lower() then
- player:LoadCharacter(true)
- end
- end
- end)
- end)
Advertisement
Add Comment
Please, Sign In to add comment