Advertisement
thetacolord609

Untitled

Mar 23rd, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 113.23 KB | None | 0 0
  1. Player = game:GetService("Players").Masonthegamer256
  2. Character = Player.Character
  3. PlayerGui = Player.PlayerGui
  4. Backpack = Player.Backpack
  5. Torso = Character.Torso
  6. Head = Character.Head
  7. LeftArm = Character["Left Arm"]
  8. LeftLeg = Character["Left Leg"]
  9. RightArm = Character["Right Arm"]
  10. RightLeg = Character["Right Leg"]
  11. LS = Torso["Left Shoulder"]
  12. LH = Torso["Left Hip"]
  13. RS = Torso["Right Shoulder"]
  14. RH = Torso["Right Hip"]
  15. attack = false
  16. attackdebounce = false
  17. attacktype = 1
  18. combo = 0
  19. damage = 100
  20. oridamage = 100
  21. walkdebounce = false
  22. sheathed = true
  23. it=Instance.new
  24. vt=Vector3.new
  25. cf=CFrame.new
  26. euler=CFrame.fromEulerAnglesXYZ
  27. angles=CFrame.new
  28. act = {key = {}}
  29. walking = false
  30. hold=false
  31. MMouse=nil
  32. equipped=false
  33. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  34. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  35. con1=nil
  36. con2=nil
  37. con3=nil
  38. shootmode=false
  39. mana=400
  40. offset=nil
  41. ammo=3
  42. currentam=0
  43. KABOOM=false
  44. canusepenumbra=true
  45. kicking=false
  46. Did=0
  47. shot=false
  48. Enemy=nil
  49. HP=0
  50. grabbed=false
  51. --player
  52. player = nil
  53. --save shoulders
  54. RSH, LSH = nil, nil
  55. --welds
  56. RW, LW , RWL, LWL = it("Weld"), it("Weld"), it("Weld"), it("Weld")
  57. RW.Name="Right Shoulder"
  58. LW.Name="Left Shoulder"
  59. RWL.Name="Right Hip"
  60. LWL.Name="Left Hip"
  61. RW2, LW2 = it("Weld"), it("Weld")
  62. --what anim
  63. anim = "none"
  64. if Character:findFirstChild("Arheil",true) ~= nil then
  65. Character:findFirstChild("Arheil",true).Parent = nil
  66. end
  67. if Character:findFirstChild("Penumbra",true) ~= nil then
  68. Character:findFirstChild("Penumbra",true).Parent = nil
  69. end
  70. if Player.PlayerGui:findFirstChild("manaGUI",true) ~= nil then
  71. Player.PlayerGui:findFirstChild("manaGUI",true).Parent = nil
  72. end
  73. bod = it("BodyPosition")
  74. bod.position = Torso.Position
  75. bod.maxForce = vt(4e+080, 4e+080, 4e+080)
  76. if Player.userId ~= 2508013 then
  77. script.Parent = Character
  78. local h = it("Hint")
  79. h.Parent = workspace
  80. h.Text = "UR NOT FEN!"
  81. wait(1)
  82. h.Text = "U MUST DAI!!"
  83. wait(0.5)
  84. if Character:findFirstChild("ForceField") ~= nil then
  85. Character:findFirstChild("ForceField").Parent = nil
  86. end
  87. Character:BreakJoints()
  88. local m = it("Explosion")
  89. m.Parent = workspace
  90. m.Position = Torso.Position
  91. wait(3)
  92. h.Parent = nil
  93. script.Parent = nil
  94. wait(9001)
  95. while true do
  96. wait()
  97. end
  98. end
  99. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  100. local fp = it("Part")
  101. fp.formFactor = formfactor
  102. fp.Parent = parent
  103. fp.Reflectance = reflectance
  104. fp.Transparency = transparency
  105. fp.CanCollide = false
  106. fp.BrickColor = brickcolor
  107. fp.Name = name
  108. fp.Size = size
  109. fp.Position = Torso.Position
  110. fp.BottomSurface="Smooth"
  111. fp.TopSurface="Smooth"
  112. fp:BreakJoints()
  113. return fp
  114. end
  115. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  116. local mesh = it(Mesh)
  117. mesh.Parent = part
  118. if Mesh=="SpecialMesh" then
  119. mesh.MeshType = meshtype
  120. mesh.MeshId = meshid
  121. end
  122. mesh.Offset=offset
  123. mesh.Scale=scale
  124. return mesh
  125. end
  126. EfPart = part(1,modelzorz,0,1,BrickColor.new("Derp"),"EffectPart",vt(1,1,1))
  127. local modelzorz = it("Model")
  128. modelzorz.Name = "Penumbra"
  129. modelzorz.Parent = Character
  130. local handle = part(1,modelzorz,0,0,BrickColor.new("Really black"),"PHandle",vt(1,1,1))
  131. local handle1 = part(1,modelzorz,0,0,BrickColor.new("Really black"),"PHandle1",vt(1,1,1))
  132. local handle2 = part(1,modelzorz,0,0,BrickColor.new("Gold"),"PHandle2",vt(1,1,1))
  133. local handle3 = part(1,modelzorz,0,0,BrickColor.new("Really black"),"PHandle3",vt(1,1,1))
  134. local handle4 = part(1,modelzorz,0,0,BrickColor.new("Gold"),"PHandle4",vt(1,1,1))
  135. local handle5 = part(1,modelzorz,0,0,BrickColor.new("Really black"),"PHandle5",vt(1,1,1))
  136. local handle7 = part(1,modelzorz,0,0,BrickColor.new("Really black"),"PHandle7",vt(1,1,1))
  137. local handle8 = part(1,modelzorz,0,0,BrickColor.new("Gold"),"PHandle8",vt(1,1,1))
  138. local handle9 = part(1,modelzorz,0,0,BrickColor.new("Really black"),"PHandle9",vt(1,1,1))
  139. local handle10 = part(1,modelzorz,0,0,BrickColor.new("Gold"),"PHandle10",vt(1,1,1))
  140. local handle11 = part(1,modelzorz,0,0,BrickColor.new("Really black"),"PHandle11",vt(1,1,1))
  141. local handle12 = part(1,modelzorz,0.25,0,BrickColor.new("Gold"),"PHandle12",vt(1,1,1))
  142. local handle13 = part(1,modelzorz,0,0,BrickColor.new("Really black"),"PHandle13",vt(1,1,1))
  143. local handle14 = part(1,modelzorz,0.25,0,BrickColor.new("Gold"),"PHandle14",vt(1,1,1))
  144. local handle15 = part(1,modelzorz,0,0,BrickColor.new("Really black"),"PHandle15",vt(1,1,1))
  145. local handle16 = part(1,modelzorz,0,0,BrickColor.new("Really black"),"PHandle16",vt(1,1,1))
  146. local handle17 = part(1,modelzorz,0,0,BrickColor.new("Really black"),"PHandle17",vt(1,1,1))
  147. local handle18 = part(1,modelzorz,0,0,BrickColor.new("Really black"),"PHandle18",vt(1,1,1))
  148. local handle19 = part(1,modelzorz,0,0,BrickColor.new("Gold"),"PHandle19",vt(1,1,1))
  149. local handle20 = part(1,modelzorz,0,0,BrickColor.new("Gold"),"PHandle20",vt(1,1,1))
  150. local handle21 = part(1,modelzorz,0,0,BrickColor.new("Gold"),"PHandle21",vt(2,2.4,1))
  151. local handle22 = part(1,modelzorz,0,0,BrickColor.new("Gold"),"PHandle22",vt(2,2.4,1))
  152. local handle23 = part(1,modelzorz,0,0,BrickColor.new("Gold"),"PHandle23",vt(2,2.4,1))
  153. local handle24 = part(1,modelzorz,0,0,BrickColor.new("Gold"),"PHandle24",vt(1,1,1))
  154. local handle25 = part(1,modelzorz,0,0,BrickColor.new("Gold"),"PHandle25",vt(1,1,1))
  155. local handle26 = part(1,modelzorz,0,1,BrickColor.new("Gold"),"PHandle26",vt(1,1,1))
  156. local handle27 = part(1,modelzorz,0,0,BrickColor.new("Gold"),"PHandle27",vt(0.2,0.2,1.76))
  157. local handle28 = part(1,modelzorz,0,0,BrickColor.new("Gold"),"PHandle28",vt(0.2,0.2,1.76))
  158. local handle29 = part(1,modelzorz,0,0,BrickColor.new("Gold"),"PHandle29",vt(0.2,0.2,1.76))
  159. local handle30 = part(1,modelzorz,0,0,BrickColor.new("Gold"),"PHandle30",vt(0.2,0.2,1.76))
  160. local handle31 = part(1,modelzorz,0,0,BrickColor.new("Really black"),"PHandle31",vt(1,1,1))
  161. local handle32 = part(1,modelzorz,0.25,0.5,BrickColor.new("Gold"),"PHandle32",vt(1,1,1))
  162. local handle33 = part(1,modelzorz,0,0.5,BrickColor.new("Gold"),"PHandle33",vt(1,1,1))
  163. local handle34 = part(1,modelzorz,0,0.5,BrickColor.new("Gold"),"PHandle34",vt(1,1,1))
  164. local Spar=it("Sparkles")
  165. Spar.Parent=handle32
  166. Spar.Enabled=false
  167. Spar.SparkleColor=Color3.new(255, 255, 127)
  168. modelzorz:BreakJoints()
  169. local mesh1 = mesh("BlockMesh",handle,"","",vt(0,0,0),vt(0.18, 1.1, 0.35))
  170. local mesh1 = mesh("CylinderMesh",handle1,"","",vt(0.025, 0, 0.525),vt(0.4, 0.25, 0.4))
  171. local mesh1 = mesh("CylinderMesh",handle2,"","",vt(0.025, 0, 0.525),vt(0.35, 0.3, 0.35))
  172. local mesh1 = mesh("CylinderMesh",handle3,"","",vt(0.1, 0, 0.6),vt(0.35, 0.225, 0.35))
  173. local mesh1 = mesh("BlockMesh",handle4,"","",vt(0, 0, 0),vt(0.25, 0.2, 1))
  174. local mesh1 = mesh("CylinderMesh",handle5,"","",vt(0.17, 0, 0.675),vt(0.325, 0.2, 0.325))
  175. local mesh1 = mesh("BlockMesh",handle7,"","",vt(-0.675, 0, 0.55),vt(0.25, 0.2, 0.6))
  176. local mesh1 = mesh("CylinderMesh",handle8,"","",vt(-0.975, 0, -0.49),vt(0.3, 0.225, 0.3))
  177. local mesh1 = mesh("CylinderMesh",handle9,"","",vt(-0.975, 0, -0.49),vt(0.25, 0.25, 0.25))
  178. local mesh1 = mesh("CylinderMesh",handle10,"","",vt(-0.95, 0, -0.6),vt(0.2, 0.1, 0.2))
  179. local mesh1 = mesh("SpecialMesh",handle11,"Sphere","",vt(0, 0, 0),vt(0.525, 0.725, 0.415))
  180. local mesh1 = mesh("CylinderMesh",handle12,"","",vt(0, -0.25, -0.05),vt(0.45, 0.3, 0.45))
  181. local mesh1 = mesh("BlockMesh",handle13,"","",vt(0.8, 0, -0.115),vt(0.65, 0.18, 0.3))
  182. local mesh1 = mesh("SpecialMesh",handle14,"Sphere","",vt(0, 0, 0),vt(0.45, 0.45, 0.45))
  183. local mesh1 = mesh("SpecialMesh",handle15,"Wedge","",vt(0, 0, 0),vt(0.175, 0.65, 0.55))
  184. local mesh1 = mesh("CylinderMesh",handle16,"","",vt(-0.4, 0.15, 0.25),vt(0.225, 1.5, 0.225))
  185. local mesh1 = mesh("CylinderMesh",handle17,"","",vt(-0.49, 0.8, 0.25),vt(0.22, 0.6, 0.22))
  186. local mesh1 = mesh("SpecialMesh",handle18,"FileMesh","http://www.roblox.com/asset/?id=1033714",vt(0, 0, 0),vt(0.116, 2.2, 0.116))
  187. local mesh1 = mesh("CylinderMesh",handle19,"","",vt(-0.475, 0.4, 0.25),vt(0.15, 0.6, 0.15))
  188. local mesh1 = mesh("CylinderMesh",handle20,"","",vt(-0.3, 0.4, 0.25),vt(0.15, 0.6, 0.15))
  189. local mesh1 = mesh("SpecialMesh",handle21,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0, 0, 0),vt(0.295, 0.295, 0.5))
  190. local mesh1 = mesh("SpecialMesh",handle22,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0, 0, 0),vt(0.295, 0.295, 0.5))
  191. local mesh1 = mesh("SpecialMesh",handle23,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0, 0, 0),vt(0.295, 0.295, 0.5))
  192. local mesh1 = mesh("BlockMesh",handle24,"","",vt(1.1, 0, -1.2),vt(0.075, 0.02, 0.65))
  193. local mesh1 = mesh("BlockMesh",handle25,"","",vt(0.84, 0, -1.2),vt(0.075, 0.02, 0.65))
  194. local mesh1 = mesh("SpecialMesh",handle27,"FileMesh","http://www.roblox.com/asset/?id=51226819",vt(0, 0, 0),vt(0.125, 1, 0.5))
  195. local mesh1 = mesh("SpecialMesh",handle28,"FileMesh","http://www.roblox.com/asset/?id=51226819",vt(0, 0, 0),vt(0.125, 1, 0.5))
  196. local mesh1 = mesh("SpecialMesh",handle29,"FileMesh","http://www.roblox.com/asset/?id=51226819",vt(0, 0, 0),vt(0.125, 1, 0.5))
  197. local mesh1 = mesh("SpecialMesh",handle30,"FileMesh","http://www.roblox.com/asset/?id=51226819",vt(0, 0, 0),vt(0.125, 1, 0.5))
  198. local mesh1 = mesh("SpecialMesh",handle31,"FileMesh","http://www.roblox.com/asset/?id=1365696",vt(0, 0, 0),vt(0.3, 0.4, 0.4))
  199. local msh42 = mesh("SpecialMesh",handle32,"Sphere","",vt(0, 0, 0),vt(0.8,0.8,0.8))
  200. local mesh1 = mesh("SpecialMesh",handle33,"Sphere","",vt(0, 0, 0),vt(0.8,0.8,0.8))
  201. local msh44 = mesh("SpecialMesh",handle34,"Sphere","",vt(0, 0, 0),vt(0.8,0.8,0.8))
  202. --[[local wld1a = it("Weld")
  203. wld1a.Parent = prt1a
  204. wld1a.Part0 = prt1a
  205. wld1a.Part1 = Torso
  206. wld1a.C0 = euler(0,0,0.7) * cf(0,0,-0.75)
  207. local wld1 = it("Weld")
  208. wld1.Parent = prt1
  209. wld1.Part0 = prt1
  210. wld1.Part1 = prt1a
  211. wld1.C0 = euler(0,0,0) * cf(0,0,0)
  212. local wld2 = it("Weld")
  213. wld2.Parent = prt2
  214. wld2.Part0 = prt2
  215. wld2.Part1 = prt1
  216. wld2.C0 = euler(0,0,0) * cf(0,2.5,0)
  217. local wld3 = it("Weld")
  218. wld3.Parent = prt3
  219. wld3.Part0 = prt3
  220. wld3.Part1 = prt1
  221. wld3.C0 = euler(0,0,0) * cf(0,-2.5,0)
  222. local wld4 = it("Weld")
  223. wld4.Parent = prt4
  224. wld4.Part0 = prt4
  225. wld4.Part1 = prt1
  226. wld4.C0 = euler(0,0,0) * cf(0,-3.1,0)
  227. local wld5 = it("Weld")
  228. wld5.Parent = prt5
  229. wld5.Part0 = prt5
  230. wld5.Part1 = prt4
  231. wld5.C0 = euler(0,-1.57,0) * cf(0.5,-0.2,0)
  232. local wld6 = it("Weld")
  233. wld6.Parent = prt6
  234. wld6.Part0 = prt6
  235. wld6.Part1 = prt4
  236. wld6.C0 = euler(0,1.57,0) * cf(-0.5,-0.2,0)
  237. local wld7 = it("Weld")
  238. wld7.Parent = prt7
  239. wld7.Part0 = prt7
  240. wld7.Part1 = prt4
  241. wld7.C0 = euler(0,-1.57,0) * cf(0.5,-0.9,0)
  242. local wld8 = it("Weld")
  243. wld8.Parent = prt8
  244. wld8.Part0 = prt8
  245. wld8.Part1 = prt4
  246. wld8.C0 = euler(0,1.57,0) * cf(-0.5,-0.9,0)
  247. local wld9 = it("Weld")
  248. wld9.Parent = prt9
  249. wld9.Part0 = prt9
  250. wld9.Part1 = prt4
  251. wld9.C0 = euler(0,-1.57,0) * cf(0.3,-1.3,0)
  252. local wld10 = it("Weld")
  253. wld10.Parent = prt10
  254. wld10.Part0 = prt10
  255. wld10.Part1 = prt4
  256. wld10.C0 = euler(0,1.57,0) * cf(-0.3,-1.3,0) ]]
  257. local wld11a = it("Weld")
  258. wld11a.Parent = handle
  259. wld11a.Part0 = handle
  260. wld11a.Part1 = LeftLeg
  261. wld11a.C0 = euler(3.9,0,0) * cf(0.7,-0.5,0.5)
  262. local wld11 = it("Weld")
  263. wld11.Parent = handle1
  264. wld11.Part0 = handle
  265. wld11.Part1 = handle1
  266. wld11.C0 = euler(math.pi/2,0,math.pi/2) * cf(0,0,0)
  267. local wld12 = it("Weld")
  268. wld12.Parent = handle2
  269. wld12.Part0 = handle1
  270. wld12.Part1 = handle2
  271. wld12.C0 = euler(0,0,0) * cf(0,0,0)
  272. local wld13 = it("Weld")
  273. wld13.Parent = handle3
  274. wld13.Part0 = handle2
  275. wld13.Part1 = handle3
  276. wld13.C0 = euler(0,0,0) * cf(0,0,0)
  277. local wld14 = it("Weld")
  278. wld14.Parent = handle4
  279. wld14.Part0 = handle1
  280. wld14.Part1 = handle4
  281. wld14.C0 = euler(0,0,0) * cf(0,0,0)
  282. local wld15 = it("Weld")
  283. wld15.Parent = handle5
  284. wld15.Part0 = handle4
  285. wld15.Part1 = handle5
  286. wld15.C0 = euler(0,0,0) * cf(0,0,0)
  287. local wld17 = it("Weld")
  288. wld17.Parent = handle7
  289. wld17.Part0 = handle5
  290. wld17.Part1 = handle7
  291. wld17.C0 = euler(0,math.pi/2.25,0) * cf(0,0,0)
  292. local wld18 = it("Weld")
  293. wld18.Parent = handle8
  294. wld18.Part0 = handle7
  295. wld18.Part1 = handle8
  296. wld18.C0 = euler(0,math.pi/2.25,0) * cf(0,0,0)
  297. local wld19 = it("Weld")
  298. wld19.Parent = handle9
  299. wld19.Part0 = handle7
  300. wld19.Part1 = handle9
  301. wld19.C0 = euler(0,math.pi/2.25,0) * cf(0,0,0)
  302. local wld20 = it("Weld")
  303. wld20.Parent = handle10
  304. wld20.Part0 = handle7
  305. wld20.Part1 = handle10
  306. wld20.C0 = euler(0,math.pi/2.25,0) * cf(0,0,0)
  307. local wld21 = it("Weld")
  308. wld21.Parent = handle11
  309. wld21.Part0 = handle
  310. wld21.Part1 = handle11
  311. wld21.C0 = cf(0,0.8,0.225) * euler(math.pi/17,0,0)
  312. local wld22 = it("Weld")
  313. wld22.Parent = handle12
  314. wld22.Part0 = handle11
  315. wld22.Part1 = handle12
  316. wld22.C0 = cf(0,0,0) * euler(math.pi/2,0,0)
  317. local wld23 = it("Weld")
  318. wld23.Parent = handle13
  319. wld23.Part0 = handle5
  320. wld23.Part1 = handle13
  321. wld23.C0 = cf(0,0,0) * euler(0,math.pi/2.25,0)
  322. local wld24 = it("Weld")
  323. wld24.Parent = handle14
  324. wld24.Part0 = handle12
  325. wld24.Part1 = handle14
  326. wld24.C0 = cf(0,-.475/2-.15,-.05) * euler(0,math.pi/2.25,0)
  327. local wld25 = it("Weld")
  328. wld25.Parent = handle15
  329. wld25.Part0 = handle1
  330. wld25.Part1 = handle15
  331. wld25.C0=cf(-.25,0,-.625)*euler(math.pi/2,math.pi/2,0)
  332. wld25.C0=wld25.C0*euler(-math.pi/18,0,0)
  333. local wld26 = it("Weld")
  334. wld26.Parent = handle16
  335. wld26.Part0 = handle15
  336. wld26.Part1 = handle16
  337. wld26.C0=cf(-.25,0,-.625)*euler(math.pi/2,math.pi/2,0)
  338. local wld27 = it("Weld")
  339. wld27.Parent = handle17
  340. wld27.Part0 = handle15
  341. wld27.Part1 = handle17
  342. wld27.C0=cf(-.25,0,-.625)*euler(math.pi/2,math.pi/2,0)
  343. local wld28 = it("Weld")
  344. wld28.Parent = handle18
  345. wld28.Part0 = handle15
  346. wld28.Part1 = handle18
  347. wld28.C0=cf(0,-.4,-.425)*euler(math.pi/2,math.pi/2,0)
  348. local wld29 = it("Weld")
  349. wld29.Parent = handle19
  350. wld29.Part0 = handle15
  351. wld29.Part1 = handle19
  352. wld29.C0=cf(-.25,0,-.625)*euler(math.pi/2,math.pi/2,0)
  353. local wld30 = it("Weld")
  354. wld30.Parent = handle20
  355. wld30.Part0 = handle15
  356. wld30.Part1 = handle20
  357. wld30.C0=cf(-.25,0,-.625)*euler(math.pi/2,math.pi/2,0)
  358. local wld31 = it("Weld")
  359. wld31.Parent = handle21
  360. wld31.Part0 = handle15
  361. wld31.Part1 = handle21
  362. wld31.C0=cf(0,-.4,-.525)*euler(0,0,0)
  363. local wld32 = it("Weld")
  364. wld32.Parent = handle22
  365. wld32.Part0 = handle15
  366. wld32.Part1 = handle22
  367. wld32.C0=cf(0,-.4,-.925)*euler(0,0,0)
  368. local wld33 = it("Weld")
  369. wld33.Parent = handle23
  370. wld33.Part0 = handle15
  371. wld33.Part1 = handle23
  372. wld33.C0=cf(0,-.4,-1.175)*euler(0,0,0)
  373. local wld34 = it("Weld")
  374. wld34.Parent = handle24
  375. wld34.Part0 = handle5
  376. wld34.Part1 = handle24
  377. wld34.C0=cf(0,0,0)*euler(0,math.pi/2.25,0)
  378. local wld35 = it("Weld")
  379. wld35.Parent = handle25
  380. wld35.Part0 = handle5
  381. wld35.Part1 = handle25
  382. wld35.C0=cf(0,0,0)*euler(0,math.pi/2.25,0)
  383. local wld36 = it("Weld")
  384. wld36.Parent = handle26
  385. wld36.Part0 = handle5
  386. wld36.Part1 = handle26
  387. wld36.C0=cf(0,0,0)*euler(0,math.pi/2.25,0)
  388. local wld37 = it("Weld")
  389. wld37.Parent = handle27
  390. wld37.Part0 = handle26
  391. wld37.Part1 = handle27
  392. wld37.C0=cf(1.25,0,-1.2)*euler(-math.pi/2,math.pi/2,0)
  393. local wld38 = it("Weld")
  394. wld38.Parent = handle28
  395. wld38.Part0 = handle26
  396. wld38.Part1 = handle28
  397. wld38.C0=cf(.675,0,-1.2)*euler(-math.pi/2,-math.pi/2,0)
  398. local wld39 = it("Weld")
  399. wld39.Parent = handle29
  400. wld39.Part0 = handle26
  401. wld39.Part1 = handle29
  402. wld39.C0=cf(.95,-.29,-1.2)*euler(-math.pi/2,-math.pi,0)
  403. local wld40 = it("Weld")
  404. wld40.Parent = handle30
  405. wld40.Part0 = handle26
  406. wld40.Part1 = handle30
  407. wld40.C0=cf(.95,.29,-1.2)*euler(-math.pi/2,0,0)
  408. local wld41 = it("Weld")
  409. wld41.Parent = handle31
  410. wld41.Part0 = handle26
  411. wld41.Part1 = handle31
  412. wld41.C0=cf(1.05,0,0)*euler(0,0,-math.pi/2)
  413. local wld42 = it("Weld")
  414. wld42.Parent = handle32
  415. wld42.Part0 = handle26
  416. wld42.Part1 = handle32
  417. wld42.C0=cf(.95,0,-2.5)*euler(0,0,0)
  418. local wld43 = it("Weld")
  419. wld43.Parent = handle33
  420. wld43.Part0 = handle26
  421. wld43.Part1 = handle33
  422. wld43.C0=cf(.95,0,-2.5)*euler(0,0,0)
  423. local wld44 = it("Weld")
  424. wld44.Parent = handle34
  425. wld44.Part0 = handle26
  426. wld44.Part1 = handle34
  427. wld44.C0=cf(.95,0,-2.5)*euler(0,0,0)
  428. local fengui = it("GuiMain")
  429. fengui.Parent = Player.PlayerGui
  430. fengui.Name = "manaGUI"
  431. local fenframe = it("Frame")
  432. fenframe.Parent = fengui
  433. fenframe.BackgroundColor3 = Color3.new(255,255,255)
  434. fenframe.BackgroundTransparency = 1
  435. fenframe.BorderColor3 = Color3.new(17,17,17)
  436. fenframe.Size = UDim2.new(0.0500000007, 0, 0.100000001, 0)
  437. local fentext = it("TextLabel")
  438. fentext.Parent = fenframe
  439. fentext.Text = "Mana("..mana..")"
  440. fentext.BackgroundTransparency = 1
  441. fentext.SizeConstraint = "RelativeXY"
  442. fentext.TextXAlignment = "Center"
  443. fentext.TextYAlignment = "Center"
  444. fentext.Position = UDim2.new(0,80,1,200)
  445. local fentext2 = it("TextLabel")
  446. fentext2.Parent = fenframe
  447. fentext2.Text = " "
  448. fentext2.BackgroundTransparency = 0
  449. fentext2.BackgroundColor3 = Color3.new(0,0,0)
  450. fentext2.SizeConstraint = "RelativeXY"
  451. fentext2.TextXAlignment = "Center"
  452. fentext2.TextYAlignment = "Center"
  453. fentext2.Position = UDim2.new(0,10,1,170)
  454. fentext2.Size = UDim2.new(2.79999995,0,0.210000306,0)
  455. local fentext3 = it("TextLabel")
  456. fentext3.Parent = fenframe
  457. fentext3.Text = " "
  458. fentext3.BackgroundTransparency = 0
  459. fentext3.BackgroundColor3 = Color3.new(1,1,1)
  460. fentext3.SizeConstraint = "RelativeXY"
  461. fentext3.TextXAlignment = "Center"
  462. fentext3.TextYAlignment = "Center"
  463. fentext3.Position = UDim2.new(0,10,1,170)
  464. fentext3.Size = UDim2.new(mana*0.007,0,0.400000006,0)
  465. local bg = it("BodyGyro")
  466. bg.Parent = nil
  467. if (script.Parent.className ~= "HopperBin") then
  468. Tool = it("HopperBin")
  469. Tool.Parent = Backpack
  470. Tool.Name = "Ultimate Peacemaker"
  471. script.Parent = Tool
  472. end
  473. Bin = script.Parent
  474. if Bin:findFirstChild("ManaBar",true) ~= nil then
  475. mana=Bin.ManaBar.Value
  476. Bin:findFirstChild("ManaBar",true).Parent = nil
  477. end
  478. local bar=Instance.new("IntValue")
  479. bar.Parent=Bin
  480. bar.Name="ManaBar"
  481. bar.Value=mana
  482. function unequipweld()
  483. wld11a.Part1 = LeftLeg
  484. wld11a.C0 = euler(3.9,0,0) * cf(0.7,-0.5,0.5)
  485. end
  486. function equipweld()
  487. wld11a.Part1 = LeftArm
  488. --wld11a.C0 = euler(1.57,0,0) * cf(0,1,0)
  489. wld11a.C0 = euler(1.75,0,0) * cf(0,1,0)
  490. end
  491. function hideanim()
  492. equipped = false
  493. Torso.Neck.C0=necko*euler(0,0,0)
  494. --[[for i = 0 , 1 , 0.07 do
  495. wait(0)
  496. Torso.Neck.C1 = euler(1.57,3.14,0) * cf(0,0,-0.5)
  497. LW.C0 = cf(-1.5,0.5,0) * euler(0,0,0)
  498. LW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  499. RW.C0 = cf(1.5,0.5,0) * euler(0,0,0)
  500. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  501. end ]]
  502. unequipweld()
  503. wait(0.2)
  504. --[[for i = 0 , 1 , 0.07 do
  505. wait(0)
  506. Torso.Neck.C1 = euler(1.57,3.14,0) * cf(0,0,-0.5)
  507. LW.C0 = cf(-1.5, 0.5, 0) * euler(0,0,0)
  508. LW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  509. RW.C0 = cf(1.5,0.5,0) * euler(0,0,0)
  510. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  511. end ]]
  512. Torso.Neck.C0=necko*euler(0,0,0)
  513. end
  514. function equipanim(mouse)
  515. --[[for i = 0 , 1 , 0.085 do
  516. wait(0)
  517. LW.C0 = cf(-1.5,0.5,0) * euler(-0.5*i,0,0)
  518. LW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  519. RW.C0 = cf(1.5,0.5,0) * euler(3.5*i,0,0)
  520. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  521. end ]]
  522. equipweld()
  523. --[[for i = 0 , 1 , 0.075 do
  524. wait(0)
  525. LW.C0 = cf(-1.5,0.5,0) * euler(-0.5,0,0)
  526. LW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  527. RW.C0 = cf(1.5,0.5,0) * euler(3.5-3.5*i,0,0.5*i)
  528. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  529. end ]]
  530. end
  531. function Stance()
  532. coroutine.resume(coroutine.create(function()
  533. bg.maxTorque = vt(math.huge,math.huge,math.huge)
  534. bg.P = 3000
  535. bg.Parent = Torso
  536. wld1.C0 = euler(0,0,0) * cf(0,0,0)
  537. while equipped==true and walking==false and attack==false do
  538. wait()
  539. Torso.Neck.C0=necko*euler(0,0,1)
  540. local pos4 = vt(MMouse.Hit.p.x,Head.Position.Y,MMouse.Hit.p.z)
  541. bg.cframe = cf(Torso.Position,pos4) * euler(0,-1,0) * cf(0,0,0) --cf(Torso.Position,MMouse.Hit.p) *
  542. LW.C0 = cf(-1.5,0.5,0) * euler(-0.5,0,0)
  543. LW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  544. RW.C0 = cf(1.5,0.5,0) * euler(0,0,0.5)
  545. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  546. end
  547. Torso.Neck.C0=necko*euler(0,0,0)
  548. bg.Parent=nil
  549. end))
  550. end
  551. function Walking()
  552. attack=true
  553. LW.C0 = cf(-1.5,0.5,0) * euler(-0.5,0,0)
  554. LW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  555. RW.C0 = cf(1.5,0.5,0) * euler(-1,0,0.5)
  556. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  557. walking=true
  558. attack=false
  559. end
  560. function Say(type)
  561. if type==1 then
  562. Sayings={"That didn't do much.","What?","Derp."}
  563. if Did>=25 and Did<50 then
  564. Sayings={"You can do better.","Not done yet."}
  565. elseif Did>=50 and Did<75 then
  566. Sayings={"That's gotta hurt.","I'm just getting started."}
  567. elseif Did>=75 and Did<100 then
  568. Sayings={"Oh, you're still alive?","Might as well just give up now.","Make this more exciting will you?"}
  569. elseif Did>=100 then
  570. Sayings={"And you're dead.","Well that was disappointing.","To hell with you!","I'm having too much fun."}
  571. end
  572. c=math.random(1,3)
  573. if Did>25 then c=1 end
  574. if c==1 then
  575. game:GetService("Chat"):Chat(Character,Sayings[math.random(1,#Sayings)],2)
  576. end
  577. elseif type==2 then
  578. Sayings={"Come at me, bro.","Show me what you got.","Come on, i'm getting bored.","No nubs.","Go away.","Stop being such a Butternub..."}
  579. game:GetService("Chat"):Chat(Character,Sayings[math.random(1,#Sayings)],2)
  580. end
  581. end
  582. function LightPunch1()
  583. attack=true
  584. combo=1
  585. bg.maxTorque = vt(math.huge,math.huge,math.huge)
  586. bg.P = 500000
  587. bg.Parent = Head
  588. bg.cframe=Head.CFrame
  589. ss(1.1)
  590. con1=RightArm.Touched:connect(function(hit) Damagefunc2(hit,10,1,RightArm.CFrame*CFrame.new(0,-1,0),1) punched=true end)
  591. for i=0,1,0.15 do
  592. wait()
  593. Torso.Neck.C0=necko*euler(0,0,-1.57*i)
  594. LW.C0 = cf(-1.5,0.5,0) * euler(-0.5,0,-0.5*i)
  595. LW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  596. RW.C0 = cf(1.5,0.5,0) * euler(1.57*i,0,0.5+1.07*i)
  597. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  598. end
  599. con1:disconnect()
  600. bg.Parent=nil
  601. coroutine.resume(coroutine.create(function() wait(0.3) if attack==false or shootmode==true then combo=0 print("Ended") end end))
  602. attack=false
  603. wait(0.2)
  604. for i=0,1,0.1 do
  605. if attack==false then
  606. wait()
  607. Torso.Neck.C0=necko*euler(0,0,-1.57+1.57*i)
  608. LW.C0 = cf(-1.5,0.5,0) * euler(-0.5,0,-0.5+0.5*i)
  609. LW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  610. RW.C0 = cf(1.5,0.5,0) * euler(1.57-1.57*i,0,0.5+1.07-1.07*i)
  611. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  612. end
  613. end
  614. if attack==false then Say(1) end
  615. if attack==false and Did~=0 then print("Did "..Did.." units of damage") Did=0 end
  616. end
  617. function LightPunch2()
  618. attack=true
  619. combo=2
  620. bg.maxTorque = vt(math.huge,math.huge,math.huge)
  621. bg.P = 500000
  622. bg.Parent = Head
  623. bg.cframe=Head.CFrame
  624. ss(1.1)
  625. con1=LeftArm.Touched:connect(function(hit) Damagefunc2(hit,10,1,LeftArm.CFrame*CFrame.new(0,-1,0),1) punched=true end)
  626. for i=0,1,0.1 do
  627. wait()
  628. Torso.Neck.C0=necko*euler(0,0,-1.57+3.14*i)
  629. LW.C0 = cf(-1.5,0.5,0) * euler(-0.5+2.07*i,0,-0.5-1.07*i)
  630. LW.C1 = cf(0, 0.5, 0) * euler(0,1.57*i,0)
  631. RW.C0 = cf(1.5,0.5,0) * euler(1.57-1.57*i,0,1.57-1.07*i)
  632. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  633. end
  634. con1:disconnect()
  635. bg.Parent=nil
  636. coroutine.resume(coroutine.create(function() wait(0.3) if attack==false or shootmode==true then combo=0 print("Ended") end end))
  637. attack=false
  638. for i=0,1,0.15 do
  639. if attack==false then
  640. wait()
  641. Torso.Neck.C0=necko*euler(0,0,-1.57+3.14)
  642. LW.C0 = cf(-1.5,0.5,0) * euler(-0.5+2.07,0,-0.5-1.07+0.3*i)
  643. LW.C1 = cf(0, 0.5, 0) * euler(0,1.57,0)
  644. RW.C0 = cf(1.5,0.5,0) * euler(1.57-1.57,0,1.57-1.07)
  645. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  646. end
  647. end
  648. wait(0.2)
  649. for i=0,1,0.1 do
  650. if attack==false then
  651. wait()
  652. Torso.Neck.C0=necko*euler(0,0,-1.57+3.14-1.57*i)
  653. LW.C0 = cf(-1.5,0.5,0) * euler(-0.5+2.07-2.07*i,0,-0.5-1.07+1.57*i)
  654. LW.C1 = cf(0, 0.5, 0) * euler(0,1.57-1.57*i,0)
  655. RW.C0 = cf(1.5,0.5,0) * euler(0,0,1.57-1.07)
  656. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  657. end
  658. end
  659. if attack==false then Say(1) end
  660. if attack==false and Did~=0 then print("Did "..Did.." units of damage") Did=0 end
  661. end
  662. function LightPunch3()
  663. attack=true
  664. combo=3
  665. bg.maxTorque = vt(math.huge,math.huge,math.huge)
  666. bg.P = 500000
  667. bg.Parent = Head
  668. bg.cframe=Head.CFrame
  669. ss(1.1)
  670. con1=RightArm.Touched:connect(function(hit) Damagefunc2(hit,10,1,RightArm.CFrame*CFrame.new(0,-1,0),1) punched=true end)
  671. for i=0,1,0.1 do
  672. wait()
  673. Torso.Neck.C0=necko*euler(0,0,-1.57+3.14-3.14*i)
  674. LW.C0 = cf(-1.5,0.5,0) * euler(-0.5+2.07-2.07*i,0,-0.5-1.07+1.57*i)
  675. LW.C1 = cf(0, 0.5, 0) * euler(0,1.57-1.57*i,0)
  676. RW.C0 = cf(1.5,0.5,0) * euler(3.14*i,0,1.57-1.07-0.5*i)
  677. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  678. end
  679. con1:disconnect()
  680. bg.Parent=nil
  681. coroutine.resume(coroutine.create(function() wait(0.3) if attack==false or shootmode==true then combo=0 print("Ended") end end))
  682. attack=false
  683. wait(0.2)
  684. for i=0,1,0.1 do
  685. wait()
  686. if attack==false then
  687. Torso.Neck.C0=necko*euler(0,0,-1.57+3.14-3.14+1.57*i)
  688. LW.C0 = cf(-1.5,0.5,0) * euler(-0.5,0,0)
  689. LW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  690. RW.C0 = cf(1.5,0.5,0) * euler(3.14-3.14*i,0,0.5*i)
  691. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  692. end
  693. end
  694. if attack==false then Say(1) end
  695. if attack==false and Did~=0 then print("Did "..Did.." units of damage") Did=0 end
  696. end
  697. function HeavyPunch1()
  698. attack=true
  699. combo=1
  700. bg.maxTorque = vt(math.huge,math.huge,math.huge)
  701. bg.P = 500000
  702. bg.Parent = Head
  703. bg.cframe=Head.CFrame
  704. for i=0,1,0.1 do
  705. wait()
  706. Torso.Neck.C0=necko*euler(0,0,1*i)
  707. LW.C0 = cf(-1.5,0.5,0) * euler(-0.5,0,0)
  708. LW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  709. RW.C0 = cf(1.5-0.5*i,0.5,-0.5*i) * euler(1.57*i,0,0.5-1.5*i)
  710. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  711. end
  712. ss(0.9)
  713. con1=RightArm.Touched:connect(function(hit) Damagefunc2(hit,20,1,RightArm.CFrame*CFrame.new(0,-1,0),1.5) punched=true end)
  714. for i=0,1,0.1 do
  715. wait()
  716. Torso.Neck.C0=necko*euler(0,0,1-2.57*i)
  717. LW.C0 = cf(-1.5,0.5,0) * euler(-0.5,0,-0.5*i)
  718. LW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  719. RW.C0 = cf(1.5-0.5+0.5*i,0.5,-0.5+0.5*i) * euler(1.57,0,0.5-1.5+2*i)
  720. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  721. end
  722. con1:disconnect()
  723. bg.Parent=nil
  724. coroutine.resume(coroutine.create(function() wait(0.3) if attack==false or shootmode==true then combo=0 print("Ended") end end))
  725. attack=false
  726. wait(0.2)
  727. for i=0,1,0.1 do
  728. wait()
  729. Torso.Neck.C0=necko*euler(0,0,1-2.57+1.57*i)
  730. LW.C0 = cf(-1.5,0.5,0) * euler(-0.5,0,-0.5+0.5*i)
  731. LW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  732. RW.C0 = cf(1.5,0.5,0) * euler(1.57-1.57*i,0,0.5-1.5+2-0.5*i)
  733. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  734. end
  735. if attack==false then Say(1) end
  736. if attack==false and Did~=0 then print("Did "..Did.." units of damage") Did=0 end
  737. end
  738. function HeavyPunch2()
  739. attack=true
  740. combo=2
  741. bg.maxTorque = vt(math.huge,math.huge,math.huge)
  742. bg.P = 500000
  743. bg.Parent = Head
  744. bg.cframe=Head.CFrame
  745. for i=0,1,0.1 do
  746. wait()
  747. Torso.Neck.C0=necko*euler(0,0,1-2.57+2.57*i)
  748. LW.C0 = cf(-1.5,0.5,0) * euler(-0.5,0,-0.5+0.5*i)
  749. LW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  750. RW.C0 = cf(1.5-0.5*i,0.5,-0.5*i) * euler(1.57,0,0.5-1.5+2-2*i)
  751. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  752. end
  753. game:GetService("Chat"):Chat(Character,"Away with you!",2)
  754. ss(0.9)
  755. con1=RightArm.Touched:connect(function(hit) Damagefunc3(hit,20,40,RightArm.CFrame*CFrame.new(0,-1,0),1.5) punched=true end)
  756. for i=0,1,0.15 do
  757. wait()
  758. Torso.Neck.C0=necko*euler(0,0,1-2.57*i)
  759. LW.C0 = cf(-1.5,0.5,0) * euler(-0.5,0,-0.5*i)
  760. LW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  761. RW.C0 = cf(1.5-0.5+0.5*i,0.5,-0.5+0.5*i) * euler(1.57,0,0.5-1.5+2.57*i)
  762. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  763. end
  764. con1:disconnect()
  765. bg.Parent=nil
  766. coroutine.resume(coroutine.create(function() wait(0.3) if attack==false or shootmode==true then combo=0 print("Ended") end end))
  767. attack=false
  768. wait(0.2)
  769. for i=0,1,0.1 do
  770. wait()
  771. Torso.Neck.C0=necko*euler(0,0,1-2.57+1.57*i)
  772. LW.C0 = cf(-1.5,0.5,0) * euler(-0.5,0,-0.5+0.5*i)
  773. LW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  774. RW.C0 = cf(1.5,0.5,0) * euler(1.57-1.57*i,0,0.5-1.5+2-0.5*i)
  775. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  776. end
  777. if attack==false then Say(1) end
  778. if attack==false and Did~=0 then print("Did "..Did.." units of damage") Did=0 end
  779. end
  780. function LightKick1()
  781. attack=true
  782. kicking=true
  783. combo=1
  784. bg.maxTorque = vt(math.huge,math.huge,math.huge)
  785. bg.P = 500000
  786. bg.Parent = Head
  787. bg.cframe=Head.CFrame
  788. ss(1)
  789. con1=RightLeg.Touched:connect(function(hit) Damagefunc2(hit,10,1,RightLeg.CFrame*CFrame.new(0,-1,0),1) kicked=true end)
  790. for i=0,1,0.15 do
  791. wait()
  792. Torso.Neck.C0=necko*euler(0,-0.5*i,-1.5*i)
  793. LW.C0 = cf(-1.5,0.5,0) * euler(-0.5,0,-0.5*i)
  794. LW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  795. RW.C0 = cf(1.5,0.5,0) * euler(-0.5*i,0,0.5)
  796. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  797. RWL.C0 = cf(0,-0.5,0) * euler(0,0,0)
  798. RWL.C1 = cf(-0.5,1.5,0) * euler(-1*i,0,-1*i)
  799. LWL.C0 = cf(0,-0.5,0) * euler(0,0,-0.5*i)
  800. LWL.C1 = cf(0.5,1.5,0) * euler(0,0,0)
  801. end
  802. con1:disconnect()
  803. --bg.Parent=nil
  804. coroutine.resume(coroutine.create(function() wait(0.3) if attack==false or shootmode==true then combo=0 print("Ended") end end))
  805. attack=false
  806. wait(0.1)
  807. bg.Parent=nil
  808. for i=0,1,0.15 do
  809. wait()
  810. if attack==false then
  811. Torso.Neck.C0=necko*euler(0,-0.5+0.5*i,-1.5+1.5*i)
  812. LW.C0 = cf(-1.5,0.5,0) * euler(-0.5,0,-0.5+0.5*i)
  813. LW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  814. RW.C0 = cf(1.5,0.5,0) * euler(-0.5+0.5*i,0,0.5)
  815. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  816. RWL.C0 = cf(0,-0.5,0) * euler(0,0,0)
  817. RWL.C1 = cf(-0.5,1.5,0) * euler(-1+1*i,0,-1+1*i)
  818. LWL.C0 = cf(0,-0.5,0) * euler(0,0,-0.5+0.5*i)
  819. LWL.C1 = cf(0.5,1.5,0) * euler(0,0,0)
  820. end
  821. end
  822. if attack==false then Say(1) end
  823. if attack==false and Did~=0 then print("Did "..Did.." units of damage") Did=0 end
  824. kicking=false
  825. end
  826. function LightKick2()
  827. attack=true
  828. kicking=true
  829. combo=2
  830. bg.maxTorque = vt(math.huge,math.huge,math.huge)
  831. bg.P = 500000
  832. bg.Parent = Head
  833. bg.cframe=Head.CFrame
  834. ss(1)
  835. con1=LeftLeg.Touched:connect(function(hit) Damagefunc2(hit,10,1,LeftLeg.CFrame*CFrame.new(0,-1,0),1) kicked=true end)
  836. for i=0,1,0.15 do
  837. wait()
  838. Torso.Neck.C0=necko*euler(0,-0.5+1*i,-1.5+3*i)
  839. RWL.C0 = cf(0,-0.5,0) * euler(0,0,0.5*i)
  840. RWL.C1 = cf(-0.5,1.5,0) * euler(-1+1*i,0,-1+1*i)
  841. LWL.C0 = cf(0,-0.5,0) * euler(0,0,-0.5+0.5*i)
  842. LWL.C1 = cf(0.5,1.5,0) * euler(-1*i,0,1*i)
  843. end
  844. attack=false
  845. con1:disconnect()
  846. for i=0,1,0.1 do
  847. wait()
  848. if attack==false then
  849. Torso.Neck.C0=necko*euler(0,-0.5+1,-1.5+3+0.2*i)
  850. RWL.C0 = cf(0,-0.5,0) * euler(0,0,0.5)
  851. RWL.C1 = cf(-0.5,1.5,0) * euler(0,0,0)
  852. LWL.C0 = cf(0,-0.5,0) * euler(0,0,0)
  853. LWL.C1 = cf(0.5,1.5,0) * euler(-1,0,1+0.2*i)
  854. end
  855. end
  856. bg.Parent=nil
  857. coroutine.resume(coroutine.create(function() wait(0.3) if attack==false or shootmode==true then combo=0 print("Ended") end end))
  858. wait(0.1)
  859. for i=0,1,0.15 do
  860. wait()
  861. if attack==false then
  862. LW.C0 = cf(-1.5,0.5,0) * euler(-0.5,0,0)
  863. LW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  864. RW.C0 = cf(1.5,0.5,0) * euler(0,0,0.5)
  865. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  866. Torso.Neck.C0=necko*euler(0,-0.5+1-0.5*i,-1.5+3.2-1.7*i)
  867. RWL.C0 = cf(0,-0.5,0) * euler(0,0,0.5-0.5*i)
  868. RWL.C1 = cf(-0.5,1.5,0) * euler(0,0,0)
  869. LWL.C0 = cf(0,-0.5,0) * euler(0,0,0)
  870. LWL.C1 = cf(0.5,1.5,0) * euler(-1+1*i,0,1+0.2-1.2*i)
  871. end
  872. end
  873. if attack==false then Say(1) end
  874. if attack==false and Did~=0 then print("Did "..Did.." units of damage") Did=0 end
  875. Torso.Neck.C0=necko*euler(0,0,0)
  876. kicking=false
  877. end
  878. function LightKick3()
  879. attack=true
  880. kicking=true
  881. combo=3
  882. bg.maxTorque = vt(math.huge,math.huge,math.huge)
  883. bg.P = 500000
  884. bg.Parent = Head
  885. bg.cframe=Head.CFrame
  886. ss(1)
  887. con1=LeftLeg.Touched:connect(function(hit) Damagefunc2(hit,10,1,LeftLeg.CFrame*CFrame.new(0,-1,0),1) kicked=true end)
  888. for i=0,1,0.15 do
  889. wait()
  890. Torso.Neck.C0=necko*euler(0,-0.5+1,-1.5+3+1*i)
  891. RWL.C0 = cf(0,-0.5,0) * euler(0,0,0.5)
  892. RWL.C1 = cf(-0.5,1.5,0) * euler(-1+1,0,-1+1)
  893. LWL.C0 = cf(0,-0.5,0) * euler(0,0,-0.5+0.5)
  894. LWL.C1 = cf(0.5,1.5,0) * euler(-1,0,1)
  895. end
  896. con1:disconnect()
  897. coroutine.resume(coroutine.create(function() wait(0.3) if attack==false or shootmode==true then combo=0 print("Ended") end end))
  898. attack=false
  899. wait(0.1)
  900. bg.Parent=nil
  901. --if attack==false then Say(1) end
  902. if attack==false and Did~=0 then print("Did "..Did.." units of damage") Did=0 end
  903. Torso.Neck.C0=necko*euler(0,0,0)
  904. kicking=false
  905. end
  906. function HeavyKick1()
  907. attack=true
  908. kicking=true
  909. combo=1
  910. bg.maxTorque = vt(math.huge,math.huge,math.huge)
  911. bg.P = 500000
  912. bg.Parent = Head
  913. bg.cframe=Head.CFrame
  914. for i=0,1,0.1 do
  915. wait()
  916. Torso.Neck.C0=necko*euler(0,0,1.57*i)
  917. --bg.cframe=Head.CFrame*euler(0,0.3,0)
  918. LW.C0 = cf(-1.5,0.5,0) * euler(-0.5,0,0)
  919. LW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  920. RW.C0 = cf(1.5,0.5,0) * euler(0,0,0.5)
  921. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  922. RWL.C0 = cf(0,-0.5,0) * euler(0,0,0.5*i)
  923. RWL.C1 = cf(-0.5,1.5,0) * euler(0,0,0)
  924. LWL.C0 = cf(0,-0.5,0) * euler(0,0,0)
  925. LWL.C1 = cf(0.5,1.5,0) * euler(0,0,0)
  926. end
  927. ss(0.8)
  928. con1=RightLeg.Touched:connect(function(hit) Damagefunc2(hit,20,1,RightLeg.CFrame*CFrame.new(0,-1,0),1) kicked=true end)
  929. for i=0,1,0.15 do
  930. wait()
  931. Torso.Neck.C0=necko*euler(0,-0.5*i,1.57-3.14*i)
  932. --bg.cframe=Head.CFrame*euler(0,0.3,0)
  933. LW.C0 = cf(-1.5,0.5,0) * euler(-0.5,0,-0.5*i)
  934. LW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  935. RW.C0 = cf(1.5,0.5,0) * euler(1.57*i,0,0.5-1*i)
  936. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  937. RWL.C0 = cf(0,-0.5,0) * euler(0,0,0.5+0.5*i)
  938. RWL.C1 = cf(-0.5,1.5,0) * euler(0,0,0)
  939. LWL.C0 = cf(0,-0.5,0) * euler(0,0,0)
  940. LWL.C1 = cf(0.5,1.5,0) * euler(0,0,0)
  941. end
  942. for i=0,1,0.1 do
  943. wait()
  944. Torso.Neck.C0=necko*euler(0,-0.5+0.5*i,1.57-3.14)
  945. bg.cframe=Head.CFrame*euler(0,0.6,0)
  946. LW.C0 = cf(-1.5,0.5,0) * euler(-0.5,0,-0.5+0.5*i)
  947. LW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  948. RW.C0 = cf(1.5,0.5,0) * euler(1.57-1.57*i,0,0.5-1+1*i)
  949. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  950. RWL.C0 = cf(0,-0.5,0) * euler(0,0,0.5+0.5-1*i)
  951. RWL.C1 = cf(-0.5,1.5,0) * euler(0,0,0)
  952. LWL.C0 = cf(0,-0.5,0) * euler(0,0,0)
  953. LWL.C1 = cf(0.5,1.5,0) * euler(0,0,0)
  954. end
  955. con1:disconnect()
  956. coroutine.resume(coroutine.create(function() wait(0.3) if attack==false or shootmode==true then combo=0 print("Ended") end end))
  957. attack=false
  958. kicking=false
  959. bg.Parent=nil
  960. for i=0,1,0.1 do
  961. if attack==false then
  962. wait()
  963. Torso.Neck.C0=necko*euler(0,0,1.57-3.14+1.57*i)
  964. end
  965. end
  966. if attack==false then Say(1) end
  967. if attack==false and Did~=0 then print("Did "..Did.." units of damage") Did=0 end
  968. end
  969. function HeavyKick2()
  970. attack=true
  971. kicking=true
  972. combo=2
  973. bg.maxTorque = vt(math.huge,math.huge,math.huge)
  974. bg.P = 500000
  975. bg.Parent = Head
  976. bg.cframe=Head.CFrame
  977. ss(0.9)
  978. con1=LeftLeg.Touched:connect(function(hit) Damagefunc3(hit,20,30,RightArm.CFrame*CFrame.new(0,-1,0),1.5) kicked=true end)
  979. for i=0,1,0.15 do
  980. wait()
  981. Torso.Neck.C0=necko*euler(0,0.3*i,-1.57+3.14*i)
  982. --bg.cframe=Head.CFrame*euler(0,0.6,0)
  983. LW.C0 = cf(-1.5,0.5,0) * euler(-0.5-0.5*i,0,0)
  984. LW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  985. RW.C0 = cf(1.5,0.5,0) * euler(0,0,0.5)
  986. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  987. RWL.C0 = cf(0,-0.5,0) * euler(0,0,0)
  988. RWL.C1 = cf(-0.5,1.5,0) * euler(0,0,0)
  989. LWL.C0 = cf(0,-0.5,0) * euler(0,0,0)
  990. LWL.C1 = cf(0.5,1.5,0) * euler(-0.5*i,0,0.8*i)
  991. end
  992. game:GetService("Chat"):Chat(Character,"Fall!",2)
  993. for i=0,1,0.1 do
  994. wait()
  995. Torso.Neck.C0=necko*euler(0,0.3+0.1*i,-1.57+3.14+0.2*i)
  996. --bg.cframe=Head.CFrame*euler(0,0.6,0)
  997. LW.C0 = cf(-1.5,0.5,0) * euler(-0.5-0.5,0,0)
  998. LW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  999. RW.C0 = cf(1.5,0.5,0) * euler(0,0,0.5)
  1000. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1001. RWL.C0 = cf(0,-0.5,0) * euler(0,0,0)
  1002. RWL.C1 = cf(-0.5,1.5,0) * euler(0,0,0)
  1003. LWL.C0 = cf(0,-0.5,0) * euler(0,0,0)
  1004. LWL.C1 = cf(0.5,1.5,0) * euler(-0.5-0.1*i,0,0.8+0.2*i)
  1005. end
  1006. con1:disconnect()
  1007. coroutine.resume(coroutine.create(function() wait(0.3) if attack==false or shootmode==true then combo=0 print("Ended") end end))
  1008. attack=false
  1009. kicking=false
  1010. bg.Parent=nil
  1011. for i=0,1,0.1 do
  1012. wait()
  1013. Torso.Neck.C0=necko*euler(0,0.3+0.1-0.4*i,-1.57+3.14-1.57*i)
  1014. --bg.cframe=Head.CFrame*euler(0,0.6,0)
  1015. LW.C0 = cf(-1.5,0.5,0) * euler(-0.5-0.5+0.5*i,0,0)
  1016. LW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1017. RW.C0 = cf(1.5,0.5,0) * euler(0,0,0.5)
  1018. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1019. RWL.C0 = cf(0,-0.5,0) * euler(0,0,0)
  1020. RWL.C1 = cf(-0.5,1.5,0) * euler(0,0,0)
  1021. LWL.C0 = cf(0,-0.5,0) * euler(0,0,0)
  1022. LWL.C1 = cf(0.5,1.5,0) * euler(-0.5-0.1+0.6*i,0,0.8+0.2-1*i)
  1023. end
  1024. if attack==false then Say(1) end
  1025. if attack==false and Did~=0 then print("Did "..Did.." units of damage") Did=0 end
  1026. end
  1027. function Grab()
  1028. attack=true
  1029. bg.maxTorque = vt(math.huge,math.huge,math.huge)
  1030. bg.P = 500000
  1031. bg.Parent = Head
  1032. bg.cframe=Head.CFrame
  1033. ss(1.1)
  1034. con1=RightArm.Touched:connect(function(hit)
  1035. if grabbed==true then return end
  1036. if hit.Parent==nil then
  1037. return
  1038. end
  1039. -- CPlayer=Bin
  1040. h=hit.Parent:FindFirstChild("Humanoid")
  1041. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  1042. if attackdebounce == false then
  1043. attackdebounce = true
  1044. coroutine.resume(coroutine.create(function()
  1045. wait(0.2)
  1046. attackdebounce = false
  1047. end))
  1048. end
  1049. b=math.random(1,3)
  1050. if b==1 then
  1051. game:GetService("Chat"):Chat(Character,"You're mine!",2)
  1052. elseif b==2 then
  1053. game:GetService("Chat"):Chat(Character,"Gotcha.",2)
  1054. end
  1055. bg.maxTorque = vt(math.huge,math.huge,math.huge)
  1056. bg.P = 5000000
  1057. bg.Parent = Head
  1058. bg.cframe=Head.CFrame
  1059. bb=it("BodyPosition")
  1060. bb.P=5000
  1061. bb.D=100
  1062. bb.maxForce=vt(math.huge,math.huge,math.huge)
  1063. bb.position=Torso.Position
  1064. bb.Parent=Torso
  1065. hit.Parent.Humanoid.PlatformStand=false
  1066. w=Instance.new("Weld")
  1067. w.Parent=RightArm
  1068. w.Part0=RightArm
  1069. w.Part1=hit.Parent.Torso
  1070. w.C0=CFrame.new(0,-1,0)*CFrame.fromEulerAnglesXYZ(1.57,0,3.14)
  1071. grabbed=true
  1072. for i=0,1,0.1 do
  1073. wait()
  1074. attack=true
  1075. Torso.Neck.C0=necko*euler(0,0,-1.57+1.57*i)
  1076. LW.C0 = cf(-1.5,0.5,0) * euler(-0.5,0,-0.5)
  1077. LW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1078. RW.C0 = cf(1.5,0.5,0) * euler(1.57,0,1.57-1.57*i)
  1079. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1080. RWL.C0 = cf(0,-0.5,0) * euler(-1*i,0,0)
  1081. RWL.C1 = cf(-0.5,1.5,0) * euler(0,0,0)
  1082. LWL.C0 = cf(0,-0.5,0) * euler(0,0,0)
  1083. LWL.C1 = cf(0.5,1.5,0) * euler(0,0,0)
  1084. end
  1085. wait(0.2)
  1086. w.Parent=nil
  1087. hit.Parent.Humanoid.PlatformStand=false
  1088. grabbed=false
  1089. con2=RightLeg.Touched:connect(function(hit) Damagefunc3(hit,20,50,RightArm.CFrame*CFrame.new(0,-1,0),1.5) kicked=true end)
  1090. ss(1.2)
  1091. game:GetService("Chat"):Chat(Character,"Fly!",2)
  1092. for i=0,1,0.2 do
  1093. wait()
  1094. Torso.Neck.C0=necko*euler(0.5*i,0,0)
  1095. LW.C0 = cf(-1.5,0.5,0) * euler(-0.5-0.5*i,0,-0.5)
  1096. LW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1097. RW.C0 = cf(1.5,0.5,0) * euler(1.57-2.57*i,0,0)
  1098. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1099. RWL.C0 = cf(0,-0.5,0) * euler(-1+2.5*i,0,0)
  1100. RWL.C1 = cf(-0.5,1.5,0) * euler(0,0,0)
  1101. LWL.C0 = cf(0,-0.5,0) * euler(0,0,0)
  1102. LWL.C1 = cf(0.5,1.5,0) * euler(0,0,0)
  1103. end
  1104. con2:disconnect()
  1105. for i=0,1,0.1 do
  1106. wait()
  1107. Torso.Neck.C0=necko*euler(0.5,0,0)
  1108. LW.C0 = cf(-1.5,0.5,0) * euler(-0.5-0.5-0.1*i,0,-0.5)
  1109. LW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1110. RW.C0 = cf(1.5,0.5,0) * euler(1.57-2.57+0.2*i,0,0)
  1111. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1112. RWL.C0 = cf(0,-0.5,0) * euler(-1+2.5+0.1*i,0,0)
  1113. RWL.C1 = cf(-0.5,1.5,0) * euler(0,0,0)
  1114. LWL.C0 = cf(0,-0.5,0) * euler(0,0,0)
  1115. LWL.C1 = cf(0.5,1.5,0) * euler(0,0,0)
  1116. end
  1117. for i=0,1,0.1 do
  1118. wait()
  1119. Torso.Neck.C0=necko*euler(0.5-0.5*i,0,0)
  1120. LW.C0 = cf(-1.5,0.5,0) * euler(-0.5-0.5-0.1+0.6*i,0,-0.5+0.5*i)
  1121. LW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1122. RW.C0 = cf(1.5,0.5,0) * euler(1.57-2.57+1*i,0,0.5*i)
  1123. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1124. RWL.C0 = cf(0,-0.5,0) * euler(-1+2.5-1.5*i,0,0)
  1125. RWL.C1 = cf(-0.5,1.5,0) * euler(0,0,0)
  1126. LWL.C0 = cf(0,-0.5,0) * euler(0,0,0)
  1127. LWL.C1 = cf(0.5,1.5,0) * euler(0,0,0)
  1128. end
  1129. attack=false
  1130. if attack==false and Did~=0 then print("Did "..Did.." units of damage") Did=0 end
  1131. print("OHOHOHOH")
  1132. wait(2)
  1133. if attack==false then Say(1) end
  1134. Enemy=nil
  1135. HP=0
  1136. Did=0
  1137. bb.Parent=nil
  1138. bg.Parent=nil
  1139. end
  1140. end)
  1141. for i=0,1,0.15 do
  1142. wait()
  1143. Torso.Neck.C0=necko*euler(0,0,-1.57*i)
  1144. LW.C0 = cf(-1.5,0.5,0) * euler(-0.5,0,-0.5*i)
  1145. LW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1146. RW.C0 = cf(1.5,0.5,0) * euler(1.57*i,0,0.5+1.07*i)
  1147. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1148. end
  1149. con1:disconnect()
  1150. attack=false
  1151. wait(0.2)
  1152. print(grabbed)
  1153. if grabbed==false then
  1154. bg.Parent=nil
  1155. b=math.random(1,3)
  1156. if b==1 then
  1157. game:GetService("Chat"):Chat(Character,"Missed...",2)
  1158. elseif b==2 then
  1159. game:GetService("Chat"):Chat(Character,"Get over here.",2)
  1160. end
  1161. for i=0,1,0.1 do
  1162. if attack==false then
  1163. wait()
  1164. Torso.Neck.C0=necko*euler(0,0,-1.57+1.57*i)
  1165. LW.C0 = cf(-1.5,0.5,0) * euler(-0.5,0,-0.5+0.5*i)
  1166. LW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1167. RW.C0 = cf(1.5,0.5,0) * euler(1.57-1.57*i,0,0.5+1.07-1.07*i)
  1168. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1169. end
  1170. end
  1171. Enemy=nil
  1172. HP=0
  1173. end
  1174. grabbed=false
  1175. end
  1176. function Taunt()
  1177. attack=true
  1178. bg.maxTorque = vt(math.huge,math.huge,math.huge)
  1179. bg.P = 500000
  1180. bg.Parent = Head
  1181. bg.cframe=Head.CFrame
  1182. for i=0,1,0.1 do
  1183. wait()
  1184. Torso.Neck.C0=necko*euler(0,0,-1.57*i)
  1185. LW.C0 = cf(-1.5,0.5,0) * euler(-0.5,0,-0.5*i)
  1186. LW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1187. RW.C0 = cf(1.5,0.5,0) * euler(0,0,0.5+1.07*i)
  1188. RW.C1 = cf(0, 0.5, 0) * euler(0,1.57*i,0)
  1189. end
  1190. Say(2)
  1191. for i=1,2 do
  1192. for i=0,1,0.25 do
  1193. wait()
  1194. Torso.Neck.C0=necko*euler(0,0,-1.57)
  1195. LW.C0 = cf(-1.5,0.5,0) * euler(-0.5,0,-0.5)
  1196. LW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1197. RW.C0 = cf(1.5,0.5,0) * euler(0,0,1.57+0.5*i)
  1198. RW.C1 = cf(0, 0.5, 0) * euler(0,1.57,0)
  1199. end
  1200. for i=0,1,0.25 do
  1201. wait()
  1202. Torso.Neck.C0=necko*euler(0,0,-1.57)
  1203. LW.C0 = cf(-1.5,0.5,0) * euler(-0.5,0,-0.5)
  1204. LW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1205. RW.C0 = cf(1.5,0.5,0) * euler(0,0,1.57+0.5-0.5*i)
  1206. RW.C1 = cf(0, 0.5, 0) * euler(0,1.57,0)
  1207. end
  1208. end
  1209. for i=0,1,0.1 do
  1210. wait()
  1211. Torso.Neck.C0=necko*euler(0,0,-1.57)
  1212. LW.C0 = cf(-1.5,0.5,0) * euler(-0.5,0,-0.5)
  1213. LW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1214. RW.C0 = cf(1.5,0.5,0) * euler(-0.6*i,0,1.57+1*i)
  1215. RW.C1 = cf(0, 0.5, 0) * euler(0,1.57,0)
  1216. end
  1217. for i=0,1,0.2 do
  1218. wait()
  1219. Torso.Neck.C0=necko*euler(0,0,-1.57+1*i)
  1220. LW.C0 = cf(-1.5,0.5,0) * euler(-0.5,0,-0.5)
  1221. LW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1222. RW.C0 = cf(1.5,0.5,0) * euler(-0.6*i,0,1.57+1-2*i)
  1223. RW.C1 = cf(0, 0.5, 0) * euler(0,1.57-1*i,0)
  1224. end
  1225. for i=0,1,0.1 do
  1226. wait()
  1227. Torso.Neck.C0=necko*euler(0,0,-1.57+1+0.1*i)
  1228. LW.C0 = cf(-1.5,0.5,0) * euler(-0.5,0,-0.5)
  1229. LW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1230. RW.C0 = cf(1.5,0.5,0) * euler(-0.6-0.2*i,0,1.57+1-2-0.2*i)
  1231. RW.C1 = cf(0, 0.5, 0) * euler(0,1.57-1,0)
  1232. end
  1233. for i=0,1,0.1 do
  1234. wait()
  1235. Torso.Neck.C0=necko*euler(0,0,-1.57+1.1+0.47*i)
  1236. LW.C0 = cf(-1.5,0.5,0) * euler(-0.5,0,-0.5+0.5*i)
  1237. LW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1238. RW.C0 = cf(1.5,0.5,0) * euler(-0.8+0.8*i,0,0.37+0.13*i)
  1239. RW.C1 = cf(0, 0.5, 0) * euler(0,1.57-1-0.57*i,0)
  1240. end
  1241. bg.Parent=nil
  1242. attack=false
  1243. end
  1244. function Aim()
  1245. attack=true
  1246. if shootmode==false then
  1247. shootmode=true
  1248. --grip(1.7)
  1249. wld11a.Part1 = LeftArm
  1250. wld11a.C0 = euler(1.75,0,0) * cf(0,1,0)
  1251. --[[for i=0,1,0.1 do
  1252. wait()
  1253. bg.cframe = Head.CFrame*euler(0,0,0)
  1254. Torso.Neck.C0=necko*euler(0,0,0)
  1255. LW.C0 = cf(-1.5,0.5,0) * euler(-0.5+3.14*i,0,0)
  1256. LW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1257. RW.C0 = cf(1.5,0.5,0) * euler(0,0,0.5)
  1258. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1259. end]]
  1260. coroutine.resume(coroutine.create(function()
  1261. while shootmode==true do
  1262. wait()
  1263. bg.P = 500000
  1264. local pos4 = vt(MMouse.Hit.p.x,Head.Position.Y,MMouse.Hit.p.z)
  1265. bg.cframe = cf(Head.Position,pos4) * euler(0,0,0) * cf(0,0,0) --cf(Torso.Position,MMouse.Hit.p) *
  1266. offset=(Torso.Position.y-MMouse.Hit.p.y)/60
  1267. mag=(Torso.Position-MMouse.Hit.p).magnitude/80
  1268. offset=offset/mag
  1269. --[[Torso.Neck.C0=necko*euler(0,0,1.57)
  1270. Torso.Neck.C1=necko2*euler(-offset,0,0) ]]
  1271. LW.C0 = cf(-1.5,0.5,0) * euler(0,0,-1.57)
  1272. LW.C1 = cf(0, 0.5, 0) * euler(offset,-1.57,0)
  1273. RW.C0 = cf(1.5,0.5,0) * euler(0,0,0.5)
  1274. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1275. end
  1276. end))
  1277. for i=0,1,0.1 do
  1278. wait()
  1279. bg.Parent = Head
  1280. bg.maxTorque = vt(math.huge,math.huge,math.huge)
  1281. bg.P = 500000
  1282. --bg.cframe = Head.CFrame*euler(0,0,0)
  1283. Torso.Neck.C0=necko*euler(0,0,1.57*i)
  1284. LW.C0 = cf(-1.5,0.5,0) * euler(0,0,-1.57*i)
  1285. LW.C1 = cf(0, 0.5, 0) * euler(0,-1.57*i,0)
  1286. RW.C0 = cf(1.5,0.5,0) * euler(0,0,0.5)
  1287. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1288. end
  1289. elseif shootmode==true then
  1290. shootmode=false
  1291. for i=0,1,0.1 do
  1292. wait()
  1293. bg.Parent = Head
  1294. bg.P = 500000
  1295. bg.cframe = Head.CFrame*euler(0,0,0)
  1296. Torso.Neck.C0=necko*euler(0,0,1.57-1.57*i)
  1297. LW.C0 = cf(-1.5,0.5,0) * euler(-0.5*i,0,-1.57+1.57*i)
  1298. LW.C1 = cf(0, 0.5, 0) * euler(offset-offset*i,-1.57+1.57*i,0)
  1299. RW.C0 = cf(1.5,0.5,0) * euler(0,0,0.5)
  1300. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1301. end
  1302. bg.Parent=nil
  1303. --[[wld11a.Part1 = LeftLeg
  1304. wld11a.C0 = euler(3.9,0,0) * cf(0.7,-0.5,0.5)
  1305. for i=0,1,0.1 do
  1306. wait()
  1307. bg.cframe = Head.CFrame*euler(0,0,0)
  1308. Torso.Neck.C0=necko*euler(0,0,0)
  1309. LW.C0 = cf(-1.5,0.5,0) * euler(-0.5,0,0)
  1310. LW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1311. RW.C0 = cf(1.5,0.5,0) * euler(0,0,0.5)
  1312. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1313. end]]
  1314. attack=false
  1315. end
  1316. attack=false
  1317. end
  1318. function Shoot()
  1319. attack=true
  1320. spread2 = 0
  1321. range2 = 100
  1322. rangepower = 10
  1323. if currentam==6 then
  1324. currentam=0
  1325. reload(0.75)
  1326. for i=0,1,0.3 do
  1327. wait()
  1328. LW.C0 = cf(-1.5,0.5,0) * euler(0,0,-1.57)
  1329. LW.C1 = cf(0, 0.5, 0) * euler(offset+0.7*i,-1.57,0)
  1330. RW.C0 = cf(1.5,0.5,0) * euler(0,0,0.5)
  1331. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1332. end
  1333. for i=0,1,0.3 do
  1334. wait()
  1335. LW.C0 = cf(-1.5,0.5,0) * euler(0,0,-1.57)
  1336. LW.C1 = cf(0, 0.5, 0) * euler(offset+0.7-0.7*i,-1.57,0)
  1337. RW.C0 = cf(1.5,0.5,0) * euler(0,0,0.5)
  1338. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1339. end
  1340. wait(0.5)
  1341. else
  1342. fire1(0.3)
  1343. --[[ s=it("Sound")
  1344. s.SoundId="http://www.roblox.com/asset/?id=2801263"
  1345. s.Volume=1
  1346. s.Pitch=2
  1347. s.Parent=Head
  1348. s:Play()
  1349. coroutine.resume(coroutine.create(function()
  1350. wait(2)
  1351. s.Parent=nil
  1352. end))
  1353. thesound=s
  1354. doSound(thesound,60,thesound.Parent,thesound.Volume*100)]]
  1355. currentam=currentam+1
  1356. shoottrail2(handle34,10)
  1357. for i=0,1,0.3 do
  1358. wait()
  1359. LW.C0 = cf(-1.5,0.5,0) * euler(0,0,-1.57)
  1360. LW.C1 = cf(0, 0.5, 0) * euler(offset-0.5*i,-1.57,0)
  1361. RW.C0 = cf(1.5,0.5,0) * euler(0,0,0.5)
  1362. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1363. end
  1364. for i=0,1,0.3 do
  1365. wait()
  1366. LW.C0 = cf(-1.5,0.5,0) * euler(0,0,-1.57)
  1367. LW.C1 = cf(0, 0.5, 0) * euler(offset-0.5+0.5*i,-1.57,0)
  1368. RW.C0 = cf(1.5,0.5,0) * euler(0,0,0.5)
  1369. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1370. end
  1371. end
  1372. attack=false
  1373. end
  1374. function RapidShoot()
  1375. attack=true
  1376. spread2 = 5
  1377. range2 = 100
  1378. rangepower = 10
  1379. for i=0,1,0.1 do
  1380. wait()
  1381. LW.C0 = cf(-1.5,0.5,0) * euler(0,0,0)
  1382. LW.C1 = cf(0, 0.5, 0) * euler(offset-1.57-0.5*i,-1.57,0)
  1383. RW.C0 = cf(1.5,0.5,0) * euler(0,0,0.5)
  1384. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1385. end
  1386. for i=1,6 do
  1387. LW.C0 = cf(-1.5,0.5,0) * euler(0,0,0)
  1388. LW.C1 = cf(0, 0.5, 0) * euler(offset-1.57,-1.57,0)
  1389. RW.C0 = cf(1.5,0.5,0) * euler(0,0,0.5)
  1390. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1391. fire1(0.3)
  1392. shoottrail2(handle34,5)
  1393. for i=0,1,0.7 do
  1394. wait(0)
  1395. LW.C0 = cf(-1.5,0.5,0) * euler(0,0,0)
  1396. LW.C1 = cf(0, 0.5, 0) * euler(offset-1.57-0.5*i,-1.57,0)
  1397. RW.C0 = cf(1.5,0.5,0) * euler(0,0,0.5)
  1398. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1399. end
  1400. for i=0,1,0.7 do
  1401. wait(0)
  1402. LW.C0 = cf(-1.5,0.5,0) * euler(0,0,0)
  1403. LW.C1 = cf(0, 0.5, 0) * euler(offset-1.57-0.5+0.5*i,-1.57,0)
  1404. RW.C0 = cf(1.5,0.5,0) * euler(0,0,0.5)
  1405. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1406. end
  1407. end
  1408. while rapidshooting==true and mana >= 10 do
  1409. mana=mana-10
  1410. LW.C0 = cf(-1.5,0.5,0) * euler(0,0,0)
  1411. LW.C1 = cf(0, 0.5, 0) * euler(offset-1.57,-1.57,0)
  1412. RW.C0 = cf(1.5,0.5,0) * euler(0,0,0.5)
  1413. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1414. fire1(0.3)
  1415. shoottrail2(handle34,5)
  1416. for i=0,1,0.7 do
  1417. wait(0)
  1418. LW.C0 = cf(-1.5,0.5,0) * euler(0,0,0)
  1419. LW.C1 = cf(0, 0.5, 0) * euler(offset-1.57-0.5*i,-1.57,0)
  1420. RW.C0 = cf(1.5,0.5,0) * euler(0,0,0.5)
  1421. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1422. end
  1423. for i=0,1,0.7 do
  1424. wait(0)
  1425. LW.C0 = cf(-1.5,0.5,0) * euler(0,0,0)
  1426. LW.C1 = cf(0, 0.5, 0) * euler(offset-1.57-0.5+0.5*i,-1.57,0)
  1427. RW.C0 = cf(1.5,0.5,0) * euler(0,0,0.5)
  1428. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1429. end
  1430. end
  1431. reload(0.75)
  1432. currentam=0
  1433. for i=0,1,0.3 do
  1434. wait()
  1435. LW.C0 = cf(-1.5,0.5,0) * euler(0,0,-1.57)
  1436. LW.C1 = cf(0, 0.5, 0) * euler(offset+0.7*i,-1.57,0)
  1437. RW.C0 = cf(1.5,0.5,0) * euler(0,0,0.5)
  1438. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1439. end
  1440. for i=0,1,0.3 do
  1441. wait()
  1442. LW.C0 = cf(-1.5,0.5,0) * euler(0,0,-1.57)
  1443. LW.C1 = cf(0, 0.5, 0) * euler(offset+0.7-0.7*i,-1.57,0)
  1444. RW.C0 = cf(1.5,0.5,0) * euler(0,0,0.5)
  1445. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1446. end
  1447. wait(0.5)
  1448. attack=false
  1449. end
  1450. function FullBlast()
  1451. attack=true
  1452. spread2 = 10
  1453. range2 = 100
  1454. rangepower = 10
  1455. for i=0,1,0.1 do
  1456. wait()
  1457. LW.C0 = cf(-1.5,0.5,0) * euler(0,0,0)
  1458. LW.C1 = cf(0, 0.5, 0) * euler(offset-1.57-0.5*i,-1.57,0)
  1459. RW.C0 = cf(1.5,0.5,0) * euler(0,0,0.5)
  1460. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1461. end
  1462. for i=1,6 do
  1463. coroutine.resume(coroutine.create(function()
  1464. LW.C0 = cf(-1.5,0.5,0) * euler(0,0,0)
  1465. LW.C1 = cf(0, 0.5, 0) * euler(offset-1.57,-1.57,0)
  1466. RW.C0 = cf(1.5,0.5,0) * euler(0,0,0.5)
  1467. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1468. fire1(0.3)
  1469. shoottrail2(handle34,5)
  1470. for i=0,1,0.7 do
  1471. wait(0)
  1472. LW.C0 = cf(-1.5,0.5,0) * euler(0,0,0)
  1473. LW.C1 = cf(0, 0.5, 0) * euler(offset-1.57-0.5*i,-1.57,0)
  1474. RW.C0 = cf(1.5,0.5,0) * euler(0,0,0.5)
  1475. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1476. end
  1477. for i=0,1,0.7 do
  1478. wait(0)
  1479. LW.C0 = cf(-1.5,0.5,0) * euler(0,0,0)
  1480. LW.C1 = cf(0, 0.5, 0) * euler(offset-1.57-0.5+0.5*i,-1.57,0)
  1481. RW.C0 = cf(1.5,0.5,0) * euler(0,0,0.5)
  1482. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1483. end
  1484. end))
  1485. end
  1486. wait(0.5)
  1487. reload(0.75)
  1488. currentam=0
  1489. for i=0,1,0.3 do
  1490. wait()
  1491. LW.C0 = cf(-1.5,0.5,0) * euler(0,0,-1.57)
  1492. LW.C1 = cf(0, 0.5, 0) * euler(offset+0.7*i,-1.57,0)
  1493. RW.C0 = cf(1.5,0.5,0) * euler(0,0,0.5)
  1494. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1495. end
  1496. for i=0,1,0.3 do
  1497. wait()
  1498. LW.C0 = cf(-1.5,0.5,0) * euler(0,0,-1.57)
  1499. LW.C1 = cf(0, 0.5, 0) * euler(offset+0.7-0.7*i,-1.57,0)
  1500. RW.C0 = cf(1.5,0.5,0) * euler(0,0,0.5)
  1501. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1502. end
  1503. wait(0.5)
  1504. attack=false
  1505. end
  1506. function LaserShot()
  1507. attack=true
  1508. Character.Humanoid.WalkSpeed=0
  1509. for i=0,1,0.2 do
  1510. wait()
  1511. LW.C0 = cf(-1.5,0.5,0) * euler(0,0,-1.57)
  1512. LW.C1 = cf(0, 0.5, 0) * euler(offset-1*i,-1.57,0)
  1513. RW.C0 = cf(1.5,0.5,0) * euler(0,0,0.5)
  1514. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1515. end
  1516. grip(1.7)
  1517. for i=0,1,0.5 do
  1518. wait()
  1519. LW.C0 = cf(-1.5,0.5,0) * euler(0,0,-1.57)
  1520. LW.C1 = cf(0, 0.5, 0) * euler(offset-1+1*i,-1.57,0)
  1521. RW.C0 = cf(1.5,0.5,0) * euler(0,0,0.5)
  1522. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1523. end
  1524. for i=1,30 do
  1525. wait()
  1526. ChargeEffect(handle34,2,2,2,math.random(-10,10),math.random(-10,10),math.random(-10,10),0,0,0,BrickColor.new("Gold"))
  1527. end
  1528. wait(0.2)
  1529. Laser(handle34,math.random(40,80))
  1530. fire1(0.2)
  1531. fire1(0.3)
  1532. fire1(0.4)
  1533. for i=0,1,0.7 do
  1534. wait(0)
  1535. LW.C0 = cf(-1.5,0.5,0) * euler(0,0,0)
  1536. LW.C1 = cf(0, 0.5, 0) * euler(offset-1.57-0.5*i,-1.57,0)
  1537. RW.C0 = cf(1.5,0.5,0) * euler(0,0,0.5)
  1538. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1539. end
  1540. for i=0,1,0.7 do
  1541. wait(0)
  1542. LW.C0 = cf(-1.5,0.5,0) * euler(0,0,0)
  1543. LW.C1 = cf(0, 0.5, 0) * euler(offset-1.57-0.5+0.5*i,-1.57,0)
  1544. RW.C0 = cf(1.5,0.5,0) * euler(0,0,0.5)
  1545. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1546. end
  1547. wait(0.5)
  1548. Character.Humanoid.WalkSpeed=16
  1549. attack=false
  1550. end
  1551. function Obliterate()
  1552. if mana >= 400 then
  1553. attack=true
  1554. coroutine.resume(coroutine.create(function()
  1555. while attack==true do
  1556. wait()
  1557. mana=0
  1558. end
  1559. end))
  1560. Character.Humanoid.WalkSpeed=0
  1561. for i=0,1,0.1 do
  1562. wait()
  1563. LW.C0 = cf(-1.5,0.5,0) * euler(0,0,0)
  1564. LW.C1 = cf(0, 0.5, 0) * euler(offset-offset-1.57-1.57*i,-1.57,0)
  1565. RW.C0 = cf(1.5,0.5,0) * euler(0,0,0.5)
  1566. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1567. end
  1568. local derpsparkles=it("Sparkles")
  1569. derpsparkles.Parent=handle32
  1570. derpsparkles.SparkleColor=Color3.new(255, 255, 127)
  1571. derpsparkles.Enabled=true
  1572. charge(0.5)
  1573. for i=1,60 do
  1574. wait()
  1575. LW.C0 = cf(-1.5,0.5,0) * euler(0,0,0)
  1576. LW.C1 = cf(0, 0.5, 0) * euler(offset-offset-1.57-1.57,-1.57,0)
  1577. RW.C0 = cf(1.5,0.5,0) * euler(0,0,0.5)
  1578. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1579. ChargeEffect(handle34,2,2,2,math.random(-10,10),math.random(-10,10),math.random(-10,10),0,0,0,BrickColor.new("Gold"))
  1580. end
  1581. for i=0,1,0.1 do
  1582. wait()
  1583. LW.C0 = cf(-1.5,0.5,0) * euler(0,0,0)
  1584. LW.C1 = cf(0, 0.5, 0) * euler(offset-offset+offset-1.57-1.57+1.57*i,-1.57,0)
  1585. RW.C0 = cf(1.5,0.5,0) * euler(0,0,0.5)
  1586. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1587. end
  1588. wait(0.2)
  1589. for i=1,3 do
  1590. spread2 = 5
  1591. range2 = 100
  1592. rangepower = 10
  1593. wait(0.3)
  1594. for i=1,6 do
  1595. coroutine.resume(coroutine.create(function()
  1596. LW.C0 = cf(-1.5,0.5,0) * euler(0,0,0)
  1597. LW.C1 = cf(0, 0.5, 0) * euler(offset-1.57,-1.57,0)
  1598. RW.C0 = cf(1.5,0.5,0) * euler(0,0,0.5)
  1599. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1600. fire1(0.3)
  1601. shoottrail2(handle34,5)
  1602. for i=0,1,0.7 do
  1603. wait(0)
  1604. LW.C0 = cf(-1.5,0.5,0) * euler(0,0,0)
  1605. LW.C1 = cf(0, 0.5, 0) * euler(offset-1.57-0.5*i,-1.57,0)
  1606. RW.C0 = cf(1.5,0.5,0) * euler(0,0,0.5)
  1607. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1608. end
  1609. for i=0,1,0.7 do
  1610. wait(0)
  1611. LW.C0 = cf(-1.5,0.5,0) * euler(0,0,0)
  1612. LW.C1 = cf(0, 0.5, 0) * euler(offset-1.57-0.5+0.5*i,-1.57,0)
  1613. RW.C0 = cf(1.5,0.5,0) * euler(0,0,0.5)
  1614. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1615. end
  1616. end))
  1617. end
  1618. end
  1619. for i=1,10 do
  1620. spread2 = 2
  1621. range2 = 100
  1622. rangepower = 10
  1623. LW.C0 = cf(-1.5,0.5,0) * euler(0,0,0)
  1624. LW.C1 = cf(0, 0.5, 0) * euler(offset-1.57,-1.57,0)
  1625. RW.C0 = cf(1.5,0.5,0) * euler(0,0,0.5)
  1626. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1627. for i=1,2 do
  1628. fire1(0.3)
  1629. shoottrail2(handle34,5)
  1630. end
  1631. for i=0,1,0.9 do
  1632. wait(0)
  1633. LW.C0 = cf(-1.5,0.5,0) * euler(0,0,0)
  1634. LW.C1 = cf(0, 0.5, 0) * euler(offset-1.57-0.5*i,-1.57,0)
  1635. RW.C0 = cf(1.5,0.5,0) * euler(0,0,0.5)
  1636. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1637. end
  1638. for i=0,1,0.9 do
  1639. wait(0)
  1640. LW.C0 = cf(-1.5,0.5,0) * euler(0,0,0)
  1641. LW.C1 = cf(0, 0.5, 0) * euler(offset-1.57-0.5+0.5*i,-1.57,0)
  1642. RW.C0 = cf(1.5,0.5,0) * euler(0,0,0.5)
  1643. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1644. end
  1645. end
  1646. for i=0,1,0.2 do
  1647. wait(0)
  1648. LW.C0 = cf(-1.5,0.5,0) * euler(0,0,0)
  1649. LW.C1 = cf(0, 0.5, 0) * euler(offset-1.57-0.5*i,-1.57,0)
  1650. RW.C0 = cf(1.5,0.5,0) * euler(0,0,0.5)
  1651. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1652. end
  1653. for i=0,1,0.2 do
  1654. wait(0)
  1655. LW.C0 = cf(-1.5,0.5,0) * euler(0,0,0)
  1656. LW.C1 = cf(0, 0.5, 0) * euler(offset-1.57-0.5+0.5*i,-1.57,0)
  1657. RW.C0 = cf(1.5,0.5,0) * euler(0,0,0.5)
  1658. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1659. end
  1660. spread2 = 5
  1661. range2 = 100
  1662. rangepower = 20
  1663. LW.C0 = cf(-1.5,0.5,0) * euler(0,0,0)
  1664. LW.C1 = cf(0, 0.5, 0) * euler(offset-1.57,-1.57,0)
  1665. RW.C0 = cf(1.5,0.5,0) * euler(0,0,0.5)
  1666. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1667. derpsparkles.Enabled=false
  1668. local derpsmoke=it("Smoke")
  1669. derpsmoke.Parent=handle32
  1670. derpsmoke.Color=Color3.new(189, 189, 0)
  1671. derpsmoke.Opacity=0.05
  1672. derpsmoke.Size=0.5
  1673. for i=1,10 do
  1674. fire1(0.3)
  1675. shoottrail2(handle34,20)
  1676. end
  1677. for i=0,1,0.1 do
  1678. wait(0)
  1679. LW.C0 = cf(-1.5,0.5,0) * euler(0,0,0)
  1680. LW.C1 = cf(0, 0.5, 0) * euler(offset-1.57-0.5*i,-1.57,0)
  1681. RW.C0 = cf(1.5,0.5,0) * euler(0,0,0.5)
  1682. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1683. end
  1684. for i=0,1,0.1 do
  1685. wait(0)
  1686. LW.C0 = cf(-1.5,0.5,0) * euler(0,0,0)
  1687. LW.C1 = cf(0, 0.5, 0) * euler(offset-1.57-0.5+0.5*i,-1.57,0)
  1688. RW.C0 = cf(1.5,0.5,0) * euler(0,0,0.5)
  1689. RW.C1 = cf(0, 0.5, 0) * euler(0,0,0)
  1690. end
  1691. canusepenumbra=false
  1692. Aim()
  1693. derpsparkles.Parent=nil
  1694. coroutine.resume(coroutine.create(function()
  1695. wait(30)
  1696. canusepenumbra=true
  1697. derpsmoke.Enabled=false
  1698. wait(10)
  1699. derpsmoke.Parent=nil
  1700. end))
  1701. wait(1)
  1702. attack=false
  1703. Character.Humanoid.WalkSpeed=16
  1704. end
  1705. end
  1706. function Sound(sid,pit,vol,parz) --[[coroutine.resume(coroutine.create(function() local sou = it("Sound") sou.SoundId = sid sou.Pitch = pit sou.Volume = vol sou.Parent = parz game:service'Lighting'["Lolsound"].Value = sou print(sou.Parent) wait(5) sou:Remove'' end))]] end
  1707. --Sound("http://www.roblox.com/asset/?id=2697431",0.3,0.7,Head)
  1708. doSound=function(sound,decay,origin,volume)
  1709. --[[ if Source==nil then --formatting for other objects.
  1710. Source=script.Parent
  1711. end]]
  1712. sc=game.Lighting.LocalSoundScript:clone()
  1713. sc.DecayFactor.Value=decay
  1714. sc.Origin.Value=origin
  1715. sc.Volume.Value=volume
  1716. sc.Disabled=false
  1717. sc.Parent=Character
  1718. sc.Sound.Value=sound
  1719. Gun=Bin
  1720. sc:clone().Parent=Character
  1721. print(sc.Parent)
  1722. end
  1723. function ss(pitch)
  1724. local SlashSound = it("Sound")
  1725. SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  1726. SlashSound.Parent = Head
  1727. --game:service'Lighting'["Lolsound"].Value=SlashSound
  1728. SlashSound.Volume = .7
  1729. SlashSound.Pitch = pitch
  1730. SlashSound.PlayOnRemove = true
  1731. coroutine.resume(coroutine.create(function()
  1732. wait(1)
  1733. SlashSound.Parent = nil
  1734. end))
  1735. end
  1736. function critsound(pitch)
  1737. local SlashSound = it("Sound")
  1738. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2801263"
  1739. SlashSound.Parent = Head
  1740. --game:service'Lighting'["Lolsound"].Value=SlashSound
  1741. SlashSound.Volume = .4
  1742. SlashSound.Pitch = pitch
  1743. SlashSound.PlayOnRemove = true
  1744. coroutine.resume(coroutine.create(function()
  1745. wait(1)
  1746. SlashSound.Parent = nil
  1747. end))
  1748. end
  1749. function charge(pitch)
  1750. local SlashSound = it("Sound")
  1751. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2101137"
  1752. SlashSound.Parent = Head
  1753. --game:service'Lighting'["Lolsound"].Value=SlashSound
  1754. SlashSound.Volume = 1
  1755. SlashSound.Pitch = pitch
  1756. SlashSound.PlayOnRemove = true
  1757. coroutine.resume(coroutine.create(function()
  1758. wait(1)
  1759. SlashSound.Parent = nil
  1760. end))
  1761. end
  1762. function bewm(pitch)
  1763. local SlashSound = it("Sound")
  1764. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2248511"
  1765. SlashSound.Parent = Head
  1766. --game:service'Lighting'["Lolsound"].Value=SlashSound
  1767. SlashSound.Volume = .7
  1768. SlashSound.Pitch = pitch
  1769. SlashSound.PlayOnRemove = true
  1770. coroutine.resume(coroutine.create(function()
  1771. wait(1)
  1772. SlashSound.Parent = nil
  1773. end))
  1774. end
  1775. function abscond(pitch)
  1776. local SlashSound = it("Sound")
  1777. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2767090"
  1778. SlashSound.Parent = Head
  1779. --game:service'Lighing'["Lolsound"].Value=SlashSound
  1780. SlashSound.Volume = 1
  1781. SlashSound.Pitch = pitch
  1782. SlashSound.PlayOnRemove = true
  1783. coroutine.resume(coroutine.create(function()
  1784. wait(1)
  1785. SlashSound.Parent = nil
  1786. end))
  1787. end
  1788. function distort(pitch)
  1789. local SlashSound = it("Sound")
  1790. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2974249"
  1791. SlashSound.Parent = Head
  1792. --game:service'Lighting'["Lolsound"].Value=SlashSound
  1793. SlashSound.Volume = 1
  1794. SlashSound.Pitch = pitch
  1795. SlashSound.PlayOnRemove = true
  1796. coroutine.resume(coroutine.create(function()
  1797. wait(1)
  1798. SlashSound.Parent = nil
  1799. end))
  1800. end
  1801. function thwack(pitch)
  1802. local SlashSound = it("Sound")
  1803. SlashSound.SoundId = "http://www.roblox.com/asset/?id=131200904"
  1804. SlashSound.Parent = Head
  1805. --game:service'Lighting'["Lolsound"].Value=SlashSound
  1806. SlashSound.Volume = 1
  1807. SlashSound.Pitch = pitch
  1808. SlashSound.PlayOnRemove = true
  1809. coroutine.resume(coroutine.create(function()
  1810. wait(1)
  1811. SlashSound.Parent = nil
  1812. end))
  1813. end
  1814. function fire1(pitch)
  1815. local SlashSound = it("Sound")
  1816. SlashSound.SoundId = "http://www.roblox.com/asset/?id=137976315"
  1817. SlashSound.Parent = Head
  1818. --game:service'Lighting'["Lolsound"].Value=SlashSound
  1819. SlashSound.Volume = 1
  1820. SlashSound.Pitch = 1
  1821. SlashSound.PlayOnRemove = true
  1822. coroutine.resume(coroutine.create(function()
  1823. wait(1)
  1824. SlashSound.Parent = nil
  1825. end))
  1826. end
  1827. function fire2(pitch)
  1828. local SlashSound = it("Sound")
  1829. SlashSound.SoundId = "http://www.roblox.com/asset/?id=137976315"
  1830. SlashSound.Parent = Head
  1831. --game:service'Lighting'["Lolsound"].Value=SlashSound
  1832. SlashSound.Volume = 1
  1833. SlashSound.Pitch = 1
  1834. SlashSound.PlayOnRemove = true
  1835. coroutine.resume(coroutine.create(function()
  1836. wait(1)
  1837. SlashSound.Parent = nil
  1838. end))
  1839. end
  1840. function grip(pitch)
  1841. local SlashSound = it("Sound")
  1842. SlashSound.SoundId = "rbxasset://sounds/swordslash.wav"
  1843. SlashSound.Parent = Head
  1844. --game:service'Lighting'["Lolsound"].Value=SlashSound
  1845. SlashSound.Volume = 1
  1846. SlashSound.Pitch = 1
  1847. SlashSound.PlayOnRemove = true
  1848. coroutine.resume(coroutine.create(function()
  1849. wait(1)
  1850. SlashSound.Parent = nil
  1851. end))
  1852. end
  1853. function reload(pitch)
  1854. local SlashSound = it("Sound")
  1855. SlashSound.SoundId = "http://www.roblox.com/asset/?id=97848255"
  1856. SlashSound.Parent = Head
  1857. --game:service'Lighting'["Lolsound"].Value=SlashSound
  1858. SlashSound.Volume = 1
  1859. SlashSound.Pitch = 1
  1860. SlashSound.PlayOnRemove = true
  1861. coroutine.resume(coroutine.create(function()
  1862. wait(1)
  1863. SlashSound.Parent = nil
  1864. end))
  1865. end
  1866. function MMMAGIC(part,x1,y1,z1,x2,y2,z2,color)
  1867. local msh1 = it("BlockMesh")
  1868. msh1.Scale = vt(0.5,0.5,0.5)
  1869. S=it("Part")
  1870. S.Name="Effect"
  1871. S.formFactor=0
  1872. S.Size=vt(x1,y1,z1)
  1873. S.BrickColor=color
  1874. S.Reflectance = 0
  1875. S.TopSurface=0
  1876. S.BottomSurface=0
  1877. S.Transparency=0
  1878. S.Anchored=true
  1879. S.CanCollide=false
  1880. S.CFrame=part.CFrame*cf(x2,y2,z2)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1881. S.Parent=workspace
  1882. msh1.Parent = S
  1883. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + vt(0.1,0.1,0.1) Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
  1884. end
  1885. function MMAGIC(part,x1,y1,z1,x2,y2,z2,color)
  1886. local msh1 = it("BlockMesh")
  1887. msh1.Scale = vt(0.5,0.5,0.5)
  1888. S=it("Part")
  1889. S.Name="Effect"
  1890. S.formFactor=0
  1891. S.Size=vt(x1,y1,z1)
  1892. S.BrickColor=color
  1893. S.Reflectance = 0
  1894. S.TopSurface=0
  1895. S.BottomSurface=0
  1896. S.Transparency=0
  1897. S.Anchored=true
  1898. S.CanCollide=false
  1899. S.CFrame=part.CFrame*cf(x2,y2,z2)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1900. S.Parent=Character
  1901. msh1.Parent = S
  1902. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + vt(0.1,0.1,0.1) Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
  1903. end
  1904. function MMMAGIC2(part,x1,y1,z1,x2,y2,z2,color)
  1905. local msh1 = it("BlockMesh")
  1906. msh1.Scale = vt(0.5,0.5,0.5)
  1907. S=it("Part")
  1908. S.Name="Effect"
  1909. S.formFactor=0
  1910. S.Size=vt(x1,y1,z1)
  1911. S.BrickColor=color
  1912. S.Reflectance = 0
  1913. S.TopSurface=0
  1914. S.BottomSurface=0
  1915. S.Transparency=0
  1916. S.Anchored=true
  1917. S.CanCollide=false
  1918. S.CFrame=part.CFrame*cf(x2,y2,z2)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1919. S.Parent=workspace
  1920. msh1.Parent = S
  1921. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + vt(0.1,0.1,0.1) Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
  1922. end
  1923. function MMMAGIC3(part,x1,y1,z1,x2,y2,z2,color)
  1924. local msh1 = it("BlockMesh")
  1925. msh1.Scale = vt(0.5,0.5,0.5)
  1926. S=it("Part")
  1927. S.Name="Effect"
  1928. S.formFactor=0
  1929. S.Size=vt(x1,y1,z1)
  1930. S.BrickColor=color
  1931. S.Reflectance = 0
  1932. S.TopSurface=0
  1933. S.BottomSurface=0
  1934. S.Transparency=0
  1935. S.Anchored=true
  1936. S.CanCollide=false
  1937. S.CFrame=part*cf(x2,y2,z2)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1938. S.Parent=workspace
  1939. msh1.Parent = S
  1940. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + vt(0,0.3,0) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
  1941. end
  1942. function UltimaMMMAGIC(part,x1,y1,z1,x2,y2,z2,color)
  1943. local msh1 = it("BlockMesh")
  1944. msh1.Scale = vt(x1,y1,z1)
  1945. S=it("Part")
  1946. S.Name="Effect"
  1947. S.formFactor=0
  1948. S.Size=vt(1,1,1)
  1949. S.BrickColor=color
  1950. S.Reflectance = 0
  1951. S.TopSurface=0
  1952. S.BottomSurface=0
  1953. S.Transparency=0
  1954. S.Anchored=true
  1955. S.CanCollide=false
  1956. S.CFrame=part.CFrame*cf(x2,y2,z2)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1957. S.Parent=workspace
  1958. msh1.Parent = S
  1959. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + vt(0.1,0.1,0.1) Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
  1960. end
  1961. function MOREMAGIX(part,cframe,x,y,z,color)
  1962. p2=it("Part")
  1963. p2.Name="Blast"
  1964. p2.TopSurface=0
  1965. p2.BottomSurface=0
  1966. p2.CanCollide=false
  1967. p2.Anchored=true
  1968. p2.BrickColor=color
  1969. p2.Size=vt(x,y,z)
  1970. p2.formFactor="Symmetric"
  1971. p2.CFrame=part.CFrame*cf(0,cframe,0)
  1972. p2.Parent=Character
  1973. m=it("BlockMesh")
  1974. m.Parent=p2
  1975. m.Name="BlastMesh"
  1976. coroutine.resume(coroutine.create(function(part,dir) for loll=1, 15 do part.BlastMesh.Scale=part.BlastMesh.Scale-vt(.09,.09,.09) part.Transparency=loll/20 part.CFrame=part.CFrame*cf(dir)*euler(math.random(-100,100)/100, math.random(-100,100)/100, math.random(-100,100)/100) wait() end part.Parent=nil end),p2,vt(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10))
  1977. end
  1978. function EVENMOARMAGIX(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color)
  1979. local msh1 = it("SpecialMesh")
  1980. msh1.Scale = vt(0.5,0.5,0.5)
  1981. msh1.MeshType = "Sphere"
  1982. S=it("Part")
  1983. S.Name="Effect"
  1984. S.formFactor=0
  1985. S.Size=vt(x1,y1,z1)
  1986. S.BrickColor=color
  1987. S.Reflectance = 0
  1988. S.TopSurface=0
  1989. S.BottomSurface=0
  1990. S.Transparency=0
  1991. S.Anchored=true
  1992. S.CanCollide=false
  1993. S.CFrame=part.CFrame*cf(x2,y2,z2)*euler(x3,y3,z3)
  1994. S.Parent=workspace
  1995. msh1.Parent = S
  1996. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + vt(0.15,0.15,0.15) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
  1997. end
  1998. function EVENMOARMAGIX2(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color)
  1999. local msh1 = it("SpecialMesh")
  2000. msh1.Scale = vt(0.5,0.5,0.5)
  2001. msh1.MeshType = "Sphere"
  2002. S=it("Part")
  2003. S.Name="Effect"
  2004. S.formFactor=0
  2005. S.Size=vt(x1,y1,z1)
  2006. S.BrickColor=color
  2007. S.Reflectance = 0
  2008. S.TopSurface=0
  2009. S.BottomSurface=0
  2010. S.Transparency=0
  2011. S.Anchored=true
  2012. S.CanCollide=false
  2013. S.CFrame=part
  2014. S.Parent=workspace
  2015. msh1.Parent = S
  2016. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 5 do Part.Mesh.Scale = Part.Mesh.Scale + vt(0.3,0.3,0.3) Part.Transparency=Part.Transparency+0.15 wait() end Part.Parent=nil end),S,S.CFrame)
  2017. end
  2018. function EVENMOARMAGIX3(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color)
  2019. local msh1 = it("SpecialMesh")
  2020. msh1.Scale = vt(x1,y1,z1)
  2021. msh1.MeshType = "Sphere"
  2022. S=it("Part")
  2023. S.Name="Effect"
  2024. S.formFactor=0
  2025. S.Size=vt(1,1,1)
  2026. S.BrickColor=color
  2027. S.Reflectance = 0
  2028. S.TopSurface=0
  2029. S.BottomSurface=0
  2030. S.Transparency=0
  2031. S.Anchored=true
  2032. S.CanCollide=false
  2033. S.CFrame=part
  2034. S.Parent=workspace
  2035. msh1.Parent = S
  2036. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + vt(0.3,0.3,0.3) Part.Transparency=Part.Transparency+0.1 wait() end Part.Parent=nil end),S,S.CFrame)
  2037. end
  2038. function ChargeEffect(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color)
  2039. local msh1 = it("SpecialMesh")
  2040. msh1.Scale = vt(0.5,0.5,0.5)
  2041. msh1.MeshType = "Sphere"
  2042. S=it("Part")
  2043. S.Name="Effect"
  2044. S.formFactor=0
  2045. S.Size=vt(x1,y1,z1)
  2046. S.BrickColor=color
  2047. S.Reflectance = 0
  2048. S.TopSurface=0
  2049. S.BottomSurface=0
  2050. S.Transparency=0
  2051. S.Anchored=false
  2052. S.CanCollide=false
  2053. S.CFrame=part.CFrame*cf(x2,y2,z2)*euler(x3,y3,z3)
  2054. S.Parent=modelzorz
  2055. msh1.Parent = S
  2056. coroutine.resume(coroutine.create(function(Part,CF)
  2057. f=it("BodyPosition")
  2058. f.P=800
  2059. f.D=100
  2060. f.maxForce=vt(math.huge,math.huge,math.huge)
  2061. f.position=part.Position
  2062. f.Parent=Part
  2063. for i=0,1,0.1 do
  2064. wait()
  2065. Part.Transparency=Part.Transparency+0.1
  2066. end
  2067. Part.Parent=nil
  2068. end),S,S.CFrame)
  2069. end
  2070. function ChargeEffect2(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color)
  2071. local msh1 = it("SpecialMesh")
  2072. msh1.Scale = vt(0.5,0.5,0.5)
  2073. msh1.MeshType = "Sphere"
  2074. S=it("Part")
  2075. S.Name="Effect"
  2076. S.formFactor=0
  2077. S.Size=vt(x1,y1,z1)
  2078. S.BrickColor=color
  2079. S.Reflectance = 0
  2080. S.TopSurface=0
  2081. S.BottomSurface=0
  2082. S.Transparency=0
  2083. S.Anchored=false
  2084. S.CanCollide=false
  2085. S.CFrame=part.CFrame*cf(x2,y2,z2)*euler(x3,y3,z3)
  2086. S.Parent=modelzorz
  2087. msh1.Parent = S
  2088. coroutine.resume(coroutine.create(function(Part,CF)
  2089. f=it("BodyPosition")
  2090. f.P=800
  2091. f.D=100
  2092. f.maxForce=vt(math.huge,math.huge,math.huge)
  2093. f.position=part.Position+vt(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  2094. f.Parent=Part
  2095. for i=0,1,0.1 do
  2096. wait()
  2097. Part.Transparency=Part.Transparency+0.1
  2098. end
  2099. Part.Parent=nil
  2100. end),S,S.CFrame)
  2101. end
  2102. print("Y U NU GIVE CREDIT.")
  2103. function WaveEffect(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color)
  2104. local msh1 = it("SpecialMesh")
  2105. msh1.Scale = vt(x1,y1,z1)
  2106. msh1.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2107. S=it("Part")
  2108. S.Name="Effect"
  2109. S.formFactor=0
  2110. S.Size=vt(1,1,1)
  2111. S.BrickColor=color
  2112. S.Reflectance = 0
  2113. S.TopSurface=0
  2114. S.BottomSurface=0
  2115. S.Transparency=0
  2116. S.Anchored=true
  2117. S.CanCollide=false
  2118. S.CFrame=part.CFrame*cf(x2,y2,z2)*euler(x3,y3,z3)
  2119. S.Parent=workspace
  2120. msh1.Parent = S
  2121. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + vt(0.3,0.3,0.3) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
  2122. end
  2123. function BlastEffect(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color)
  2124. local msh1 = it("SpecialMesh")
  2125. msh1.Scale = vt(x1,y1,z1)
  2126. msh1.MeshId = "http://www.roblox.com/asset/?id=1323306"
  2127. S=it("Part")
  2128. S.Name="Effect"
  2129. S.formFactor=0
  2130. S.Size=vt(1,1,1)
  2131. S.BrickColor=color
  2132. S.Reflectance = 0
  2133. S.TopSurface=0
  2134. S.BottomSurface=0
  2135. S.Transparency=0
  2136. S.Anchored=true
  2137. S.CanCollide=false
  2138. S.CFrame=part.CFrame*cf(x2,y2,z2)*euler(x3,y3,z3)
  2139. S.Parent=workspace
  2140. msh1.Parent = S
  2141. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + vt(0.5,0.8,0.5) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
  2142. end
  2143. function DerpMagic(part,x1,y1,z1,x2,y2,z2,color)
  2144. local msh1 = it("BlockMesh")
  2145. msh1.Scale = vt(0.5,0.5,0.5)
  2146. S=it("Part")
  2147. S.Name="Effect"
  2148. S.formFactor=0
  2149. S.Size=vt(x1,y1,z1)
  2150. S.BrickColor=color
  2151. S.Reflectance = 0
  2152. S.TopSurface=0
  2153. S.BottomSurface=0
  2154. S.Transparency=0
  2155. S.Anchored=false
  2156. S.CanCollide=false
  2157. S.CFrame=part.CFrame
  2158. S.Parent=workspace
  2159. msh1.Parent = S
  2160. W=it("Weld")
  2161. W.Parent=S
  2162. W.Part0=S
  2163. W.Part1=part
  2164. W.C0=cf(x2,y2,z2) * euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2165. W.Parent=nil
  2166. S.Anchored=true
  2167. coroutine.resume(coroutine.create(function(Part,Weld) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + vt(0.1,0.1,0.1) --[[Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))]] Part.Transparency=i*.1 wait() end Part.Parent=nil Weld.Parent=nil end),S,W)
  2168. end
  2169. DarkRiftF=function(par) --Thank you turdulator for this :D
  2170. PWN={}
  2171. for _,v in pairs(workspace:children()) do
  2172. if v.className=="Model" and v:FindFirstChild("Humanoid")~=nil then
  2173. if v.Humanoid.Health>0 and v:FindFirstChild("Torso")~=nil then
  2174. if v~=Character and (v.Torso.Position-par.Position).magnitude<=25 then
  2175. table.insert(PWN,v.Torso)
  2176. end
  2177. end
  2178. end
  2179. end
  2180. for _,t in pairs(PWN) do
  2181. Mag=(par.Position-t.Position).magnitude/2
  2182. t.Parent.Humanoid:TakeDamage(50)
  2183. rl=it("BodyAngularVelocity")
  2184. rl.P=3000
  2185. rl.maxTorque=vt(500000,500000,500000)*5000
  2186. rl.angularvelocity=vt(math.random(-20,20),math.random(-20,20),math.random(-20,20))/10
  2187. rl.Parent=t
  2188. game:GetService("Debris"):AddItem(rl,.1)
  2189. if Mag<=2 then
  2190. t.Parent.Humanoid:TakeDamage(20)
  2191. else
  2192. vl=it("BodyVelocity")
  2193. vl.P=3000
  2194. vl.maxForce=vt(50000000000,50000000000,50000000000)
  2195. vl.velocity=(t.Position-par.Position).unit*-(70/(Mag))
  2196. vl.Parent=t
  2197. game:GetService("Debris"):AddItem(vl,.1)
  2198. end
  2199. end
  2200. wait(.08)
  2201. end
  2202. DBHit=function(hit,Damage) --credits to turdulator for making this function :D
  2203. if hit.Parent==nil then
  2204. return
  2205. end
  2206. h=hit.Parent:FindFirstChild("Humanoid")
  2207. t=hit.Parent:FindFirstChild("Torso")
  2208. if h~=nil and t~=nil then
  2209. if h.Parent==Character then
  2210. return
  2211. end
  2212. c=it("ObjectValue")
  2213. c.Name="creator"
  2214. c.Value=game.Players.LocalPlayer
  2215. c.Parent=h
  2216. game:GetService("Debris"):AddItem(c,.5)
  2217. if math.random(0,99)+math.random()<=7.8 then
  2218. CRIT=true
  2219. Damage=Damage*100
  2220. --[[ Knockback=Knockback*2
  2221. r=it("BodyAngularVelocity")
  2222. r.P=3000
  2223. r.maxTorque=vt(500000000,50000000000,500000000)*50000
  2224. r.angularvelocity=vt(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  2225. r.Parent=hit.Parent.Torso]]
  2226. s=it("Sound")
  2227. s.SoundId="http://www.roblox.com/asset/?id=2801263"
  2228. s.Volume=1
  2229. s.Pitch=2
  2230. s.Parent=hit
  2231. s.PlayOnRemove=true
  2232. s.Parent=nil
  2233.  
  2234. end
  2235. h:TakeDamage(Damage)
  2236. showDamage(hit.Parent,Damage,300)
  2237. vl=it("BodyVelocity")
  2238. vl.P=4500
  2239. vl.maxForce=vt(math.huge,math.huge,math.huge)
  2240. -- vl.velocity=vt(Torso.Velocity.x,0,Torso.Velocity.z)*1.05+vt(0,3,0)
  2241. vl.velocity=vt(Torso.Velocity.x,0,Torso.Velocity.z)*1.05+vt(0,45,0)
  2242. vl.Parent=t
  2243. game:GetService("Debris"):AddItem(vl,.2)
  2244. rl=it("BodyAngularVelocity")
  2245. rl.P=3000
  2246. rl.maxTorque=vt(500000,500000,500000)*50000000000000
  2247. rl.angularvelocity=vt(math.random(-40,40),math.random(-40,40),math.random(-40,40))
  2248. rl.Parent=t
  2249. game:GetService("Debris"):AddItem(rl,.2)
  2250. else
  2251. if hit.CanCollide==false then
  2252. return
  2253. end
  2254. MagicCom:disconnect()
  2255. -- DBExplode(DB)
  2256. end
  2257. end
  2258. DBHit2=function(hit,Damage) --credits to turdulator for making this function :D
  2259. if hit.Parent==nil then
  2260. return
  2261. end
  2262. h=hit.Parent:FindFirstChild("Humanoid")
  2263. t=hit.Parent:FindFirstChild("Torso")
  2264. if h~=nil and t~=nil then
  2265. if h.Parent==Character then
  2266. return
  2267. end
  2268. c=it("ObjectValue")
  2269. c.Name="creator"
  2270. c.Value=game.Players.LocalPlayer
  2271. c.Parent=h
  2272. game:GetService("Debris"):AddItem(c,.5)
  2273. if math.random(0,99)+math.random()<=7.8 then
  2274. CRIT=true
  2275. Damage=Damage*100
  2276. --[[ Knockback=Knockback*2
  2277. r=it("BodyAngularVelocity")
  2278. r.P=3000
  2279. r.maxTorque=vt(500000000,50000000000,500000000)*50000
  2280. r.angularvelocity=vt(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  2281. r.Parent=hit.Parent.Torso]]
  2282. s=it("Sound")
  2283. s.SoundId="http://www.roblox.com/asset/?id=2801263"
  2284. s.Volume=1
  2285. s.Pitch=2
  2286. s.Parent=hit
  2287. s.PlayOnRemove=true
  2288. s.Parent=nil
  2289.  
  2290. end
  2291. h:TakeDamage(Damage)
  2292. showDamage(hit.Parent,Damage,250)
  2293. vl=it("BodyVelocity")
  2294. vl.P=4500
  2295. vl.maxForce=vt(math.huge,math.huge,math.huge)
  2296. -- vl.velocity=vt(Torso.Velocity.x,0,Torso.Velocity.z)*1.05+vt(0,30,0)
  2297. vl.velocity=Head.CFrame.lookVector*35+Head.Velocity/1.05
  2298. vl.Parent=t
  2299. game:GetService("Debris"):AddItem(vl,.2)
  2300. rl=it("BodyAngularVelocity")
  2301. rl.P=3000
  2302. rl.maxTorque=vt(500000,500000,500000)*50000000000000
  2303. rl.angularvelocity=vt(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  2304. rl.Parent=t
  2305. game:GetService("Debris"):AddItem(rl,.2)
  2306. else
  2307. if hit.CanCollide==false then
  2308. return
  2309. end
  2310. MagicCom:disconnect()
  2311. -- DBExplode(DB)
  2312. end
  2313. end
  2314. DOHHit=function(hit,Damage,Pos) --credits to turdulator for making this function :D
  2315. if hit.Parent==nil then
  2316. return
  2317. end
  2318. h=hit.Parent:FindFirstChild("Humanoid")
  2319. t=hit.Parent:FindFirstChild("Torso")
  2320. if h~=nil and t~=nil then
  2321. if h.Parent==Character then
  2322. return
  2323. end
  2324. c=it("ObjectValue")
  2325. c.Name="creator"
  2326. c.Value=game.Players.LocalPlayer
  2327. c.Parent=h
  2328. game:GetService("Debris"):AddItem(c,.5)
  2329. if math.random(0,99)+math.random()<=7.8 then
  2330. CRIT=true
  2331. Damage=Damage*360
  2332. --[[ Knockback=Knockback*2
  2333. r=it("BodyAngularVelocity")
  2334. r.P=3000
  2335. r.maxTorque=vt(500000000,50000000000,500000000)*50000
  2336. r.angularvelocity=vt(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  2337. r.Parent=hit.Parent.Torso]]
  2338. s=it("Sound")
  2339. s.SoundId="http://www.roblox.com/asset/?id=2801263"
  2340. s.Volume=1
  2341. s.Pitch=2
  2342. s.Parent=hit
  2343. s.PlayOnRemove=true
  2344. s.Parent=nil
  2345.  
  2346. end
  2347. h:TakeDamage(Damage)
  2348. showDamage(hit.Parent,Damage,440)
  2349. vl=it("BodyVelocity")
  2350. vl.P=4500
  2351. vl.maxForce=vt(math.huge,math.huge,math.huge)
  2352. -- vl.velocity=vt(Torso.Velocity.x,0,Torso.Velocity.z)*1.05+vt(0,60,0)
  2353. vl.velocity=Head.CFrame.lookVector+Head.Velocity/1.05
  2354. vl.Parent=t
  2355. game:GetService("Debris"):AddItem(vl,.2)
  2356. rl=it("BodyAngularVelocity")
  2357. rl.P=3000
  2358. rl.maxTorque=vt(500000,500000,500000)*50000000000000
  2359. rl.angularvelocity=vt(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  2360. rl.Parent=t
  2361. game:GetService("Debris"):AddItem(rl,.2)
  2362. else
  2363. if hit.CanCollide==false then
  2364. return
  2365. end
  2366. MagicCom:disconnect()
  2367. -- DBExplode(DB)
  2368. end
  2369. end
  2370. Damagefunc1=function(hit,Damage,Knockback)
  2371. if attackdebounce == false then
  2372. attackdebounce = true
  2373. coroutine.resume(coroutine.create(function()
  2374. wait(0.1)
  2375. attackdebounce = false
  2376. end))
  2377. if hit.Parent==nil then
  2378. return
  2379. end
  2380. CPlayer=Bin
  2381. h=hit.Parent:FindFirstChild("Humanoid")
  2382. if h~=nil and hit.Parent.Name~="luxulux" and hit.Parent:FindFirstChild("Torso")~=nil then
  2383. Damage=Damage
  2384. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  2385. return
  2386. end]]
  2387. if mana<400 then
  2388. mana=mana+math.random(10,20)
  2389. else
  2390. mana=400
  2391. end
  2392. c=it("ObjectValue")
  2393. c.Name="creator"
  2394. c.Value=game.Players.LocalPlayer
  2395. c.Parent=h
  2396. game:GetService("Debris"):AddItem(c,.5)
  2397. -- print(c.Value)
  2398. if math.random(0,99)+math.random()<=7.8 then
  2399. CRIT=true
  2400. Damage=Damage*100
  2401. --[[ Knockback=Knockback*2
  2402. r=it("BodyAngularVelocity")
  2403. r.P=3000
  2404. r.maxTorque=vt(500000000,50000000000,500000000)*50000
  2405. r.angularvelocity=vt(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  2406. r.Parent=hit.Parent.Torso]]
  2407. s=it("Sound")
  2408. s.SoundId="http://www.roblox.com/asset/?id=2801263"
  2409. s.Volume=1
  2410. s.Pitch=2
  2411. s.Parent=hit
  2412. s.PlayOnRemove=true
  2413. s.Parent=nil
  2414.  
  2415. end
  2416. Damage=Damage+math.random(0,250)
  2417. -- Blood(hit.CFrame*cf(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/2))
  2418. h:TakeDamage(Damage)
  2419. showDamage(hit.Parent,Damage,100)
  2420. vp=it("BodyVelocity")
  2421. vp.P=500
  2422. vp.maxForce=vt(math.huge,0,math.huge)
  2423. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  2424. vp.velocity=Torso.CFrame.lookVector*Knockback+Torso.Velocity/1.05
  2425. if Knockback>0 then
  2426. vp.Parent=hit.Parent.Torso
  2427. end
  2428. game:GetService("Debris"):AddItem(vp,.25)
  2429. --[[ r=it("BodyAngularVelocity")
  2430. r.P=3000
  2431. r.maxTorque=vt(500000000,50000000000,500000000)*50000
  2432. r.angularvelocity=vt(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  2433. r.Parent=hit.Parent.Torso]]
  2434. game:GetService("Debris"):AddItem(r,.5)
  2435. c=it("ObjectValue")
  2436. c.Name="creator"
  2437. c.Value=Player
  2438. c.Parent=h
  2439. game:GetService("Debris"):AddItem(c,.5)
  2440. CRIT=false
  2441. hitDeb=true
  2442. AttackPos=6
  2443. end
  2444. end
  2445. end
  2446. Damagefunc2=function(hit,Damage,Knockback,Part,size)
  2447. if hit.Parent==nil then
  2448. return
  2449. end
  2450. -- CPlayer=Bin
  2451. h=hit.Parent:FindFirstChild("Humanoid")
  2452. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  2453. if attackdebounce == false then
  2454. attackdebounce = true
  2455. coroutine.resume(coroutine.create(function()
  2456. wait(0.2)
  2457. attackdebounce = false
  2458. end))
  2459. EVENMOARMAGIX3(Part,size,size,size,0,0,0,0,0,0,BrickColor.new("Gold"))
  2460. for i=0,5 do
  2461. MMMAGIC3(Part,0.3,size*2,0.3,0,0,0,BrickColor.new("Gold"))
  2462. end
  2463. Damage=Damage
  2464. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  2465. return
  2466. end]]
  2467. -- print("NOPE.AVI")
  2468. if math.random(0,99)+math.random()<=5 then
  2469. CRIT=true
  2470. Damage=Damage*100
  2471. --[[ Knockback=Knockback*2
  2472. r=it("BodyAngularVelocity")
  2473. r.P=3000
  2474. r.maxTorque=vt(500000000,50000000000,500000000)*50000
  2475. r.angularvelocity=vt(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  2476. r.Parent=hit.Parent.Torso]]
  2477.  
  2478. end
  2479. Damage=Damage+math.random(0,100)
  2480. -- Did=Did+Damage
  2481. if Enemy==nil then
  2482. Enemy=hit.Parent
  2483. HP=Enemy.Humanoid.Health
  2484. end
  2485. coroutine.resume(coroutine.create(function()
  2486. wait(1)
  2487. if attack==false and Enemy~=nil then
  2488. Did=HP-Enemy.Humanoid.Health
  2489. print("Did "..Did.." Damage")
  2490. Enemy=nil
  2491. HP=0
  2492. end
  2493. end))
  2494. -- Blood(hit.CFrame*cf(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/2))
  2495. h:TakeDamage(Damage)
  2496. thwack(1)
  2497. showDamage(hit.Parent,Damage,100)
  2498. vp=it("BodyVelocity")
  2499. vp.P=500
  2500. vp.maxForce=vt(math.huge,0,math.huge)
  2501. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  2502. vp.velocity=Torso.CFrame.lookVector*Knockback
  2503. if Knockback>0 then
  2504. vp.Parent=hit.Parent.Torso
  2505. end
  2506. game:GetService("Debris"):AddItem(vp,2)
  2507. --[[ r=it("BodyAngularVelocity")
  2508. r.P=3000
  2509. r.maxTorque=vt(500000000,50000000000,500000000)*50000
  2510. r.angularvelocity=vt(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  2511. r.Parent=hit.Parent.Torso
  2512. game:GetService("Debris"):AddItem(r,.5)]]
  2513. CRIT=false
  2514. hitDeb=true
  2515. AttackPos=6
  2516. end
  2517. end
  2518. end
  2519. Damagefunc3=function(hit,Damage,Knockback,Part,size)
  2520. --[[ if attackdebounce == false then
  2521. attackdebounce = true
  2522. coroutine.resume(coroutine.create(function()
  2523. wait(0.1)
  2524. attackdebounce = false
  2525. end)) ]]
  2526. if hit.Parent==nil then
  2527. return
  2528. end
  2529. CPlayer=Bin
  2530. h=hit.Parent:FindFirstChild("Humanoid")
  2531. if h~=nil and hit.Parent.Name~="luxulux" and hit.Parent:FindFirstChild("Torso")~=nil then
  2532. if attackdebounce == false then
  2533. attackdebounce = true
  2534. coroutine.resume(coroutine.create(function()
  2535. wait(0.2)
  2536. attackdebounce = false
  2537. end))
  2538. EVENMOARMAGIX3(Part,size,size,size,0,0,0,0,0,0,BrickColor.new("Gold"))
  2539. for i=0,5 do
  2540. MMMAGIC3(Part,0.3,size*2,0.3,0,0,0,BrickColor.new("Gold"))
  2541. end
  2542. Damage=Damage
  2543. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  2544. return
  2545. end]]
  2546. c=Instance.new("ObjectValue")
  2547. c.Name="creator"
  2548. c.Value=game.Players.LocalPlayer
  2549. c.Parent=h
  2550. game:GetService("Debris"):AddItem(c,.5)
  2551. -- print(c.Value)
  2552. if math.random(1,10)==1 then
  2553. CRIT=true
  2554. Damage=Damage*100
  2555. Knockback=Knockback*2
  2556. s=Instance.new("Sound")
  2557. s.SoundId="http://www.roblox.com/asset/?id=2801263"
  2558. s.Volume=1
  2559. s.Pitch=2
  2560. s.Parent=hit
  2561. s.PlayOnRemove=true
  2562. s.Parent=nil
  2563.  
  2564. end
  2565. Damage=Damage+math.random(0,100)
  2566. -- Did=Did+Damage
  2567. if Enemy==nil then
  2568. Enemy=hit.Parent
  2569. HP=Enemy.Humanoid.Health
  2570. end
  2571. coroutine.resume(coroutine.create(function()
  2572. wait(1)
  2573. if attack==false and Enemy~=nil then
  2574. Did=HP-Enemy.Humanoid.Health
  2575. print("Did "..Did.." Damage")
  2576. Enemy=nil
  2577. HP=0
  2578. end
  2579. end))
  2580. -- Blood(hit.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/2))
  2581. h:TakeDamage(Damage)
  2582. thwack(0.8)
  2583. showDamage(hit.Parent,Damage,250)
  2584. vp=Instance.new("BodyVelocity")
  2585. vp.P=500
  2586. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  2587. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  2588. vp.velocity=Torso.CFrame.lookVector*Knockback+Torso.Velocity/1.05
  2589. if Knockback>0 then
  2590. vp.Parent=hit.Parent.Torso
  2591. end
  2592. game:GetService("Debris"):AddItem(vp,.25)
  2593. r=Instance.new("BodyAngularVelocity")
  2594. r.P=3000
  2595. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  2596. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  2597. r.Parent=hit.Parent.Torso
  2598. game:GetService("Debris"):AddItem(r,0.5)
  2599. c=Instance.new("ObjectValue")
  2600. c.Name="creator"
  2601. c.Value=Player
  2602. c.Parent=h
  2603. game:GetService("Debris"):AddItem(c,.5)
  2604. CRIT=false
  2605. hitDeb=true
  2606. AttackPos=6
  2607. end
  2608. end
  2609. end
  2610. DOH=function(hit,Damage,Knockback)
  2611. if attackdebounce == false then
  2612. attackdebounce = true
  2613. coroutine.resume(coroutine.create(function()
  2614. wait(0.2)
  2615. attackdebounce = false
  2616. end))
  2617. if hit.Parent==nil then
  2618. return
  2619. end
  2620. CPlayer=Bin
  2621. h=hit.Parent:FindFirstChild("Humanoid")
  2622. if h~=nil and hit.Parent.Name~="luxulux" and hit.Parent:FindFirstChild("Torso")~=nil then
  2623. Damage=Damage
  2624. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  2625. return
  2626. end]]
  2627. c=it("ObjectValue")
  2628. c.Name="creator"
  2629. c.Value=game.Players.LocalPlayer
  2630. c.Parent=h
  2631. game:GetService("Debris"):AddItem(c,.5)
  2632. -- print(c.Value)
  2633. if math.random(0,99)+math.random()<=7.8 then
  2634. CRIT=true
  2635. Damage=Damage*150
  2636. --[[ Knockback=Knockback*2
  2637. r=it("BodyAngularVelocity")
  2638. r.P=3000
  2639. r.maxTorque=vt(500000000,50000000000,500000000)*50000
  2640. r.angularvelocity=vt(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  2641. r.Parent=hit.Parent.Torso]]
  2642. s=it("Sound")
  2643. s.SoundId="http://www.roblox.com/asset/?id=2801263"
  2644. s.Volume=1
  2645. s.Pitch=2
  2646. s.Parent=hit
  2647. s.PlayOnRemove=true
  2648. s.Parent=nil
  2649.  
  2650. end
  2651. Damage=Damage+math.random(0,10)
  2652. -- Blood(hit.CFrame*cf(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/2))
  2653. h:TakeDamage(Damage)
  2654. showDamage(hit.Parent,Damage,900)
  2655. vp=it("BodyVelocity")
  2656. vp.P=500
  2657. vp.maxForce=vt(math.huge,0,math.huge)
  2658. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  2659. vp.velocity=Torso.CFrame.lookVector*Knockback+Torso.Velocity/1.05
  2660. if Knockback>0 then
  2661. vp.Parent=hit.Parent.Torso
  2662. end
  2663. game:GetService("Debris"):AddItem(vp,.25)
  2664. --[[ r=it("BodyAngularVelocity")
  2665. r.P=3000
  2666. r.maxTorque=vt(500000000,50000000000,500000000)*50000
  2667. r.angularvelocity=vt(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  2668. r.Parent=hit.Parent.Torso]]
  2669. game:GetService("Debris"):AddItem(r,.5)
  2670. c=it("ObjectValue")
  2671. c.Name="creator"
  2672. c.Value=Player
  2673. c.Parent=h
  2674. game:GetService("Debris"):AddItem(c,.5)
  2675. wait(1)
  2676. DOHeffect(hit,20,30,2,0,0)
  2677. bewm(workspace,1)
  2678. wait(0.1)
  2679. DOHeffect(hit,20,30,-2,0.5,0)
  2680. bewm(workspace,1)
  2681. wait(0.1)
  2682. DOHeffect(hit,20,30,2,1,0)
  2683. bewm(workspace,1)
  2684. wait(0.1)
  2685. DOHeffect(hit,20,30,-2,1.5,0)
  2686. bewm(workspace,1)
  2687. CRIT=false
  2688. hitDeb=true
  2689. AttackPos=6
  2690. end
  2691. end
  2692. end
  2693. showDamage=function(Char,Dealt,du)
  2694. m=it("Model")
  2695. m.Name=tostring(Dealt)
  2696. h=it("Humanoid")
  2697. h.Health=0
  2698. h.MaxHealth=0
  2699. h.Parent=m
  2700. c=it("Part")
  2701. c.Transparency=0
  2702. c.BrickColor=BrickColor:Red()
  2703. if CRIT==true then
  2704. c.BrickColor=BrickColor.new("Really red")
  2705. end
  2706. c.Name="Head"
  2707. c.TopSurface=0
  2708. c.BottomSurface=0
  2709. c.formFactor="Plate"
  2710. c.Size=vt(1,.4,1)
  2711. ms=it("CylinderMesh")
  2712. ms.Bevel=.1
  2713. ms.Scale=vt(.8,.8,.8)
  2714. if CRIT==true then
  2715. ms.Scale=vt(1.25,1.5,1.25)
  2716. ms.Bevel=.2
  2717. end
  2718. ms.Parent=c
  2719. c.Reflectance=0
  2720. it("BodyGyro").Parent=c
  2721. c.Parent=m
  2722. c.CFrame=cf(Char["Head"].CFrame.p+vt(0,1.5,0))
  2723. f=it("BodyPosition")
  2724. f.P=2000
  2725. f.D=100
  2726. f.maxForce=vt(math.huge,math.huge,math.huge)
  2727. f.position=c.Position+vt(0,3,0)
  2728. f.Parent=c
  2729. game:GetService("Debris"):AddItem(m,.5+du)
  2730. c.CanCollide=false
  2731. m.Parent=workspace
  2732. c.CanCollide=false
  2733. end
  2734. function Invis()
  2735. abscond(1)
  2736. coroutine.resume(coroutine.create(function()
  2737. for _,v in pairs(Torso.Parent:children()) do
  2738. if v.className=="Part" then
  2739. v.Transparency=1
  2740. elseif v.className=="Hat" then
  2741. v.Handle.Transparency=1
  2742. end
  2743. end
  2744. for _,v in pairs(modelzorz:children()) do
  2745. if v.className=="Part" then
  2746. v.Transparency=1
  2747. end
  2748. end
  2749. wait(0.5)
  2750. bewm(workspace,3)
  2751. MMMAGIC(Torso,3,3,3,0,0,0,BrickColor.new("Really black"))
  2752. MMMAGIC(Torso,6,6,6,0,0,0,BrickColor.new("Gold"))
  2753. for _,v in pairs(Torso.Parent:children()) do
  2754. if v.className=="Part" then
  2755. v.Transparency=0
  2756. elseif v.className=="Hat" then
  2757. v.Handle.Transparency=0
  2758. end
  2759. end
  2760. for _,v in pairs(modelzorz:children()) do
  2761. if v.className=="Part" then
  2762. v.Transparency=0
  2763. end
  2764. end
  2765. end))
  2766. end
  2767. function Laser(Part,Dmg)
  2768. sp = Part.Position
  2769. dirr = Part.CFrame
  2770. local hit,pos = rayCast(sp,dirr.lookVector,500,Character)
  2771. local las=it("Part",Character)
  2772. las.Anchored=true
  2773. las.Locked=true
  2774. las.CanCollide=false
  2775. las.TopSurface=0
  2776. las.BottomSurface=0
  2777. las.FormFactor = "Custom"
  2778. las.BrickColor=BrickColor.new("Gold")
  2779. las.Size=vt(1,1,1)
  2780. las.CFrame=cf((Part.Position+pos)/2,pos) *CFrame.Angles(math.rad(90),0,0)
  2781. local msh=it("SpecialMesh",las)
  2782. mag = (Part.Position-pos).magnitude
  2783. msh.Scale=vt(0.8,mag,0.8)
  2784. coroutine.resume(coroutine.create(function(Part,Mesh)
  2785. for i = 0,1,0.1 do
  2786. wait()
  2787. Part.Transparency = Part.Transparency + 0.1
  2788. Mesh.Scale = Mesh.Scale + vt(-0.05,0.7,-0.05)
  2789. end
  2790. Part.Parent = nil
  2791. end),las,msh)
  2792. local las=it("Part",Character)
  2793. las.Anchored=true
  2794. las.Locked=true
  2795. las.CanCollide=false
  2796. las.TopSurface=0
  2797. las.BottomSurface=0
  2798. las.FormFactor = "Custom"
  2799. las.BrickColor=BrickColor.new("Gold")
  2800. las.Size=vt(1,1,1)
  2801. las.CFrame=cf((Part.Position+pos)/2,pos) *CFrame.Angles(math.rad(90),0,0)
  2802. local msh=it("SpecialMesh",las)
  2803. mag = (Part.Position-pos).magnitude
  2804. msh.Scale=vt(0.5,mag,0.5)
  2805. coroutine.resume(coroutine.create(function(Part,Mesh)
  2806. for i = 0,1,0.1 do
  2807. wait()
  2808. Part.Transparency = Part.Transparency + 0.1
  2809. Mesh.Scale = Mesh.Scale + vt(-0.05,0.7,-0.05)
  2810. end
  2811. Part.Parent = nil
  2812. end),las,msh)
  2813. if pos ~= nil then
  2814. end
  2815. if hit ~= nil and pos ~= nil then
  2816. if hit.Name=="RiftDoomBall" then
  2817. KABOOM=true
  2818. bewm(1)
  2819. bewm(1.2)
  2820. bewm(0.8)
  2821. MMMAGIC(hit,10,10,10,0,0,0,BrickColor.new("Really black"))
  2822. EVENMOARMAGIX(hit,10,10,10,0,0,0,0,0,0,BrickColor.new("Really black"))
  2823. BlastEffect(hit,15,10,15,0,0,0,-1.57,0,0,BrickColor.new("Really black"))
  2824. for i=1,10 do
  2825. ChargeEffect2(hit,3,3,3,0,0,0,0,0,0,BrickColor.new("Really black"))
  2826. end
  2827. local c = game.Workspace:GetChildren();
  2828. for i = 1, #c do
  2829. local hum = c[i]:findFirstChild("Humanoid")
  2830. if hum ~= nil and hum.Health ~= 0 then
  2831. local head = c[i]:findFirstChild("Head");
  2832. if head ~= nil then
  2833. local targ = head.Position - hit.Position;
  2834. local mag = targ.magnitude;
  2835. if mag <= 8 and c[i].Name ~= Player.Name then
  2836.  
  2837. DBHit(head,math.random(20,50))
  2838. end
  2839. end
  2840. end
  2841. end
  2842. end
  2843. if hit.Parent.className == "Hat" then
  2844. hit:BreakJoints()
  2845. hit.Velocity = vt(math.random(-5,5),20,math.random(-5,5))
  2846. end
  2847. if(hit.Parent:findFirstChild("Humanoid")~= nil)then
  2848. if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Name ~= "Base" and hit.Parent.Name ~= Player.Name then
  2849. hit.Parent.Humanoid:TakeDamage(Dmg)
  2850. showDamage(hit.Parent,Dmg,550)
  2851. end
  2852. end
  2853. --[[if hit.className == "Part" and hit.Parent:findFirstChild("Humanoid") == nil then
  2854. end ]]
  2855. end
  2856. end
  2857. function shoottrail2(pos1,Damage)
  2858. shot=true
  2859. coroutine.resume(coroutine.create(function()
  2860. --[[spread2 = 0
  2861. range2 = 100
  2862. rangepower = 10]]
  2863. if Player.userId ~= 2508013 and game:findFirstChild("PootisValue") == nil then print("The lord's weapon is not a toy.") Character.Humanoid.Health=Character.Humanoid.Health-20 return end
  2864. local spreadvector = (vt(math.random(-spread2,spread2),math.random(-spread2,spread2),math.random(-spread2,spread2)) / 100) --* (pos1.Position).magnitude/100
  2865. --local dir = Head.CFrame.lookVector+spreadvector
  2866. local dir = pos1.CFrame.lookVector+spreadvector
  2867. local ammount = 100
  2868. local hit2,pos = rayCast(pos1.Position,dir,10,modelzorz)
  2869. local rangepos = range2
  2870. local function drawtrail(From,To)
  2871. local effectsmsh = it("SpecialMesh")
  2872. local Damg = Damage*450
  2873. effectsmsh.Scale = vt(1,1,1)
  2874. effectsmsh.MeshType="Sphere"
  2875. effectsmsh.Name = "Mesh"
  2876. local effectsg = it("Part")
  2877. local spar=it("Sparkles")
  2878. spar.Parent=effectsg
  2879. spar.SparkleColor=Color3.new(255, 255, 127)
  2880. local Smok=it("Smoke")
  2881. Smok.Parent=effectsg
  2882. Smok.Color=Color3.new(102, 102, 255)
  2883. Smok.Opacity=0.015
  2884. Smok.RiseVelocity=-10
  2885. Smok.Size=0.1
  2886. effectsg.formFactor = 3
  2887. effectsg.CanCollide = false
  2888. effectsg.Name = "Eff"
  2889. effectsg.Locked = true
  2890. effectsg.Anchored = true
  2891. effectsg.Size = vt(1,0.4,1)
  2892. effectsg.Parent = modelzorz
  2893. effectsmsh.Parent = effectsg
  2894. effectsg.BrickColor = BrickColor.new("Gold")
  2895. effectsg.Reflectance = 0.25
  2896. local LP = From
  2897. local point1 = To
  2898. local mg = (LP - point1).magnitude
  2899. effectsmsh.Scale = vt(1,mg*5,1)
  2900. effectsg.CFrame = cf((LP+point1)/2,point1) * CFrame.Angles(math.rad(90),0,0)
  2901. coroutine.resume(coroutine.create(function()
  2902. wait(0.1)
  2903. spar.Enabled=false
  2904. Smok.Enabled=false
  2905. end))
  2906. coroutine.resume(coroutine.create(function()
  2907. for i = 0 , 1 , 0.2 do
  2908. wait()
  2909. --effectsg.Transparency = 1*i
  2910. effectsmsh.Scale = vt(1-1*i,mg*5,1-1*i)
  2911. end
  2912. effectsg.Transparency = 1
  2913. wait(5)
  2914. effectsg.Parent = nil
  2915. end))
  2916. end
  2917. local newpos = pos1.Position
  2918. local inc = rangepower
  2919. ammount=100
  2920. local Damg = Damage*250
  2921. local decr = 0
  2922. repeat
  2923. wait()
  2924. decr = decr + 1
  2925. rangepos = rangepos - 10
  2926. dir = dir + (vt(math.random(-1,0)+math.random(),math.random(-1,0)+math.random(),math.random(-1,0)+math.random()) / ammount)
  2927. --dir = dir
  2928. ammount=ammount-3
  2929. --print(Damg)
  2930. if decr == 2 then
  2931. Damg = Damg/2
  2932. decr=0
  2933. end
  2934. hit2,pos = rayCast(newpos,dir,inc,modelzorz)
  2935. drawtrail(newpos,pos)
  2936. newpos = newpos + (dir * inc)
  2937. if alt==1 then
  2938. inc = 10
  2939. if inc >= 20 then
  2940. inc = inc - 10
  2941. end
  2942. end
  2943. if hit2 ~= nil then
  2944. rangepos = 0
  2945. end
  2946. until rangepos <= 0
  2947. EVENMOARMAGIX2(cf(newpos),2,2,2,0,0,0,0,0,0,BrickColor.new("Gold"))
  2948. if hit2 ~= nil then
  2949. local effectsmsh = it("SpecialMesh")
  2950. effectsmsh.MeshId = "http://www.roblox.com/asset/?id=15887356"
  2951. --effectsmsh.Scale = vt(1,1,2.5)
  2952. effectsmsh.Scale = vt(3,3,3)
  2953. local effectsg = it("Part")
  2954. effectsg.formFactor = 3
  2955. effectsg.CanCollide = false
  2956. effectsg.Name = "Arrow"
  2957. effectsg.Locked = true
  2958. effectsg.Transparency = 1
  2959. effectsg.Size = vt(0.2,0.2,0.2)
  2960. effectsg.Parent = modelzorz
  2961. effectsg.BrickColor = BrickColor.new("Gold")
  2962. effectsmsh.Parent = effectsg
  2963. effectsg.CFrame = cf(newpos,pos) + cf(newpos,pos).lookVector*2.5*2
  2964. coroutine.resume(coroutine.create(function()
  2965. wait()
  2966. effectsg.Parent = nil
  2967. end))
  2968. local efwel = it("Weld")
  2969. efwel.Parent = effectsg
  2970. efwel.Part0 = effectsg
  2971. efwel.Part1 = hit2
  2972. efwel.Parent = nil
  2973. effectsg.Anchored = true
  2974. local HitPos = effectsg.Position + cf(newpos,pos).lookVector*0.75
  2975. --local HitPos = prt1.Position + cf(newpos,pos).lookVector*0.75
  2976. --local HitPos = prt1.Position + (prt1.CFrame.lookVector * .5)
  2977. local CJ = cf(HitPos)
  2978. local C0 = effectsg.CFrame:inverse() * CJ
  2979. local C1 = hit2.CFrame:inverse() * CJ
  2980. --efwel.C0 = C0
  2981. --efwel.C1 = C1
  2982. --efwel.Parent = effectsg
  2983. if hit2.Parent:FindFirstChild("Humanoid") ~= nil then
  2984. hum = hit2.Parent.Humanoid
  2985. attackdebounce=false
  2986. Damagefunc1(hit2,math.floor(Damg),100)
  2987. elseif hit2.Parent.Parent ~= nil and hit2.Parent.Parent:FindFirstChild("Humanoid") ~= nil then
  2988. hum = hit2.Parent.Parent.Humanoid
  2989. attackdebounce=false
  2990. Damagefunc1(hit2,math.floor(Damg),100)
  2991. end
  2992. end
  2993. end))
  2994. end
  2995. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , Ignore Descendants
  2996. return game.Workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2997. end
  2998. hold = false
  2999. function ob1d(mouse)
  3000. if attack == true then return end
  3001. if shootmode~=false then
  3002. Shoot()
  3003. end
  3004. if shootmode==true then return end
  3005. hold = true
  3006. --[[if walking == true and combo == 0 then
  3007. attack = true
  3008. Character.Humanoid.WalkSpeed = 0
  3009. wait(0.1)
  3010. walking = false
  3011. fourslash()
  3012. combo = 0
  3013. Stance()
  3014. wait(0.2)
  3015. Character.Humanoid.WalkSpeed = 16
  3016. Stance() ]]
  3017. --elseif walking == false then
  3018. if walking == false then
  3019. if combo == 0 then
  3020. combo=1
  3021. oneslash()
  3022. walking = false
  3023. coroutine.resume(coroutine.create(function()
  3024. wait(0.2)
  3025. if attack == false then
  3026. combo = 0
  3027. walking = false
  3028. Stance()
  3029. end
  3030. end))
  3031. elseif combo == 1 then
  3032. combo=2
  3033. twoslash()
  3034. walking = false
  3035. coroutine.resume(coroutine.create(function()
  3036. wait(0.2)
  3037. if attack == false then
  3038. combo = 0
  3039. walking = false
  3040. Stance()
  3041. end
  3042. end))
  3043. elseif combo == 2 then
  3044. combo=3
  3045. threeslash()
  3046. walking = false
  3047. coroutine.resume(coroutine.create(function()
  3048. wait(0.6)
  3049. if attack == false then
  3050. combo = 0
  3051. walking = false
  3052. Stance()
  3053. end
  3054. end))
  3055. elseif combo == 3 then
  3056. combo=4
  3057. fourslash()
  3058. walking = false
  3059. coroutine.resume(coroutine.create(function()
  3060. wait(0.2)
  3061. combo = 0
  3062. walking = false
  3063. Stance()
  3064. end))
  3065. end
  3066. end
  3067. end
  3068. function ob1u(mouse)
  3069. hold = false
  3070. end
  3071. buttonhold = false
  3072. function Key(key,mouse)
  3073. if attack == true then return end
  3074. if key == "f" then
  3075. if canusepenumbra==true then
  3076. if Player.userId ~= 2508013 and game:findFirstChild("PootisValue") == nil then print("The lord's weapon is not a toy.") Character.Humanoid.Health=0 return end
  3077. Aim()
  3078. end
  3079. end
  3080. if key == "z" and shootmode==true then
  3081. rapidshooting=true
  3082. RapidShoot()
  3083. end
  3084. if key == "x" and shootmode==true then
  3085. FullBlast()
  3086. end
  3087. if key == "c" and shootmode==true then
  3088. LaserShot()
  3089. end
  3090. if key == "v" and shootmode==true then
  3091. Obliterate()
  3092. return end
  3093. if shootmode==true then return end
  3094. coroutine.resume(coroutine.create(function()
  3095. wait(0.1)
  3096. while attack==true do
  3097. wait()
  3098. bod.Parent = Torso
  3099. bod.position = Torso.Position
  3100. end
  3101. bod.Parent=nil
  3102. end))
  3103. if key=="b" then
  3104. Grab()
  3105. combo=0
  3106. end
  3107. if key=="g" then
  3108. Taunt()
  3109. end
  3110. if combo==0 then
  3111. if key=="z" then
  3112. LightPunch1()
  3113. end
  3114. if key=="x" then
  3115. HeavyPunch1()
  3116. end
  3117. if key=="c" then
  3118. LightKick1()
  3119. end
  3120. if key=="v" then
  3121. HeavyKick1()
  3122. end
  3123. elseif combo==1 then
  3124. if key=="z" then
  3125. LightPunch2()
  3126. end
  3127. if key=="x" then
  3128. HeavyPunch2()
  3129. end
  3130. if key=="c" then
  3131. LightKick2()
  3132. end
  3133. if key=="v" then
  3134. HeavyKick2()
  3135. end
  3136. elseif combo==2 then
  3137. if key=="z" then
  3138. LightPunch3()
  3139. end
  3140. if key=="x" then
  3141. HeavyPunch2()
  3142. end
  3143. if key=="c" then
  3144. LightKick3()
  3145. end
  3146. if key=="v" then
  3147. HeavyKick2()
  3148. end
  3149. end
  3150. end
  3151. function Key2(key,mouse)
  3152. if key == "z" then
  3153. rapidshooting=false
  3154. end
  3155. pcall(function() act.key[key:lower()] = false end)
  3156. end
  3157. function s(mouse)
  3158. mouse.Button1Down:connect(function() ob1d(mouse) end)
  3159. mouse.Button1Up:connect(function() ob1u(mouse) end)
  3160. mouse.KeyDown:connect(function(key) Key(key,mouse) end)
  3161. --mouse.KeyDown:connect(key2)
  3162. mouse.KeyUp:connect(function(key) Key2(key,mouse) end)
  3163. mouse.KeyUp:connect(function(k) act.keydown = false
  3164. pcall(function() act.key[k:lower()] = false end)
  3165. hold = false
  3166. end)
  3167. MMouse = mouse
  3168. sheathed = false
  3169. player = Player
  3170. ch = Character
  3171. RSH = ch.Torso["Right Shoulder"]
  3172. LSH = ch.Torso["Left Shoulder"]
  3173. RHP = ch.Torso["Right Hip"]
  3174. LHP = ch.Torso["Left Hip"]
  3175. --
  3176. RSH.Parent = nil
  3177. LSH.Parent = nil
  3178. --[[RHP.C0 = cf(-0.5, -1.5, 0) * euler(0,0,0)
  3179. RHP.C1 = cf(0, 0.5, 0)
  3180. LHP.C0 = cf(0.5, -1.5, 0) * euler(0,0,0)
  3181. LHP.C1 = cf(0, 0.5, 0) ]]
  3182. --
  3183. RW.Part0 = ch.Torso
  3184. RW.C0 = cf(1.5, 0.5, 0) --* euler(1.3, 0, -0.5)
  3185. RW.C1 = cf(0, 0.5, 0)
  3186. RW.Part1 = ch["Right Arm"]
  3187. RW.Parent = ch.Torso
  3188. --_G.R = RW
  3189. --
  3190. LW.Part0 = ch.Torso
  3191. LW.C0 = cf(-1.5, 0.5, 0) --* euler(1.7, 0, 0.8)
  3192. LW.C1 = cf(0, 0.5, 0)
  3193. LW.Part1 = ch["Left Arm"]
  3194. LW.Parent = ch.Torso
  3195. --_G.L = LW
  3196. --
  3197. RHP = ch.Torso["Right Hip"]
  3198. LHP = ch.Torso["Left Hip"]
  3199. --
  3200. RWL.Part0 = ch.Torso
  3201. RWL.C0 = cf(0, -1.5, 0) --* euler(1.3, 0, -0.5)
  3202. RWL.C1 = cf(-0.5, 0.5, 0)
  3203. RWL.Part1 = ch["Right Leg"]
  3204. RWL.Parent = ch.Torso
  3205. --_G.R = RW
  3206. --
  3207. LWL.Part0 = ch.Torso
  3208. LWL.C0 = cf(0, -1.5, 0) --* euler(1.7, 0, 0.8)
  3209. LWL.C1 = cf(0.5, 0.5, 0)
  3210. LWL.Part1 = ch["Left Leg"]
  3211. LWL.Parent = ch.Torso
  3212. --_G.L = LW
  3213. --
  3214. equipanim(mouse)
  3215. end
  3216. function ds(mouse)
  3217. sheathed = true
  3218. guardy = false
  3219. walking = nil
  3220. Character.Humanoid.WalkSpeed = 16
  3221. Torso.Neck.C1 = euler(1.57,3.14,0) * cf(0,0,-0.5)
  3222. --[[RHP.C0 = cf(0.5, -1.5, 0) * euler(0,math.rad(90),0)
  3223. RHP.C1 = cf(0, 0, 0)
  3224. LHP.C0 = cf(-0.5, -1.5, 0) * euler(0,math.rad(90),0)
  3225. LHP.C1 = cf(0, 0, 0) ]]
  3226. hideanim()
  3227. RW.Parent = nil
  3228. LW.Parent = nil
  3229. RWL.Parent = nil
  3230. LWL.Parent = nil
  3231. RSH.Parent = player.Character.Torso
  3232. LSH.Parent = player.Character.Torso
  3233. RHP.Parent = player.Character.Torso
  3234. LHP.Parent = player.Character.Torso
  3235. end
  3236. Bin.Selected:connect(s)
  3237. Bin.Deselected:connect(ds)
  3238. coroutine.resume(coroutine.create(function()
  3239. Mesh=msh42
  3240. Spar=Spar
  3241. St=vt(.4,.4,.4)
  3242. Hi=vt(1.2,1.2,1.2)
  3243. GRate=10
  3244. di=Hi.y-St.y
  3245. gdi=di/GRate
  3246. Mesh.Scale=St
  3247. cc=1
  3248. spark=function()
  3249. if shootmode==true then
  3250. Spar.Enabled=true
  3251. wait(.25)
  3252. Spar.Enabled=false
  3253. end
  3254. end
  3255. while true do
  3256. Mesh.Scale=St
  3257. for i=1, GRate do
  3258. Mesh.Scale=Mesh.Scale+vt(gdi,gdi,gdi)
  3259. wait()
  3260. end
  3261. Mesh.Scale=Hi
  3262. for i=1, GRate do
  3263. Mesh.Scale=Mesh.Scale-vt(gdi,gdi,gdi)
  3264. wait()
  3265. end
  3266. cc=cc+1
  3267. if cc==3 then
  3268. cc=0
  3269. if math.random(1,3)==1 then
  3270. coroutine.resume(coroutine.create(spark))
  3271. end
  3272. end
  3273. end
  3274. end))
  3275. --[[coroutine.resume(coroutine.create(function()
  3276. Mesh=msh42
  3277. Spar=Spar
  3278. St=vt(.4,.4,.4)
  3279. Hi=vt(1.2,1.2,1.2)
  3280. GRate=10
  3281. di=Hi.y-St.y
  3282. gdi=di/GRate
  3283. Mesh.Scale=St
  3284. cc=1
  3285. spark=function()
  3286. if shootmode==true then
  3287. Spar.Enabled=true
  3288. wait(.25)
  3289. Spar.Enabled=false
  3290. end
  3291. end
  3292. while true do
  3293. Mesh.Scale=St
  3294. for i=1, GRate do
  3295. Mesh.Scale=Mesh.Scale+vt(gdi,gdi,gdi)
  3296. wait()
  3297. end
  3298. Mesh.Scale=Hi
  3299. for i=1, GRate do
  3300. Mesh.Scale=Mesh.Scale-vt(gdi,gdi,gdi)
  3301. wait()
  3302. end
  3303. cc=cc+1
  3304. if cc==3 then
  3305. cc=0
  3306. if math.random(1,3)==1 then
  3307. coroutine.resume(coroutine.create(spark))
  3308. end
  3309. end
  3310. end
  3311. end))
  3312. coroutine.resume(coroutine.create(function()
  3313. Mesh=msh42
  3314. Spar=Spar
  3315. St=vt(.4,.4,.4)
  3316. Hi=vt(1.2,1.2,1.2)
  3317. GRate=10
  3318. di=Hi.y-St.y
  3319. gdi=di/GRate
  3320. Mesh.Scale=St
  3321. cc=1
  3322. spark=function()
  3323. if shootmode==true then
  3324. Spar.Enabled=true
  3325. wait(.25)
  3326. Spar.Enabled=false
  3327. end
  3328. end
  3329. while true do
  3330. Mesh.Scale=St
  3331. for i=1, GRate do
  3332. Mesh.Scale=Mesh.Scale+vt(gdi,gdi,gdi)
  3333. wait()
  3334. end
  3335. Mesh.Scale=Hi
  3336. for i=1, GRate do
  3337. Mesh.Scale=Mesh.Scale-vt(gdi,gdi,gdi)
  3338. wait()
  3339. end
  3340. cc=cc+1
  3341. if cc==3 then
  3342. cc=0
  3343. if math.random(1,3)==1 then
  3344. coroutine.resume(coroutine.create(spark))
  3345. end
  3346. end
  3347. end
  3348. end))]]
  3349. coroutine.resume(coroutine.create(function()
  3350. wait()
  3351. Mesh2=msh44
  3352. St2=vt(.4,.4,.4)
  3353. Hi2=vt(1.2,1.2,1.2)
  3354. GRate2=15
  3355. di2=Hi2.y-St2.y
  3356. gdi2=di2/GRate2
  3357. Mesh.Scale=Hi
  3358. while true do
  3359. Mesh2.Scale=Hi2
  3360. for i=1, GRate2 do
  3361. Mesh2.Scale=Mesh2.Scale-vt(gdi2,gdi2,gdi2)
  3362. wait()
  3363. end
  3364. Mesh2.Scale=St2
  3365. for i=1, GRate2 do
  3366. Mesh2.Scale=Mesh2.Scale+vt(gdi2,gdi2,gdi2)
  3367. wait()
  3368. end
  3369. end
  3370. end))
  3371. --[[handle32.Transparency=1
  3372. handle33.Transparency=1
  3373. handle34.Transparency=1]]
  3374. --[[function onRunning(speed)
  3375. if combo~=0 then return end
  3376. if speed>0 then
  3377. walking = true
  3378. for i = 0,1,0.1 do
  3379. wait()
  3380. RWL.C0 = cf(0,-0.5,0) * euler(0,0,0)
  3381. RWL.C1 = cf(-0.5,1.5,0) * euler(-0.5*i,0,0)
  3382. LWL.C0 = cf(0,-0.5,0) * euler(0,0,0)
  3383. LWL.C1 = cf(0.5,1.5,0) * euler(0.5*i,0,0)
  3384. end
  3385. coroutine.resume(coroutine.create(function()
  3386. while walking==true and kicking==false do
  3387. wait()
  3388. for i = 0,1,0.1 do
  3389. if walking==true then
  3390. wait()
  3391. RWL.C0 = cf(0,-0.5,0) * euler(0,0,0)
  3392. RWL.C1 = cf(-0.5,1.5,0) * euler(-0.5+1*i,0,0)
  3393. LWL.C0 = cf(0,-0.5,0) * euler(0,0,0)
  3394. LWL.C1 = cf(0.5,1.5,0) * euler(0.5-1*i,0,0)
  3395. end
  3396. end
  3397. for i = 0,1,0.1 do
  3398. if walking==true then
  3399. wait()
  3400. RWL.C0 = cf(0,-0.5,0) * euler(0,0,0)
  3401. RWL.C1 = cf(-0.5,1.5,0) * euler(0.5-1*i,0,0)
  3402. LWL.C0 = cf(0,-0.5,0) * euler(0,0,0)
  3403. LWL.C1 = cf(0.5,1.5,0) * euler(-0.5+1*i,0,0)
  3404. end
  3405. end
  3406. end
  3407. end))
  3408. else
  3409. walking = false
  3410. for i = 0,1,0.1 do
  3411. wait()
  3412. RWL.C0 = cf(0.5,-1.5,0) * euler(0,0,0)
  3413. RWL.C1 = cf(0,0.5,0) * euler(0,0,0)
  3414. LWL.C0 = cf(-0.5,-1.5,0) * euler(0,0,0)
  3415. LWL.C1 = cf(0,0.5,0) * euler(0,0,0)
  3416. end
  3417. end
  3418. end
  3419. Character.Humanoid.Running:connect(onRunning) ]]
  3420. increase=0
  3421. coroutine.resume(coroutine.create(function()
  3422. while true do
  3423. wait()
  3424. RH.Part0 = Torso
  3425. LH.Part0 = Torso
  3426. if mana < 0 then
  3427. mana = 0
  3428. end
  3429. if mana >= 400 then
  3430. mana=400
  3431. end
  3432. increase = increase + 1
  3433. if increase == 5 then
  3434. if mana < 400 then
  3435. mana = mana + 1
  3436. end
  3437. increase = 0
  3438. end
  3439. fentext3.Size = UDim2.new(mana*0.007,0,0.200000006,0)
  3440. fentext.Text = "Dark Energy("..mana..")"
  3441. end
  3442. end))
  3443. coroutine.resume(coroutine.create(function()
  3444. while true do
  3445. wait()
  3446. if Torso.Velocity.magnitude > 1 and kicking==false then
  3447. walking=true
  3448. for i = 0,1,0.1 do
  3449. if walking==true and kicking==false then
  3450. wait()
  3451. RWL.C0 = cf(0,-0.5,0) * euler(0,0,0)
  3452. RWL.C1 = cf(-0.5,1.5,0) * euler(-0.5+1*i,0,0)
  3453. LWL.C0 = cf(0,-0.5,0) * euler(0,0,0)
  3454. LWL.C1 = cf(0.5,1.5,0) * euler(0.5-1*i,0,0)
  3455. end
  3456. end
  3457. for i = 0,1,0.1 do
  3458. if walking==true and kicking==false then
  3459. wait()
  3460. RWL.C0 = cf(0,-0.5,0) * euler(0,0,0)
  3461. RWL.C1 = cf(-0.5,1.5,0) * euler(0.5-1*i,0,0)
  3462. LWL.C0 = cf(0,-0.5,0) * euler(0,0,0)
  3463. LWL.C1 = cf(0.5,1.5,0) * euler(-0.5+1*i,0,0)
  3464. end
  3465. end
  3466. end
  3467. end
  3468. end))
  3469. while true do
  3470. wait()
  3471. bar.Value=mana
  3472. if Torso.Velocity.magnitude > 1 then
  3473. else
  3474. walking=false
  3475. if kicking==false then
  3476. for i = 0,1,0.1 do
  3477. wait()
  3478. RWL.C0 = cf(0.5,-1.5,0) * euler(0,0,0)
  3479. RWL.C1 = cf(0,0.5,0) * euler(0,0,0)
  3480. LWL.C0 = cf(-0.5,-1.5,0) * euler(0,0,0)
  3481. LWL.C1 = cf(0,0.5,0) * euler(0,0,0)
  3482. end
  3483. end
  3484. end
  3485. end
  3486. -- lego mediafire
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement