Advertisement
Guest User

Untitled

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