Hebablazin

Ballon

May 30th, 2016
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.20 KB | None | 0 0
  1. --Balloon Fight Balloon for flight
  2. plyr = game.Players.LocalPlayer
  3. char = plyr.Character
  4. torso = char.Torso
  5. mouse = plyr:GetMouse()
  6. Run = game:service'RunService'
  7. deb = game:service'Debris'
  8. ra = char["Right Arm"]
  9. la = char["Left Arm"]
  10. rs = char.Torso["Right Shoulder"]
  11. ls = char.Torso["Left Shoulder"]
  12. local platform = false
  13. local idle = true
  14. iliketrains = {}
  15.  
  16.  
  17. part1 = Instance.new("Part", char)
  18. part1.FormFactor = "Symmetric"
  19. part1.Size = Vector3.new(1, 3, 1)
  20. part1.TopSurface = 0
  21. part1.BottomSurface = 0
  22. part1:BreakJoints()
  23. special = Instance.new("SpecialMesh", part1)
  24. special.MeshId = "http://www.roblox.com/asset/?id=25498565"
  25. special.TextureId = "http://www.roblox.com/asset/?id=26725707"
  26. special.Scale = Vector3.new(2, 2, 2)
  27. w = Instance.new("Weld", char)
  28. w.Part0 = part1
  29. w.Part1 = torso
  30. w.C0 = CFrame.new(-0.4, -1.4, -0.5) * CFrame.Angles(-0.5, 0, 0.2)
  31. part2 = Instance.new("Part", char)
  32. part2.FormFactor = "Symmetric"
  33. part2.Size = Vector3.new(1, 3, 1)
  34. part2.TopSurface = 0
  35. part2.BottomSurface = 0
  36. part2:BreakJoints()
  37. special2 = Instance.new("SpecialMesh", part2)
  38. special2.MeshId = "http://www.roblox.com/asset/?id=25498565"
  39. special2.TextureId = "http://www.roblox.com/asset/?id=26725707"
  40. special2.Scale = Vector3.new(2, 2, 2)
  41. w2 = Instance.new("Weld", char)
  42. w2.Part0 = part2
  43. w2.Part1 = torso
  44. w2.C0 = CFrame.new(0.4, -1.4, -0.5) * CFrame.Angles(-0.5, 0, -0.2)
  45.  
  46.  
  47.  
  48. tool = Instance.new("HopperBin", plyr.Backpack)
  49. tool.Name = " "
  50. tool.TextureId = "http://www.roblox.com/asset/?id=27471616"
  51. tool.Selected:connect(function(mouse)
  52.  
  53.  
  54. mouse.Button1Down:connect(function(mouse)
  55. if equipped then return end
  56. equipped = true
  57. coroutine.wrap(function()
  58. while equipped do
  59. rs.DesiredAngle = 0
  60. rs.CurrentAngle = 0
  61. ls.DesiredAngle = 0
  62. ls.CurrentAngle = 0
  63. Run.Stepped:wait()
  64. end
  65. end)()
  66. coroutine.wrap(function()
  67. idle = false
  68. coroutine.wrap(function()
  69. for i = 0, 3 do
  70. w.C0 = w.C0 * CFrame.new(0, 0.05, 0)
  71. w2.C0 = w2.C0 * CFrame.new(0, 0.05, 0)
  72. Run.Stepped:wait()
  73. end
  74. wait(0.147)
  75. for i = 0, 3 do
  76. w.C0 = w.C0 * CFrame.new(0, -0.05, 0)
  77. w2.C0 = w2.C0 * CFrame.new(0, -0.05, 0)
  78. Run.Stepped:wait()
  79. end
  80. end)()
  81. local p = Instance.new("Part", char)
  82. p.FormFactor = "Custom"
  83. p.Name = "Platform"
  84. p.Transparency = 1
  85. p.Size = Vector3.new(4, 1, 4)
  86. p.Anchored = true
  87. for i = 2.5, 6, 0.05 do
  88. p.CFrame = CFrame.new(torso.CFrame.x, torso.CFrame.y-i, torso.CFrame.z)
  89. Run.Stepped:wait()
  90. end
  91. coroutine.wrap(function()
  92. p:Destroy()
  93. end)()
  94. end)()
  95. for i = 0, 4 do
  96. ls.C0 = ls.C0 * CFrame.Angles(-0.25, 0, 0)
  97. rs.C0 = rs.C0 * CFrame.Angles(-0.25, 0, 0)
  98. Run.Stepped:wait()
  99. end
  100. wait(0.02)
  101. for i = 0, 4 do
  102. ls.C0 = ls.C0 * CFrame.Angles(0.25, 0, 0)
  103. rs.C0 = rs.C0 * CFrame.Angles(0.25, 0, 0)
  104. Run.Stepped:wait()
  105. end
  106. idle = true
  107. equipped = false
  108. end)
  109. end)
  110.  
  111.  
  112.  
  113. while idle do
  114. for i = 0, 3 do
  115. w.C0 = w.C0 * CFrame.Angles(0, 0.002 * i, 0)
  116. w2.C0 = w2.C0 * CFrame.Angles(0, -0.002 * i, 0)
  117. Run.Stepped:wait()
  118. end
  119. wait(0.112687)
  120. for i = 0, 3 do
  121. w.C0 = w.C0 * CFrame.Angles(0, -0.002 * i, 0)
  122. w2.C0 = w2.C0 * CFrame.Angles(0, 0.002 * i, 0)
  123. Run.Stepped:wait()
  124. end
  125. wait(0.312687)
  126. end
Add Comment
Please, Sign In to add comment