SHOW:
|
|
- or go back to the newest paste.
| 1 | - | -in roblox chat say 'kick plrname' all credits go to owner |
| 1 | + | |
| 2 | for i = 1,5 do | |
| 3 | P = game.Players[playername] | |
| 4 | if P.Character and P.Character:FindFirstChild('HumanoidRootPart') and P.Character:FindFirstChild('Torso') then
| |
| 5 | P.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000) | |
| 6 | local SP = Instance.new('SkateboardPlatform', P.Character) SP.Position = P.Character.HumanoidRootPart.Position SP.Transparency = 1
| |
| 7 | spawn(function() | |
| 8 | repeat wait() | |
| 9 | if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then SP.Position = P.Character.HumanoidRootPart.Position end
| |
| 10 | until not game.Players:FindFirstChild(P.Name) | |
| 11 | end) | |
| 12 | P.Character.Torso.Anchored = true | |
| 13 | end | |
| 14 | end | |
| 15 | end | |
| 16 | ||
| 17 | game.Players.LocalPlayer.Chatted:connect(function(msg) | |
| 18 | if msg:lower():sub(0, 5) == "kick " then | |
| 19 | playername = msg:lower():sub(6) | |
| 20 | for i, v in pairs(game.Players:children()) do | |
| 21 | if v.Name:lower():sub(0, string.len(playername)) == playername then | |
| 22 | kick(v.Name) | |
| 23 | end | |
| 24 | end | |
| 25 | end | |
| 26 | end) |