daily pastebin goal
63%
SHARE
TWEET

Untitled

a guest May 16th, 2018 110 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local player = game.Players.LocalPlayer
  2. local mouse = player:GetMouse()
  3. local bv = Instance.new("BodyVelocity")
  4. mouse.KeyDown:connect(function(key)
  5.     if key == "e" and player.Character.Humanoid then
  6.         local sound = Instance.new("Sound",game.Players.LocalPlayer.Character)
  7.         sound.SoundId = "http://www.roblox.com/asset/?id=144699494"
  8.         sound.Volume = 1.5
  9.         sound:Play()
  10.  
  11.         wait()
  12.        
  13.         local test = Instance.new("Part",player.Character)
  14.         test.CFrame = CFrame.new(player.Character.Torso.Position)
  15.         test.Shape = ("Ball")
  16.         test.CanCollide = false
  17.         test.Anchored = true
  18.         test.Material = ("Neon")
  19.         test.Transparency = 0.5
  20.        
  21.         test.Touched:connect(function(Hit)
  22.             if Hit and Hit.Parent and  Hit.Parent:FindFirstChild("Humanoid") and Hit.Parent ~= player.Character then
  23.                 wait(2.5)
  24.                 Hit.Parent.Humanoid.Torso.Anchored = true
  25.                 Hit.Parent.Humanoid.WalkSpeed = 0
  26.                 wait(5)
  27.                 Hit.Parent.Humanoid.Torso.Anchored = false
  28.                 Hit.Parent.Humanoid.WalkSpeed = 20  
  29.                 Hit.Parent.bv = Vector3.new(50,50,50)
  30.                 bv.MaxForce = 5000
  31.             end
  32.         end)
  33.        
  34.         wait()
  35.        
  36.         for i = 1, 50 do
  37.             wait()
  38.             test.Size = Vector3.new(i, i, i)
  39.         end
  40.        
  41.         wait()
  42.         test.Transparency = 0.8
  43.         wait(0.1)
  44.         test.Transparency = 0.9
  45.         wait(0.1)
  46.         test.Transparency = 1
  47.         wait()
  48.         test:Destroy()
  49.     end
  50. end)
RAW Paste Data
Top