Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local player = game.Players.LocalPlayer
- local mouse = player:GetMouse()
- local bv = Instance.new("BodyVelocity")
- mouse.KeyDown:connect(function(key)
- if key == "e" and player.Character.Humanoid then
- local sound = Instance.new("Sound",game.Players.LocalPlayer.Character)
- sound.SoundId = "http://www.roblox.com/asset/?id=144699494"
- sound.Volume = 1.5
- sound:Play()
- wait()
- local test = Instance.new("Part",player.Character)
- test.CFrame = CFrame.new(player.Character.Torso.Position)
- test.Shape = ("Ball")
- test.CanCollide = false
- test.Anchored = true
- test.Material = ("Neon")
- test.Transparency = 0.5
- test.Touched:connect(function(Hit)
- if Hit and Hit.Parent and Hit.Parent:FindFirstChild("Humanoid") and Hit.Parent ~= player.Character then
- wait(2.5)
- Hit.Parent.Humanoid.Torso.Anchored = true
- Hit.Parent.Humanoid.WalkSpeed = 0
- wait(5)
- Hit.Parent.Humanoid.Torso.Anchored = false
- Hit.Parent.Humanoid.WalkSpeed = 20
- Hit.Parent.bv = Vector3.new(50,50,50)
- bv.MaxForce = 5000
- end
- end)
- wait()
- for i = 1, 50 do
- wait()
- test.Size = Vector3.new(i, i, i)
- end
- wait()
- test.Transparency = 0.8
- wait(0.1)
- test.Transparency = 0.9
- wait(0.1)
- test.Transparency = 1
- wait()
- test:Destroy()
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement