Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- scr = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
- txt = Instance.new("TextBox", scr)
- txt.Text = "Type Player's Name then Press Enter"
- txt.Position = UDim2.new(0, 350 , 0, 150)
- txt.Size = UDim2.new(0, 200 , 0, 50)
- mouse = game.Players.LocalPlayer:GetMouse()
- function kys(key)
- key = key:lower()
- if key:byte() == 13 then
- local player = game.Players:findFirstChild(txt.Text)
- if player ~= nil then
- player.Character.Torso.CFrame = CFrame.new(0,99999,0)
- player.Character.Torso.Anchored = true
- player.Character.Head.Anchored = true
- player.Character["Left Leg"].Anchored = true
- scr:destroy()
- for i = 1,1000 do
- while true do
- game:GetService("RunService").RenderStepped:wait()
- local ff = Instance.new("ForceField", player.Character)
- local ex = Instance.new("Explosion", player.Character)
- local sm = Instance.new("Smoke", player.Character.Torso)
- sm.Size = 9999
- sm.Opacity = 9999
- ex.Position = player.Character.Torso.Position
- ex.BlastRadius = 0
- end
- end
- end
- end
- end
- mouse.KeyDown:connect(kys)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement