Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -in roblox chat say 'kick sand_undertale' all credits go to owner
- function kick(playername)
- for i = 1,5 do
- P = game.Players[sand_undertale]
- if P.Character and P.Character:FindFirstChild('HumanoidRootPart') and P.Character:FindFirstChild('Torso') then
- P.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000)
- local SP = Instance.new('SkateboardPlatform', P.Character) SP.Position = P.Character.HumanoidRootPart.Position SP.Transparency = 1
- spawn(function()
- repeat wait()
- if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then SP.Position = P.Character.HumanoidRootPart.Position end
- until not game.Players:FindFirstChild(P.Name)
- end)
- P.Character.Torso.Anchored = true
- end
- end
- end
- game.Players.LocalPlayer.Chatted:connect(function(msg)
- if msg:lower():sub(0, 5) == "kick " then
- playername = msg:lower():sub(6)
- for i, v in pairs(game.Players:children()) do
- if v.Name:lower():sub(0, string.len(playername)) == playername then
- kick(v.Name)
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement