Advertisement
lx4lvealex

SuperSuit

Jul 18th, 2016
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 26.44 KB | None | 0 0
  1. me = game.Players.lx4lvealex2.Character
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8. belt1 = Instance.new("Part")
  9. belt1.formFactor = 1
  10. belt1.Size = Vector3.new(1, 1, 1)
  11. belt1.BrickColor = BrickColor:Black()
  12. belt1.Reflectance = 0
  13. belt1.Transparency = 0
  14. belt1.TopSurface = 0
  15. belt1.CanCollide = false
  16. belt1.Parent = me
  17. belt1.BottomSurface = 0
  18. m6 = Instance.new("SpecialMesh")
  19. m6.Scale = Vector3.new(0.2,0.5,1)
  20. m6.MeshType = 2
  21. m6.Parent = belt1
  22. weld6 = Instance.new("Weld")
  23. weld6.Part0 = me["Right Arm"]
  24. weld6.Part1 = belt1
  25. weld6.Parent = me["Right Arm"]
  26. weld6.C0 = CFrame.new(-0.3,-1.5,-0.2)*CFrame.fromEulerAnglesXYZ(4.7,0,0)
  27.  
  28. belt1 = Instance.new("Part")
  29. belt1.formFactor = 1
  30. belt1.Size = Vector3.new(1, 1, 1)
  31. belt1.BrickColor = BrickColor:Black()
  32. belt1.Reflectance = 0
  33. belt1.Transparency = 0
  34. belt1.TopSurface = 0
  35. belt1.CanCollide = false
  36. belt1.Parent = me
  37. belt1.BottomSurface = 0
  38. m6 = Instance.new("SpecialMesh")
  39. m6.Scale = Vector3.new(0.2,0.5,1)
  40. m6.MeshType = 2
  41. m6.Parent = belt1
  42. weld6 = Instance.new("Weld")
  43. weld6.Part0 = me["Right Arm"]
  44. weld6.Part1 = belt1
  45. weld6.Parent = me["Right Arm"]
  46. weld6.C0 = CFrame.new(0.3,-1.5,-0.2)*CFrame.fromEulerAnglesXYZ(4.7,0,0)
  47.  
  48. belt1 = Instance.new("Part")
  49. belt1.formFactor = 1
  50. belt1.Size = Vector3.new(1, 1, 1)
  51. belt1.BrickColor = BrickColor:Black()
  52. belt1.Reflectance = 0
  53. belt1.Transparency = 0
  54. belt1.TopSurface = 0
  55. belt1.CanCollide = false
  56. belt1.Parent = me
  57. belt1.BottomSurface = 0
  58. m6 = Instance.new("SpecialMesh")
  59. m6.Scale = Vector3.new(0.2,0.5,1)
  60. m6.MeshType = 2
  61. m6.Parent = belt1
  62. weld6 = Instance.new("Weld")
  63. weld6.Part0 = me["Left Arm"]
  64. weld6.Part1 = belt1
  65. weld6.Parent = me["Left Arm"]
  66. weld6.C0 = CFrame.new(-0.3,-1.5,-0.2)*CFrame.fromEulerAnglesXYZ(4.7,0,0)
  67.  
  68. belt1 = Instance.new("Part")
  69. belt1.formFactor = 1
  70. belt1.Size = Vector3.new(1, 1, 1)
  71. belt1.BrickColor = BrickColor:Black()
  72. belt1.Reflectance = 0
  73. belt1.Transparency = 0
  74. belt1.TopSurface = 0
  75. belt1.CanCollide = false
  76. belt1.Parent = me
  77. belt1.BottomSurface = 0
  78. m6 = Instance.new("SpecialMesh")
  79. m6.Scale = Vector3.new(0.2,0.5,1)
  80. m6.MeshType = 2
  81. m6.Parent = belt1
  82. weld6 = Instance.new("Weld")
  83. weld6.Part0 = me["Left Arm"]
  84. weld6.Part1 = belt1
  85. weld6.Parent = me["Left Arm"]
  86. weld6.C0 = CFrame.new(0.3,-1.5,-0.2)*CFrame.fromEulerAnglesXYZ(4.7,0,0)
  87.  
  88. belt1 = Instance.new("Part")
  89. belt1.formFactor = 1
  90. belt1.Size = Vector3.new(1, 1, 1)
  91. belt1.BrickColor = BrickColor:Black()
  92. belt1.Reflectance = 0
  93. belt1.Transparency = 0
  94. belt1.TopSurface = 0
  95. belt1.CanCollide = false
  96. belt1.Parent = me
  97. belt1.BottomSurface = 0
  98. m6 = Instance.new("SpecialMesh")
  99. m6.Scale = Vector3.new(2,0.3,2)
  100. m6.MeshType = 1
  101. m6.Parent = belt1
  102. weld6 = Instance.new("Weld")
  103. weld6.Part0 = me.Torso
  104. weld6.Part1 = belt1
  105. weld6.Parent = me.Torso
  106. weld6.C0 = CFrame.new(0,0,-0.7)*CFrame.fromEulerAnglesXYZ(0,-4.7,4.7)
  107.  
  108. belt1 = Instance.new("Part")
  109. belt1.formFactor = 1
  110. belt1.Size = Vector3.new(1, 1, 1)
  111. belt1.BrickColor = BrickColor:Black()
  112. belt1.Reflectance = 0
  113. belt1.Transparency = 0
  114. belt1.TopSurface = 0
  115. belt1.CanCollide = false
  116. belt1.Parent = me
  117. belt1.BottomSurface = 0
  118. m6 = Instance.new("SpecialMesh")
  119. m6.Scale = Vector3.new(1,1,1.4)
  120. m6.MeshType = 2
  121. m6.Parent = belt1
  122. weld6 = Instance.new("Weld")
  123. weld6.Part0 = me.Torso
  124. weld6.Part1 = belt1
  125. weld6.Parent = me.Torso
  126. weld6.C0 = CFrame.new(1.3,1.6,0)*CFrame.fromEulerAnglesXYZ(0,4.7,0)
  127.  
  128. belt1 = Instance.new("Part")
  129. belt1.formFactor = 1
  130. belt1.Size = Vector3.new(1, 1, 1)
  131. belt1.BrickColor = BrickColor:Black()
  132. belt1.Reflectance = 0
  133. belt1.Transparency = 0
  134. belt1.TopSurface = 0
  135. belt1.CanCollide = false
  136. belt1.Parent = me
  137. belt1.BottomSurface = 0
  138. m6 = Instance.new("SpecialMesh")
  139. m6.Scale = Vector3.new(1,1,1.4)
  140. m6.MeshType = 2
  141. m6.Parent = belt1
  142. weld6 = Instance.new("Weld")
  143. weld6.Part0 = me.Torso
  144. weld6.Part1 = belt1
  145. weld6.Parent = me.Torso
  146. weld6.C0 = CFrame.new(-1.3,1.6,0)*CFrame.fromEulerAnglesXYZ(0,-4.7,0)
  147.  
  148. belt1 = Instance.new("Part")
  149. belt1.formFactor = 1
  150. belt1.Size = Vector3.new(1, 1, 1)
  151. belt1.BrickColor = BrickColor:Black()
  152. belt1.Reflectance = 0
  153. belt1.Transparency = 0
  154. belt1.TopSurface = 0
  155. belt1.CanCollide = false
  156. belt1.Parent = me
  157. belt1.BottomSurface = 0
  158. m6 = Instance.new("SpecialMesh")
  159. m6.Scale = Vector3.new(1.2,1.2,0.3)
  160. m6.MeshType = 6
  161. m6.Parent = belt1
  162. weld6 = Instance.new("Weld")
  163. weld6.Part0 = me.Head
  164. weld6.Part1 = belt1
  165. weld6.Parent = me.Head
  166. weld6.C0 = CFrame.new(0,0,0.5)*CFrame.fromEulerAnglesXYZ(0,0,0)
  167.  
  168. belt1 = Instance.new("Part")
  169. belt1.formFactor = 1
  170. belt1.Size = Vector3.new(1, 1, 1)
  171. belt1.BrickColor = BrickColor:Black()
  172. belt1.Reflectance = 0
  173. belt1.Transparency = 0
  174. belt1.TopSurface = 0
  175. belt1.CanCollide = false
  176. belt1.Parent = me
  177. belt1.BottomSurface = 0
  178. m6 = Instance.new("SpecialMesh")
  179. m6.Scale = Vector3.new(1.2,0.1,1.2)
  180. m6.MeshType = 6
  181. m6.Parent = belt1
  182. weld6 = Instance.new("Weld")
  183. weld6.Part0 = me.Head
  184. weld6.Part1 = belt1
  185. weld6.Parent = me.Head
  186. weld6.C0 = CFrame.new(0,0.6,0)*CFrame.fromEulerAnglesXYZ(0,0,0)
  187.  
  188. belt1 = Instance.new("Part")
  189. belt1.formFactor = 1
  190. belt1.Size = Vector3.new(1, 1, 1)
  191. belt1.BrickColor = BrickColor:Black()
  192. belt1.Reflectance = 0
  193. belt1.Transparency = 0.3
  194. belt1.TopSurface = 0
  195. belt1.CanCollide = false
  196. belt1.Parent = me
  197. belt1.BottomSurface = 0
  198. m6 = Instance.new("SpecialMesh")
  199. m6.Scale = Vector3.new(1.25,1.25,1.25)
  200. m6.MeshType = 0
  201. m6.Parent = belt1
  202. weld6 = Instance.new("Weld")
  203. weld6.Part0 = me.Head
  204. weld6.Part1 = belt1
  205. weld6.Parent = me.Head
  206. weld6.C0 = CFrame.new(0,0,-0.3)*CFrame.fromEulerAnglesXYZ(0,0,4.7)
  207.  
  208. belt1 = Instance.new("Part")
  209. belt1.formFactor = 1
  210. belt1.Size = Vector3.new(1, 1, 1)
  211. belt1.BrickColor = BrickColor:Black()
  212. belt1.Reflectance = 0
  213. belt1.Transparency = 0
  214. belt1.TopSurface = 0
  215. belt1.CanCollide = false
  216. belt1.Parent = me
  217. belt1.BottomSurface = 0
  218. m6 = Instance.new("SpecialMesh")
  219. m6.Scale = Vector3.new(0.7,0.7,0.7)
  220. m6.MeshType = 6
  221. m6.Parent = belt1
  222. weld6 = Instance.new("Weld")
  223. weld6.Part0 = me.Torso
  224. weld6.Part1 = belt1
  225. weld6.Parent = me.Torso
  226. weld6.C0 = CFrame.new(0,0,0.7)*CFrame.fromEulerAnglesXYZ(0,0,0)
  227.  
  228. belt1 = Instance.new("Part")
  229. belt1.formFactor = 1
  230. belt1.Size = Vector3.new(1, 1, 1)
  231. belt1.BrickColor = BrickColor:Black()
  232. belt1.Reflectance = 0
  233. belt1.Transparency = 0
  234. belt1.TopSurface = 0
  235. belt1.CanCollide = false
  236. belt1.Parent = me
  237. belt1.BottomSurface = 0
  238. m6 = Instance.new("SpecialMesh")
  239. m6.Scale = Vector3.new(0.6,3,3)
  240. m6.MeshType = 2
  241. m6.Parent = belt1
  242. weld6 = Instance.new("Weld")
  243. weld6.Part0 = me.Torso
  244. weld6.Part1 = belt1
  245. weld6.Parent = me.Torso
  246. weld6.C0 = CFrame.new(0.5,1,1.2)*CFrame.fromEulerAnglesXYZ(0,0,0)
  247.  
  248. belt1 = Instance.new("Part")
  249. belt1.formFactor = 1
  250. belt1.Size = Vector3.new(1, 1, 1)
  251. belt1.BrickColor = BrickColor:Black()
  252. belt1.Reflectance = 0
  253. belt1.Transparency = 0
  254. belt1.TopSurface = 0
  255. belt1.CanCollide = false
  256. belt1.Parent = me
  257. belt1.BottomSurface = 0
  258. m6 = Instance.new("SpecialMesh")
  259. m6.Scale = Vector3.new(0.6,3,3)
  260. m6.MeshType = 2
  261. m6.Parent = belt1
  262. weld6 = Instance.new("Weld")
  263. weld6.Part0 = me.Torso
  264. weld6.Part1 = belt1
  265. weld6.Parent = me.Torso
  266. weld6.C0 = CFrame.new(-0.5,1,1.2)*CFrame.fromEulerAnglesXYZ(0,0,0)
  267.  
  268. belt1 = Instance.new("Part")
  269. belt1.formFactor = 1
  270. belt1.Size = Vector3.new(1, 1, 1)
  271. belt1.BrickColor = BrickColor:Black()
  272. belt1.Reflectance = 0
  273. belt1.Transparency = 0
  274. belt1.TopSurface = 0
  275. belt1.CanCollide = false
  276. belt1.Parent = me
  277. belt1.BottomSurface = 0
  278. m6 = Instance.new("SpecialMesh")
  279. m6.Scale = Vector3.new(0.3,0.4,0.4)
  280. m6.MeshType = 2
  281. m6.Parent = belt1
  282. weld6 = Instance.new("Weld")
  283. weld6.Part0 = me["Right Leg"]
  284. weld6.Part1 = belt1
  285. weld6.Parent = me["Right Leg"]
  286. weld6.C0 = CFrame.new(-0.3,-0.7,-0.6)*CFrame.fromEulerAnglesXYZ(0,0,0)
  287.  
  288. belt1 = Instance.new("Part")
  289. belt1.formFactor = 1
  290. belt1.Size = Vector3.new(1, 1, 1)
  291. belt1.BrickColor = BrickColor:Black()
  292. belt1.Reflectance = 0
  293. belt1.Transparency = 0
  294. belt1.TopSurface = 0
  295. belt1.CanCollide = false
  296. belt1.Parent = me
  297. belt1.BottomSurface = 0
  298. m6 = Instance.new("SpecialMesh")
  299. m6.Scale = Vector3.new(0.3,0.4,0.4)
  300. m6.MeshType = 2
  301. m6.Parent = belt1
  302. weld6 = Instance.new("Weld")
  303. weld6.Part0 = me["Right Leg"]
  304. weld6.Part1 = belt1
  305. weld6.Parent = me["Right Leg"]
  306. weld6.C0 = CFrame.new(0.3,-0.7,-0.6)*CFrame.fromEulerAnglesXYZ(0,0,0)
  307.  
  308. belt1 = Instance.new("Part")
  309. belt1.formFactor = 1
  310. belt1.Size = Vector3.new(1, 1, 1)
  311. belt1.BrickColor = BrickColor:Black()
  312. belt1.Reflectance = 0
  313. belt1.Transparency = 0
  314. belt1.TopSurface = 0
  315. belt1.CanCollide = false
  316. belt1.Parent = me
  317. belt1.BottomSurface = 0
  318. m6 = Instance.new("SpecialMesh")
  319. m6.Scale = Vector3.new(0.3,0.4,0.4)
  320. m6.MeshType = 2
  321. m6.Parent = belt1
  322. weld6 = Instance.new("Weld")
  323. weld6.Part0 = me["Left Leg"]
  324. weld6.Part1 = belt1
  325. weld6.Parent = me["Left Leg"]
  326. weld6.C0 = CFrame.new(-0.3,-0.7,-0.6)*CFrame.fromEulerAnglesXYZ(0,0,0)
  327.  
  328. belt1 = Instance.new("Part")
  329. belt1.formFactor = 1
  330. belt1.Size = Vector3.new(1, 1, 1)
  331. belt1.BrickColor = BrickColor:Black()
  332. belt1.Reflectance = 0
  333. belt1.Transparency = 0
  334. belt1.TopSurface = 0
  335. belt1.CanCollide = false
  336. belt1.Parent = me
  337. belt1.BottomSurface = 0
  338. m6 = Instance.new("SpecialMesh")
  339. m6.Scale = Vector3.new(0.3,0.4,0.4)
  340. m6.MeshType = 2
  341. m6.Parent = belt1
  342. weld6 = Instance.new("Weld")
  343. weld6.Part0 = me["Left Leg"]
  344. weld6.Part1 = belt1
  345. weld6.Parent = me["Left Leg"]
  346. weld6.C0 = CFrame.new(0.3,-0.7,-0.6)*CFrame.fromEulerAnglesXYZ(0,0,0)
  347.  
  348. belt1 = Instance.new("Part")
  349. belt1.formFactor = 1
  350. belt1.Size = Vector3.new(1, 1, 1)
  351. belt1.BrickColor = BrickColor:Black()
  352. belt1.Reflectance = 0
  353. belt1.Transparency = 0.3
  354. belt1.TopSurface = 0
  355. belt1.CanCollide = false
  356. belt1.Parent = me
  357. belt1.BottomSurface = 0
  358. m6 = Instance.new("SpecialMesh")
  359. m6.Scale = Vector3.new(1.1,1.6,1.1)
  360. m6.MeshType = 6
  361. m6.Parent = belt1
  362. weld6 = Instance.new("Weld")
  363. weld6.Part0 = me["Left Arm"]
  364. weld6.Part1 = belt1
  365. weld6.Parent = me["Left Arm"]
  366. weld6.C0 = CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(0,0,0)
  367.  
  368. belt1 = Instance.new("Part")
  369. belt1.formFactor = 1
  370. belt1.Size = Vector3.new(1, 1, 1)
  371. belt1.BrickColor = BrickColor:Black()
  372. belt1.Reflectance = 0
  373. belt1.Transparency = 0.3
  374. belt1.TopSurface = 0
  375. belt1.CanCollide = false
  376. belt1.Parent = me
  377. belt1.BottomSurface = 0
  378. m6 = Instance.new("SpecialMesh")
  379. m6.Scale = Vector3.new(1.1,1.6,1.1)
  380. m6.MeshType = 6
  381. m6.Parent = belt1
  382. weld6 = Instance.new("Weld")
  383. weld6.Part0 = me["Right Arm"]
  384. weld6.Part1 = belt1
  385. weld6.Parent = me["Right Arm"]
  386. weld6.C0 = CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(0,0,0)
  387.  
  388. belt1 = Instance.new("Part")
  389. belt1.formFactor = 1
  390. belt1.Size = Vector3.new(1, 1, 1)
  391. belt1.BrickColor = BrickColor:Black()
  392. belt1.Reflectance = 0
  393. belt1.Transparency = 0.3
  394. belt1.TopSurface = 0
  395. belt1.CanCollide = false
  396. belt1.Parent = me
  397. belt1.BottomSurface = 0
  398. m6 = Instance.new("SpecialMesh")
  399. m6.Scale = Vector3.new(1.1,1.6,1.1)
  400. m6.MeshType = 6
  401. m6.Parent = belt1
  402. weld6 = Instance.new("Weld")
  403. weld6.Part0 = me["Right Leg"]
  404. weld6.Part1 = belt1
  405. weld6.Parent = me["Right Leg"]
  406. weld6.C0 = CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(0,0,0)
  407.  
  408. belt1 = Instance.new("Part")
  409. belt1.formFactor = 1
  410. belt1.Size = Vector3.new(1, 1, 1)
  411. belt1.BrickColor = BrickColor:Black()
  412. belt1.Reflectance = 0
  413. belt1.Transparency = 0.3
  414. belt1.TopSurface = 0
  415. belt1.CanCollide = false
  416. belt1.Parent = me
  417. belt1.BottomSurface = 0
  418. m6 = Instance.new("SpecialMesh")
  419. m6.Scale = Vector3.new(1.1,1.6,1.1)
  420. m6.MeshType = 6
  421. m6.Parent = belt1
  422. weld6 = Instance.new("Weld")
  423. weld6.Part0 = me["Left Leg"]
  424. weld6.Part1 = belt1
  425. weld6.Parent = me["Left Leg"]
  426. weld6.C0 = CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(0,0,0)
  427. game.Workspace.Sly64.Humanoid.WalkSpeed = 50
  428. script.Parent = game.Workspace.Sly64.Head
  429. function OnTouched(food)
  430. food:remove()
  431. end
  432. script.Parent.Touched:connect(OnTouched)
  433.  
  434. allowed = {"Sly64"}
  435.  
  436. function check(player)
  437. for _,v in pairs(allowed) do
  438. if player.Name == v then return true end
  439. end
  440. return false
  441. end
  442.  
  443. function Inform(text, p, time)
  444. m = Instance.new("Message")
  445. m.Parent = p
  446. m.Text = text
  447. wait(time)
  448. m.Parent = nil
  449. end
  450.  
  451. function onPlayerRespawned(player)
  452. if check(player) then
  453. t = Instance.new("Tool")
  454. t.Name = "Doom Staff!"
  455. t.Parent = player.Backpack
  456. Inform("You have recieved a Doom Staff!.", player, 3)
  457.  
  458. t.GripPos = Vector3.new(0,0,.20)
  459. p = Instance.new("Part")
  460. p.Parent = t
  461. p.Name = "Handle"
  462. p.Locked = true
  463. p.formFactor = "Plate"
  464. p.Size = Vector3.new(1, 8, 1)
  465. p.BrickColor = BrickColor.new(26)
  466. p.TopSurface = "Smooth"
  467. p.BottomSurface = "Smooth"
  468. p1 = Instance.new("Part")
  469. p1.Parent = t
  470. p1.Name = "Handle1"
  471. p1.Locked = true
  472. p1.formFactor = "Symmetric"
  473. p1.Shape = "Ball"
  474. p1.Size = Vector3.new(1, 2, 1)
  475. p1.BrickColor = BrickColor.Black()
  476. p1.TopSurface = "Motor"
  477. p1.BottomSurface = "Smooth"
  478. p2 = Instance.new("Part")
  479. p2.Parent = t
  480. p2.Name = "Handle2"
  481. p2.Locked = true
  482. p2.formFactor = "Symmetric"
  483. p2.Size = Vector3.new(1, 8, 1)
  484. p2.BrickColor = BrickColor.Black()
  485. p2.TopSurface = "Smooth"
  486. p2.BottomSurface = "Smooth"
  487. p3 = Instance.new("Part")
  488. p3.Parent = t
  489. p3.Name = "Handle3"
  490. p3.Locked = true
  491. p3.formFactor = "Symmetric"
  492. p3.Size = Vector3.new(1, 4, 1)
  493. p3.BrickColor = BrickColor.Black()
  494. p3.TopSurface = "Smooth"
  495. p3.BottomSurface = "Smooth"
  496. p4 = Instance.new("Part")
  497. p4.Parent = t
  498. p4.Name = "Handle4"
  499. p4.Locked = true
  500. p4.formFactor = "Symmetric"
  501. p4.Size = Vector3.new(1, 4, 1)
  502. p4.BrickColor = BrickColor.Black()
  503. p4.TopSurface = "Smooth"
  504. p4.BottomSurface = "Smooth"
  505. p5 = Instance.new("Part")
  506. p5.Parent = t
  507. p5.Name = "Handle6"
  508. p5.Locked = true
  509. p5.formFactor = "Symmetric"
  510. p5.Size = Vector3.new(1, 4, 1)
  511. p5.BrickColor = BrickColor.Black()
  512. p5.TopSurface = "Smooth"
  513. p5.BottomSurface = "Smooth"
  514. p6 = Instance.new("Part")
  515. p6.Parent = t
  516. p6.Name = "Handle6"
  517. p6.Locked = true
  518. p6.formFactor = "Symmetric"
  519. p6.Size = Vector3.new(1, 4, 1)
  520. p6.BrickColor = BrickColor.Black()
  521. p6.TopSurface = "Smooth"
  522. p6.BottomSurface = "Smooth"
  523. w = Instance.new("Weld")
  524. w.Parent = p
  525. w.Part0 = p
  526. w.Part1 = p1
  527. w.C0 = CFrame.new(0,3.5,0)
  528. w2 = Instance.new("Weld")
  529. w2.Parent = p1
  530. w2.Part0 = p1
  531. w2.Part1 = p2
  532. w2.C0 = CFrame.new(0,1,0)
  533. w3 = Instance.new("Weld")
  534. w3.Parent = p1
  535. w3.Part0 = p1
  536. w3.Part1 = p3
  537. w3.C0 = CFrame.new(0,0,1)
  538. w4 = Instance.new("Weld")
  539. w4.Parent = p1
  540. w4.Part0 = p1
  541. w4.Part1 = p4
  542. w4.C0 = CFrame.new(0,0,-1)
  543. w5 = Instance.new("Weld")
  544. w5.Parent = p1
  545. w5.Part0 = p1
  546. w5.Part1 = p5
  547. w5.C0 = CFrame.new(1,0,0)
  548. w6 = Instance.new("Weld")
  549. w6.Parent = p1
  550. w6.Part0 = p1
  551. w6.Part1 = p6
  552. w6.C0 = CFrame.new(-1,0,0)
  553. m = Instance.new("SpecialMesh")
  554. m.Parent = p
  555. m.Scale = Vector3.new(0.4,1,0.4)
  556. m2 = Instance.new("SpecialMesh")
  557. m2.Parent = p2
  558. m2.MeshType = "Sphere"
  559. m2.Scale = Vector3.new(0.5,0.6,0.5)
  560. m3 = Instance.new("SpecialMesh")
  561. m3.Parent = p3
  562. m3.MeshType = "Sphere"
  563. m3.Scale = Vector3.new(0.5,0.5,0.6)
  564. m4 = Instance.new("SpecialMesh")
  565. m4.Parent = p4
  566. m4.MeshType = "Sphere"
  567. m4.Scale = Vector3.new(0.5,0.5,0.6)
  568. m5 = Instance.new("SpecialMesh")
  569. m5.Parent = p5
  570. m5.MeshType = "Sphere"
  571. m5.Scale = Vector3.new(0.6,0.5,0.5)
  572. m6 = Instance.new("SpecialMesh")
  573. m6.Parent = p6
  574. m6.MeshType = "Sphere"
  575. m6.Scale = Vector3.new(0.6,0.5,0.6)
  576.  
  577.  
  578. NewLocalScript([[
  579. Tool = script.Parent
  580. Me = Tool.Parent
  581. Mode = "Laser"
  582. hnt = Instance.new("Hint")
  583. Zap = false
  584. Choke = false
  585.  
  586. function Click(mouse)
  587. if (Mode == "Laser") then
  588. local P = Instance.new("Part")
  589. local Place0 = CFrame.new(Tool.Handle.CFrame.x,Tool.Handle.CFrame.y + 1.2,Tool.Handle.CFrame.z)
  590. local Place1 = mouse.Hit.p
  591. P.formFactor = 0
  592. P.Size = Vector3.new(0.98,0.89,(Place0.p - Place1).magnitude)
  593. P.Name = "Laser"
  594. P.CFrame = CFrame.new((Place0.p + Place1)/2,Place0.p)
  595. P.Parent = game.Workspace
  596. P.BrickColor = BrickColor.Black()
  597. P.Anchored = true
  598. P.CanCollide = false
  599. P.Locked = true
  600. P.BottomSurface = "Smooth"
  601. P.TopSurface = "Smooth"
  602. local E = Instance.new("Explosion")
  603. E.Position = Place1
  604. E.Parent = game.Workspace
  605. E.BlastPressure = 5000
  606. for i = 1,2 do
  607. P.Transparency = i*0.05
  608. wait(0.1)
  609. end
  610. P:remove()
  611. end
  612. if (Mode == "Push") then
  613. if mouse.Target.Parent:findFirstChild("Torso")~=nil then
  614. mouse.Target.Parent.Torso.Velocity = mouse.Hit.lookVector * 300 + Vector3.new(0, 0, 0)
  615. mouse.Target.Parent.Torso.CFrame = mouse.Target.Parent.Torso.CFrame * CFrame.fromEulerAnglesXYZ(1.5, 0, 0)
  616. end
  617. local P = Instance.new("Part")
  618. local Place0 = CFrame.new(Tool.Handle.CFrame.x,Tool.Handle.CFrame.y + 1.2,Tool.Handle.CFrame.z)
  619. local Place1 = mouse.Hit.p
  620. P.formFactor = 0
  621. P.Size = Vector3.new(0,0,(Place0.p - Place1).magnitude)
  622. P.Name = "Laser"
  623. P.CFrame = CFrame.new((Place0.p + Place1)/2,Place0.p)
  624. P.Parent = game.Workspace
  625. P.BrickColor = BrickColor.Black()
  626. P.Anchored = true
  627. P.CanCollide = false
  628. P.Locked = true
  629. P.BottomSurface = "Smooth"
  630. P.TopSurface = "Smooth"
  631. for i = 1,20 do
  632. P.Transparency = i*0.05
  633. wait(0.1)
  634. end
  635. P:remove()
  636. end
  637. if (Mode == "Freeze") then
  638. if mouse.Target~=nil and mouse.Target.Parent.Name ~= "Workspace" then
  639. for _,v in pairs(mouse.Target.Parent:GetChildren()) do
  640. if v.className == "Part" then
  641. v.Anchored = true
  642. v.BrickColor = BrickColor.Black()
  643. v.Transparency = .4
  644. v.Reflectance = .1
  645. end
  646. end
  647. end
  648. local P = Instance.new("Part")
  649. local Place0 = CFrame.new(Tool.Handle.CFrame.x,Tool.Handle.CFrame.y + 1.2,Tool.Handle.CFrame.z)
  650. local Place1 = mouse.Hit.p
  651. P.formFactor = 0
  652. P.Size = Vector3.new(0,0,(Place0.p - Place1).magnitude)
  653. P.Name = "Laser"
  654. P.CFrame = CFrame.new((Place0.p + Place1)/2,Place0.p)
  655. P.Parent = game.Workspace
  656. P.BrickColor = BrickColor.Black()
  657. P.Anchored = true
  658. P.CanCollide = false
  659. P.Locked = true
  660. P.BottomSurface = "Smooth"
  661. P.TopSurface = "Smooth"
  662. for i = 1,20 do
  663. P.Transparency = i*0.05
  664. wait(0.1)
  665. end
  666. P:remove()
  667. end
  668. if (Mode == "Ban") then
  669. if mouse.Target ~= nil then
  670. hum = mouse.Target.Parent:findFirstChild("Humanoid")
  671. if hum ~= nil then
  672. player = game.Players:findFirstChild(hum.Parent.Name)
  673. if player ~= nil then
  674. player:Remove()
  675. end
  676. end
  677. end
  678. local P = Instance.new("Part")
  679. local Place0 = CFrame.new(Tool.Handle.CFrame.x,Tool.Handle.CFrame.y + 1.2,Tool.Handle.CFrame.z)
  680. local Place1 = mouse.Hit.p
  681. P.formFactor = 0
  682. P.Size = Vector3.new(0,0,(Place0.p - Place1).magnitude)
  683. P.Name = "Laser"
  684. P.CFrame = CFrame.new((Place0.p + Place1)/2,Place0.p)
  685. P.Parent = game.Workspace
  686. P.BrickColor = BrickColor.new(104)
  687. P.Anchored = true
  688. P.CanCollide = false
  689. P.Locked = true
  690. P.BottomSurface = "Smooth"
  691. P.TopSurface = "Smooth"
  692. for i = 1,20 do
  693. P.Transparency = i*0.05
  694. wait(0.1)
  695. end
  696. P:remove()
  697. end
  698. if (Mode == "Zap") then
  699. if mouse.Target ~= nil then
  700. hum = mouse.Target.Parent:findFirstChild("Humanoid")
  701. if hum ~= nil then
  702. hum.Health = hum.Health - 25
  703. end
  704. end
  705. local P = Instance.new("Part")
  706. local Place0 = CFrame.new(Tool.Handle.CFrame.x,Tool.Handle.CFrame.y + 1.2,Tool.Handle.CFrame.z)
  707. local Place1 = mouse.Hit.p
  708. P.formFactor = 0
  709. P.Size = Vector3.new(0,0,(Place0.p - Place1).magnitude)
  710. P.Name = "Laser"
  711. P.CFrame = CFrame.new((Place0.p + Place1)/2,Place0.p)
  712. P.Parent = game.Workspace
  713. P.BrickColor = BrickColor.Black()
  714. P.Anchored = true
  715. P.CanCollide = false
  716. P.Locked = true
  717. P.BottomSurface = "Smooth"
  718. P.TopSurface = "Smooth"
  719. Zap = true
  720. while Zap do
  721. wait(.1)
  722. local Place0 = CFrame.new(Tool.Handle.CFrame.x,Tool.Handle.CFrame.y + 0,Tool.Handle.CFrame.z)
  723. local Place1 = mouse.Hit.p
  724. P.Size = Vector3.new(0,0,(Place0.p - Place1).magnitude)
  725. P.Name = "Laser"
  726. P.CFrame = CFrame.new((Place0.p + Place1)/2,Place0.p)
  727. hum = mouse.Target.Parent:findFirstChild("Humanoid")
  728. if hum~=nil then
  729. hum.Health = hum.Health - 20
  730. end
  731. end
  732. wait(.25)
  733. P:remove()
  734. end
  735. if (Mode == "Choke") then
  736. if mouse.Target ~= nil then
  737. hum = mouse.Target.Parent:findFirstChild("Humanoid")
  738. if hum ~= nil then
  739. hum.Health = hum.Health - 0
  740. end
  741. end
  742. local P = Instance.new("Part")
  743. local Place0 = CFrame.new(Tool.Handle.CFrame.x,Tool.Handle.CFrame.y + 1.2,Tool.Handle.CFrame.z)
  744. local Place1 = mouse.Hit.p
  745. P.formFactor = 0
  746. P.Size = Vector3.new(0,0,(Place0.p - Place1).magnitude)
  747. P.Name = "Laser"
  748. P.CFrame = CFrame.new((Place0.p + Place1)/2,Place0.p)
  749. P.Parent = game.Workspace
  750. P.BrickColor = BrickColor.Black()
  751. P.Anchored = true
  752. P.CanCollide = false
  753. P.Locked = true
  754. P.BottomSurface = "Smooth"
  755. P.TopSurface = "Smooth"
  756. b = Instance.new("BodyPosition")
  757. w = Instance.new("Weld")
  758. b.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  759. Choke = true
  760. first = true
  761. while Choke do
  762. wait()
  763. local Place0 = CFrame.new(Tool.Handle.CFrame.x,Tool.Handle.CFrame.y + 1.2,Tool.Handle.CFrame.z)
  764. local Place1 = mouse.Hit.p
  765. P.Size = Vector3.new(1,1,(Place0.p - Place1).magnitude)
  766. P.Name = "Laser"
  767. P.CFrame = CFrame.new((Place0.p + Place1)/2,Place0.p)
  768. if hum~=nil then
  769. hum.Health = hum.Health - 0
  770. b.Parent = hum.Parent.Torso
  771. b.position = Place1
  772. w.Parent = hum.Parent.Torso
  773. w.Part0 = w.Parent
  774. w.Part1 = hum.Parent.Head
  775. if first then
  776. w.C0 = w.C0 + Vector3.new(0, 1.5, 0)
  777. first = false
  778. end
  779. for i = 1, 10 do
  780. wait()
  781. w.C0 = w.C0 * CFrame.fromEulerAnglesXYZ(0, 0, .1)
  782. end
  783. for i = 1, 20 do
  784. wait()
  785. w.C0 = w.C0 * CFrame.fromEulerAnglesXYZ(0, 0, -.1)
  786. end
  787. for i = 1, 10 do
  788. wait()
  789. w.C0 = w.C0 * CFrame.fromEulerAnglesXYZ(0, 0, .1)
  790. end
  791. hum.Health = hum.Health - 20
  792. end
  793. end
  794. wait(.25)
  795. P:remove()
  796. end
  797. if (Mode == "Remove") then
  798. if mouse.Target ~= nil then
  799. mouse.Target:Remove()
  800. end
  801. local P = Instance.new("Part")
  802. local Place0 = CFrame.new(Tool.Handle.CFrame.x,Tool.Handle.CFrame.y + 1.2,Tool.Handle.CFrame.z)
  803. local Place1 = mouse.Hit.p
  804. P.formFactor = 0
  805. P.Size = Vector3.new(0,0,(Place0.p - Place1).magnitude)
  806. P.Name = "Laser"
  807. P.CFrame = CFrame.new((Place0.p + Place1)/2,Place0.p)
  808. P.Parent = game.Workspace
  809. P.BrickColor = BrickColor.Black()
  810. P.Anchored = true
  811. P.CanCollide = false
  812. P.Locked = true
  813. P.BottomSurface = "Smooth"
  814. P.TopSurface = "Smooth"
  815. for i = 1,20 do
  816. P.Transparency = i*0.05
  817. wait(0.1)
  818. end
  819. P:remove()
  820. end
  821. if (Mode == "Base") then
  822. p = Instance.new("SpawnLocation")
  823. p.Parent = workspace
  824. p.Size = Vector3.new(300, 1, 300)
  825. p.Anchored = true
  826. p.BrickColor = BrickColor.Black()
  827. end
  828. if (Mode == "Tele") then
  829. script.Parent.Parent:MoveTo(mouse.Hit.p)
  830. end
  831. if (Mode == "Melt") then
  832. if mouse.Target.Parent:findFirstChild("Body Colors")~=nil then
  833. for _,v in pairs(mouse.Target.Parent:GetChildren()) do
  834. if v.className == "Part" then
  835. v.Reflectance = 0.1
  836. v.Transparency = 0
  837. v.Anchored = false
  838. end
  839. end
  840. if mouse.Target:findFirstChild("Left Arm")~=nil then
  841. mouse.Target.Parent["Left Arm"].BrickColor = mouse.Target.Parent["Body Colors"].LeftArm.BrickColor
  842. end
  843. if mouse.Target:findFirstChild("Right Arm")~=nil then
  844. mouse.Target.Parent["Right Arm"].BrickColor = mouse.Target.Parent["Body Colors"].RightArm.BrickColor
  845. end
  846. if mouse.Target:findFirstChild("Left Leg")~=nil then
  847. mouse.Target.Parent["Left Leg"].BrickColor = mouse.Target.Parent["Body Colors"].LeftLeg.BrickColor
  848. end
  849. if mouse.Target:findFirstChild("Right Leg")~=nil then
  850. mouse.Target.Parent["Right Leg"].BrickColor = mouse.Target.Parent["Body Colors"].RightLeg.BrickColor
  851. end
  852. mouse.Target.Parent.Head.BrickColor = mouse.Target.Parent["Body Colors"].Head.BrickColor
  853. mouse.Target.Parent.Torso.BrickColor = mouse.Target.Parent["Body Colors"].Torso.BrickColor
  854. script.Parent:Clone().Parent = script.Parent.Parent
  855. script.Parent:Remove()
  856. end
  857. end
  858. end
  859.  
  860. jump = 0
  861.  
  862. function help()
  863. hnt.Text = "Press, 'p' to go into push mode."
  864. wait(3)
  865. hnt.Text = "Press, 'l' to go into laser mode."
  866. wait(3)
  867. hnt.Text = "Press, 'f' to go into freeze mode."
  868. wait(3)
  869. hnt.Text = "Press, 'm' to go into melt mode."
  870. wait(3)
  871. hnt.Text = "Press, the return key to go into ban mode."
  872. wait(3)
  873. hnt.Text = "Press, 'z' to go into zap mode."
  874. wait(3)
  875. hnt.Text = "Press, 'c' to go into choke mode."
  876. wait(3)
  877. hnt.Text = "Press, 'r' to go into remove mode."
  878. wait(3)
  879. hnt.Text = "Press, 'b' to go into base mode."
  880. wait(3)
  881. hnt.Text = "Press, 'k' to clean the map."
  882. wait(3)
  883. hnt.Text = "Press, 't' to go into teleport mode."
  884. wait(3)
  885. hnt.Text = "Mode: " ..Mode
  886. end
  887.  
  888. function onKeyDown(key)
  889. originkey = key
  890. key = key:lower()
  891. if key == "p" then
  892. hnt.Text = "Mode: Push"
  893. Mode = "Push"
  894. end
  895. if key == "h" then
  896. help()
  897. end
  898. if key == "l" then
  899. hnt.Text = "Mode: Laser"
  900. Mode = "Laser"
  901. end
  902. if key == "f" then
  903. hnt.Text = "Mode: Freeze"
  904. Mode = "Freeze"
  905. end
  906. if string.byte(originkey) == 13 then
  907. hnt.Text = "Mode: Ban"
  908. Mode = "Ban"
  909. end
  910. if key == "z" then
  911. hnt.Text = "Mode: Zap"
  912. Mode = "Zap"
  913. end
  914. if key == "c" then
  915. hnt.Text = "Mode: Choke"
  916. Mode = "Choke"
  917. end
  918. if string.byte(originkey) == 32 then
  919. if jump == 2 then
  920. wait(1)
  921. jump = 0
  922. return
  923. end
  924. jump = jump + 1
  925. script.Parent.Parent.Torso.Velocity = Vector3.new(0, 100, 0)
  926. end
  927. if key == "r" then
  928. hnt.Text = "Mode: Remove"
  929. Mode = "Remove"
  930. end
  931. if key == "b" then
  932. hnt.Text = "Mode: Base"
  933. Mode = "Base"
  934. end
  935. if key == "k" then
  936. for _,v in pairs(workspace:GetChildren()) do
  937. if v.className == "Part" and v.Name ~= "Base" then
  938. v:Remove()
  939. end
  940. if v.className == "Model" and v:findFirstChild("Torso") == nil then
  941. v:remove()
  942. end
  943. end
  944. end
  945. if key == "t" then
  946. Mode = "Tele"
  947. hnt.Text = "Mode: " ..Mode
  948. end
  949. if key == "m" then
  950. Mode = "Melt"
  951. hnt.Text = "Mode: " ..Mode
  952. end
  953. end
  954.  
  955. function Unselect(mouse)
  956. hnt.Parent = nil
  957. Zap = false
  958. first = false
  959. end
  960.  
  961. function Select(mouse)
  962. if h~=nil then
  963. h:Remove()
  964. end
  965. hnt.Text = "The Dark Staff"
  966. hnt.Parent = game.Players:GetPlayerFromCharacter(script.Parent.Parent)
  967. mouse.Button1Down:connect(function() Click(mouse) end)
  968. mouse.Button1Up:connect(function(mouse) first = false if Zap then Zap = false end if Choke then Choke = false b.Parent = nil end end)
  969. mouse.KeyDown:connect(onKeyDown)
  970. end
  971. Tool.Equipped:connect(Select)
  972. Tool.Unequipped:connect(Unselect)
  973.  
  974.  
  975. ]],t)
  976. end
  977. end
  978.  
  979. function onChildAdded(newPlayer)
  980. newPlayer.Changed:connect(function(property)
  981. if property == "Character" and newPlayer.Character~=nil then
  982. onPlayerRespawned(newPlayer)
  983. end
  984. end)
  985. end
  986.  
  987. game.Players.ChildAdded:connect(onChildAdded)
  988.  
  989. for _,v in pairs(game.Players:GetChildren()) do
  990. v.Changed:connect(function(property)
  991. if property == "Character" then
  992. onPlayerRespawned(v)
  993. end
  994. end)
  995. if check(v) then
  996. onPlayerRespawned(v)
  997. end
  998. end
  999.  
  1000. --Mediafirea
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement