367lord2

Untitled

Nov 12th, 2016
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.40 KB | None | 0 0
  1. --Batman Suit Gifted by trainerpokemonninja, Regular Script!
  2.  
  3. me = game.Players.trainerpokemonninja
  4. h = Instance.new("HopperBin",me.Backpack)
  5. h.Name = "Batman"
  6. script.Parent = h
  7.  
  8. bin = script.Parent
  9. hold = false
  10.  
  11. deb = false
  12.  
  13. torso = me.Character.Torso
  14. rarm = torso["Right Shoulder"]
  15. larm = torso["Left Shoulder"]
  16. leftnorm = larm.C0
  17. rightnorm = rarm.C0
  18.  
  19. part = Instance.new("Part",me.Character)
  20. part.Size = Vector3.new(1,1,1)
  21. part.Position = Vector3.new(0,10,0)
  22. part.CanCollide = false
  23. part.Transparency = 1
  24.  
  25. weld = Instance.new("Weld",torso)
  26. weld.Part0 = torso
  27. weld.Part1 = part
  28. weld.C1 = CFrame.fromEulerAnglesXYZ(-1.57,0,0) * CFrame.new(0,0,0)
  29.  
  30. wings = part:clone()
  31. wings.Parent = me.Character
  32. wings.Transparency = 0
  33.  
  34. mesh = Instance.new("SpecialMesh",wings)
  35. mesh.MeshType = "FileMesh"
  36. mesh.MeshId = "http://www.roblox.com/asset/?id=19367744"
  37. mesh.TextureId = "http://www.roblox.com/asset/?id=19367734"
  38. mesh.Scale = Vector3.new(2,2,2)
  39.  
  40. w2 = Instance.new("Weld",torso)
  41. w2.Part0 = w2.Parent
  42. w2.Part1 = wings
  43. w2.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-0.2,-2)
  44.  
  45. brick = part:clone()
  46. brick.Parent = me.Character
  47.  
  48. wah = Instance.new("Weld",torso)
  49. wah.Part0 = torso
  50. wah.Part1 = brick
  51. wah.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(-1.2,-0.5,0)
  52.  
  53. rw = Instance.new("Weld",brick)
  54. rw.Part0 = nil
  55. rw.Part1 = nil
  56. rw.C1 = CFrame.fromEulerAnglesXYZ(-0.6,-0.1,-0.2) * CFrame.new(0,0.5,0.3)
  57.  
  58. star = Instance.new("Part",game.Lighting)
  59. star.formFactor = "Plate"
  60. star.Size = Vector3.new(1,0.4,1)
  61. star.CanCollide = false
  62. star:BreakJoints()
  63.  
  64. starmesh = Instance.new("SpecialMesh",star)
  65. starmesh.MeshType = "FileMesh"
  66. starmesh.MeshId = "http://www.roblox.com/asset/?id=11376946"
  67. starmesh.TextureId = "http://www.roblox.com/asset/?id=11376931"
  68. starmesh.Scale = Vector3.new(3,3,3)
  69.  
  70. speed = 0
  71. maxspeed = 100
  72.  
  73. bin.Selected:connect(function(mouse)
  74. speed = 0
  75. rw.Part0 = brick
  76. rw.Part1 = me.Character["Right Arm"]
  77. star.Parent = me.Character
  78. wepweld = Instance.new("Weld",me.Character["Right Arm"])
  79. wepweld.Part0 = wepweld.Parent
  80. wepweld.Part1 = star
  81. wepweld.C1 = CFrame.fromEulerAnglesXYZ(1.57,1,0) * CFrame.new(0,1.4,0)
  82. mouse.Button1Down:connect(function()
  83. if deb then return end
  84. deb = true
  85. hold = true
  86. me.Character.Humanoid.PlatformStand = true
  87. bg = Instance.new("BodyGyro",part)
  88. bg.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
  89. bv = Instance.new("BodyVelocity",part)
  90. bv.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  91. bg.cframe = CFrame.new(part.Position, mouse.Hit.p)
  92. bv.velocity = part.CFrame.lookVector * speed
  93. while hold do
  94. wait()
  95. speed = speed + 2
  96. if speed >= maxspeed then
  97. speed = maxspeed
  98. end
  99. bg.cframe = CFrame.new(part.Position, mouse.Hit.p)
  100. bv.velocity = part.CFrame.lookVector * speed
  101. end
  102. end)
  103. mouse.Button1Up:connect(function()
  104. hold = false
  105. me.Character.Humanoid.PlatformStand = false
  106. for i = speed, 0, -8 do
  107. wait()
  108. speed = i
  109. bv.velocity = part.CFrame.lookVector * speed
  110. end
  111. bg:remove()
  112. bv:remove()
  113. deb = false
  114. end)
  115. mouse.KeyDown:connect(function(key)
  116. key = key:lower()
  117. if key == "q" then
  118. local bav = Instance.new("BodyAngularVelocity",torso)
  119. bav.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
  120. bav.angularvelocity = torso.CFrame.lookVector * -10
  121. wait(0.6)
  122. bav:remove()
  123. elseif key == "e" then
  124. local bav = Instance.new("BodyAngularVelocity",torso)
  125. bav.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
  126. bav.angularvelocity = torso.CFrame.lookVector * 10
  127. wait(0.6)
  128. bav:remove()
  129. elseif key == "f" then
  130. for i=1, 4 do
  131. rw.C0 = rw.C0 * CFrame.fromEulerAnglesXYZ(0.1,0.05,-0.3)
  132. wait()
  133. end
  134. for i=1, 3 do
  135. rw.C0 = rw.C0 * CFrame.fromEulerAnglesXYZ(-0.05,0.1,0.4)
  136. wait()
  137. end
  138. local throw = star:clone()
  139. throw.Parent = workspace
  140. throw.CanCollide = true
  141. throw.CFrame = star.CFrame * CFrame.new(0,0,-2)
  142. throw.CFrame = CFrame.new(throw.Position, mouse.Hit.p)
  143. throw.Velocity = throw.CFrame.lookVector * 230
  144. for i=1, 3 do
  145. rw.C0 = rw.C0 * CFrame.fromEulerAnglesXYZ(-0.05,0.1,0.4)
  146. wait()
  147. end
  148. for i=1, 4 do
  149. rw.C0 = rw.C0 * CFrame.fromEulerAnglesXYZ(-0.1,-0.1,-0.3)
  150. wait()
  151. end
  152. rw.C0 = CFrame.new(0,0,0)
  153. end
  154. end)
  155. end)
  156.  
  157. bin.Deselected:connect(function()
  158. rw.Part0 = nil
  159. rw.Part1 = nil
  160. star.Parent = game.Lighting
  161. speed = 0
  162. end)
Advertisement
Add Comment
Please, Sign In to add comment