Advertisement
popster12345

Untitled

Feb 7th, 2016
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.35 KB | None | 0 0
  1. local Name="monsterjam12clone"
  2. local char=workspace[monsterjam12clone]
  3. color2=BrickColor:White()
  4. color=BrickColor.new("Black")
  5. pcall(function() workspace[Name].Suit:remove() end)
  6. player = game.Players[Name]
  7. player.Character.Humanoid.WalkSpeed = 30
  8. model = Instance.new("Model")
  9. model.Parent = char
  10. model.Name = "Suit"
  11. char.Humanoid.MaxHealth = math.huge
  12. wait(0.5)
  13. char.Humanoid.Health = char.Humanoid.MaxHealth
  14. char.Head.BrickColor=color
  15. pcall(function() char.Head.face:remove() end)
  16. char.Head.Changed:connect(function(p) if p=="BrickColor" then char.Head.BrickColor=color end end)
  17. for _,v in pairs(char:children()) do
  18. if v:IsA("Hat") then
  19. v:remove()
  20. end
  21. end
  22. for _,v in pairs(char:children()) do
  23. if v:IsA("Hat") then
  24. v:remove()
  25. end
  26. end
  27. Tors=Instance.new("Part")
  28. Tors.Size=char.Torso.Size
  29. Tors.BrickColor=color
  30. Tors.Reflectance=0
  31. Tors.Transparency=0
  32. Tors.CanCollide=false
  33. Tors.Parent=model
  34. Mesh=Instance.new("BlockMesh")
  35. Mesh.Parent=Tors
  36. Mesh.Scale=Vector3.new(1.01,1.01,1.01)
  37. w = Instance.new("Weld")
  38. w.Parent = char.Torso
  39. w.Part0 = w.Parent
  40. w.Part1 = Tors
  41. w.C0 = CFrame.new(0,0,0)
  42. for _,v in pairs(char:children()) do
  43. if string.sub(v.Name,1,4)=="Left" or string.sub(v.Name,1,4)=='Righ' then
  44. Tor=Instance.new("Part")
  45. Tor.Size=v.Size
  46. Tor.BrickColor=color
  47. Tor.Reflectance=0
  48. Tor.Transparency=0
  49. Tor.CanCollide=false
  50. Tor.Parent=model
  51. Mesh=Instance.new("BlockMesh")
  52. Mesh.Parent=Tor
  53. Mesh.Scale=Vector3.new(1.01,1.01,1.01)
  54. w = Instance.new("Weld")
  55. w.Parent = v
  56. w.Part0 = w.Parent
  57. w.Part1 = Tor
  58. w.C0 = CFrame.new(0,0,0)
  59. Tor=Instance.new("Part")
  60. Tor.Size=Vector3.new(1,1,1)
  61. Tor.BrickColor=color2
  62. Tor.Reflectance=0.5
  63. Tor.Transparency=0
  64. Tor.CanCollide=false
  65. Tor.Parent=model
  66. Mesh=Instance.new("BlockMesh")
  67. Mesh.Parent=Tor
  68. Mesh.Scale=Vector3.new(1.05,0.1,1.05)
  69. w = Instance.new("Weld")
  70. w.Parent = v
  71. w.Part0 = w.Parent
  72. w.Part1 = Tor
  73. w.C0 = CFrame.new(0,-0.27,0)
  74. end
  75. end
  76. Tor=Instance.new("Part")
  77. Tor.Size=Vector3.new(1,1,1)
  78. Tor.BrickColor=color2
  79. Tor.Reflectance=0.5
  80. Tor.Transparency=0
  81. Tor.CanCollide=false
  82. Tor.Parent=model
  83. Mesh=Instance.new("BlockMesh")
  84. Mesh.Parent=Tor
  85. Mesh.Scale=Vector3.new(0.1,1.05,0.1)
  86. w = Instance.new("Weld")
  87. w.Parent = char["Torso"]
  88. w.Part0 = w.Parent
  89. w.Part1 = Tor
  90. w.C0 = CFrame.new(0.4,0,-0.51)
  91. Tor=Instance.new("Part")
  92. Tor.Size=Vector3.new(1,1,1)
  93. Tor.BrickColor=color2
  94. Tor.Reflectance=0.5
  95. Tor.Transparency=0
  96. Tor.CanCollide=false
  97. Tor.Parent=model
  98. Mesh=Instance.new("BlockMesh")
  99. Mesh.Parent=Tor
  100. Mesh.Scale=Vector3.new(0.1,1.05,0.1)
  101. w = Instance.new("Weld")
  102. w.Parent = char["Torso"]
  103. w.Part0 = w.Parent
  104. w.Part1 = Tor
  105. w.C0 = CFrame.new(-0.4,0,-0.51)
  106. Tor=Instance.new("Part")
  107. Tor.Size=Vector3.new(1,1,1)
  108. Tor.BrickColor=color2
  109. Tor.Reflectance=0.5
  110. Tor.Transparency=0
  111. Tor.CanCollide=false
  112. Tor.Parent=model
  113. Mesh=Instance.new("BlockMesh")
  114. Mesh.Parent=Tor
  115. Mesh.Scale=Vector3.new(0.1,1.1,0.1)
  116. w = Instance.new("Weld")
  117. w.Parent = char["Torso"]
  118. w.Part0 = w.Parent
  119. w.Part1 = Tor
  120. w.C0 = CFrame.new(0,0,-0.51)*CFrame.Angles(0,0,math.rad(-35))
  121. v=char["Torso"]
  122. Tor=Instance.new("Part")
  123. Tor.Size=Vector3.new(1,1,1)
  124. Tor.BrickColor=color
  125. Tor.Reflectance=0.1
  126. Tor.Transparency=0
  127. Tor.Locked=true
  128. Tor.Name="Wing2"
  129. Tor.CanCollide=true
  130. Tor.Parent=model
  131. Tor.TopSurface="Smooth"
  132. Tor.BottomSurface="Smooth"
  133. Mesh=Instance.new("BlockMesh")
  134. Mesh.Bevel=0.05
  135. Mesh.Parent=Tor
  136. Mesh.Scale=Vector3.new(0.2,1.4,4)
  137. w = Instance.new("Weld")
  138. w.Parent = v
  139. w.Part0 = w.Parent
  140. w.Part1 = Tor
  141. w.C0 = CFrame.new(0.7,0.5,1.4)*CFrame.Angles(math.rad(-40),math.rad(20),0)
  142. v=char["Torso"]
  143. Tor=Instance.new("Part")
  144. Tor.Size=Vector3.new(1,1,1)
  145. Tor.BrickColor=color
  146. Tor.Reflectance=0.1
  147. Tor.Transparency=0
  148. Tor.Locked=true
  149. Tor.Name="Wing1"
  150. Tor.CanCollide=true
  151. Tor.Parent=model
  152. Tor.TopSurface="Smooth"
  153. Tor.BottomSurface="Smooth"
  154. Mesh=Instance.new("BlockMesh")
  155. Mesh.Bevel=0.05
  156. Mesh.Parent=Tor
  157. Mesh.Scale=Vector3.new(0.2,1.4,4)
  158. w = Instance.new("Weld")
  159. w.Parent = v
  160. w.Part0 = w.Parent
  161. w.Part1 = Tor
  162. w.C0 = CFrame.new(-0.7,0.5,1.4)*CFrame.Angles(math.rad(-40),math.rad(-20),0)
  163. v=model["Wing2"]
  164. Tor=Instance.new("Part")
  165. Tor.Size=Vector3.new(1,1,1)
  166. Tor.BrickColor=color2
  167. Tor.Reflectance=0.5
  168. Tor.Transparency=0
  169. Tor.Locked=true
  170. Tor.CanCollide=true
  171. Tor.Parent=model
  172. Tor.TopSurface="Smooth"
  173. Tor.BottomSurface="Smooth"
  174. Mesh=Instance.new("BlockMesh")
  175. Mesh.Bevel=0.05
  176. Mesh.Parent=Tor
  177. Mesh.Scale=Vector3.new(0.3,1.5,0.2)
  178. w = Instance.new("Weld")
  179. w.Parent = v
  180. w.Part0 = w.Parent
  181. w.Part1 = Tor
  182. w.C0 = CFrame.new(0,0,1.3)
  183. v=model["Wing1"]
  184. Tor=Instance.new("Part")
  185. Tor.Size=Vector3.new(1,1,1)
  186. Tor.BrickColor=color2
  187. Tor.Reflectance=0.5
  188. Tor.Transparency=0
  189. Tor.Locked=true
  190. Tor.CanCollide=true
  191. Tor.Parent=model
  192. Tor.TopSurface="Smooth"
  193. Tor.BottomSurface="Smooth"
  194. Mesh=Instance.new("BlockMesh")
  195. Mesh.Bevel=0.05
  196. Mesh.Parent=Tor
  197. Mesh.Scale=Vector3.new(0.3,1.5,0.2)
  198. w = Instance.new("Weld")
  199. w.Parent = v
  200. w.Part0 = w.Parent
  201. w.Part1 = Tor
  202. w.C0 = CFrame.new(0,0,1.3)
  203. Tor=Instance.new("Part")
  204. Tor.Size=Vector3.new(1,1,1)
  205. Tor.BrickColor=color2
  206. Tor.Reflectance=0.5
  207. Tor.Transparency=0
  208. Tor.CanCollide=false
  209. Tor.Parent=model
  210. Mesh=Instance.new("SpecialMesh")
  211. Mesh.MeshId="http://www.roblox.com/asset/?id=13640868"
  212. Mesh.Parent=Tor
  213. w = Instance.new("Weld")
  214. w.Parent = char["Head"]
  215. w.Part0 = w.Parent
  216. w.Part1 = Tor
  217. w.C0 = CFrame.new(0,0.75,0)
  218. v=char["Right Arm"]
  219. Tor=Instance.new("Part")
  220. Tor.Size=Vector3.new(1,1,1)
  221. Tor.BrickColor=color2
  222. Tor.Reflectance=0.5
  223. Tor.Transparency=0
  224. Tor.Locked=true
  225. Tor.Name="X1"
  226. Tor.CanCollide=true
  227. Tor.Parent=model
  228. Tor.TopSurface="Smooth"
  229. Tor.BottomSurface="Smooth"
  230. Mesh=Instance.new("SpecialMesh")
  231. Mesh.MeshType="Wedge"
  232. Mesh.Parent=Tor
  233. Mesh.Scale=Vector3.new(1.1,.75,1)
  234. w = Instance.new("Weld")
  235. w.Parent = v
  236. w.Part0 = w.Parent
  237. w.Part1 = Tor
  238. w.C0 = CFrame.new(0.1,0.6,0)*CFrame.Angles(math.rad(90),math.rad(180),math.rad(90*3))
  239. v=char["Left Arm"]
  240. Tor=Instance.new("Part")
  241. Tor.Size=Vector3.new(1,1,1)
  242. Tor.BrickColor=color2
  243. Tor.Reflectance=0.5
  244. Tor.Transparency=0
  245. Tor.Locked=true
  246. Tor.Name="X1"
  247. Tor.CanCollide=true
  248. Tor.Parent=model
  249. Tor.TopSurface="Smooth"
  250. Tor.BottomSurface="Smooth"
  251. Mesh=Instance.new("SpecialMesh")
  252. Mesh.MeshType="Wedge"
  253. Mesh.Parent=Tor
  254. Mesh.Scale=Vector3.new(1.1,.75,1)
  255. w = Instance.new("Weld")
  256. w.Parent = v
  257. w.Part0 = w.Parent
  258. w.Part1 = Tor
  259. w.C0 = CFrame.new(-0.1,0.6,0)*CFrame.Angles(math.rad(90),math.rad(180),math.rad(90))
  260. v=char["Head"]
  261. Tor=Instance.new("Part")
  262. Tor.Size=Vector3.new(1,1,1)
  263. Tor.BrickColor=color2
  264. Tor.Reflectance=0.075
  265. Tor.Transparency=0
  266. Tor.Locked=true
  267. Tor.CanCollide=true
  268. Tor.Parent=model
  269. Tor.TopSurface="Smooth"
  270. Tor.BottomSurface="Smooth"
  271. Mesh=Instance.new("BlockMesh")
  272. Mesh.Bevel=0.05
  273. Mesh.Parent=Tor
  274. Mesh.Scale=Vector3.new(.92,.25,.25)
  275. w = Instance.new("Weld")
  276. w.Parent = v
  277. w.Part0 = w.Parent
  278. w.Part1 = Tor
  279. w.C0 = CFrame.new(0,0.2,-0.5)
  280. Tor=Instance.new("Part")
  281. Tor.Size=Vector3.new(1,1,1)
  282. Tor.BrickColor=color
  283. Tor.Reflectance=0.075
  284. Tor.Transparency=0
  285. Tor.Locked=true
  286. Tor.CanCollide=true
  287. Tor.Parent=model
  288. Tor.TopSurface="Smooth"
  289. Tor.BottomSurface="Smooth"
  290. Mesh=Instance.new("BlockMesh")
  291. Mesh.Bevel=0.05
  292. Mesh.Parent=Tor
  293. Mesh.Scale=Vector3.new(.86,.125,.25)
  294. w = Instance.new("Weld")
  295. w.Parent = v
  296. w.Part0 = w.Parent
  297. w.Part1 = Tor
  298. w.C0 = CFrame.new(0,0.2,-0.55)
  299. --TODO:Ask nitewalker21 what else.
  300. ---Pet/Guard script for chc4 loaded--------
  301. ta={}
  302. for _,v in pairs(player.Character.Torso:GetChildren()) do
  303. if v.Name=="Pet.v1" then
  304. table.insert(ta,v)
  305. end
  306. end
  307. if #ta==2 or #ta>2 then
  308. ta[2]:remove()
  309. end
  310. if script.Parent.className~="Model" then
  311. pcall(function() char["Pet.v1"]:remove() end)
  312. Mod=Instance.new("Model")
  313. Mod.Name="Pet.v1"
  314. if char.Torso:findFirstChild("Pet.v1")==nil then
  315. Mod.Parent=char.Torso
  316. end
  317. Pet=Instance.new("Part")
  318. Pet.Size=Vector3.new(1,1,1)
  319. Pet.Shape="Ball"
  320. Pet.Name="Head"
  321. Pet.TopSurface="Smooth"
  322. Pet.BottomSurface="Smooth"
  323. Pet.Anchored=false
  324. Pet.BrickColor=BrickColor:Black()
  325. Pet.Parent=Mod
  326. Pet.Reflectance=0.2
  327. Hum=Instance.new("Humanoid")
  328. Hum.MaxHealth=0
  329. Hum.Parent=Mod
  330. Pet.Position=char.Head.Position+Vector3.new(0,10,0)
  331. Mes=Instance.new("SpecialMesh")
  332. Mes.MeshType="Sphere"
  333. Mes.Scale=Vector3.new(0.91,0.91,0.91)
  334. Mes.Parent=Pet
  335. Bp=Instance.new("BodyPosition")
  336. Bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  337. Bp.Parent=Pet
  338. Bp.position=char.Head.Position+Vector3.new(1,1,0)
  339. end
  340. Mod=char.Torso["Pet.v1"]
  341. Pet=Mod.Head
  342. Hum=Mod.Humanoid
  343. Bp=Pet.BodyPosition
  344. Mesh=Pet.Mesh
  345. function Fire(v)
  346. v.Anchored=true
  347. local Laz=Instance.new("Part")
  348. Laz.Anchored=true
  349. Laz.BrickColor=BrickColor:Black()
  350. Laz.Reflectance=0.2
  351. Laz.TopSurface="Smooth"
  352. Laz.BottomSurface="Smooth"
  353. Laz.CanCollide=false
  354. Laz.CFrame=CFrame.new((Pet.Position+v.Position)/2,v.Position)
  355. Laz.Parent=v
  356. Laz.Size=Vector3.new(1,1,2)
  357. Laz.Transparency=0
  358. local Me=Instance.new("BlockMesh")
  359. Me.Parent=Laz
  360. for i=1,25 do
  361. Me.Scale = Vector3.new(i/35,i/35,(Pet.Position - v.Position).magnitude/2)
  362. Laz.CFrame=CFrame.new((Pet.Position+v.Position)/2,v.Position)
  363. wait()
  364. end
  365. ex=Instance.new("Explosion")
  366. ex.Position=v.Position
  367. ex.BlastPressure=0 --WUTNAO!
  368. ex.Hit:connect(function(v) v:BreakJoints() v.Velocity=(v.Position-ex.Position).unit*900 end)
  369. ex.BlastRadius=1
  370. ex.Parent=v
  371. wait()
  372. for i=1,3 do
  373. wait(0.15)
  374. Laz.Transparency=Laz.Transparency+0.3
  375. end
  376. Laz:remove()
  377. v.Anchored=false
  378. end
  379. function Fllow()
  380. pcall(function() Bp.position=Per.Head.Position+Vector3.new(0,1.75,0) end)
  381. end
  382. Per=workspace[Name]
  383. Delay(0,function()
  384. while true do
  385. wait(.1)
  386. Fllow()
  387. end
  388. end)
  389. function follow(playr)
  390. pcall(function() Per=workspace[playr.Name] end)
  391. end
  392. function kill(playr)
  393. Fire(workspace[playr.Name].Torso)
  394. end
  395. function Field(playr)
  396. pcall(function() Instance.new("ForceField").Parent=workspace[playr.Name] end)
  397. end
  398. function Deff(playr)
  399. pcall(function() workspace[playr.Name].ForceField:remove() end)
  400. end
  401. function Color(str)
  402. pcall(function() Pet.BrickColor=BrickColor.new(str) end)
  403. end
  404. function Ref(str)
  405. pcall(function() Pet.Reflectance=tonumber(str) end)
  406. end
  407. function size(str)
  408. local f="Vector3.new("..str..")"
  409. print(f)
  410. pcall(function() loadstring([[Mesh.Scale=]]..f)() end)
  411. end
  412. function flame(playr)
  413. Instance.new("Fire").Parent=workspace[playr.Name].Torso
  414. end
  415. Cmd={"follow","kill","ff","unff","color","reflectance","size","fire"}
  416. Func={follow,kill,Field,Deff,Color,Ref,size,flame}
  417. function FindIn(tab,query)
  418. for _,v in pairs(tab) do
  419. if v==query then
  420. return {v,_}
  421. end
  422. end
  423. return false
  424. end
  425. function FindPlay(name)
  426. for _,v in pairs(game.Players:children()) do
  427. if string.sub(string.lower(v.Name),1,string.len(name))==name then
  428. return v
  429. end
  430. end
  431. return false
  432. end
  433. Con=player.Chatted:connect(function(chat)
  434. local start, ed = chat:match("^(.-)/(.*)$")
  435. if start and ed then
  436. local start=string.lower(start)
  437. local ed2=string.lower(ed)
  438. if FindIn(Cmd,start)~=false and FindPlay(ed2)~=false then
  439. print(string.upper(string.sub(Cmd[FindIn(Cmd,start)[2]],1,1))..string.sub(Cmd[FindIn(Cmd,start)[2]],2).."ed "..FindPlay(ed2).Name)
  440. Func[FindIn(Cmd,start)[2]](FindPlay(ed2))
  441. elseif FindIn(Cmd,start)~=false and FindPlay(ed)==false then
  442. print(string.upper(string.sub(Cmd[FindIn(Cmd,start)[2]],1,1))..string.sub(Cmd[FindIn(Cmd,start)[2]],2).."'ed "..ed)
  443. pcall(function() Func[FindIn(Cmd,start)[2]](ed) end)
  444. end
  445. end
  446. end)
  447. char.Humanoid.Died:connect(function() Con:disconnect() end)
  448. local d=0
  449. local Arms={char.Torso["Left Shoulder"],char.Torso["Right Shoulder"]}
  450. pcall(function() local tshirt=char.Torso.roblox end)
  451. if script.Parent.className~="HopperBin" then
  452. Staff=Instance.new("HopperBin")
  453. Staff.Name="MultiLazer"
  454. Staff.Parent=player.Backpack
  455. Gui=Instance.new("GuiMain")
  456. Gui.Name="BLAH"
  457. Gui.Parent=game.Players[Name].PlayerGui
  458. S_UP=Instance.new("TextButton")
  459. S_UP.Name="Spell"
  460. S_UP.Parent=Gui
  461. S_UP.Position=UDim2.new(0,0,0.95,0)
  462. S_UP.Size=UDim2.new(1, 0, 1/32, 0)
  463. S_UP.BackgroundColor3=BrickColor.new("Dark stone grey").Color
  464. S_UP.BackgroundTransparency=0.5
  465. S_UP.BorderColor3=BrickColor:White().Color
  466. S_UP.BorderSizePixel=1
  467. S_UP.Text="Lazer(1)"
  468. S_UP.TextColor=BrickColor:White()
  469. S_UP.SizeConstraint=Enum.SizeConstraint.RelativeXY
  470. script.Name="Not A QuickScript"
  471. script.Parent=Staff
  472. end
  473. Sword=script.Parent
  474. function hint(msg,de)
  475. for _,v in pairs(player:children()) do
  476. if v:IsA("Message") then
  477. v:remove()
  478. end
  479. end
  480. local h=Instance.new("Hint")
  481. h.Text=tostring(msg)
  482. h.Parent=player
  483. Delay(tonumber(de),function() h:remove() end)
  484. end
  485. ta={}
  486. for _,v in pairs(player.Backpack:GetChildren()) do
  487. if v.Name=="MultiLazer" then
  488. table.insert(ta,v)
  489. end
  490. end
  491. if #ta==2 or #ta>2 then
  492. ta[1]:remove()
  493. end
  494. ta={}
  495. for _,v in pairs(player.PlayerGui:GetChildren()) do
  496. if v.Name=="BLAH" then
  497. table.insert(ta,v)
  498. end
  499. end
  500. if #ta==2 or #ta>2 then
  501. ta[1]:remove()
  502. end
  503. crea=Instance.new("ObjectValue")
  504. crea.Name="creator"
  505. crea.Value=player
  506. char.Humanoid.Died:connect(function()
  507. --[[for _,v in pairs(game.Players:children()) do
  508. Delay(0,function()
  509. crea:clone().Parent=v.Character.Humanoid
  510. v.Character.Humanoid.Health=0
  511. wait(0.05)
  512. v.Character.Humanoid.creator:remove()
  513. end)
  514. end]]
  515. for _,v in pairs(player:children()) do
  516. if v:IsA("Hint") then
  517. v:remove()
  518. end
  519. end
  520. function hint(msg,time)
  521. end
  522. end) --I HATE leftover messages.
  523. function makeSword()
  524. local Sword=char
  525. Handle=Instance.new("Part")
  526. Handle.Size=Vector3.new(1,1,1)
  527. Handle.Parent=char
  528. Handle.Shape="Ball"
  529. Handle.BrickColor=BrickColor.new("Dark stone grey")
  530. Handle.Reflectance=0.05
  531. Handle.CFrame=char.Torso.CFrame
  532. Handle.Transparency=0.3
  533. Handle.Name="Handle"
  534. Mesh=Instance.new("SpecialMesh")
  535. Mesh.MeshType="Sphere"
  536. Mesh.Parent=Handle
  537. Mesh.Scale=Vector3.new(1,0.8,1)
  538. Handle:BreakJoints()
  539. HenWeld=Instance.new("Weld")
  540. HenWeld.Parent=char["Torso"]
  541. HenWeld.Part1=HenWeld.Parent
  542. HenWeld.Part0=Handle
  543. HenWeld.C0=CFrame.new(0,0.3,1.3)
  544. Handle.Anchored=false
  545. end
  546. function Shoot(col,mouse)
  547. local mh=mouse.Hit.p
  548. local Laz=Instance.new("Part")
  549. Laz.Anchored=true
  550. Laz.BrickColor=col
  551. Laz.TopSurface="Smooth"
  552. Laz.Name="Lazer"
  553. Laz.BottomSurface="Smooth"
  554. Laz.CanCollide=false
  555. Laz.Size=Vector3.new(1,1,2)
  556. Laz.CFrame=CFrame.new((mh+char.Handle.Position)/2,char.Handle.Position)
  557. Laz.Parent=char
  558. Laz.Transparency=0.5
  559. Laz.Reflectance=0.1
  560. local Me=Instance.new("BlockMesh")
  561. Me.Parent=Laz
  562. Me.Scale = Vector3.new(0.75,0.75,(mh - char.Handle.Position).magnitude/2)
  563. local Laz2=Instance.new("Part")
  564. Laz2.Anchored=true
  565. Laz2.BrickColor=col
  566. Laz2.TopSurface="Smooth"
  567. Laz2.Name="Lazer2"
  568. Laz2.BottomSurface="Smooth"
  569. Laz2.CanCollide=false
  570. Laz2.Size=Vector3.new(1,1,2)
  571. Laz2.Parent=char
  572. Laz2.CFrame=Laz.CFrame --Stupid CFrame glitch...
  573. Laz2.Transparency=0
  574. Laz2.Reflectance=0.3
  575. local Me2=Instance.new("BlockMesh")
  576. Me2.Parent=Laz2
  577. Me2.Scale = Vector3.new(0.25,0.25,(mh - char.Handle.Position).magnitude/2)
  578. return Laz,Laz2
  579. end
  580. function Lazer(mouse)
  581. if mouse.Target~=nil and mouse.Target.Name~="Base" and mouse.Target.Name~="Burn'd" then
  582. local mt=mouse.Target
  583. local Laz,Laz2=Shoot(BrickColor:Red(),mouse)
  584. mt.BrickColor=BrickColor:Black()
  585. mt.Name="Burn'd" --Bonus:Kills the player =P
  586. wait(0.1)
  587. Laz2:remove()
  588. Laz:remove()
  589. for i=1,30 do
  590. mt.Transparency=i/30
  591. wait()
  592. end
  593. mt:remove()
  594. elseif mouse.Target~=nil and mouse.Target.Name=="Base" then
  595. local Laz,Laz2=Shoot(BrickColor:Red(),mouse)
  596. wait(0.12)
  597. Laz:remove()
  598. Laz2:remove()
  599. end
  600. end
  601. function Boom(mouse)
  602. if mouse.Target~=nil then
  603. local mt=mouse.Hit.p
  604. local Laz,Laz2=Shoot(BrickColor:Blue(),mouse)
  605. wait(0.07)
  606. Laz2:remove()
  607. Laz:remove()
  608. local ex = Instance.new("Explosion")
  609. ex.Position = mt
  610. ex.Hit:connect(function(hit)
  611. if hit.Parent.Name~=Name and hit.Parent.Parent.Name~=Name and hit.Name~="Base" then
  612. hit.Anchored=false
  613. hit:BreakJoints()
  614. hit.Velocity=(hit.Position-ex.Position).unit*250
  615. end
  616. end)
  617. ex.BlastRadius = 6
  618. ex.BlastPressure = 0
  619. ex.Parent = game.Workspace
  620. end
  621. end
  622. function Sleep(mouse)
  623. if mouse.Target~=nil and game.Players:getPlayerFromCharacter(mouse.Target.Parent) and mouse.Target.Parent.Humanoid.PlatformStand==false then
  624. local mt=mouse.Target.Parent
  625. local Laz,Laz2=Shoot(BrickColor.new("Bright purple"),mouse)
  626. mt.Humanoid.PlatformStand=true
  627. mt.Torso.Velocity=(mt.Torso.Position-char.Handle.Position).unit*15
  628. wait(0.11)
  629. Laz2:remove()
  630. Laz:remove()
  631. wait(3)
  632. mt.Humanoid.PlatformStand=false
  633. elseif mouse.Target~=nil then
  634. local Laz,Laz2=Shoot(BrickColor.new("Bright purple"),mouse)
  635. wait(0.1)
  636. Laz:remove()
  637. Laz2:remove()
  638. end
  639. end
  640. function Fling(mouse)
  641. if mouse.Target~=nil and mouse.Target.Name~="Base" then
  642. local mt=mouse.Target
  643. local Laz,Laz2=Shoot(BrickColor:Green(),mouse)
  644. mt.Anchored=false
  645. mt:BreakJoints()
  646. mt.Velocity=(mt.Position-char.Handle.Position).unit*100
  647. wait(0.11)
  648. Laz2:remove()
  649. Laz:remove()
  650. elseif mouse.Target~=nil and mouse.Target.Name=="Base" then
  651. local Laz,Laz2=Shoot(BrickColor:Green(),mouse)
  652. wait(0.1)
  653. Laz:remove()
  654. Laz2:remove()
  655. end
  656. end
  657. function Teleport(mouse)
  658. if mouse.Target~=nil and char:findFirstChild("Band1")==nil then
  659. local Laz,Laz2=Shoot(BrickColor.new("Dark stone grey"),mouse)
  660. local mouse=mouse
  661. local hit=mouse.Hit
  662. local Band1=Instance.new("Part")
  663. Band1.Size=Vector3.new(1,1,1)
  664. Band1.Name="Band1"
  665. Band1.BrickColor=BrickColor:Black()
  666. Band1.Parent=char
  667. Band1.Reflectance=0.2
  668. Band1.Transparency=0.2
  669. wait(0.35)
  670. Laz:remove()
  671. Laz2:remove()
  672. local Mesh=Instance.new("CylinderMesh")
  673. Mesh.Scale=Vector3.new(5.5,0.05,5.5)
  674. Mesh.Parent=Band1
  675. w = Instance.new("Weld")
  676. w.Parent = char.Torso
  677. w.Part0 = w.Parent
  678. w.Part1 = Band1
  679. w.C0 = CFrame.new(0,0,0)
  680. for i=1,25 do
  681. Mesh.Scale=Mesh.Scale+Vector3.new(0,0.25,0)
  682. wait()
  683. end
  684. char.Torso.CFrame=CFrame.new(hit.p)+Vector3.new(0,3,0)
  685. wait(0.1)
  686. for i=1,25 do
  687. Mesh.Scale=Mesh.Scale+Vector3.new(0,-0.25,0)
  688. wait()
  689. end
  690. Band1:remove()
  691. elseif mouse.Target~=nil and char:findFirstChild("Band1")==nil then
  692. local Laz,Laz2=Shoot(BrickColor.new("Dark stone grey"),mouse)
  693. wait(.1)
  694. Laz:remove()
  695. Laz2:remove()
  696. end
  697. end
  698. wep={Lazer,Boom,Sleep,Fling,Teleport}
  699. name={"Lazer","Explosion","Sleep","Fling","Teleport"}
  700. function CheckAdd()
  701. if (Mode+1)~=(#wep+1) then
  702. Mode=Mode+1
  703. Hopper.Text=name[Mode].."("..Mode..")"
  704. elseif (Mode+1)==(#wep+1) then
  705. Mode=1
  706. Hopper.Text=name[Mode].."("..Mode..")"
  707. end
  708. end
  709. function CheckSub()
  710. if (Mode-1)==0 or (Mode-1)<0 then
  711. Mode=#wep
  712. Hopper.Text=name[Mode].."("..Mode..")"
  713. elseif (Mode-1)~=0 then
  714. Mode=Mode-1
  715. Hopper.Text=name[Mode].."("..Mode..")"
  716. end
  717. end
  718. function KeyDown(key)
  719. Hopper=player.PlayerGui.BLAH.Spell
  720. if key=="c" then
  721. CheckAdd()
  722. elseif key=="x" then
  723. Mode=1
  724. Hopper.Text=name[1].."("..Mode..")"
  725. elseif key=="z" then
  726. CheckSub()
  727. end
  728. end
  729. f=Sword.Selected:connect(function(mouse)
  730. pcall(function() script.Sour.Value=[[print("Hello,World!")]] end) --Nothing to see here.
  731. if d==0 and char.Torso:findFirstChild("Right Shoulder")~=nil then
  732. Hopper=Gui
  733. d=1
  734. De=0
  735. f:disconnect()
  736. pcall(function() game["LocalBackpack"]:children()[1]:remove() end)
  737. Arms[1].Parent=nil
  738. w = Instance.new("Weld")
  739. w.Name="Left Shouldr"
  740. w.Parent = char.Torso
  741. w.Part0 = char["Left Arm"]
  742. w.Part1 = w.Parent
  743. Arms[2].Parent=nil
  744. w2 = Instance.new("Weld")
  745. w2.Name="Right Shouldr"
  746. w2.Parent = char.Torso
  747. w2.Part0 = char["Right Arm"]
  748. w2.Part1 = w2.Parent
  749. makeSword()
  750. for _,v in pairs(char:children()) do
  751. if v:IsA("Part") then
  752. v.Anchored=false
  753. end
  754. end
  755. ---Animation Start---
  756. for i=0,1,0.05 do
  757. w.C0 = CFrame.new(1.2+(i*0.05)/10,-0.1-i*0.05,.5-i/1.3)*CFrame.Angles(math.rad(75*-i),math.rad(i*45),math.rad(i*20))
  758. wait()
  759. w2.C0 = CFrame.new(-1.2+(i*0.05)/10,-0.1-i*0.05,.5-i/1.3)*CFrame.Angles(math.rad(75*-i),math.rad(-i*45),math.rad(-i*20))
  760. end
  761. ----Animation End----
  762. We=w.C0
  763. Wr=w2.C0
  764. char.Torso.Anchored=false
  765. Mode=1
  766. Up=false
  767. mouse.Button1Down:connect(function()
  768. Up=false
  769. repeat coroutine.resume(coroutine.create(function() wep[Mode](mouse) end)) wait(0.13) until Up==true
  770. end)
  771. mouse.Button1Up:connect(function() Up=true end)
  772. mouse.KeyDown:connect(function(key) KeyDown(key) end)
  773. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  774. end
  775. end)
  776. --lego--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement