Advertisement
Guest User

Untitled

a guest
Feb 25th, 2018
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.19 KB | None | 0 0
  1. local Player = script.Parent.Parent.Parent
  2. local RightShoulder = Player.Character.Torso["Right Shoulder"]
  3. local LeftShoulder = Player.Character.Torso["Left Shoulder"]
  4. local Gate = false
  5. local AGDS142sF = 15
  6. local Time = Player.PlayerGui.ControlGUI.Chi.Time
  7. function onButton1Down()
  8. if Gate == false and Time.Value >= 6 and Player.Backpack:FindFirstChild("SpeedControl").Value == false then
  9. Gate = true
  10. Time.Value = Time.Value - 6
  11. for i = 1, 10 do
  12. RightShoulder.C0 = RightShoulder.C0 * CFrame.Angles(0, 0, math.rad(9))
  13. LeftShoulder.C0 = LeftShoulder.C0 * CFrame.Angles(0, 0, -math.rad(9))
  14. wait()
  15. end
  16. local pr = -8
  17. local si = 7
  18. local sound = Instance.new("Sound", Player.Character.Torso)
  19. sound.SoundId = "http://www.roblox.com/asset/?id=168514932"
  20. sound.Pitch = 1
  21. sound.Volume = 1
  22. sound:Play()
  23. game.Debris:AddItem(sound, 4)
  24. Player.Character.Torso.Anchored = true
  25. for bido = 1, 7 do
  26. local Lel = Player.Character.HumanoidRootPart.CFrame
  27. for i = 1, 9 do
  28. Player.Character.Torso.CFrame = Lel * CFrame.Angles(0, math.rad(i * 40), 0)
  29. local x = Instance.new("Part", workspace)
  30. x.BrickColor = BrickColor.new("Brown")
  31. x.Size = Vector3.new(math.random(9, 12), si, math.random(8, 12))
  32. x.TopSurface = "Smooth"
  33. x.BottomSurface = "Smooth"
  34. x.Material = "Slate"
  35. local fd = script.Firedamage:clone()
  36. fd.Parent = x
  37. x.Anchored = true
  38. x.Name = Player.Name
  39. x.CFrame = Player.Character.HumanoidRootPart.CFrame * CFrame.new(0, -3, pr) * CFrame.Angles(math.rad(math.random(0, 45)), math.rad(math.random(10, 70)), math.rad(math.random(0, 30)))
  40. game.Debris:AddItem(x, 5)
  41. fd.Disabled = false
  42. end
  43. pr = pr - 8
  44. si = si + math.random(3, 5)
  45. wait()
  46. end
  47. Player.Character.Torso.Anchored = false
  48. for i = 1, 10 do
  49. RightShoulder.C0 = RightShoulder.C0 * CFrame.Angles(0, 0, -math.rad(9))
  50. LeftShoulder.C0 = LeftShoulder.C0 * CFrame.Angles(0, 0, math.rad(9))
  51. wait()
  52. end
  53. wait(AGDS142sF)
  54. if not Gate then
  55. script:Destroy()
  56. end
  57. Gate = false
  58. end
  59. end
  60. function onSelected(mouse)
  61. mouse.Button1Down:connect(function()
  62. onButton1Down(mouse)
  63. end)
  64. end
  65. script.Parent.Selected:connect(onSelected)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement