Advertisement
memberhero

Untitled

May 8th, 2016
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.16 KB | None | 0 0
  1. local h = Instance.new("HopperBin")
  2. h.Name = "GOD POWER"
  3. h.Parent = game.Players["memberhero].Backpack --put your name were it says NAME HERE
  4. script.Parent = h
  5. script.Name = "Function"
  6. end
  7. Bin = script.Parent
  8. Person = game.Players.LocalPlayer
  9. PersonT = Person.Character.Torso
  10. Hold = false
  11. Lazer = false
  12. Grabbed = nil
  13. Debounce = false
  14. FDebounce = false
  15. Flight = false
  16. NormalHand = 2 --Change to your preffered hand 1 being "Right" and 2 begin "Left"
  17. NormalFoot = 4 --Change to your preffered foot 3 being "Right" and 4 begin "Left"
  18. Joints = {PersonT:findFirstChild("Right Shoulder"), PersonT:findFirstChild("Left Shoulder"), PersonT:findFirstChild("Right Hip"), PersonT:findFirstChild("Left Hip")}
  19. Limbs = {Person.Character:findFirstChild("Right Arm"), Person.Character:findFirstChild("Left Arm"), Person.Character:findFirstChild("Right Leg"), Person.Character:findFirstChild("Left Leg")}
  20. if (Person.Character:findFirstChild("Suit") ~= nil) then
  21. Person.Character.Suit:remove()
  22. end
  23. Suit = Instance.new("Model")
  24. Suit.Parent = Person.Character
  25. Suit.Name = "Suit"
  26. LJet = Instance.new("Part")
  27. LJet.Parent = Suit
  28. LJet.Name = "Left Jet"
  29. LJet.CanCollide = false
  30. LJet.formFactor = "Symmetric"
  31. LJet.Size = Vector3.new(1, 1, 1)
  32. LJet.BrickColor = BrickColor.new("Really black")
  33. LJet.Reflectance = 0.2
  34. LJet.TopSurface = 0
  35. LJet.BottomSurface = 0
  36. LJMesh = Instance.new("CylinderMesh")
  37. LJMesh.Parent = LJet
  38. LJMesh.Scale = Vector3.new(0.8, 2, 0.8)
  39. LJet:BreakJoints()
  40. Weld = Instance.new("Weld")
  41. Weld.Parent = LJet
  42. Weld.Part0 = PersonT
  43. Weld.Part1 = LJet
  44. Weld.C0 = CFrame.new(-0.3, -0.2, 0.8) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  45. LJetT = Instance.new("Part")
  46. LJetT.Parent = Suit
  47. LJetT.Name = "Left Jet Tip"
  48. LJetT.CanCollide = false
  49. LJetT.formFactor = "Symmetric"
  50. LJetT.Size = Vector3.new(1, 1, 1)
  51. LJetT.BrickColor = BrickColor.new("Really black")
  52. LJetT.Reflectance = 0.2
  53. LJetT.TopSurface = 0
  54. LJetT.BottomSurface = 0
  55. LJTMesh = Instance.new("SpecialMesh")
  56. LJTMesh.Parent = LJetT
  57. LJTMesh.MeshType = "Sphere"
  58. LJTMesh.Scale = Vector3.new(0.8, 0.8, 0.8)
  59. LJetT:BreakJoints()
  60. Weld = Instance.new("Weld")
  61. Weld.Parent = LJet
  62. Weld.Part0 = LJet
  63. Weld.Part1 = LJetT
  64. Weld.C0 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  65. LJetB = Instance.new("Part")
  66. LJetB.Parent = Suit
  67. LJetB.Name = "Left Jet Barrel"
  68. LJetB.CanCollide = false
  69. LJetB.formFactor = "Symmetric"
  70. LJetB.Size = Vector3.new(1, 1, 1)
  71. LJetB.BrickColor = BrickColor.new("Really black")
  72. LJetB.Reflectance = 0.2
  73. LJetB.TopSurface = 0
  74. LJetB.BottomSurface = 0
  75. S = Instance.new("Smoke")
  76. S.Parent = LJetB
  77. S.Enabled = false
  78. S.Color = Color3.new(103, 205, 1)
  79. S.RiseVelocity = 5
  80. LJBMesh = Instance.new("CylinderMesh")
  81. LJBMesh.Parent = LJetB
  82. LJBMesh.Scale = Vector3.new(0.1, 0.2, 0.1)
  83. LJetB:BreakJoints()
  84. Weld = Instance.new("Weld")
  85. Weld.Parent = LJet
  86. Weld.Part0 = LJet
  87. Weld.Part1 = LJetB
  88. Weld.C0 = CFrame.new(0, -1.1, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  89. ---Right Jet
  90. RJet = Instance.new("Part")
  91. RJet.Parent = Suit
  92. RJet.Name = "Right Jet"
  93. RJet.CanCollide = false
  94. RJet.formFactor = "Symmetric"
  95. RJet.Size = Vector3.new(1, 1, 1)
  96. RJet.BrickColor = BrickColor.new("Really black")
  97. RJet.Reflectance = 0.2
  98. RJet.TopSurface = 0
  99. RJet.BottomSurface = 0
  100. RJMesh = Instance.new("CylinderMesh")
  101. RJMesh.Parent = RJet
  102. RJMesh.Scale = Vector3.new(0.8, 2, 0.8)
  103. RJet:BreakJoints()
  104. Weld = Instance.new("Weld")
  105. Weld.Parent = RJet
  106. Weld.Part0 = PersonT
  107. Weld.Part1 = RJet
  108. Weld.C0 = CFrame.new(0.3, -0.2, 0.8) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  109. RJetT = Instance.new("Part")
  110. RJetT.Parent = Suit
  111. RJetT.Name = "Right Jet Tip"
  112. RJetT.CanCollide = false
  113. RJetT.formFactor = "Symmetric"
  114. RJetT.Size = Vector3.new(1, 1, 1)
  115. RJetT.BrickColor = BrickColor.new("Really black")
  116. RJetT.Reflectance = 0.2
  117. RJetT.TopSurface = 0
  118. RJetT.BottomSurface = 0
  119. RJTMesh = Instance.new("SpecialMesh")
  120. RJTMesh.Parent = RJetT
  121. RJTMesh.MeshType = "Sphere"
  122. RJTMesh.Scale = Vector3.new(0.8, 0.8, 0.8)
  123. RJetT:BreakJoints()
  124. Weld = Instance.new("Weld")
  125. Weld.Parent = RJet
  126. Weld.Part0 = RJet
  127. Weld.Part1 = RJetT
  128. Weld.C0 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  129. RJetB = Instance.new("Part")
  130. RJetB.Parent = Suit
  131. RJetB.Name = "Right Jet Barrel"
  132. RJetB.CanCollide = false
  133. RJetB.formFactor = "Symmetric"
  134. RJetB.Size = Vector3.new(1, 1, 1)
  135. RJetB.BrickColor = BrickColor.new("Really black")
  136. RJetB.Reflectance = 0.2
  137. RJetB.TopSurface = 0
  138. RJetB.BottomSurface = 0
  139. S = Instance.new("Smoke")
  140. S.Parent = RJetB
  141. S.Enabled = false
  142. S.Color = Color3.new(103, 205, 1)
  143. S.RiseVelocity = 5
  144. RJBMesh = Instance.new("CylinderMesh")
  145. RJBMesh.Parent = RJetB
  146. RJBMesh.Scale = Vector3.new(0.1, 0.2, 0.1)
  147. RJetB:BreakJoints()
  148. Weld = Instance.new("Weld")
  149. Weld.Parent = RJet
  150. Weld.Part0 = RJet
  151. Weld.Part1 = RJetB
  152. Weld.C0 = CFrame.new(0, -1.1, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  153. ---Watch
  154. Band = Instance.new("Part")
  155. Band.Parent = Suit
  156. Band.Name = "Band"
  157. Band.CanCollide = false
  158. Band.formFactor = "Symmetric"
  159. Band.Size = Vector3.new(1, 1, 1)
  160. Band.BrickColor = BrickColor.new("Really black")
  161. Band.TopSurface = 0
  162. Band.BottomSurface = 0
  163. BandM = Instance.new("SpecialMesh")
  164. BandM.MeshType = "Brick"
  165. BandM.Parent = Band
  166. BandM.Scale = Vector3.new(1.03, 0.2, 1.03)
  167. Band:BreakJoints()
  168. Weld = Instance.new("Weld")
  169. Weld.Parent = Band
  170. Weld.Part0 = Limbs[NormalHand]
  171. Weld.Part1 = Band
  172. Weld.C0 = CFrame.new(0, -0.6, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  173. Watch1 = Instance.new("Part")
  174. Watch1.Parent = Suit
  175. Watch1.Name = "Watch1"
  176. Watch1.CanCollide = false
  177. Watch1.formFactor = "Symmetric"
  178. Watch1.Size = Vector3.new(1, 1, 1)
  179. Watch1.BrickColor = BrickColor.new("Really black")
  180. Watch1.TopSurface = 0
  181. Watch1.BottomSurface = 0
  182. Watch1M = Instance.new("CylinderMesh")
  183. Watch1M.Parent = Watch1
  184. Watch1M.Scale = Vector3.new(0.3, 0.2, 0.3)
  185. Watch1:BreakJoints()
  186. Weld = Instance.new("Weld")
  187. Weld.Parent = Watch1
  188. Weld.Part0 = Band
  189. Weld.Part1 = Watch1
  190. Weld.C0 = CFrame.new(0, 0, -0.41) * CFrame.fromEulerAnglesXYZ(1.57, 0, 0)
  191. Watch2 = Instance.new("Part")
  192. Watch2.Parent = Suit
  193. Watch2.Name = "Watch2"
  194. Watch2.CanCollide = false
  195. Watch2.formFactor = "Symmetric"
  196. Watch2.Size = Vector3.new(1, 1, 1)
  197. Watch2.BrickColor = BrickColor.new("Really black")
  198. Watch2.TopSurface = 0
  199. Watch2.BottomSurface = 0
  200. Watch2M = Instance.new("CylinderMesh")
  201. Watch2M.Parent = Watch2
  202. Watch2M.Scale = Vector3.new(0.25, 0.2, 0.25)
  203. Watch2:BreakJoints()
  204. Weld = Instance.new("Weld")
  205. Weld.Parent = Watch2
  206. Weld.Part0 = Band
  207. Weld.Part1 = Watch2
  208. Weld.C0 = CFrame.new(0, 0, -0.42) * CFrame.fromEulerAnglesXYZ(1.57, 0, 0)
  209. ---Real Function
  210. function SetAngle(Joint, Angle)
  211. if (Joint == 1) or (Joint == 3) then
  212. Joints[Joint].DesiredAngle = Angle
  213. end
  214. if (Joint == 2) or (Joint == 4) then
  215. Joints[Joint].DesiredAngle = -Angle
  216. end
  217. end
  218. function DisableLimb(Limb)
  219. Joints[Limb]:remove()
  220.  
  221. Joint = Instance.new("Motor")
  222. Joint.Parent = Person.Character.Torso
  223. Joint.Part0 = Person.Character.Torso
  224. Joint.Part1 = Limbs[Limb]
  225. Joint.MaxVelocity = 0.1
  226. if (Limb == 1) then
  227. C0 = CFrame.new(PersonT.Size.x/2 + Limbs[Limb].Size.x/2, Limbs[Limb].Size.y/4, 0) * CFrame.fromEulerAnglesXYZ(0, 3.14/2, 0)
  228. Joint.C1 = CFrame.new(0, Limbs[Limb].Size.y/4, 0) * CFrame.fromEulerAnglesXYZ(0, 3.14/2, 0)
  229. Joint.Name = "Right Joint Top"
  230. elseif (Limb == 2) then
  231. C0 = CFrame.new(-PersonT.Size.x/2 - Limbs[Limb].Size.x/2, Limbs[Limb].Size.y/4, 0) * CFrame.fromEulerAnglesXYZ(0, -3.14/2, 0)
  232. Joint.C1 = CFrame.new(0, Limbs[Limb].Size.y/4, 0) * CFrame.fromEulerAnglesXYZ(0, -3.14/2, 0)
  233. Joint.Name = "Left Joint Top"
  234. elseif (Limb == 3) then
  235. C0 = CFrame.new(Limbs[Limb].Size.x/2, -(Limbs[Limb].Size.y/4) * 3, 0) * CFrame.fromEulerAnglesXYZ(0, 3.14/2, 0)
  236. Joint.C1 = CFrame.new(0, Limbs[Limb].Size.y/4, 0) * CFrame.fromEulerAnglesXYZ(0, 3.14/2, 0)
  237. Joint.Name = "Right Joint Bottom"
  238. elseif(Limb == 4) then
  239. C0 = CFrame.new(-Limbs[Limb].Size.x/2, -(Limbs[Limb].Size.y/4) * 3, 0) * CFrame.fromEulerAnglesXYZ(0, -3.14/2, 0)
  240. Joint.C1 = CFrame.new(0, Limbs[Limb].Size.y/4, 0) * CFrame.fromEulerAnglesXYZ(0, -3.14/2, 0)
  241. Joint.Name = "Left Joint Bottom"
  242. end
  243. Joint.C0 = C0
  244. Joints[Limb] = Joint
  245. end
  246. function EnableLimb(Limb)
  247. if (Limb == 1) then
  248. Joints[Limb].Name = "Right Shoulder"
  249. elseif (Limb == 2) then
  250. Joints[Limb].Name = "Left Shoulder"
  251. elseif (Limb == 3) then
  252. Joints[Limb].Name = "Right Hip"
  253. elseif(Limb == 4) then
  254. Joints[Limb].Name = "Left Hip"
  255. end
  256. Anim = Person.Character.Animate:clone()
  257. Person.Character.Animate:remove()
  258. Anim.Parent = Person.Character
  259. end
  260. function Grab(Part)
  261. if (Grabbed == nil) then
  262. if (Part.Parent ~= nil) then
  263. Human = Part.Parent:findFirstChild("Humanoid")
  264. if (Human ~= nil) then
  265. Player = game.Players:GetPlayerFromCharacter(Human.Parent)
  266. if (Player ~= nil) then
  267. if (Player ~= Person) then
  268. Human.Sit = true
  269. Weld = Instance.new("Weld")
  270. Weld.Name = "Grip"
  271. Weld.Parent = Person.Character.Torso
  272. Weld.Part0 = Person.Character.Torso
  273. Weld.Part1 = Player.Character.Torso
  274. Weld.C0 = CFrame.new(0, 2.5, 0) * CFrame.fromEulerAnglesXYZ(3.14/2, 0, 0)
  275. SetAngle(1, 3.14)
  276. SetAngle(2, 3.14)
  277. Grabbed = Player
  278. Human.Sit = true
  279. Connection1:disconnect()
  280. Connection2:disconnect()
  281. while true do
  282. if (Weld.Part1 == nil) then
  283. Debounce = false
  284. EnableLimb(1)
  285. EnableLimb(2)
  286. Grabbed = nil
  287. break
  288. elseif (Weld.Parent == nil) then
  289. Debounce = false
  290. EnableLimb(1)
  291. EnableLimb(2)
  292. Grabbed = nil
  293. break
  294. else
  295. Human.Sit = true
  296. end
  297. wait()
  298. end
  299. end
  300. end
  301. end
  302. end
  303. end
  304. end
  305. function Click(mouse)
  306. Hold = true
  307. if (Flight == true) then
  308. Person.Character.Engine.BodyPosition.maxForce = Vector3.new(0, 0, 0)
  309. Person.Character.Engine.BodyVelocity.maxForce = Vector3.new(4e+030, 4e+030, 4e+030)
  310. Position = Person.Character.Engine.Position
  311. Person.Character.Suit["Left Jet Barrel"].Smoke.Enabled = true
  312. Person.Character.Suit["Right Jet Barrel"].Smoke.Enabled = true
  313. Person.Character.Engine.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(3.14/2, 0, 0)
  314. SetAngle(NormalHand, 3.14)
  315. while true do
  316. if (Flight == false) then
  317. break
  318. end
  319. if (Hold == false) then
  320. break
  321. end
  322. Direction = Person.Character.Engine.CFrame.lookVector
  323. Position = Position + 2 * 3 * Direction
  324. error = Position - Person.Character.Engine.Position
  325. Person.Character.Engine.BodyVelocity.velocity = 2 * error
  326. wait()
  327. end
  328. BodyP.position = Engine.Position
  329. Person.Character.Engine.BodyPosition.maxForce = Vector3.new(4e+050, 4e+050, 4e+050)
  330. Person.Character.Suit["Left Jet Barrel"].Smoke.Enabled = false
  331. Person.Character.Suit["Right Jet Barrel"].Smoke.Enabled = false
  332. Person.Character.Engine.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  333. SetAngle(NormalHand, 0)
  334.  
  335. end
  336.  
  337. end
  338.  
  339.  
  340. function Release(mouse)
  341. Hold = false
  342. end
  343. function Direct(En, Target)
  344. local OriginCFrame = En:findFirstChild("BodyGyro").cframe
  345. local Direction = (Target - En.Position).unit
  346. local SpawnPosition = En.Position
  347. local Position = SpawnPosition + (Direction * 1)
  348. En:findFirstChild("BodyGyro").maxTorque = Vector3.new(9000, 9000, 9000)
  349. En:findFirstChild("BodyGyro").cframe = CFrame.new(Position, Position + Direction)
  350. end
  351. function PressKey(key, mouse)
  352. key = key:upper()
  353. if (key == "Z") then
  354. if (Debounce == false) then
  355. Debounce = true
  356. DisableLimb(1)
  357. DisableLimb(2)
  358. Joints[1].MaxVelocity = 1
  359. SetAngle(1, 3.14)
  360. Joints[2].MaxVelocity = 1
  361. SetAngle(2, 3.14)
  362. function Touch(Part)
  363. if (Part.Parent ~= nil) then
  364. Human = Part.Parent:findFirstChild("Humanoid")
  365. if (Human ~= nil) then
  366. --Human.Sit = true
  367. Human.Parent.Torso.Velocity = Vector3.new(0, 300, 0)
  368. end
  369. end
  370. end
  371. Connection = Limbs[1].Touched:connect(Touch)
  372. ConnectionB = Limbs[2].Touched:connect(Touch)
  373. wait(0.5)
  374. Joints[1].MaxVelocity = 0.1
  375. Joints[2].MaxVelocity = 0.1
  376. EnableLimb(1)
  377. EnableLimb(2)
  378. Connection:disconnect()
  379. ConnectionB:disconnect()
  380. Debounce = false
  381. end
  382. end
  383. if (key == "N") then
  384. X = game.Workspace:GetChildren()
  385. for I, E in pairs(X) do
  386. if (E.Name == "Bomb") then
  387. Ex = Instance.new("Explosion")
  388. Ex.Parent = game.Workspace
  389. Ex.BlastRadius = 12
  390. Ex.Position = E.Position
  391. Ex.BlastPressure = 1000
  392. E:remove()
  393. end
  394. end
  395. end
  396. if (key == "Y") then
  397. Bomb = Instance.new("Part")
  398. Bomb.Name = "Bomb"
  399. Bomb.formFactor = "Plate"
  400. Bomb.Size = Vector3.new(1, 0.4, 1)
  401. Bomb.TopSurface = 0
  402. Bomb.BottomSurface = 0
  403. Bomb.BrickColor = BrickColor.new("Really black")
  404. Bomb.CFrame = CFrame.new(Person.Character.Suit.Watch2.Position)
  405. Bomb.CanCollide = true
  406. Bomb.Parent = game.Workspace
  407. Smoke = Instance.new("Smoke")
  408. Smoke.Parent = Bomb
  409. local c = (PersonT.Color.r + PersonT.Color.g + PersonT.Color.b)/3
  410. Smoke.Color = Color3.new(c, c, c)
  411. Smoke.Size = 1
  412. Smoke.Opacity = 0.7
  413. Smoke.RiseVelocity = 10
  414. Bomb:BreakJoints()
  415. end
  416. if (key == "Q") then
  417. if (Debounce == false) then
  418. Debounce = true
  419. DisableLimb(NormalFoot)
  420. Joints[NormalFoot].MaxVelocity = 1
  421. SetAngle(NormalFoot, 0.7)
  422. function Touch(Part)
  423. if (Part.Parent ~= nil) then
  424. Human = Part.Parent:findFirstChild("Humanoid")
  425. if (Human ~= nil) then
  426. Human.Sit = true
  427. Position = Human.Parent.Torso.Position
  428. Direction = PersonT.CFrame.lookVector
  429. Position = Position + 10 * 3 * Direction
  430. error = Position - PersonT.Position
  431. Human.Parent.Torso.Velocity = 10 * error
  432. Human.Parent.Torso.Velocity = Human.Parent.Torso.Velocity + Vector3.new(0, 100, 0)
  433. end
  434. end
  435. end
  436. Connection = Limbs[NormalFoot].Touched:connect(Touch)
  437. wait(0.5)
  438. Joints[NormalFoot].MaxVelocity = 0.1
  439. EnableLimb(NormalFoot)
  440. Connection:disconnect()
  441. Debounce = false
  442. end
  443. end
  444. if (key == "F") then
  445. if (Debounce == false) then
  446. Debounce = true
  447. DisableLimb(NormalFoot)
  448. Joints[NormalFoot].MaxVelocity = 1
  449. SetAngle(NormalFoot, 0.7)
  450. function Touch(Part)
  451. if (Part.Parent ~= nil) then
  452. Human = Part.Parent:findFirstChild("Humanoid")
  453. if (Human ~= nil) then
  454. Player = game.Players:GetPlayerFromCharacter(Human.Parent)
  455. if (Player ~= nil) then
  456. if (Player ~= Person) then
  457. Human.Sit = true
  458. Position = Human.Parent.Torso.Position
  459. Direction = PersonT.CFrame.lookVector
  460. Position = Position + 10 * 3 * Direction
  461. error = Position - PersonT.Position
  462. Human.Parent.Torso.Velocity = 10 * error
  463. Human.Parent.Torso.Velocity = Human.Parent.Torso.Velocity + Vector3.new(0, 100, 0)
  464. wait(0.4)
  465. Player:remove()
  466. end
  467. end
  468. end
  469. end
  470. end
  471. Connection = Limbs[NormalFoot].Touched:connect(Touch)
  472. wait(0.5)
  473. Joints[NormalFoot].MaxVelocity = 0.1
  474. EnableLimb(NormalFoot)
  475. Connection:disconnect()
  476. Debounce = false
  477. end
  478. end
  479. if (key == "E") then
  480. if (Flight == true) then
  481. if (FDebounce == false) then
  482. FDebounce = true
  483. function Touch(Part)
  484. if (Part.Parent ~= nil) then
  485. Human = Part.Parent:findFirstChild("Humanoid")
  486. if (Human ~= nil) then
  487. Human.Sit = true
  488. Position = Human.Parent.Torso.Position
  489. Direction = Person.Character.Engine.CFrame.lookVector
  490. Position = Position + 10 * 3 * Direction
  491. error = Position - PersonT.Position
  492. Human.Parent.Torso.Velocity = 10 * error
  493. end
  494. end
  495. end
  496. Connection = PersonT.Touched:connect(Touch)
  497. wait(2)
  498. Connection:disconnect()
  499. FDebounce = false
  500. end
  501. end
  502. if (Debounce == false) then
  503. Debounce = true
  504. DisableLimb(NormalHand)
  505. Joints[NormalHand].MaxVelocity = 1
  506. SetAngle(NormalHand, 1.57)
  507. function Touch(Part)
  508. if (Part.Parent ~= nil) then
  509. Human = Part.Parent:findFirstChild("Humanoid")
  510. if (Human ~= nil) then
  511. Human.Sit = true
  512. Position = Human.Parent.Torso.Position
  513. Direction = PersonT.CFrame.lookVector
  514. Position = Position + 10 * 3 * Direction
  515. error = Position - PersonT.Position
  516. Human.Parent.Torso.Velocity = 10 * error
  517. end
  518. end
  519. end
  520. Connection = Limbs[NormalHand].Touched:connect(Touch)
  521. wait(0.5)
  522. EnableLimb(NormalHand)
  523. Connection:disconnect()
  524. Debounce = false
  525. end
  526. end
  527. if (key == "T") then
  528. E = Instance.new("Explosion")
  529. E.Parent = game.Workspace
  530. E.BlastRadius = 12
  531. E.Position = mouse.hit.p
  532. E.BlastPressure = 1000
  533. end
  534. if (key == "G") then
  535. if (Grabbed == nil) then
  536. if (Debounce == false) then
  537. Debounce = true
  538. DisableLimb(1)
  539. DisableLimb(2)
  540. SetAngle(1, 1.57)
  541. SetAngle(2, 1.57)
  542. Connection1 = Limbs[1].Touched:connect(Grab)
  543. Connection2 = Limbs[2].Touched:connect(Grab)
  544. for E = 1, 30 do
  545. if (Grabbed ~= nil) then
  546. break
  547. end
  548. wait(0.1)
  549. end
  550. if (Grabbed == nil) then
  551. EnableLimb(1)
  552. EnableLimb(2)
  553. Connection1:disconnect()
  554. Connection2:disconnect()
  555. Debounce = false
  556. end
  557. end
  558. else
  559. Person.Character.Torso.Grip:remove()
  560. Position = Grabbed.Character.Torso.Position
  561. Direction = PersonT.CFrame.lookVector
  562. Position = Position + 4 * 3 * Direction
  563. error = Position - PersonT.Position
  564. Grabbed.Character.Torso.Velocity = 4 * error
  565. end
  566. end
  567. if (key == "R") then
  568. if (Flight == false) then
  569. if (Debounce == false) then
  570. Debounce = true
  571. DisableLimb(1)
  572. DisableLimb(2)
  573. Flight = true
  574. DisableLimb(3)
  575. DisableLimb(4)
  576. SetAngle(1, 0)
  577. SetAngle(2, 0)
  578. SetAngle(3, 0)
  579. SetAngle(4, 0)
  580. Engine = Instance.new("Part")
  581. Engine.Parent = Person.Character
  582. Engine.Size = PersonT.Size
  583. Engine.Name = "Engine"
  584. Engine.TopSurface = 0
  585. Engine.BottomSurface = 0
  586. Engine.formFactor = "Symmetric"
  587. Engine.Transparency = 1
  588. Engine:BreakJoints()
  589. Weld = Instance.new("Weld")
  590. Weld.Parent = Engine
  591. Weld.Part0 = PersonT
  592. Weld.Part1 = Engine
  593. Weld.C0 = CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  594. BodyP = Instance.new("BodyPosition")
  595. BodyP.Parent = Engine
  596. BodyP.position = Engine.Position + Vector3.new(0, 10, 0)
  597. BodyP.maxForce = Vector3.new(4e+050, 4e+050, 4e+050)
  598. BodyG = Instance.new("BodyGyro")
  599. BodyG.Parent = Engine
  600. BodyV = Instance.new("BodyVelocity")
  601. BodyV.Parent = Engine
  602. BodyV.velocity = Vector3.new(0, 0, 0)
  603. BodyV.maxForce = Vector3.new(0, 0, 0)
  604. while true do
  605. if (Flight == false) then
  606. break
  607. end
  608. Direct(Engine, mouse.hit.p)
  609. Person.Character.Humanoid.Sit = true
  610. Person.Character.Head.CanCollide = false
  611. Person.Character.Torso.CanCollide = false
  612. wait(0.000000000000000000000000000000001)
  613. end
  614. EnableLimb(1)
  615. EnableLimb(2)
  616. EnableLimb(3)
  617. EnableLimb(4)
  618. Debounce = false
  619. Person.Character.Engine:remove()
  620. Person.Character.Humanoid.Sit = false
  621. end
  622. else
  623. Flight = false
  624. end
  625. end
  626. if (key == "L") then
  627. DisableLimb(NormalHand)
  628. SetAngle(NormalHand, 1.57)
  629. Smoke = Instance.new("Smoke")
  630. Smoke.Parent = Person.Character.Suit.Band
  631. local c = (PersonT.Color.r + PersonT.Color.g + PersonT.Color.b)/3
  632. Smoke.Color = Color3.new(0, 0, 0)
  633. Smoke.Size = 15
  634. Smoke.Opacity = 1
  635. Smoke.RiseVelocity = -15
  636. end
  637. if (key == "H") then
  638. if (Debounce == false) then
  639. if (Lazer == false) then
  640. if (mouse.Target ~= nil) then
  641. Debounce = true
  642. Lazer = true
  643. DisableLimb(NormalHand)
  644. SetAngle(NormalHand, 0.785)
  645. BP = Instance.new("BodyPosition")
  646. BP.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  647. BP.P = BP.P / 4
  648. BG = Instance.new("BodyGyro")
  649. BG.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  650. local Hit = mouse.Target
  651. local _P = mouse.Hit.p
  652. local Mag = (Hit.Position-_P).magnitude
  653. local Pos = (Hit.Position-_P).unit * -Mag
  654. local CF = Hit.CFrame.lookVector
  655. while true do
  656. if (Lazer == false) then
  657. break
  658. end
  659. BP.Parent = PersonT
  660. BP.position = ((((CFrame.new(Hit.Position + Pos)) + (-CF)) + (Hit.CFrame.lookVector)) + (mouse.Hit.lookVector * -16)).p + Vector3.new(0, 5.7, 0)
  661. BG.Parent = PersonT
  662. BG.cframe = CFrame.new((PersonT.CFrame + (mouse.Hit.lookVector * -8)).p, (Hit.Position + Pos))
  663. if (Hit.Parent == nil) or (Hit.Parent.Parent == Person.Character) then
  664. BP.Parent = nil
  665. BG.Parent = nil
  666. end
  667. local P = Instance.new("Part")
  668. P.Name = "Grapple Lazer"
  669. P.formFactor = 0
  670. P.Parent = Person.Character
  671. P.BrickColor = BrickColor.new("Really black")
  672. P.Anchored = true
  673. P.Transparency = 0.05
  674. P.Locked = true
  675. P.Reflectance = 0.025
  676. P.CanCollide = false
  677. P.Size = Vector3.new(1, 1, 1)
  678. local mesh = Instance.new("CylinderMesh")
  679. local Place0 = Person.Character.Suit.Watch2.CFrame * CFrame.new(0, -0.1, 0)
  680.  
  681. mesh.Scale = Vector3.new(0.1, (Place0.p - (Hit.Position + Pos)).magnitude, 0.1)
  682. mesh.Parent = P
  683. P.CFrame = CFrame.new((Place0.p + (Hit.Position + Pos))/2, Place0.p) * CFrame.fromEulerAnglesXYZ(math.pi/2, 0, 0)
  684. wait()
  685. P:remove()
  686. end
  687. Debounce = false
  688. EnableLimb(NormalHand)
  689. BP.Parent = nil
  690. BG.Parent = nil
  691. end
  692. end
  693. end
  694. end
  695. if (key == "J") then
  696. if (Debounce == false) then
  697. if (Lazer == false) then
  698. Debounce = true
  699. Lazer = true
  700. DisableLimb(NormalHand)
  701. SetAngle(NormalHand, 0.785)
  702. smokeBrick = Instance.new("Part")
  703. smokeBrick.CanCollide = false
  704. smokeBrick.Anchored = true
  705. smokeBrick.Transparency = 1
  706. smokeBrick.Locked = true
  707. smokeBrick.archivable = false
  708. smokeBrick.TopSurface = 0
  709. smokeBrick.BottomSurface = 0
  710. smoke = Instance.new("Smoke")
  711. smoke.Size = smoke.Size * 4
  712. while true do
  713. if (Lazer == false) then
  714. break
  715. end
  716. local Pos = mouse.Hit.p
  717. smokeBrick.Parent = Person.Character
  718. smokeBrick.CFrame = CFrame.new(Pos)
  719. if (mouse.Target) and (mouse.Target ~= nil) then
  720. smoke.Parent = smokeBrick
  721. local c = (mouse.Target.Color.r + mouse.Target.Color.g + mouse.Target.Color.b)/3
  722. smoke.Color = Color3.new(c, c, c)
  723. end
  724. local L = Instance.new("Part")
  725. L.Parent = Person.Character
  726. L.Name = "Kill Lazer"
  727. L.BrickColor = BrickColor.new("Really black")
  728. L.formFactor = 0
  729. L.Size = Vector3.new(1, 1, 1)
  730. L.Locked = true
  731. L.Anchored = true
  732. L.CanCollide = false
  733. L.Transparency = 0.05
  734. L.Reflectance = 0.1
  735. local Place0 = Person.Character.Suit.Watch2.CFrame * CFrame.new(0, -0.1, 0)
  736. local Mesh = Instance.new("CylinderMesh")
  737. Mesh.Parent = L
  738. Mesh.Scale = Vector3.new(0.1, (Place0.p - Pos).magnitude, 0.1)
  739. L.CFrame = CFrame.new((Place0.p + Pos)/2, Place0.p) * CFrame.fromEulerAnglesXYZ(math.pi/2, 0, 0)
  740. if (mouse.Target ~= nil) then
  741. if (mouse.Target.Parent.Name:lower() == "") or ("" == "") then
  742. if ("" ~= "") then
  743. mouse.Target.Parent:BreakJoints()
  744. else
  745. mouse.Target:BreakJoints()
  746. end
  747. end
  748. end
  749. wait()
  750. L:Remove()
  751. end
  752. Debounce = false
  753. smokeBrick.Parent = nil
  754. EnableLimb(NormalHand)
  755. end
  756. end
  757. end
  758. if (key == "K") then
  759. if (Debounce == false) then
  760. if (Lazer == false) then
  761. Debounce = true
  762. Lazer = true
  763. DisableLimb(NormalHand)
  764. SetAngle(NormalHand, 0.785)
  765. BP = Instance.new("BodyPosition")
  766. BP.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  767. BP.P = BP.P / 4
  768. BG = Instance.new("BodyGyro")
  769. BG.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  770. local targ = nil
  771. local Mag = nil
  772. local Pos = nil
  773. while true do
  774. if (Lazer == false) then
  775. break
  776. end
  777. if (mouse.Target ~= nil) and (targ == nil) then
  778. if (mouse.Target.Anchored == false) then
  779. if ((mouse.Hit.p - Person.Character.Suit.Watch2.Position).magnitude <= 10000) then
  780. targ = mouse.Target
  781. BP.Parent = targ
  782. BG.Parent = targ
  783. Mag = (targ.Position - mouse.Hit.p).magnitude
  784. Pos = (targ.Position - mouse.Hit.p).unit * -Mag
  785. end
  786. end
  787. end
  788. local pop = mouse.Hit.p
  789. local G = Instance.new("Part")
  790. G.Parent = Person.Character
  791. G.Name = "Grab Lazer"
  792. G.Anchored = true
  793. G.Locked = true
  794. G.CanCollide = false
  795. G.formFactor = 0
  796. G.Size = Vector3.new(1, 1, 1)
  797. G.BrickColor = BrickColor.new("Really black")
  798. G.Reflectance = 0.05
  799. G.Transparency = 0.025
  800. local Place0 = Person.Character.Suit.Watch2.CFrame * CFrame.new(0, -0.1, 0)
  801. local MeAsh = Instance.new("CylinderMesh")
  802. MeAsh.Parent = G
  803. if (targ == nil) or (targ.Anchored == true) then
  804. MeAsh.Scale = Vector3.new(0.1, (Place0.p-pop).magnitude, 0.1)
  805. G.CFrame = CFrame.new((Place0.p + pop)/2, Place0.p) * CFrame.fromEulerAnglesXYZ(math.pi/2, 0, 0)
  806. else
  807. BP.Parent = targ
  808. BP.position = (PersonT.CFrame + (mouse.Hit.lookVector * 8) + Pos).p + Vector3.new(0, 5.7, 0)
  809. BG.Parent = targ
  810. BG.cframe = CFrame.new(targ.Position, PersonT.Position)
  811. if (targ.Parent == nil) or (targ.Parent.Parent == Person.Character) then
  812. BP.Parent = nil
  813. BG.Parent = nil
  814. end
  815. MeAsh.Scale = Vector3.new(0.1, (Place0.p - targ.Position).magnitude, 0.1)
  816. G.CFrame = CFrame.new((Place0.p + (targ.Position + Pos))/2, Place0.p) * CFrame.fromEulerAnglesXYZ(math.pi/2, 0, 0)
  817. end
  818. wait()
  819. G:Remove()
  820. end
  821. Debounce = false
  822. EnableLimb(NormalHand)
  823. BP.Parent = nil
  824. BG.Parent = nil
  825. end
  826. end
  827. end
  828.  
  829. end
  830. function LiftKey(key, mouse)
  831. key = key:upper()
  832. if (key == "L") then
  833. if (Person.Character.Suit.Band:findFirstChild("Smoke") ~= nil) then
  834. Person.Character.Suit.Band.Smoke:remove()
  835. EnableLimb(NormalHand)
  836. end
  837. end
  838. if (key == "H") then
  839. if (Person.Character:findFirstChild("Grapple Lazer") ~= nil) then
  840. Lazer = false
  841. end
  842. end
  843. if (key == "J") then
  844. if (Person.Character:findFirstChild("Kill Lazer") ~= nil) then
  845. Lazer = false
  846. end
  847. end
  848. if (key == "K") then
  849. if (Person.Character:findFirstChild("Grab Lazer") ~= nil) then
  850. Lazer = false
  851. end
  852. end
  853. if (key == "X") then
  854. if (Person.Character:findFirstChild(" Lazer") ~= nil) then
  855. Lazer = false
  856. end
  857. end
  858. end
  859. function Select(mouse)
  860. mouse.Button1Down:connect(function() Click(mouse) end)
  861. mouse.Button1Up:connect(function() Release(mouse) end)
  862. mouse.KeyDown:connect(function(key) PressKey(key, mouse) end)
  863. mouse.KeyUp:connect(function(key) LiftKey(key, mouse) end)
  864. end
  865. function Deselect(mouse)
  866. Hold = false
  867. Lazer = false
  868. Flight = false
  869. end
  870. Bin.Selected:connect(Select)
  871. Bin.Deselected:connect(Deselect)
  872.  
  873.  
  874. --BLACK MAGIC OMG
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement