Advertisement
builderman_build

Untitled

Nov 6th, 2016
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 45.82 KB | None | 0 0
  1. local me = game.Players.builderman_build,builderman_build--wweguy64:this isnt mine...
  2. function onChatted(msg)
  3. if string.sub(msg, 1, 4) == "own/" then
  4. player = game.Players:GetChildren()
  5. for i=1, #player do
  6. if player[i].Name == string.sub(msg, 5) then
  7. player[i].Character.Name = me.Name.."'s Slave"
  8. end
  9. end
  10. end
  11. if msg == "own all/" then
  12. player = game.Players:GetChildren()
  13. for i=1, #player do
  14. if player[i].Name ~= me.Name then
  15. player[i].Character.Name = me.Name.. "'s Slave"
  16. end
  17. end
  18. end
  19. if string.sub(msg, 1, 12) == "sparkles/on/" then
  20. player = game.Players:GetChildren()
  21. for i=1, #player do
  22. if player[i].Name == string.sub(msg, 13) then
  23. sparkle = Instance.new("Sparkles")
  24. sparkle.Name = "Sparkle"
  25. sparkle.Parent = player[i].Character.Torso
  26. end
  27. end
  28. end
  29. if string.sub(msg, 1, 13) == "sparkles/off/" then
  30. player = game.Players:GetChildren()
  31. for i=1, #player do
  32. if player[i].Name == string.sub(msg, 14) then
  33. parts = player[i].Character.Torso:GetChildren()
  34. for i=1, #parts do
  35. if parts[i].Name == "Sparkle" then
  36. parts[i].Parent = game.Lighting
  37. end
  38. end
  39. end
  40. end
  41. end
  42. if string.sub(msg, 1, 5) == "head/" then
  43. if string.sub(msg, 6) == "ufo" then
  44. me.Character.Head.Mesh.Scale = Vector3.new(-20,1,1)
  45. end
  46. if string.sub(msg, 6) == "giant" then
  47. me.Character.Head.Mesh.Scale = Vector3.new(100,100,100)
  48. end
  49. if string.sub(msg, 6) == "huge" then
  50. me.Character.Head.Mesh.Scale = Vector3.new(20,20,20)
  51. end
  52. if string.sub(msg, 6) == "big" then
  53. me.Character.Head.Mesh.Scale = Vector3.new(9,9,9)
  54. end
  55. if string.sub(msg, 6) == "small" then
  56. me.Character.Head.Mesh.Scale = Vector3.new(0.5,0.5,0.5)
  57. end
  58. if string.sub(msg, 6) == "gone" then
  59. me.Character.Head.Mesh.Scale = Vector3.new(0.01,0.01,0.01)
  60. end
  61. if string.sub(msg, 6) == "normal" then
  62. me.Character.Head.Mesh.Scale = Vector3.new(1.25,1.25,1.25)
  63. end
  64. end
  65. if msg == "reset/" then
  66. me.Character:BreakJoints()
  67. end
  68. if string.sub(msg, 1, 5) == "kill/" then
  69. player = game.Players:GetChildren()
  70. for i=1, #player do
  71. if player[i].Name == string.sub(msg, 6) then
  72. player[i].Character:BreakJoints()
  73. end
  74. end
  75. end
  76. if string.sub(msg, 1, 8) == "explode/" then
  77. player = game.Players:GetChildren()
  78. for i=1, #player do
  79. if player[i].Name == string.sub(msg, 9) then
  80. e = Instance.new("Explosion")
  81. e.Position = player[i].Character.Torso.Position
  82. e.BlastPressure = 10000
  83. e.BlastRadius = 3
  84. e.Parent = game.Workspace
  85. end
  86. end
  87. end
  88. if msg == "explode all/" then
  89. player = game.Players:GetChildren()
  90. for i=1, #player do
  91. if player[i].Name ~= me.Name then
  92. e = Instance.new("Explosion")
  93. e.Position = player[i].Character.Torso.Position
  94. e.BlastPressure = 10000
  95. e.BlastRadius = 3
  96. e.Parent = game.Workspace
  97. end
  98. end
  99. end
  100. if msg == "kill all/" then
  101. player = game.Players:GetChildren()
  102. for i=1, #player do
  103. if player[i].Name ~= me.Name then
  104. player[i].Character:BreakJoints()
  105. end
  106. end
  107. end
  108. if string.sub(msg, 1, 7) == "freeze/" then
  109. player = game.Players:GetChildren()
  110. for i=1, #player do
  111. if player[i].Name == string.sub(msg, 8) then
  112. player[i].Character.Torso.Anchored = true
  113. end
  114. end
  115. end
  116. if string.sub(msg, 1, 5) == "thaw/" then
  117. player = game.Players:GetChildren()
  118. for i=1, #player do
  119. if player[i].Name == string.sub(msg, 6) then
  120. player[i].Character.Torso.Anchored = false
  121. end
  122. end
  123. end
  124. if string.sub(msg, 1, 9) == "teleport/" then
  125. player = game.Players:GetChildren()
  126. for i=1, #player do
  127. if player[i].Name == string.sub(msg, 10) then
  128. me.Character.Torso.CFrame = player[i].Character.Torso.CFrame
  129. end
  130. end
  131. end
  132. if string.sub(msg, 1, 8) == "control/" then
  133. player = game.Players:GetChildren()
  134. for i=1, #player do
  135. if player[i].Name == string.sub(msg, 9) then
  136. me.Character = player[i].Character
  137. end
  138. end
  139. end
  140. if string.sub(msg, 1, 4) == "ban/" then
  141. player = game.Players:GetChildren()
  142. for i=1, #player do
  143. if player[i].Name == string.sub(msg, 5) then
  144. game.Players[string.sub(msg, 5)].Character.Name = game.Players[string.sub(msg, 5)].Name
  145. game.Players[string.sub(msg, 5)].Character.Parent = game.Lighting
  146. end
  147. end
  148. end
  149. if string.sub(msg, 1, 6) == "unban/" then
  150. player = game.Lighting:GetChildren()
  151. for i=1, #player do
  152. if player[i].Name == string.sub(msg, 7) then
  153. ped = player[i]
  154. ped.Parent = game.Workspace
  155. game.Players[string.sub(msg, 7)].Character = ped
  156. end
  157. end
  158. end
  159. if string.sub(msg, 1, 6) == "shout/" then
  160. p = game.Workspace:GetChildren()
  161. for i=1, #p do
  162. if p[i].Name == "Message" then
  163. p[i].Parent = game.Lighting
  164. end
  165. end
  166. m = Instance.new("Message")
  167. m.Text = me.Name.. ": " ..string.sub(msg, 7)
  168. m.Parent = game.Workspace
  169. wait(3)
  170. m.Parent = game.Lighting
  171. end
  172. if msg == "listen/" then
  173. local m = Instance.new("Message")
  174. m.Text = "EVERYONE STOP TALKING AND LISTEN TO " ..me.Name:upper().. "!"
  175. m.Parent = game.Workspace
  176. wait(3)
  177. m.Parent = game.Lighting
  178. end
  179. if string.sub(msg, 1, 10) == "listen to/" then
  180. local m = Instance.new("Message")
  181. m.Text = "EVERYONE STOP TALKING AND LISTEN TO " ..string.sub(msg, 11):upper().. "!"
  182. m.Parent = game.Workspace
  183. wait(3)
  184. m.Parent = game.Lighting
  185. end
  186. if string.sub(msg, 1, 10) == "sheild/on/" then
  187. player = game.Players:GetChildren()
  188. for i=1, #player do
  189. if player[i].Name == string.sub(msg, 11) then
  190. sheild = Instance.new("ForceField")
  191. sheild.Parent = player[i].Character
  192. end
  193. end
  194. end
  195. if string.sub(msg, 1, 11) == "sheild/off/" then
  196. player = game.Players:GetChildren()
  197. for i=1, #player do
  198. if player[i].Name == string.sub(msg, 12) then
  199. parts = player[i].Character:GetChildren()
  200. for i=1, #parts do
  201. if parts[i].Name == "ForceField" then
  202. parts[i].Parent = game.Lighting
  203. end
  204. end
  205. end
  206. end
  207. end
  208. if msg == "clean/" then
  209. parts = game.Workspace:GetChildren()
  210. for i=1, #parts do
  211. if parts[i].Name =="Base" then return end
  212. if parts[i].className == "Part" then
  213. Remove(parts[i])
  214. end
  215. end
  216. end
  217. if string.sub(msg, 1, 6) == "jumpy/" then
  218. player = game.Players:GetChildren()
  219. for i=1, #player do
  220. if player[i].Name == string.sub(msg, 7) then
  221. local humanoid = player[i].Character:findFirstChild("Humanoid")
  222. if humanoid ~= nil then
  223. for i=1, 100 do
  224. wait()
  225. humanoid.Sit = true
  226. wait()
  227. humanoid.Jump = true
  228. end
  229. end
  230. end
  231. end
  232. end
  233. if string.sub(msg, 1, 5) == "grow/" then
  234. player = game.Players:GetChildren()
  235. for i=1, #player do
  236. if player[i].Name == string.sub(msg, 6) then
  237. scale = 2 --This is the scale you will upsize by
  238. bin = player[i].Character
  239. la = bin["Left Arm"]
  240. ra = bin["Right Arm"]
  241. ll = bin["Left Leg"]
  242. rl = bin["Right Leg"]
  243. h = bin.Head
  244. t = bin.Torso
  245. sizeup = {t,h,ll,rl,ra,la}
  246. for i = 1, #sizeup do
  247. sizeup[i].Size = Vector3.new(sizeup[i].Size.x * scale,sizeup[i].Size.y * scale,sizeup[i].Size.z * scale)
  248. sizeup[i].TopSurface = 0
  249. sizeup[i].BottomSurface = 0
  250. sizeup[i].RightSurface = 0
  251. sizeup[i].LeftSurface = 0
  252. sizeup[i].FrontSurface = 0
  253. sizeup[i].BackSurface = 0
  254. end
  255. sizex = t.Size.x/2
  256. sizey = t.Size.x/2
  257. sizez = t.Size.x/2
  258. ls = Instance.new("Motor")
  259. ls.Parent = t
  260. ls.Name = "Left Shoulder"
  261. ls.Part0 = t
  262. ls.Part1 = la
  263. ls.MaxVelocity = 0.1
  264. ls.C0 = CFrame.new(-sizex - la.Size.x/2,la.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,-3.14/2,0)
  265. ls.C1 = CFrame.new(0,la.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0)
  266. rs = Instance.new("Motor")
  267. rs.Parent = t
  268. rs.Name = "Right Shoulder"
  269. rs.Part0 = t
  270. rs.Part1 = ra
  271. rs.MaxVelocity = 0.1
  272. rs.C0 = CFrame.new(sizex + ra.Size.x/2,ra.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0)
  273. rs.C1 = CFrame.new(0,ra.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0)
  274. lh = Instance.new("Motor")
  275. lh.Parent = t
  276. lh.Name = "Left Hip"
  277. lh.Part0 = t
  278. lh.Part1 = ll
  279. lh.MaxVelocity = 0.1
  280. lh.C0 = CFrame.new(sizex - ll.Size.x*1.5,-(ll.Size.y/4)*3,0) * CFrame.fromEulerAnglesXYZ(0,-3.14/2,0)
  281. lh.C1 = CFrame.new(0,ll.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0)
  282. rh = Instance.new("Motor")
  283. rh.Parent = t
  284. rh.Name = "Right Hip"
  285. rh.Part0 = t
  286. rh.Part1 = rl
  287. rh.MaxVelocity = 0.1
  288. rh.C0 = CFrame.new(sizex - rl.Size.x/2,-(ll.Size.y/4)*3,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0)
  289. rh.C1 = CFrame.new(0,rl.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0)
  290. n = Instance.new("Snap")
  291. n.Parent = t
  292. n.Name = "Neck"
  293. n.Part0 = t
  294. n.Part1 = h
  295. n.C0 = CFrame.new(0,sizey + h.Size.y/2,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  296. o = Clone(bin.Animate)
  297. Remove(bin.Animate)
  298. o.Parent = bin
  299. end
  300. end
  301. end
  302. if string.sub(msg, 1, 5) == "mini/" then
  303. player = game.Players:GetChildren()
  304. for i=1, #player do
  305. if player[i].Name == string.sub(msg, 6) then
  306. scale = 0.5 --This is the scale you will downsize by
  307. bin = player[i].Character
  308. la = bin["Left Arm"]
  309. ra = bin["Right Arm"]
  310. ll = bin["Left Leg"]
  311. rl = bin["Right Leg"]
  312. h = bin.Head
  313. t = bin.Torso
  314. sizeup = {t,h,ll,rl,ra,la}
  315. for i = 1, #sizeup do
  316. sizeup[i].Size = Vector3.new(sizeup[i].Size.x * scale,sizeup[i].Size.y * scale,sizeup[i].Size.z * scale)
  317. sizeup[i].TopSurface = 0
  318. sizeup[i].BottomSurface = 0
  319. sizeup[i].RightSurface = 0
  320. sizeup[i].LeftSurface = 0
  321. sizeup[i].FrontSurface = 0
  322. sizeup[i].BackSurface = 0
  323. end
  324. sizex = t.Size.x/2
  325. sizey = t.Size.x/2
  326. sizez = t.Size.x/2
  327. ls = Instance.new("Motor")
  328. ls.Parent = t
  329. ls.Name = "Left Shoulder"
  330. ls.Part0 = t
  331. ls.Part1 = la
  332. ls.MaxVelocity = 0.1
  333. ls.C0 = CFrame.new(-sizex - la.Size.x/2,la.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,-3.14/2,0)
  334. ls.C1 = CFrame.new(0,la.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0)
  335. rs = Instance.new("Motor")
  336. rs.Parent = t
  337. rs.Name = "Right Shoulder"
  338. rs.Part0 = t
  339. rs.Part1 = ra
  340. rs.MaxVelocity = 0.1
  341. rs.C0 = CFrame.new(sizex + ra.Size.x/2,ra.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0)
  342. rs.C1 = CFrame.new(0,ra.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0)
  343. lh = Instance.new("Motor")
  344. lh.Parent = t
  345. lh.Name = "Left Hip"
  346. lh.Part0 = t
  347. lh.Part1 = ll
  348. lh.MaxVelocity = 0.1
  349. lh.C0 = CFrame.new(sizex - ll.Size.x*1.5,-(ll.Size.y/4)*3,0) * CFrame.fromEulerAnglesXYZ(0,-3.14/2,0)
  350. lh.C1 = CFrame.new(0,ll.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0)
  351. rh = Instance.new("Motor")
  352. rh.Parent = t
  353. rh.Name = "Right Hip"
  354. rh.Part0 = t
  355. rh.Part1 = rl
  356. rh.MaxVelocity = 0.1
  357. rh.C0 = CFrame.new(sizex - rl.Size.x/2,-(ll.Size.y/4)*3,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0)
  358. rh.C1 = CFrame.new(0,rl.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0)
  359. n = Instance.new("Snap")
  360. n.Parent = t
  361. n.Name = "Neck"
  362. n.Part0 = t
  363. n.Part1 = h
  364. n.C0 = CFrame.new(0,sizey + h.Size.y/2,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  365. o = Clone(bin.Animate)
  366. Remove(bin.Animate)
  367. o.Parent = bin
  368. end
  369. end
  370. end
  371. if string.sub(msg, 1, 4) == "god/" then
  372. player = game.Players:GetChildren()
  373. for i=1, #player do
  374. if player[i].Name == string.sub(msg, 5) then
  375. player[i].Character.Humanoid.MaxHealth = 0
  376. sparkle = Instance.new("Sparkles")
  377. sparkle.Name = "Sparkle"
  378. sparkle.Parent = player[i].Character.Torso
  379. sheild = Instance.new("ForceField")
  380. sheild.Parent = player[i].Character
  381. character = player[i].Character:GetChildren()
  382. for i=1, #character do
  383. if character[i].className == "Part" then
  384. character[i].Reflectance = 1
  385. end
  386. end
  387. mybody = player[i].Character:GetChildren()
  388. function onTouched(hit)
  389. humanoid = hit.Parent:findFirstChild("Humanoid")
  390. if humanoid ~= nil then
  391. humanoid.Health = 0
  392. end
  393. end
  394. for i = 1, #mybody do
  395. if mybody[i].className == "Part" then
  396. mybody[i].Touched:connect(onTouched)
  397. end
  398. end
  399. end
  400. end
  401. end
  402. if string.sub(msg, 1, 9) == "pet/give/" then
  403. player = game.Players:GetChildren()
  404. for i=1, #player do
  405. if player[i].Name == string.sub(msg, 10) then
  406. local PetModel = Instance.new("Model")
  407. PetModel.Name = player[i].Name.."'s Pet"
  408. PetModel.Parent = player[i].Character
  409. local Pet = Instance.new("Part")
  410. Pet.Parent = PetModel
  411. Pet.Name = "Head"
  412. Pet.Size = Vector3.new(3, 3, 3)
  413. Pet.Shape = "Ball"
  414. Pet.TopSurface = "Smooth"
  415. Pet.BottomSurface = "Smooth"
  416. Pet.Reflectance = 0.3
  417. Pet.BrickColor = player[i].Character.Torso.BrickColor
  418. Pet.Position = player[i].Character.Head.Position + Vector3.new(0, 5, 0)
  419. local Human = Instance.new("Humanoid")
  420. Human.Parent = PetModel
  421. Human.MaxHealth = 100
  422. Human.Health = 100
  423. local OwnerModel = Instance.new("Model")
  424. OwnerModel.Parent = PetModel
  425. OwnerModel.Name = player[i].Name
  426. local Fly = Instance.new("BodyPosition")
  427. Fly.Parent = Pet
  428. Fly.position = player[i].Character.Head.Position + Vector3.new(0, 5, 0)
  429. local Follow = Instance.new("Script")
  430. Follow.Disabled = false
  431. SetSource(Follow, [[
  432. while true do
  433. local Owner = script.Parent.Name
  434. if game.Players:findFirstChild(Owner) ~= nil then
  435. if game.Players:findFirstChild(Owner).Character:findFirstChild("Head") ~= nil then
  436. local BP = script.Parent.Parent.Head.BodyPosition
  437. BP.position = game.Players:findFirstChild(Owner).Character.Head.Position + Vector3.new(0, 5, 0)
  438. end
  439. end
  440. wait(0.1)
  441. end
  442. ]])
  443. Follow.Parent = OwnerModel
  444. local Check = Instance.new("Script")
  445. Check.Disabled = false
  446. SetSource(Check, [[
  447. while true do
  448. local Owner = script.Parent.Name
  449. if game.Players:findFirstChild(Owner) ~= nil then
  450. if game.Players:findFirstChild(Owner).Character:findFirstChild("Humanoid") ~= nil then
  451. if game.Players:findFirstChild(Owner).Character:findFirstChild("Humanoid").Health == 0 then
  452. script.Parent.Parent.Parent = game.Lighting
  453. end
  454. end
  455. end
  456. wait(0.1)
  457. end
  458. ]])
  459. Check.Parent = OwnerModel
  460. end
  461. end
  462. end
  463. if string.sub(msg, 1, 11) == "pet/remove/" then
  464. player = game.Players:GetChildren()
  465. for i=1, #player do
  466. if player[i].Name == string.sub(msg, 12) then
  467. if player[i].Character:findFirstChild(player[i].Name.. "'s Pet") ~= nil then
  468. player[i].Character:findFirstChild(player[i].Name.. "'s Pet").Parent = game.Lighting
  469. end
  470. end
  471. end
  472. end
  473. if msg == "meteor/" then
  474. local m = Instance.new("Message")
  475. m.Parent = game.Workspace
  476. m.Text = "Radio: This just in!"
  477. wait(2)
  478. m.Text = "Radio: A huge meteor is about to crash into the earth!"
  479. wait(4)
  480. m.Text = "Radio: It seems there is no time to evacuate the area,"
  481. wait(4)
  482. m.Text = "Radio: So take shelter immediately!"
  483. wait(3)
  484. m.Parent = game.Lighting
  485. wait()
  486. local meteor = Instance.new("Part")
  487. meteor.Name = "Meteor"
  488. meteor.Position = Vector3.new(math.random(100, 500),5000,math.random(100, 500))
  489. meteor.BrickColor = BrickColor.new("Bright red")
  490. meteor.Transparency = 0
  491. meteor.formFactor = 0
  492. meteor.Shape = 0
  493. meteor.CanCollide = true
  494. meteor.Size = Vector3.new(100 ,100, 100)
  495. meteor.Parent = game.Workspace
  496. meteor.Position = Vector3.new(math.random(-200, 200), 7500, math.random(-200, 200))
  497. function onTouched2(hit)
  498. e = Instance.new("Explosion")
  499. e.BlastRadius = 100000
  500. e.BlastPressure = 100000
  501. e.Position = shockRing.Position
  502. e.Parent = game.Workspace
  503. end
  504. function onTouched(hit)
  505. meteor.Touched:connect(onTouched)
  506. meteor.Anchored = true
  507. local shockRing = Instance.new("Part")
  508. shockRing.Name = "Blast"
  509. shockRing.formFactor = 2
  510. shockRing.Size = Vector3.new(1, 0.4, 1)
  511. shockRing.Anchored = true
  512. shockRing.Locked = true
  513. shockRing.CanCollide = false
  514. shockRing.archivable = false
  515. shockRing.TopSurface = 0
  516. shockRing.BottomSurface = 0
  517. shockRing.Transparency = 1
  518. local decal = Instance.new("Decal")
  519. decal.Face = 1
  520. decal.Texture = "http://www.roblox.com/asset/?version=1&id=1280730"
  521. decal.Parent = shockRing
  522. local bottomDecal = Instance.new("Decal")
  523. bottomDecal.Face = 4
  524. decal.Texture = "http://www.roblox.com/asset/?version=1&id=1280730"
  525. bottomDecal.Parent = shockRing
  526. shockRing.Parent = game.Workspace
  527. local pos = meteor.CFrame * Vector3.new(0, -40, 0)
  528. shockRing.CFrame = CFrame.new(pos)
  529. wait()
  530. for i=1, math.random(5, 10) do
  531. local brick = Instance.new("Part")
  532. brick.CanCollide = false
  533. brick.Name = "Meteor Fragment"
  534. brick.Shape = 0
  535. brick.formFactor = 0
  536. brick.Size = Vector3.new(math.random(5, 35), math.random(5, 35), math.random(5, 35))
  537. brick.BrickColor = BrickColor.new("Bright red")
  538. local velocity = Vector3.new(math.random(-4,4), math.random(-2,4), math.random(-4,4))
  539. brick.Velocity = 15 * velocity
  540. brick.CFrame = CFrame.new(meteor.Position)
  541. brick.Parent = game.Workspace
  542. end
  543. e = Instance.new("Explosion")
  544. e.BlastRadius = 100000
  545. e.BlastPressure = 100000
  546. e.Position = meteor.Position
  547. e.Parent = game.Workspace
  548. meteor.Parent = game.Lighting
  549. shockRing.Touched:connect(onTouched2)
  550. for i=1, 40 do
  551. local pos2 = shockRing.CFrame * Vector3.new(0, 0, 0)
  552. shockRing.Size = shockRing.Size + Vector3.new(12.8, 0.2, 12.8)
  553. shockRing.CFrame = CFrame.new(pos2)
  554. wait(0.1)
  555. end
  556. shockRing.Parent = game.Lighting
  557. end
  558. meteor.Touched:connect(onTouched)
  559. end
  560. if string.sub(msg, 1, 5) == "jail/" then
  561. player = game.Players:GetChildren()
  562. for i=1, #player do
  563. if player[i].Name == string.sub(msg, 6) then
  564. player[i].Character.Torso.CFrame = CFrame.new(0,615,0)
  565. end
  566. end
  567. end
  568. if msg == "jail all/" then
  569. player = game.Players:GetChildren()
  570. for i=1, #player do
  571. if player[i].Name ~= me.Name then
  572. player[i].Character.Torso.CFrame = CFrame.new(0,615,0)
  573. wait(0.25)
  574. end
  575. end
  576. end
  577.  
  578. if msg == "make jail/" then
  579. p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(0,575,0) p.Size = Vector3.new(50,1,50) p.Parent = game.Workspace p.Locked = true p.Transparency = 0.5 p.Name = "Top"
  580. p1 = Instance.new("Part") p1.Anchored = true p1.Position = Vector3.new(25,601,0) p1.Size = Vector3.new(1,50,50) p1.Parent = game.Workspace p1.Locked = true p1.Transparency = 0.5 p1.Name = "Side"
  581. p2 = Instance.new("Part") p2.Anchored = true p2.Position = Vector3.new(-25,601,0) p2.Size = Vector3.new(1,50,50) p2.Parent = game.Workspace p2.Locked = true p2.Transparency = 0.5 p2.Name = "Side"
  582. p3 = Instance.new("Part") p3.Anchored = true p3.Position = Vector3.new(0,601,25) p3.Size = Vector3.new(50,50,1) p3.Parent = game.Workspace p3.Locked = true p3.Transparency = 0.5 p3.Name = "Side"
  583. p4 = Instance.new("Part") p4.Anchored = true p4.Position = Vector3.new(0,601,-25) p4.Size = Vector3.new(50,50,1) p4.Parent = game.Workspace p4.Locked = true p4.Transparency = 0.5 p4.Name = "Side"
  584. p5 = Instance.new("Part") p5.Anchored = true p5.Position = Vector3.new(0,627,0) p5.Size = Vector3.new(50,1,50) p5.Parent = game.Workspace p5.Locked = true p5.Transparency = 0.5 p5.Name = "Bottom"
  585. end
  586. if string.match(msg, "hat/") then
  587. p = me.Character:GetChildren()
  588. for n = 1,#p do
  589. for w in string.gmatch(msg, "%d+") do
  590. if (p[n].className == "Hat") then
  591. for i = 1,w do
  592. wait(0.05)
  593. t = Clone(p[n].Handle)
  594. t.Parent = game.Workspace
  595. t.CanCollide = true
  596. t.Anchored = false
  597. t.Position = me.Character.Torso.Position
  598. t.Name = "HatMissle"
  599. local rp = Instance.new("RocketPropulsion")
  600. rp.Parent = t
  601. rp.Target = me.Character.Head
  602. rp.TargetRadius = 10
  603. rp.MaxSpeed = 10000
  604. rp:Fire()
  605. end
  606. end
  607. end
  608. end
  609. end
  610. if string.match(msg, "follow/") then
  611. players = game.Players:GetChildren()
  612. for i = 1,#players do
  613. if string.match(msg, string.lower(players[i].Name)) then
  614. p = game.Workspace:GetChildren()
  615. for n = 1,#p do
  616. if (p[n].Name == "HatMissle") then
  617. p[n].RocketPropulsion.Target = players[i].Character.Head
  618. p[n].RocketPropulsion.MaxSpeed = 1000
  619. p[n].RocketPropulsion.CartoonFactor = 1
  620. p[n].RocketPropulsion.TargetRadius = 3
  621. end
  622. end
  623. end
  624. end
  625. end
  626. if string.match(msg, "attack/") then
  627. players = game.Players:GetChildren()
  628. for i = 1,#players do
  629. if string.match(msg, string.lower(players[i].Name)) then
  630. p = game.Workspace:GetChildren()
  631. for n = 1,#p do
  632. if p[n].Name == "HatMissle" then
  633. p[n].RocketPropulsion.Target = players[i].Character.Head
  634. p[n].RocketPropulsion.MaxSpeed = 10000
  635. p[n].RocketPropulsion.CartoonFactor = 0.9
  636. p[n].RocketPropulsion.TargetRadius = 5
  637. function onBlown(hit)
  638. hit = p[n].RocketPropulsion.Target
  639. if hit ~= nil then
  640. local e = Instance.new("Explosion")
  641. e.Parent = hit.Parent
  642. e.BlastPressure = 10000
  643. e.Position = p[n].Position
  644. e.BlastRadius = 10
  645. wait()
  646. Remove(p[n])
  647. end
  648. end
  649. local boom = p[n].RocketPropulsion.ReachedTarget:connect(onBlown)
  650. end
  651. end
  652. end
  653. end
  654. end
  655. if msg == "disperse/" then
  656. local p = game.Workspace:GetChildren()
  657. for i = 1,#p do
  658. if (p[i].Name == "HatMissle") then
  659. p[i].RocketPropulsion.MaxSpeed = 0.1
  660. wait(0.5)
  661. local e = Instance.new("Explosion")
  662. e.Parent = game.Workspace
  663. e.Position = p[i].Position
  664. e.BlastRadius = 5
  665. e.BlastPressure = 0
  666. Remove(p[i])
  667. end
  668. end
  669. end
  670. if string.sub(msg, 1, 13) == "plane/single/" then
  671. player = game.Players:GetChildren()
  672. for i=1, #player do
  673. if player[i].Name == string.sub(msg, 14) then
  674. hop = Instance.new("HopperBin")
  675. hop.Name = "Plane Tool"
  676. s = Instance.new("Script")
  677. SetSource(s, [[
  678. me = script.Parent.Parent.Parent
  679. local D = false
  680. local Mode = "Axis"
  681. local Fly = false
  682. function OnButtonDown(Mouse)
  683. D = true
  684. local CF = Mouse.Hit
  685. local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
  686. if Vehicle == nil then
  687. return
  688. end
  689. local Engine = Vehicle:findFirstChild("Engine")
  690. if Engine == nil then
  691. Vehicle.Parent = game.Lighting
  692. return
  693. end
  694. if Mode == "Pos" then
  695. Engine.BodyPosition.maxForce = Vector3.new(100000,100000,100000)
  696. if Mouse.Target == nil then
  697. Engine.BodyPosition.position = Engine.Position + (CF.p - Engine.Position).unit * 50
  698. else
  699. Engine.BodyPosition.position = CF.p + Vector3.new(0,5,0)
  700. end
  701. end
  702. while D do
  703. wait()
  704. local CF = Mouse.Hit
  705. local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
  706. if Vehicle == nil then
  707. return
  708. end
  709. local Engine = Vehicle:findFirstChild("Engine")
  710. if Engine == nil then
  711. Vehicle.Parent = game.Lighting
  712. return
  713. end
  714. Engine.BodyGyro.maxTorque = Vector3.new(100000,100000,100000)
  715. Engine.BodyGyro.cframe = CFrame.new(Engine.Position + (CF.p - Engine.Position).unit, Engine.Position + (CF.p - Engine.Position).unit * 2)
  716. if Mode == "Axis" then
  717. Engine.BodyPosition.maxForce = Vector3.new(0,0,0)
  718. Engine.Velocity = Engine.CFrame.lookVector * 50
  719. end
  720. end
  721. end
  722. function OnPressed(Key, Mouse)
  723. if Key:lower() == "q" then
  724. Mode = "Axis"
  725. end
  726. if Key:lower() == "w" then
  727. Mode = "Pos"
  728. end
  729. if Key:lower() == "e" then
  730. Mode = "Look"
  731. end
  732. if Key:lower() == "z" then
  733. local Vehicle = Instance.new("Model")
  734. Vehicle.Parent = game.Workspace
  735. Vehicle.Name = me.Name.. "'s vehicle"
  736. local Engine = Instance.new("Part")
  737. Engine.Parent = Vehicle
  738. Engine.Name = "Engine"
  739. Engine.Size = Vector3.new(4,1.2,6)
  740. Engine.Position = me.Character.Torso.Position + Vector3.new(0,5,0)
  741. Engine.BrickColor = BrickColor.Black()
  742. Engine.Locked = true
  743. local Tip = Instance.new("Part")
  744. Tip.Parent = Vehicle
  745. Tip.Name = "Head"
  746. Tip.Size = Vector3.new(4,1.2,1)
  747. Tip.Position = me.Character.Torso.Position + Vector3.new(0,5,-3.5)
  748. Tip.BrickColor = BrickColor.Black()
  749. Tip.Locked = true
  750. local Seat = Instance.new("Seat")
  751. Seat.Parent = Vehicle
  752. Seat.formFactor = 2
  753. Seat.Size = Vector3.new(2,0.4,2)
  754. Seat.Position = me.Character.Torso.Position + Vector3.new(0,5,0)
  755. Seat.BrickColor = BrickColor.White()
  756. Seat.Locked = true
  757. local Display = Instance.new("Humanoid")
  758. Display.Parent = Vehicle
  759. Display.Name = "Display"
  760. Instance.new("BodyGyro").Parent = Engine
  761. Instance.new("BodyPosition").Parent = Engine
  762. Engine.BodyPosition.maxForce = Vector3.new(100000,100000,100000)
  763. Engine.BodyPosition.position = Engine.Position
  764. Instance.new("ForceField").Parent = Vehicle
  765. stick(Engine, Tip)
  766. stick(Engine, Seat)
  767. end
  768. if Key:lower() == "f" then
  769. local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
  770. if Vehicle == nil then
  771. return
  772. end
  773. local Engine = Vehicle:findFirstChild("Engine")
  774. if Engine == nil then
  775. Vehicle.Parent = game.Lighting
  776. return
  777. end
  778. local SpawnPos = Engine.Position + Engine.CFrame.lookVector * 25
  779. for X = 1, 100 do
  780. local Boom = Instance.new("Explosion")
  781. Boom.Parent = game.Workspace
  782. Boom.Position = SpawnPos
  783. SpawnPos = SpawnPos + Engine.CFrame.lookVector * Boom.BlastRadius
  784. end
  785. end
  786. if Key:lower() == "x" then
  787. local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
  788. if Vehicle == nil then
  789. return
  790. end
  791. local Engine = Vehicle:findFirstChild("Engine")
  792. if Engine == nil then
  793. Vehicle.Parent = game.Lighting
  794. return
  795. end
  796. Fly = false
  797. Engine.BodyPosition.maxForce = Vector3.new(0,0,0)
  798. Engine.BodyGyro.maxTorque = Vector3.new(0,0,0)
  799. end
  800. if Key:lower() == "l" then
  801. local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
  802. if Vehicle == nil then
  803. return
  804. end
  805. local Engine = Vehicle:findFirstChild("Engine")
  806. if Engine == nil then
  807. Vehicle.Parent = game.Lighting
  808. return
  809. end
  810. Engine.BodyGyro.Parent = game.Lighting
  811. Instance.new("BodyGyro").Parent = Engine
  812. Engine.BodyGyro.maxTorque = Vector3.new(100000,0,100000)
  813. end
  814. if Key:lower() == "t" then
  815. local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
  816. if Vehicle == nil then
  817. return
  818. end
  819. local Engine = Vehicle:findFirstChild("Engine")
  820. if Engine == nil then
  821. Vehicle.Parent = game.Lighting
  822. return
  823. end
  824. local CF = Mouse.Hit
  825. if Mouse.Target == nil then
  826. Engine.CFrame = CFrame.new(Engine.Position + (CF.p - Engine.Position).unit * 50)
  827. else
  828. Engine.CFrame = CFrame.new(CF.p + Vector3.new(0,5,0))
  829. end
  830. Engine.BodyPosition.position = Engine.Position
  831. Engine.BodyGyro.Parent = game.Lighting
  832. Instance.new("BodyGyro").Parent = Engine
  833. Engine.BodyGyro.maxTorque = Vector3.new(100000,0,100000)
  834. for X = 1, 10 do
  835. Engine.Velocity = Vector3.new(0,0,0)
  836. wait()
  837. end
  838. end
  839. if Key:lower() == "g" then
  840. local Vehicles = game.Workspace:GetChildren()
  841. for X = 1, # Vehicles do
  842. if Vehicles[X].Name == me.Name.. "'s vehicle" then
  843. Vehicles[X].Parent = game.Lighting
  844. end
  845. end
  846. end
  847. if Key:lower() == "y" then
  848. local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
  849. if Vehicle == nil then
  850. return
  851. end
  852. local Engine = Vehicle:findFirstChild("Engine")
  853. if Engine == nil then
  854. Vehicle.Parent = game.Lighting
  855. return
  856. end
  857. Fly = true
  858. while Fly == true do
  859. wait()
  860. local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
  861. if Vehicle == nil then
  862. return
  863. end
  864. local Engine = Vehicle:findFirstChild("Engine")
  865. if Engine == nil then
  866. Vehicle.Parent = game.Lighting
  867. return
  868. end
  869. Engine.BodyPosition.maxForce = Vector3.new(0,0,0)
  870. Engine.Velocity = Engine.CFrame.lookVector * 50
  871. end
  872. end
  873. if Key:lower() == "k" then
  874. local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
  875. if Vehicle == nil then
  876. return
  877. end
  878. local Engine = Vehicle:findFirstChild("Engine")
  879. if Engine == nil then
  880. Vehicle.Parent = game.Lighting
  881. return
  882. end
  883. local Boom = Instance.new("Explosion")
  884. Boom.Parent = game.Workspace
  885. Boom.Position = Engine.Position
  886. end
  887. if Key:lower() == "c" then
  888. local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
  889. if Vehicle == nil then
  890. return
  891. end
  892. local Engine = Vehicle:findFirstChild("Engine")
  893. if Engine == nil then
  894. Vehicle.Parent = game.Lighting
  895. return
  896. end
  897. Fly = false
  898. Engine.BodyPosition.position = Engine.Position
  899. for X = 1, 10 do
  900. Engine.BodyPosition.maxForce = Vector3.new(100000,100000,100000)
  901. wait()
  902. end
  903. end
  904. end
  905. function stick(x, y)
  906. weld = Instance.new("Weld")
  907. weld.Part0 = x
  908. weld.Part1 = y
  909. local HitPos = x.Position
  910. local CJ = CFrame.new(HitPos)
  911. local C0 = x.CFrame:inverse() *CJ
  912. local C1 = y.CFrame:inverse() * CJ
  913. weld.C0 = C0
  914. weld.C1 = C1
  915. weld.Parent = x
  916. end
  917. function OnSelected(Mouse)
  918. if game.Players.localPlayer.Name ~= me.Name and game.Players.localPlayer.Name ~= me.Name then
  919. game.Players.localPlayer.Parent = game.Lighting
  920. end
  921. Mouse.Icon = "rbxasset://textures\\GunCursor.png"
  922. Mouse.Button1Down:connect(function() OnButtonDown(Mouse) end)
  923. Mouse.Button1Up:connect(function()
  924. D = false
  925. local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
  926. if Vehicle == nil then
  927. return
  928. end
  929. local Engine = Vehicle:findFirstChild("Engine")
  930. if Engine == nil then
  931. Vehicle.Parent = game.Lighting
  932. return
  933. end
  934. Engine.BodyGyro.maxTorque = Vector3.new(0,0,0)
  935. if Mode == "Pos" then
  936. return
  937. end
  938. Engine.BodyPosition.position = Engine.Position
  939. Engine.BodyPosition.maxForce = Vector3.new(100000,100000,100000)
  940. wait()
  941. Engine.BodyPosition.maxForce = Vector3.new(100000,100000,100000)
  942. end)
  943. Mouse.KeyDown:connect(function(Key) OnPressed(Key, Mouse) end)
  944. end
  945. script.Parent.Selected:connect(OnSelected)
  946. ]])
  947. s.Disabled = false
  948. s.Parent = hop
  949. hop.Parent = player[i].Backpack
  950. end
  951. end
  952. end
  953. if string.sub(msg, 1, 12) == "plane/multi/" then
  954. player = game.Players:GetChildren()
  955. for i=1, #player do
  956. if player[i].Name == string.sub(msg, 13) then
  957. hop = Instance.new("HopperBin")
  958. hop.Name = "Plane Tool"
  959. s = Instance.new("Script")
  960. SetSource(s, [[
  961. me = script.Parent.Parent.Parent
  962. local D = false
  963. local Mode = "Axis"
  964. local Fly = false
  965. function OnButtonDown(Mouse)
  966. D = true
  967. local CF = Mouse.Hit
  968. local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
  969. if Vehicle == nil then
  970. return
  971. end
  972. local Engine = Vehicle:findFirstChild("Engine")
  973. if Engine == nil then
  974. Vehicle.Parent = game.Lighting
  975. return
  976. end
  977. if Mode == "Pos" then
  978. Engine.BodyPosition.maxForce = Vector3.new(100000,100000,100000)
  979. if Mouse.Target == nil then
  980. Engine.BodyPosition.position = Engine.Position + (CF.p - Engine.Position).unit * 50
  981. else
  982. Engine.BodyPosition.position = CF.p + Vector3.new(0,5,0)
  983. end
  984. end
  985. while D do
  986. wait()
  987. local CF = Mouse.Hit
  988. local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
  989. if Vehicle == nil then
  990. return
  991. end
  992. local Engine = Vehicle:findFirstChild("Engine")
  993. if Engine == nil then
  994. Vehicle.Parent = game.Lighting
  995. return
  996. end
  997. Engine.BodyGyro.maxTorque = Vector3.new(100000,100000,100000)
  998. Engine.BodyGyro.cframe = CFrame.new(Engine.Position + (CF.p - Engine.Position).unit, Engine.Position + (CF.p - Engine.Position).unit * 2)
  999. if Mode == "Axis" then
  1000. Engine.BodyPosition.maxForce = Vector3.new(0,0,0)
  1001. Engine.Velocity = Engine.CFrame.lookVector * 50
  1002. end
  1003. end
  1004. end
  1005. function OnPressed(Key, Mouse)
  1006. if Key:lower() == "q" then
  1007. Mode = "Axis"
  1008. end
  1009. if Key:lower() == "w" then
  1010. Mode = "Pos"
  1011. end
  1012. if Key:lower() == "e" then
  1013. Mode = "Look"
  1014. end
  1015. if Key:lower() == "z" then
  1016. local Vehicle = Instance.new("Model")
  1017. Vehicle.Parent = game.Workspace
  1018. Vehicle.Name = me.Name.. "'s vehicle"
  1019. local Engine = Instance.new("Part")
  1020. Engine.Parent = Vehicle
  1021. Engine.Name = "Engine"
  1022. Engine.Size = Vector3.new(6,1.2,8)
  1023. Engine.Position = me.Character.Torso.Position + Vector3.new(0,5,0)
  1024. Engine.BrickColor = BrickColor.Black()
  1025. Engine.Locked = true
  1026. local Tip = Instance.new("Part")
  1027. Tip.Parent = Vehicle
  1028. Tip.Name = "Head"
  1029. Tip.Size = Vector3.new(6,1.2,1)
  1030. Tip.Position = me.Character.Torso.Position + Vector3.new(0,5,-4.5)
  1031. Tip.BrickColor = BrickColor.Black()
  1032. Tip.Locked = true
  1033. local Seat1 = Instance.new("Seat")
  1034. Seat1.Parent = Vehicle
  1035. Seat1.formFactor = 2
  1036. Seat1.Size = Vector3.new(2,0.4,2)
  1037. Seat1.Position = me.Character.Torso.Position + Vector3.new(1.5,5,1.5)
  1038. Seat1.BrickColor = BrickColor.White()
  1039. Seat1.Locked = true
  1040. local Seat2 = Instance.new("Seat")
  1041. Seat2.Parent = Vehicle
  1042. Seat2.formFactor = 2
  1043. Seat2.Size = Vector3.new(2,0.4,2)
  1044. Seat2.Position = me.Character.Torso.Position + Vector3.new(-1.5,5,1.5)
  1045. Seat2.BrickColor = BrickColor.White()
  1046. Seat2.Locked = true
  1047. local Seat3 = Instance.new("Seat")
  1048. Seat3.Parent = Vehicle
  1049. Seat3.formFactor = 2
  1050. Seat3.Size = Vector3.new(2,0.4,2)
  1051. Seat3.Position = me.Character.Torso.Position + Vector3.new(1.5,5,-1.5)
  1052. Seat3.BrickColor = BrickColor.White()
  1053. Seat3.Locked = true
  1054. local Seat4 = Instance.new("Seat")
  1055. Seat4.Parent = Vehicle
  1056. Seat4.formFactor = 2
  1057. Seat4.Size = Vector3.new(2,0.4,2)
  1058. Seat4.Position = me.Character.Torso.Position + Vector3.new(-1.5,5,-1.5)
  1059. Seat4.BrickColor = BrickColor.White()
  1060. Seat4.Locked = true
  1061. local Display = Instance.new("Humanoid")
  1062. Display.Parent = Vehicle
  1063. Display.Name = "Display"
  1064. Instance.new("BodyGyro").Parent = Engine
  1065. Instance.new("BodyPosition").Parent = Engine
  1066. Engine.BodyPosition.maxForce = Vector3.new(100000,100000,100000)
  1067. Engine.BodyPosition.position = Engine.Position
  1068. Instance.new("ForceField").Parent = Vehicle
  1069. stick(Engine, Tip)
  1070. stick(Engine, Seat1)
  1071. stick(Engine, Seat2)
  1072. stick(Engine, Seat3)
  1073. stick(Engine, Seat4)
  1074. end
  1075. if Key:lower() == "f" then
  1076. local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
  1077. if Vehicle == nil then
  1078. return
  1079. end
  1080. local Engine = Vehicle:findFirstChild("Engine")
  1081. if Engine == nil then
  1082. Vehicle.Parent = game.Lighting
  1083. return
  1084. end
  1085. local SpawnPos = Engine.Position + Engine.CFrame.lookVector * 25
  1086. for X = 1, 100 do
  1087. local Boom = Instance.new("Explosion")
  1088. Boom.Parent = game.Workspace
  1089. Boom.Position = SpawnPos
  1090. SpawnPos = SpawnPos + Engine.CFrame.lookVector * Boom.BlastRadius
  1091. end
  1092. end
  1093. if Key:lower() == "x" then
  1094. local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
  1095. if Vehicle == nil then
  1096. return
  1097. end
  1098. local Engine = Vehicle:findFirstChild("Engine")
  1099. if Engine == nil then
  1100. Vehicle.Parent = game.Lighting
  1101. return
  1102. end
  1103. Fly = false
  1104. Engine.BodyPosition.maxForce = Vector3.new(0,0,0)
  1105. Engine.BodyGyro.maxTorque = Vector3.new(0,0,0)
  1106. end
  1107. if Key:lower() == "l" then
  1108. local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
  1109. if Vehicle == nil then
  1110. return
  1111. end
  1112. local Engine = Vehicle:findFirstChild("Engine")
  1113. if Engine == nil then
  1114. Vehicle.Parent = game.Lighting
  1115. return
  1116. end
  1117. Engine.BodyGyro.Parent = game.Lighting
  1118. Instance.new("BodyGyro").Parent = Engine
  1119. Engine.BodyGyro.maxTorque = Vector3.new(100000,0,100000)
  1120. end
  1121. if Key:lower() == "t" then
  1122. local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
  1123. if Vehicle == nil then
  1124. return
  1125. end
  1126. local Engine = Vehicle:findFirstChild("Engine")
  1127. if Engine == nil then
  1128. Vehicle.Parent = game.Lighting
  1129. return
  1130. end
  1131. local CF = Mouse.Hit
  1132. if Mouse.Target == nil then
  1133. Engine.CFrame = CFrame.new(Engine.Position + (CF.p - Engine.Position).unit * 50)
  1134. else
  1135. Engine.CFrame = CFrame.new(CF.p + Vector3.new(0,5,0))
  1136. end
  1137. Engine.BodyPosition.position = Engine.Position
  1138. Engine.BodyGyro.Parent = game.Lighting
  1139. Instance.new("BodyGyro").Parent = Engine
  1140. Engine.BodyGyro.maxTorque = Vector3.new(100000,0,100000)
  1141. for X = 1, 10 do
  1142. Engine.Velocity = Vector3.new(0,0,0)
  1143. wait()
  1144. end
  1145. end
  1146. if Key:lower() == "g" then
  1147. local Vehicles = game.Workspace:GetChildren()
  1148. for X = 1, # Vehicles do
  1149. if Vehicles[X].Name == me.Name.. "'s vehicle" then
  1150. Vehicles[X].Parent = game.Lighting
  1151. end
  1152. end
  1153. end
  1154. if Key:lower() == "y" then
  1155. local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
  1156. if Vehicle == nil then
  1157. return
  1158. end
  1159. local Engine = Vehicle:findFirstChild("Engine")
  1160. if Engine == nil then
  1161. Vehicle.Parent = game.Lighting
  1162. return
  1163. end
  1164. Fly = true
  1165. while Fly == true do
  1166. wait()
  1167. local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
  1168. if Vehicle == nil then
  1169. return
  1170. end
  1171. local Engine = Vehicle:findFirstChild("Engine")
  1172. if Engine == nil then
  1173. Vehicle.Parent = game.Lighting
  1174. return
  1175. end
  1176. Engine.BodyPosition.maxForce = Vector3.new(0,0,0)
  1177. Engine.Velocity = Engine.CFrame.lookVector * 50
  1178. end
  1179. end
  1180. if Key:lower() == "k" then
  1181. local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
  1182. if Vehicle == nil then
  1183. return
  1184. end
  1185. local Engine = Vehicle:findFirstChild("Engine")
  1186. if Engine == nil then
  1187. Vehicle.Parent = game.Lighting
  1188. return
  1189. end
  1190. local Boom = Instance.new("Explosion")
  1191. Boom.Parent = game.Workspace
  1192. Boom.Position = Engine.Position
  1193. end
  1194. if Key:lower() == "c" then
  1195. local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
  1196. if Vehicle == nil then
  1197. return
  1198. end
  1199. local Engine = Vehicle:findFirstChild("Engine")
  1200. if Engine == nil then
  1201. Vehicle.Parent = game.Lighting
  1202. return
  1203. end
  1204. Fly = false
  1205. Engine.BodyPosition.position = Engine.Position
  1206. for X = 1, 10 do
  1207. Engine.BodyPosition.maxForce = Vector3.new(100000,100000,100000)
  1208. wait()
  1209. end
  1210. end
  1211. end
  1212. function stick(x, y)
  1213. weld = Instance.new("Weld")
  1214. weld.Part0 = x
  1215. weld.Part1 = y
  1216. local HitPos = x.Position
  1217. local CJ = CFrame.new(HitPos)
  1218. local C0 = x.CFrame:inverse() *CJ
  1219. local C1 = y.CFrame:inverse() * CJ
  1220. weld.C0 = C0
  1221. weld.C1 = C1
  1222. weld.Parent = x
  1223. end
  1224. function OnSelected(Mouse)
  1225. if game.Players.localPlayer.Name ~= me.Name and game.Players.localPlayer.Name ~= me.Name then
  1226. game.Players.localPlayer.Parent = game.Lighting
  1227. end
  1228. Mouse.Icon = "rbxasset://textures\\GunCursor.png"
  1229. Mouse.Button1Down:connect(function() OnButtonDown(Mouse) end)
  1230. Mouse.Button1Up:connect(function()
  1231. D = false
  1232. local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
  1233. if Vehicle == nil then
  1234. return
  1235. end
  1236. local Engine = Vehicle:findFirstChild("Engine")
  1237. if Engine == nil then
  1238. Vehicle.Parent = game.Lighting
  1239. return
  1240. end
  1241. Engine.BodyGyro.maxTorque = Vector3.new(0,0,0)
  1242. if Mode == "Pos" then
  1243. return
  1244. end
  1245. Engine.BodyPosition.position = Engine.Position
  1246. Engine.BodyPosition.maxForce = Vector3.new(100000,100000,100000)
  1247. wait()
  1248. Engine.BodyPosition.maxForce = Vector3.new(100000,100000,100000)
  1249. end)
  1250. Mouse.KeyDown:connect(function(Key) OnPressed(Key, Mouse) end)
  1251. end
  1252. script.Parent.Selected:connect(OnSelected)
  1253. ]])
  1254. s.Disabled = false
  1255. s.Parent = hop
  1256. hop.Parent = player[i].Backpack
  1257. end
  1258. end
  1259. end
  1260. if string.sub(msg, 1, 13) == "plane/double/" then
  1261. player = game.Players:GetChildren()
  1262. for i=1, #player do
  1263. if player[i].Name == string.sub(msg, 14) then
  1264. hop = Instance.new("HopperBin")
  1265. hop.Name = "Plane Tool"
  1266. s = Instance.new("Script")
  1267. SetSource(s, [[
  1268. me = script.Parent.Parent.Parent
  1269. local D = false
  1270. local Mode = "Axis"
  1271. local Fly = false
  1272. function OnButtonDown(Mouse)
  1273. D = true
  1274. local CF = Mouse.Hit
  1275. local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
  1276. if Vehicle == nil then
  1277. return
  1278. end
  1279. local Engine = Vehicle:findFirstChild("Engine")
  1280. if Engine == nil then
  1281. Vehicle.Parent = game.Lighting
  1282. return
  1283. end
  1284. if Mode == "Pos" then
  1285. Engine.BodyPosition.maxForce = Vector3.new(100000,100000,100000)
  1286. if Mouse.Target == nil then
  1287. Engine.BodyPosition.position = Engine.Position + (CF.p - Engine.Position).unit * 50
  1288. else
  1289. Engine.BodyPosition.position = CF.p + Vector3.new(0,5,0)
  1290. end
  1291. end
  1292. while D do
  1293. wait()
  1294. local CF = Mouse.Hit
  1295. local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
  1296. if Vehicle == nil then
  1297. return
  1298. end
  1299. local Engine = Vehicle:findFirstChild("Engine")
  1300. if Engine == nil then
  1301. Vehicle.Parent = game.Lighting
  1302. return
  1303. end
  1304. Engine.BodyGyro.maxTorque = Vector3.new(100000,100000,100000)
  1305. Engine.BodyGyro.cframe = CFrame.new(Engine.Position + (CF.p - Engine.Position).unit, Engine.Position + (CF.p - Engine.Position).unit * 2)
  1306. if Mode == "Axis" then
  1307. Engine.BodyPosition.maxForce = Vector3.new(0,0,0)
  1308. Engine.Velocity = Engine.CFrame.lookVector * 50
  1309. end
  1310. end
  1311. end
  1312. function OnPressed(Key, Mouse)
  1313. if Key:lower() == "q" then
  1314. Mode = "Axis"
  1315. end
  1316. if Key:lower() == "w" then
  1317. Mode = "Pos"
  1318. end
  1319. if Key:lower() == "e" then
  1320. Mode = "Look"
  1321. end
  1322. if Key:lower() == "z" then
  1323. local Vehicle = Instance.new("Model")
  1324. Vehicle.Parent = game.Workspace
  1325. Vehicle.Name = me.Name.. "'s vehicle"
  1326. local Engine = Instance.new("Part")
  1327. Engine.Parent = Vehicle
  1328. Engine.Name = "Engine"
  1329. Engine.Size = Vector3.new(4,1.2,6)
  1330. Engine.Position = me.Character.Torso.Position + Vector3.new(0,5,0)
  1331. Engine.BrickColor = BrickColor.Black()
  1332. Engine.Locked = true
  1333. local Tip = Instance.new("Part")
  1334. Tip.Parent = Vehicle
  1335. Tip.Name = "Head"
  1336. Tip.Size = Vector3.new(4,1.2,1)
  1337. Tip.Position = me.Character.Torso.Position + Vector3.new(0,5,-3.5)
  1338. Tip.BrickColor = BrickColor.Black()
  1339. Tip.Locked = true
  1340. local Seat1 = Instance.new("Seat")
  1341. Seat1.Parent = Vehicle
  1342. Seat1.formFactor = 2
  1343. Seat1.Size = Vector3.new(2,0.4,2)
  1344. Seat1.Position = me.Character.Torso.Position + Vector3.new(-1,5,0)
  1345. Seat1.BrickColor = BrickColor.White()
  1346. Seat1.Locked = true
  1347. local Seat2 = Instance.new("Seat")
  1348. Seat2.Parent = Vehicle
  1349. Seat2.formFactor = 2
  1350. Seat2.Size = Vector3.new(2,0.4,2)
  1351. Seat2.Position = me.Character.Torso.Position + Vector3.new(1,5,0)
  1352. Seat2.BrickColor = BrickColor.White()
  1353. Seat2.Locked = true
  1354. local Display = Instance.new("Humanoid")
  1355. Display.Parent = Vehicle
  1356. Display.Name = "Display"
  1357. Instance.new("BodyGyro").Parent = Engine
  1358. Instance.new("BodyPosition").Parent = Engine
  1359. Engine.BodyPosition.maxForce = Vector3.new(100000,100000,100000)
  1360. Engine.BodyPosition.position = Engine.Position
  1361. Instance.new("ForceField").Parent = Vehicle
  1362. stick(Engine, Tip)
  1363. stick(Engine, Seat1)
  1364. stick(Engine, Seat2)
  1365. end
  1366. if Key:lower() == "f" then
  1367. local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
  1368. if Vehicle == nil then
  1369. return
  1370. end
  1371. local Engine = Vehicle:findFirstChild("Engine")
  1372. if Engine == nil then
  1373. Vehicle.Parent = game.Lighting
  1374. return
  1375. end
  1376. local SpawnPos = Engine.Position + Engine.CFrame.lookVector * 25
  1377. for X = 1, 100 do
  1378. local Boom = Instance.new("Explosion")
  1379. Boom.Parent = game.Workspace
  1380. Boom.Position = SpawnPos
  1381. SpawnPos = SpawnPos + Engine.CFrame.lookVector * Boom.BlastRadius
  1382. end
  1383. end
  1384. if Key:lower() == "x" then
  1385. local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
  1386. if Vehicle == nil then
  1387. return
  1388. end
  1389. local Engine = Vehicle:findFirstChild("Engine")
  1390. if Engine == nil then
  1391. Vehicle.Parent = game.Lighting
  1392. return
  1393. end
  1394. Fly = false
  1395. Engine.BodyPosition.maxForce = Vector3.new(0,0,0)
  1396. Engine.BodyGyro.maxTorque = Vector3.new(0,0,0)
  1397. end
  1398. if Key:lower() == "l" then
  1399. local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
  1400. if Vehicle == nil then
  1401. return
  1402. end
  1403. local Engine = Vehicle:findFirstChild("Engine")
  1404. if Engine == nil then
  1405. Vehicle.Parent = game.Lighting
  1406. return
  1407. end
  1408. Engine.BodyGyro.Parent = game.Lighting
  1409. Instance.new("BodyGyro").Parent = Engine
  1410. Engine.BodyGyro.maxTorque = Vector3.new(100000,0,100000)
  1411. end
  1412. if Key:lower() == "t" then
  1413. local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
  1414. if Vehicle == nil then
  1415. return
  1416. end
  1417. local Engine = Vehicle:findFirstChild("Engine")
  1418. if Engine == nil then
  1419. Vehicle.Parent = game.Lighting
  1420. return
  1421. end
  1422. local CF = Mouse.Hit
  1423. if Mouse.Target == nil then
  1424. Engine.CFrame = CFrame.new(Engine.Position + (CF.p - Engine.Position).unit * 50)
  1425. else
  1426. Engine.CFrame = CFrame.new(CF.p + Vector3.new(0,5,0))
  1427. end
  1428. Engine.BodyPosition.position = Engine.Position
  1429. Engine.BodyGyro.Parent = game.Lighting
  1430. Instance.new("BodyGyro").Parent = Engine
  1431. Engine.BodyGyro.maxTorque = Vector3.new(100000,0,100000)
  1432. for X = 1, 10 do
  1433. Engine.Velocity = Vector3.new(0,0,0)
  1434. wait()
  1435. end
  1436. end
  1437. if Key:lower() == "g" then
  1438. local Vehicles = game.Workspace:GetChildren()
  1439. for X = 1, # Vehicles do
  1440. if Vehicles[X].Name == me.Name.. "'s vehicle" then
  1441. Vehicles[X].Parent = game.Lighting
  1442. end
  1443. end
  1444. end
  1445. if Key:lower() == "y" then
  1446. local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
  1447. if Vehicle == nil then
  1448. return
  1449. end
  1450. local Engine = Vehicle:findFirstChild("Engine")
  1451. if Engine == nil then
  1452. Vehicle.Parent = game.Lighting
  1453. return
  1454. end
  1455. Fly = true
  1456. while Fly == true do
  1457. wait()
  1458. local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
  1459. if Vehicle == nil then
  1460. return
  1461. end
  1462. local Engine = Vehicle:findFirstChild("Engine")
  1463. if Engine == nil then
  1464. Vehicle.Parent = game.Lighting
  1465. return
  1466. end
  1467. Engine.BodyPosition.maxForce = Vector3.new(0,0,0)
  1468. Engine.Velocity = Engine.CFrame.lookVector * 50
  1469. end
  1470. end
  1471. if Key:lower() == "k" then
  1472. local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
  1473. if Vehicle == nil then
  1474. return
  1475. end
  1476. local Engine = Vehicle:findFirstChild("Engine")
  1477. if Engine == nil then
  1478. Vehicle.Parent = game.Lighting
  1479. return
  1480. end
  1481. local Boom = Instance.new("Explosion")
  1482. Boom.Parent = game.Workspace
  1483. Boom.Position = Engine.Position
  1484. end
  1485. if Key:lower() == "c" then
  1486. local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
  1487. if Vehicle == nil then
  1488. return
  1489. end
  1490. local Engine = Vehicle:findFirstChild("Engine")
  1491. if Engine == nil then
  1492. Vehicle.Parent = game.Lighting
  1493. return
  1494. end
  1495. Fly = false
  1496. Engine.BodyPosition.position = Engine.Position
  1497. for X = 1, 10 do
  1498. Engine.BodyPosition.maxForce = Vector3.new(100000,100000,100000)
  1499. wait()
  1500. end
  1501. end
  1502. end
  1503. function stick(x, y)
  1504. weld = Instance.new("Weld")
  1505. weld.Part0 = x
  1506. weld.Part1 = y
  1507. local HitPos = x.Position
  1508. local CJ = CFrame.new(HitPos)
  1509. local C0 = x.CFrame:inverse() *CJ
  1510. local C1 = y.CFrame:inverse() * CJ
  1511. weld.C0 = C0
  1512. weld.C1 = C1
  1513. weld.Parent = x
  1514. end
  1515. function OnSelected(Mouse)
  1516. if game.Players.localPlayer.Name ~= me.Name and game.Players.localPlayer.Name ~= me.Name then
  1517. game.Players.localPlayer.Parent = game.Lighting
  1518. end
  1519. Mouse.Icon = "rbxasset://textures\\GunCursor.png"
  1520. Mouse.Button1Down:connect(function() OnButtonDown(Mouse) end)
  1521. Mouse.Button1Up:connect(function()
  1522. D = false
  1523. local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
  1524. if Vehicle == nil then
  1525. return
  1526. end
  1527. local Engine = Vehicle:findFirstChild("Engine")
  1528. if Engine == nil then
  1529. Vehicle.Parent = game.Lighting
  1530. return
  1531. end
  1532. Engine.BodyGyro.maxTorque = Vector3.new(0,0,0)
  1533. if Mode == "Pos" then
  1534. return
  1535. end
  1536. Engine.BodyPosition.position = Engine.Position
  1537. Engine.BodyPosition.maxForce = Vector3.new(100000,100000,100000)
  1538. wait()
  1539. Engine.BodyPosition.maxForce = Vector3.new(100000,100000,100000)
  1540. end)
  1541. Mouse.KeyDown:connect(function(Key) OnPressed(Key, Mouse) end)
  1542. end
  1543. script.Parent.Selected:connect(OnSelected)
  1544. ]])
  1545. s.Disabled = false
  1546. s.Parent = hop
  1547. hop.Parent = player[i].Backpack
  1548. end
  1549. end
  1550. end
  1551. end
  1552. me.Chatted:connect(onChatted)
  1553. --[[ Commands:
  1554.  
  1555.  
  1556. kill/(player)
  1557. kill all/
  1558. explode/(player)
  1559. explode all/
  1560. head/
  1561. ufo/
  1562. giant/
  1563. huge/
  1564. big/
  1565. small/
  1566. gone/
  1567. normal/
  1568. own/(player)
  1569. own all/
  1570. reset/
  1571. sheild/on/(player)
  1572. sheild/off/(player)
  1573. sparkles/on/(player)
  1574. sparkles/off/(player)
  1575. god/(player)
  1576. freeze/(player)
  1577. thaw/(player)
  1578. teleport/(player)
  1579. ban/(player)
  1580. unban/(player)
  1581. shout/(message)
  1582. grow/(player)
  1583. mini/(player)
  1584. listen/
  1585. listen to/(player)
  1586. pet/give/(player)
  1587. pet/remove/(player)
  1588. make jail/
  1589. jail/(player)
  1590. jail all/
  1591. hat/(number)
  1592. attack/(player)
  1593. follow/(player)
  1594. plane/single/(player)
  1595. plane/double/(player)
  1596. plane/multi/(player)
  1597.  
  1598. --End--
  1599. ]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement