Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- plr = game.Players.LocalPlayer
- t = plr.Character.Torso
- ra = plr.Character["Right Arm"]
- la = plr.Character["Left Arm"]
- mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key) -- ON KEY PRESS DOOOOOWN
- if key == "x" then
- w = Instance.new("Weld", ra)
- w.Part0 = ra
- w.Part1 = t
- w.C0 = CFrame.new(-1.5,0.5,0.5) * CFrame.Angles(-7.5,0,0)
- plr.Character.Humanoid.WalkSpeed = 50
- w1 = Instance.new("Weld", la)
- w1.Part0 = la
- w1.Part1 = t
- w1.C0 = CFrame.new(1.5,0.5,-0.5) * CFrame.Angles(7.5,0,0)
- w3 = Instance.new("Weld", ra)
- b = Instance.new("Part", ra)
- b.FormFactor = "Custom"
- b.Shape = "Ball"
- b.Color = Color3.new(0,0,200)
- b.Transparency = 0.5
- b.BottomSurface = "Smooth"
- b.TopSurface = "Smooth"
- b.Size = Vector3.new(1,1,1)
- plr.Character.Humanoid.WalkSpeed = 50
- w3.Part0 = ra
- w3.Part1 = b
- w3.C0 = CFrame.new(0,-1.5,0)
- local connection --<<<<<<< no =
- connection = b.Touched:connect(function(obj) -- ON TOUUUUCHEEEEEEED
- if game.Players:GetPlayerFromCharacter(obj.Parent) then
- Instance.new("ForceField", plr.Character).Name = "Forced"
- bv = Instance.new("BodyVelocity", game.Players:GetPlayerFromCharacter(obj.Parent).Character.Torso)
- bv.P = Vector3.new(math.huge, math.huge, math.huge)
- bv.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- bv.velocity = Vector3.new(math.huge,math.huge,math.huge)
- e = Instance.new("Explosion")
- e.Parent = obj.Parent
- e.Position = game.Players:GetPlayerFromCharacter(obj.Parent).Character.Torso.Position
- e.BlastRadius = 10
- e.BlastPressure = 10
- ypcall(function() plr.Character.Forced:remove() end)
- end
- if connection then connection:disconnect() end
- end)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement