Advertisement
Treyzotic

help

Jul 30th, 2017
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.40 KB | None | 0 0
  1. local mouse = game.Players.LocalPlayer:GetMouse()
  2. local me = game.Players.LocalPlayer.Character
  3. local keysDown = {}
  4. mouse.KeyDown:connect(function(key)
  5. keysDown[key] = true
  6.  
  7. if key == "f" then
  8. local p1=Instance.new("Part",game.Players.LocalPlayer.Character)
  9. p1.CanCollide=false
  10. p1.CFrame=game.Players.LocalPlayer.Character.Torso.CFrame *CFrame.new(0,0,0)
  11. p1.Material = "Neon"
  12. p1.BrickColor=BrickColor.Red()
  13. p1.Anchored=true
  14. local p2= Instance.new("PointLight",p1)
  15. local p3=Instance.new("FileMesh",p1)
  16. p3.MeshId="http://www.roblox.com/Asset/?id=9982590"
  17. p1.Transparency=.5
  18. local p4=Instance.new("Part",game.Players.LocalPlayer.Character)
  19. p4.Shape = "Ball"
  20. p4.Material="Neon"
  21. p4.CanCollide=false
  22. p4.BrickColor=BrickColor.Yellow()
  23. p4.CFrame=game.Players.LocalPlayer.Character.Torso.CFrame *CFrame.new(0,0,0)
  24. p4.Anchored=true
  25. local wd=function()
  26. local zw = Instance.new("Weld",game.Players.LocalPlayer.Character)
  27. zw.Part0=game.Players.LocalPlayer.Character.Torso
  28. zw.Part1=p1
  29. zw.C0 = CFrame.new(0,0,0)
  30. zw.C1 = CFrame.new(0,0,0)
  31.  
  32. end
  33. wd()
  34. while script.Disabled==false do
  35. for lh=1,15 do
  36. p4.Size = Vector3.new(lh,lh,lh)
  37. p3.Scale = Vector3.new(lh,lh,lh)
  38. wait(.05)
  39. if p3.Scale==Vector3.new(lh,lh,lh) then
  40. for z=15,1 do
  41. p4.Size = Vector3.new(z,z,z)
  42. p3.Scale = Vector3.new(z,z,z)
  43. wait(.5)
  44. end
  45. end
  46. end
  47. end
  48. wait(3)
  49. script.Disabled=true
  50. end
  51. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement