Dark_EccentricYT

Untitled

Jun 27th, 2017
723
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 82.35 KB | None | 0 0
  1. Player = game:GetService("Players").LocalPlayer
  2. --FIXED WITH TRIGECTORY's CheatSheet
  3. cheatsheetplr = game.Players.LocalPlayer
  4. i = Instance.new("NumberValue", cheatsheetplr )
  5. i.Name = "FPSCH"
  6. Bin = Instance.new("HopperBin", cheatsheetplr .Backpack)
  7. script.Parent = Bin
  8. local cf = CFrame.new
  9. local RbxUtility = LoadLibrary("RbxUtility")
  10. local Create = RbxUtility.Create
  11. RW = Create("Weld")({Name = "Right Shoulder", Part0 = Tor, C0 = CFrame.new(1.5, 0.5, 0), C1 = CFrame.new(0, 0.5, 0), Part1 = RA, Parent = Tor})
  12. LW = Create("Weld")({Name = "Left Shoulder", Part0 = Tor, C0 = CFrame.new(-1.5, 0.5, 0), C1 = CFrame.new(0, 0.5, 0), Part1 = LA, Parent = Tor})
  13. Character = Player.Character
  14. Torso = Character.Torso
  15. Head = Character.Head
  16. Humanoid = Character.Humanoid
  17. m = Instance.new("Model", Character)
  18. LeftArm = Character["Left Arm"]
  19. invising = false
  20. LeftLeg = Character["Left Leg"]
  21. RightArm = Character["Right Arm"]
  22. RightLeg = Character["Right Leg"]
  23. LS = Torso["Left Shoulder"]
  24. LH = Torso["Left Hip"]
  25. running = false
  26. RS = Torso["Right Shoulder"]
  27. RH = Torso["Right Hip"]
  28. face = Head.face
  29. Neck = Torso.Neck
  30. it = Instance.new
  31. attacktype = 1
  32. vt = Vector3.new
  33. cf = CFrame.new
  34. euler = CFrame.fromEulerAnglesXYZ
  35. angles = CFrame.Angles
  36. cloaked = false
  37. necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  38. necko2 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  39. LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  40. LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  41. RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  42. RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  43. RootPart = Character.HumanoidRootPart
  44. invisy = false
  45. RootJoint = RootPart.RootJoint
  46. RootCF = euler(-1.57, 0, 3.14)
  47. attack = false
  48. attackdebounce = false
  49. deb = false
  50. equipped = true
  51. CRITTING = false
  52. hand = false
  53. MMouse = nil
  54. combo = 0
  55. mana = 100
  56. trispeed = 0.2
  57. attackmode = "none"
  58. local idle = 0
  59. local Anim = "Idle"
  60. local Effects = {}
  61. local gun = false
  62. local shoot = false
  63. venabled = false
  64. player = nil
  65. trispeed = 0.5
  66. pathtrans = 0.7
  67. magix = false
  68. xenabled = true
  69. cenabled = true
  70. venabled = true
  71. zenabled = true
  72. pathcolor = BrickColor.new("White")
  73. shoot = false
  74. mon = Instance.new("Model", Character)
  75. RSH = nil
  76. RW = Instance.new("Weld")
  77. RW.Name = "Right Shoulder"
  78. LW.Name = "Left Shoulder"
  79. LH = Torso["Left Hip"]
  80. RH = Torso["Right Hip"]
  81. TorsoColor = Torso.BrickColor
  82. NoOutline = function(Part)
  83. Part.TopSurface = 10
  84. end
  85.  
  86. local fengui = it("GuiMain")
  87. fengui.Parent = Player.PlayerGui
  88. fengui.Name = "WeaponGUI"
  89. local fenframe = it("Frame")
  90. fenframe.Parent = fengui
  91. fenframe.BackgroundColor3 = Color3.new(255, 255, 255)
  92. fenframe.BackgroundTransparency = 1
  93. fenframe.BorderColor3 = Color3.new(17, 17, 17)
  94. fenframe.Size = UDim2.new(0.0500000007, 0, 0.100000001, 0)
  95. fenframe.Position = UDim2.new(0.4, 0, 0.1, 0)
  96. local fenbarmana1 = it("TextLabel")
  97. fenbarmana1.Parent = fenframe
  98. fenbarmana1.Text = " "
  99. fenbarmana1.BackgroundTransparency = 0
  100. fenbarmana1.BackgroundColor3 = Color3.new(0, 0, 0)
  101. fenbarmana1.SizeConstraint = "RelativeXY"
  102. fenbarmana1.TextXAlignment = "Center"
  103. fenbarmana1.TextYAlignment = "Center"
  104. fenbarmana1.Position = UDim2.new(0, 0, 0, 0)
  105. fenbarmana1.Size = UDim2.new(4, 0, 0.2, 0)
  106. local fenbarmana2 = it("TextLabel")
  107. fenbarmana2.Parent = fenframe
  108. fenbarmana2.Text = " "
  109. fenbarmana2.BackgroundTransparency = 0
  110. fenbarmana2.BackgroundColor3 = Torso.Color
  111. fenbarmana2.SizeConstraint = "RelativeXY"
  112. fenbarmana2.TextXAlignment = "Center"
  113. fenbarmana2.TextYAlignment = "Center"
  114. fenbarmana2.Position = UDim2.new(0, 0, 0, 0)
  115. fenbarmana2.Size = UDim2.new(4 * mana / 100, 0, 0.2, 0)
  116. local fenbarmana3 = it("TextLabel")
  117. fenbarmana3.Parent = fenframe
  118. fenbarmana3.Text = " "
  119. fenbarmana3.BackgroundTransparency = 0
  120. fenbarmana3.BackgroundColor3 = Color3.new(Col1, Col2, Col3)
  121. fenbarmana3.SizeConstraint = "RelativeXY"
  122. fenbarmana3.TextXAlignment = "Center"
  123. fenbarmana3.TextYAlignment = "Center"
  124. fenbarmana3.Position = UDim2.new(0, 0, 0, 0)
  125. fenbarmana3.Size = UDim2.new(0, 0, 0.2, 0)
  126. local fenbarmana4 = it("TextLabel")
  127. fenbarmana4.Parent = fenframe
  128. fenbarmana4.Text = "Energy(" .. mana .. ")"
  129. fenbarmana4.BackgroundTransparency = 1
  130. fenbarmana4.BackgroundColor3 = Color3.new(0, 0, 0)
  131. fenbarmana4.SizeConstraint = "RelativeXY"
  132. fenbarmana4.TextXAlignment = "Center"
  133. fenbarmana4.TextYAlignment = "Center"
  134. fenbarmana4.Position = UDim2.new(0, 0, -0.3, 0)
  135. fenbarmana4.Size = UDim2.new(4, 0, 0.2, 0)
  136. fenbarmana4.FontSize = "Size9"
  137. fenbarmana4.TextStrokeTransparency = 0
  138. fenbarmana4.TextColor = BrickColor.new("White")
  139. local fengui = it("GuiMain")
  140. fengui.Parent = Player.PlayerGui
  141. fengui.Name = "WeaponGUI"
  142. local fenframe1 = it("TextLabel")
  143. fenframe1.Parent = fengui
  144. fenframe1.BackgroundColor3 = Color3.new(0.19607843137255, 0.19607843137255, 0.19607843137255)
  145. fenframe1.BackgroundTransparency = 0.3
  146. fenframe1.BorderSizePixel = 5
  147. fenframe1.BorderColor3 = Color3.new(1, 1, 1)
  148. fenframe1.Size = UDim2.new(0.05, 0, 0.1, 0)
  149. fenframe1.Position = UDim2.new(0.325, 0, 0.7, 0)
  150. fenframe1.Text = "Z"
  151. fenframe1.TextWrapped = true
  152. fenframe1.FontSize = 7
  153. fenframe1.TextColor3 = Color3.new(1, 1, 1)
  154. local fenframe1a = it("TextLabel")
  155. fenframe1a.Parent = fengui
  156. fenframe1a.BackgroundColor3 = Color3.new(0.7843137254902, 0.7843137254902, 0.7843137254902)
  157. fenframe1a.BackgroundTransparency = 0.3
  158. fenframe1a.BorderSizePixel = 5
  159. fenframe1a.BorderColor3 = Color3.new(1, 1, 1)
  160. fenframe1a.Size = UDim2.new(0.05, 0, 0.1, 0)
  161. fenframe1a.Position = UDim2.new(0.325, 0, 0.7, 0)
  162. fenframe1a.Text = ""
  163. local fenframe2 = it("TextLabel")
  164. fenframe2.Parent = fengui
  165. fenframe2.BackgroundColor3 = Color3.new(0.19607843137255, 0.19607843137255, 0.19607843137255)
  166. fenframe2.BackgroundTransparency = 0.3
  167. fenframe2.BorderSizePixel = 5
  168. fenframe2.BorderColor3 = Color3.new(1, 1, 1)
  169. fenframe2.Size = UDim2.new(0.05, 0, 0.1, 0)
  170. fenframe2.Position = UDim2.new(0.425, 0, 0.7, 0)
  171. fenframe2.Text = "X"
  172. fenframe2.TextWrapped = true
  173. fenframe2.FontSize = 7
  174. fenframe2.TextColor3 = Color3.new(1, 1, 1)
  175. local fenframe2a = it("TextLabel")
  176. fenframe2a.Parent = fengui
  177. fenframe2a.BackgroundColor3 = Color3.new(0.7843137254902, 0.7843137254902, 0.7843137254902)
  178. fenframe2a.BackgroundTransparency = 0.3
  179. fenframe2a.BorderSizePixel = 5
  180. fenframe2a.BorderColor3 = Color3.new(1, 1, 1)
  181. fenframe2a.Size = UDim2.new(0.05, 0, 0.1, 0)
  182. fenframe2a.Position = UDim2.new(0.425, 0, 0.7, 0)
  183. fenframe2a.Text = ""
  184. local fenframe3 = it("TextLabel")
  185. fenframe3.Parent = fengui
  186. fenframe3.BackgroundColor3 = Color3.new(0.19607843137255, 0.19607843137255, 0.19607843137255)
  187. fenframe3.BackgroundTransparency = 0.3
  188. fenframe3.BorderSizePixel = 5
  189. fenframe3.BorderColor3 = Color3.new(1, 1, 1)
  190. fenframe3.Size = UDim2.new(0.05, 0, 0.1, 0)
  191. fenframe3.Position = UDim2.new(0.525, 0, 0.7, 0)
  192. fenframe3.Text = "C"
  193. fenframe3.TextWrapped = true
  194. fenframe3.FontSize = 7
  195. fenframe3.TextColor3 = Color3.new(1, 1, 1)
  196. local fenframe3a = it("TextLabel")
  197. fenframe3a.Parent = fengui
  198. fenframe3a.BackgroundColor3 = Color3.new(0.7843137254902, 0.7843137254902, 0.7843137254902)
  199. fenframe3a.BackgroundTransparency = 0.3
  200. fenframe3a.BorderSizePixel = 5
  201. fenframe3a.BorderColor3 = Color3.new(1, 1, 1)
  202. fenframe3a.Size = UDim2.new(0.05, 0, 0.1, 0)
  203. fenframe3a.Position = UDim2.new(0.525, 0, 0.7, 0)
  204. fenframe3a.Text = ""
  205. local fenframe4 = it("TextLabel")
  206. fenframe4.Parent = fengui
  207. fenframe4.BackgroundColor3 = Color3.new(0.19607843137255, 0.19607843137255, 0.19607843137255)
  208. fenframe4.BackgroundTransparency = 0.3
  209. fenframe4.BorderSizePixel = 5
  210. fenframe4.BorderColor3 = Color3.new(1, 1, 1)
  211. fenframe4.Size = UDim2.new(0.05, 0, 0.1, 0)
  212. fenframe4.Position = UDim2.new(0.625, 0, 0.7, 0)
  213. fenframe4.Text = "V"
  214. fenframe4.TextWrapped = true
  215. fenframe4.FontSize = 7
  216. fenframe4.TextColor3 = Color3.new(1, 1, 1)
  217. local fenframe4a = it("TextLabel")
  218. fenframe4a.Parent = fengui
  219. fenframe4a.BackgroundColor3 = Color3.new(0.7843137254902, 0.7843137254902, 0.7843137254902)
  220. fenframe4a.BackgroundTransparency = 0.3
  221. fenframe4a.BorderSizePixel = 5
  222. fenframe4a.BorderColor3 = Color3.new(1, 1, 1)
  223. fenframe4a.Size = UDim2.new(0.05, 0, 0.1, 0)
  224. fenframe4a.Position = UDim2.new(0.625, 0, 0.7, 0)
  225. fenframe4a.Text = ""
  226. fenframe1a.Size = UDim2.new(0, 0, 0.1, 0)
  227. fenframe2a.Size = UDim2.new(0, 0, 0.1, 0)
  228. fenframe3a.Size = UDim2.new(0, 0, 0.1, 0)
  229. fenframe4a.Size = UDim2.new(0, 0, 0.1, 0)
  230. ch = Character
  231. RSH = ch.Torso["Right Shoulder"]
  232. LSH = ch.Torso["Left Shoulder"]
  233. RSH.Parent = nil
  234. LSH.Parent = nil
  235. RW.Name = "Right Shoulder"
  236. RW.Part0 = ch.Torso
  237. RW.C0 = cf(1.5, 0.5, 0)
  238. RW.C1 = cf(0, 0.5, 0)
  239. RW.Part1 = ch["Right Arm"]
  240. RW.Parent = ch.Torso
  241. LW.Name = "Left Shoulder"
  242. LW.Part0 = ch.Torso
  243. LW.C0 = cf(-1.5, 0.5, 0)
  244. LW.C1 = cf(0, 0.5, 0)
  245. LW.Part1 = ch["Left Arm"]
  246. LW.Parent = ch.Torso
  247. local weldBetween = function(a, b)
  248. local weldd = Instance.new("ManualWeld")
  249. weldd.Part0 = a
  250. weldd.Part1 = b
  251. weldd.C0 = CFrame.new()
  252. weldd.C1 = b.CFrame:inverse() * a.CFrame
  253. weldd.Parent = a
  254. return weldd
  255. end
  256.  
  257. it = Instance.new
  258. nooutline = function(part)
  259. part.TopSurface = 10
  260. end
  261.  
  262. part = function(formfactor, parent, material, reflectance, transparency, brickcolor, name, size)
  263. local fp = it("Part")
  264. fp.Parent = parent
  265. fp.Reflectance = reflectance
  266. fp.Transparency = transparency
  267. fp.CanCollide = false
  268. fp.Locked = true
  269. fp.BrickColor = BrickColor.new(tostring(brickcolor))
  270. fp.Name = name
  271. fp.Size = size
  272. fp.Position = Character.Torso.Position
  273. nooutline(fp)
  274. fp.Material = material
  275. fp:BreakJoints()
  276. return fp
  277. end
  278.  
  279. prt = function(formfactor, parent, material, reflectance, transparency, brickcolor, name, size)
  280. local fp = it("Part")
  281. fp.Parent = parent
  282. fp.Reflectance = reflectance
  283. fp.Transparency = transparency
  284. fp.CanCollide = false
  285. fp.Locked = true
  286. fp.BrickColor = BrickColor.new(tostring(brickcolor))
  287. fp.Name = name
  288. fp.Size = size
  289. fp.Position = Character.Torso.Position
  290. nooutline(fp)
  291. fp.Material = material
  292. fp:BreakJoints()
  293. return fp
  294. end
  295.  
  296. paart = function(formfactor, parent, reflectance, transparency, brickcolor, name, size)
  297. local fp = it("Part")
  298. fp.Parent = parent
  299. fp.Reflectance = reflectance
  300. fp.Transparency = transparency
  301. fp.CanCollide = false
  302. fp.Locked = true
  303. fp.BrickColor = brickcolor
  304. fp.Name = name
  305. fp.Size = size
  306. fp.Position = Torso.Position
  307. NoOutline(fp)
  308. fp.Material = "SmoothPlastic"
  309. fp:BreakJoints()
  310. return fp
  311. end
  312.  
  313. mesh = function(Mesh, part, meshtype, meshid, offset, scale)
  314. local mesh = it(Mesh)
  315. mesh.Parent = part
  316. if Mesh == "SpecialMesh" then
  317. mesh.MeshType = meshtype
  318. mesh.MeshId = meshid
  319. end
  320. mesh.Offset = offset
  321. mesh.Scale = scale
  322. return mesh
  323. end
  324.  
  325. weld = function(parent, part0, part1, c0, c1)
  326. local weld = it("Weld")
  327. weld.Parent = parent
  328. weld.Part0 = part0
  329. weld.Part1 = part1
  330. weld.C0 = c0
  331. weld.C1 = c1
  332. return weld
  333. end
  334.  
  335. local Color1 = Torso.BrickColor
  336. local bodvel = Instance.new("BodyVelocity")
  337. local bg = Instance.new("BodyGyro")
  338. ArtificialHB = Instance.new("BindableEvent", script)
  339. ArtificialHB.Name = "Heartbeat"
  340. script:WaitForChild("Heartbeat")
  341. frame = 0.033333333333333
  342. if Player.FPSCH.Value == true then
  343. frame = 0.016666666666667
  344. else
  345. frame = 0.022222222222222
  346. end
  347. tf = 0
  348. allowframeloss = false
  349. tossremainder = false
  350. lastframe = tick()
  351. script.Heartbeat:Fire()
  352. game:GetService("RunService").Heartbeat:connect(function(s, p)
  353. tf = tf + s
  354. if frame <= tf then
  355. if allowframeloss then
  356. script.Heartbeat:Fire()
  357. lastframe = tick()
  358. else
  359. for i = 1, math.floor(tf / frame) do
  360. script.Heartbeat:Fire()
  361. end
  362. lastframe = tick()
  363. end
  364. if tossremainder then
  365. tf = 0
  366. else
  367. tf = tf - frame * math.floor(tf / frame)
  368. end
  369. end
  370. end
  371. )
  372. swait = function(num)
  373. if num == 0 or num == nil then
  374. ArtificialHB.Event:wait()
  375. else
  376. for i = 0, num do
  377. ArtificialHB.Event:wait()
  378. end
  379. end
  380. end
  381.  
  382. pwait = function(num)
  383. if num == 0 or num == nil then
  384. game:service("RunService").Heartbeat:wait(0)
  385. else
  386. for i = 0, num do
  387. game:service("RunService").Heartbeat:wait(0)
  388. end
  389. end
  390. end
  391.  
  392. so = function(id, par, vol, pit)
  393. coroutine.resume(coroutine.create(function()
  394. local sou = Instance.new("Sound", par or workspace)
  395. sou.Volume = vol
  396. sou.Pitch = pit or 1
  397. sou.SoundId = id
  398. swait()
  399. sou:play()
  400. game:GetService("Debris"):AddItem(sou, 6)
  401. end
  402. ))
  403. end
  404.  
  405. function clerp(a,b,t)
  406. local qa = {QuaternionFromCFrame(a)}
  407. local qb = {QuaternionFromCFrame(b)}
  408. local ax, ay, az = a.x, a.y, a.z
  409. local bx, by, bz = b.x, b.y, b.z
  410. local _t = 1-t
  411. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  412. end
  413.  
  414. function QuaternionFromCFrame(cf)
  415. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  416. local trace = m00 + m11 + m22
  417. if trace > 0 then
  418. local s = math.sqrt(1 + trace)
  419. local recip = 0.5/s
  420. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  421. else
  422. local i = 0
  423. if m11 > m00 then
  424. i = 1
  425. end
  426. if m22 > (i == 0 and m00 or m11) then
  427. i = 2
  428. end
  429. if i == 0 then
  430. local s = math.sqrt(m00-m11-m22+1)
  431. local recip = 0.5/s
  432. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  433. elseif i == 1 then
  434. local s = math.sqrt(m11-m22-m00+1)
  435. local recip = 0.5/s
  436. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  437. elseif i == 2 then
  438. local s = math.sqrt(m22-m00-m11+1)
  439. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  440. end
  441. end
  442. end
  443.  
  444. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  445. local xs, ys, zs = x + x, y + y, z + z
  446. local wx, wy, wz = w*xs, w*ys, w*zs
  447. local xx = x*xs
  448. local xy = x*ys
  449. local xz = x*zs
  450. local yy = y*ys
  451. local yz = y*zs
  452. local zz = z*zs
  453. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  454. end
  455.  
  456. function QuaternionSlerp(a, b, t)
  457. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  458. local startInterp, finishInterp;
  459. if cosTheta >= 0.0001 then
  460. if (1 - cosTheta) > 0.0001 then
  461. local theta = math.acos(cosTheta)
  462. local invSinTheta = 1/math.sin(theta)
  463. startInterp = math.sin((1-t)*theta)*invSinTheta
  464. finishInterp = math.sin(t*theta)*invSinTheta
  465. else
  466. startInterp = 1-t
  467. finishInterp = t
  468. end
  469. else
  470. if (1+cosTheta) > 0.0001 then
  471. local theta = math.acos(-cosTheta)
  472. local invSinTheta = 1/math.sin(theta)
  473. startInterp = math.sin((t-1)*theta)*invSinTheta
  474. finishInterp = math.sin(t*theta)*invSinTheta
  475. else
  476. startInterp = t-1
  477. finishInterp = t
  478. end
  479. end
  480. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  481. end
  482.  
  483. rayCast = function(Pos, Dir, Max, Ignore)
  484. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  485. end
  486.  
  487. SkullEffect = function(brickcolor, cframe, x1, y1, z1, delay)
  488. local prt = paart(3, workspace, 0, 0, brickcolor, "Effect", vt(3, 3, 3))
  489. prt.Anchored = true
  490. prt.CFrame = cframe
  491. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=4770583", vt(0, 0, 0), vt(x1, y1, z1))
  492. game:GetService("Debris"):AddItem(prt, 2)
  493. CF = prt.CFrame
  494. coroutine.resume(coroutine.create(function(Part, Mesh, TehCF)
  495. for i = 0, 1, 0.2 do
  496. wait()
  497. Part.CFrame = CF * cf(0, 0, -0.4)
  498. end
  499. for i = 0, 1, delay do
  500. wait()
  501. Mesh.Scale = Mesh.Scale
  502. end
  503. for i = 0, 1, 0.1 do
  504. wait()
  505. Part.Transparency = i
  506. end
  507. Part.Parent = nil
  508. return Part
  509. end
  510. ), prt, msh, CF)
  511. return prt
  512. end
  513.  
  514. MagicBlock = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  515. local prt = paart(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  516. prt.Anchored = true
  517. prt.CFrame = cframe
  518. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  519. game:GetService("Debris"):AddItem(prt, 5)
  520. coroutine.resume(coroutine.create(function(Part, Mesh)
  521. for i = 0, 1, delay do
  522. wait()
  523. Part.CFrame = Part.CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  524. Part.Transparency = i
  525. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  526. end
  527. Part.Parent = nil
  528. return Part
  529. end
  530. ), prt, msh)
  531. return prt
  532. end
  533.  
  534. MagicBlock2 = function(brickcolor, cframe, Parent, x1, y1, z1, x3, y3, z3, delay)
  535. local prt = paart(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  536. prt.Anchored = false
  537. prt.CFrame = cframe
  538. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  539. local wld = weld(prt, prt, Parent, cframe)
  540. game:GetService("Debris"):AddItem(prt, 5)
  541. coroutine.resume(coroutine.create(function(Part, Mesh, Weld)
  542. for i = 0, 1, delay do
  543. wait()
  544. Weld.C0 = euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) * cframe
  545. Part.Transparency = i
  546. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  547. end
  548. Part.Parent = nil
  549. end
  550. ), prt, msh, wld)
  551. end
  552.  
  553. MagicBlock3 = function(brickcolor, cframe, Parent, x1, y1, z1, x3, y3, z3, delay)
  554. local prt = paart(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  555. prt.Anchored = false
  556. prt.CFrame = cframe
  557. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  558. local wld = weld(prt, prt, Parent, euler(0, 0, 0) * cf(0, 0, 0))
  559. game:GetService("Debris"):AddItem(prt, 5)
  560. coroutine.resume(coroutine.create(function(Part, Mesh, Weld)
  561. for i = 0, 1, delay do
  562. wait()
  563. Weld.C0 = euler(i * 20, 0, 0)
  564. Part.Transparency = i
  565. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  566. end
  567. Part.Parent = nil
  568. end
  569. ), prt, msh, wld)
  570. end
  571.  
  572. MagicCircle2 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  573. local prt = paart(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  574. prt.Anchored = true
  575. prt.CFrame = cframe
  576. local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  577. game:GetService("Debris"):AddItem(prt, 2)
  578. coroutine.resume(coroutine.create(function(Part, Mesh)
  579. for i = 0, 1, delay do
  580. wait()
  581. Part.CFrame = Part.CFrame
  582. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  583. local prt2 = paart(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  584. prt2.Anchored = true
  585. prt2.CFrame = cframe * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  586. local msh2 = mesh("SpecialMesh", prt2, "Sphere", "", vt(0, 0, 0), vt(0.5, 0.5, 0.5))
  587. game:GetService("Debris"):AddItem(prt2, 2)
  588. coroutine.resume(coroutine.create(function(Part, Mesh)
  589. for i = 0, 1, 0.1 do
  590. wait()
  591. Part.CFrame = Part.CFrame * cf(0, 0.5, 0)
  592. end
  593. Part.Parent = nil
  594. end
  595. ), prt2, msh2)
  596. end
  597. for i = 0, 1, delay * 2 do
  598. wait()
  599. Part.CFrame = Part.CFrame
  600. Mesh.Scale = vt(x1 + x3 - (x1 + x3) * i, y1 + y3 - (y1 + y3) * i, z1 + z3 - (z1 + z3) * i)
  601. end
  602. Part.Parent = nil
  603. end
  604. ), prt, msh)
  605. end
  606.  
  607. MagicCircle = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  608. local prt = paart(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  609. prt.Anchored = true
  610. prt.CFrame = cframe
  611. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  612. game:GetService("Debris"):AddItem(prt, 2)
  613. coroutine.resume(coroutine.create(function(Part, Mesh)
  614. for i = 0, 1, delay do
  615. wait()
  616. Part.CFrame = Part.CFrame
  617. Part.Transparency = i
  618. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  619. end
  620. Part.Parent = nil
  621. end
  622. ), prt, msh)
  623. end
  624.  
  625. MagicRing = function(brickcolor, cframe, x1, y1, z1, x2, y2, z2, x3, y3, z3)
  626. local prt = paart(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  627. prt.Anchored = true
  628. prt.CFrame = cframe * euler(x2, y2, z2)
  629. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=3270017", vt(0, 0, 0), vt(x1, y1, z1))
  630. game:GetService("Debris"):AddItem(prt, 2)
  631. coroutine.resume(coroutine.create(function(Part, Mesh)
  632. for i = 0, 1, 0.03 do
  633. wait()
  634. Part.CFrame = Part.CFrame
  635. Part.Transparency = i
  636. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  637. end
  638. Part.Parent = nil
  639. end
  640. ), prt, msh)
  641. end
  642.  
  643. MagicRing1 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  644. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  645. prt.Anchored = true
  646. prt.CFrame = cframe
  647. msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=3270017", vt(0, 0, 0), vt(x1, y1, z1))
  648. game:GetService("Debris"):AddItem(prt, 2)
  649. coroutine.resume(coroutine.create(function(Part, Mesh, num)
  650. for i = 0, 1, delay do
  651. swait()
  652. Part.Transparency = i
  653. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  654. end
  655. Part.Parent = nil
  656. end
  657. ), prt, msh, (math.random(0, 1) + math.random()) / 5)
  658. end
  659.  
  660. MagicCircle = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  661. local prt = part(3, Character, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt())
  662. prt.Anchored = true
  663. prt.CFrame = cframe
  664. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  665. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  666. end
  667.  
  668. BreakEffect = function(brickcolor, cframe, x1, y1, z1)
  669. local prt = paart(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  670. prt.Anchored = true
  671. prt.CFrame = cframe * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  672. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  673. game:GetService("Debris"):AddItem(prt, 2)
  674. coroutine.resume(coroutine.create(function(Part, CF, Numbb, randnumb)
  675. CF = Part.CFrame
  676. Numbb = 0
  677. randnumb = math.random() / 10
  678. rand1 = math.random() / 10
  679. for i = 0, 1, rand1 do
  680. wait()
  681. CF = CF * cf(0, math.random() / 2, 0)
  682. Part.CFrame = CF * euler(Numbb, 0, 0)
  683. Part.Transparency = i
  684. Numbb = Numbb + randnumb
  685. end
  686. Part.Parent = nil
  687. end
  688. ), prt, CF, Numbb, randnumb)
  689. end
  690.  
  691. MagicWaveThing = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  692. local prt = paart(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  693. prt.Anchored = true
  694. prt.CFrame = cframe
  695. msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1051557", vt(0, 0, 0), vt(x1, y1, z1))
  696. game:GetService("Debris"):AddItem(prt, 5)
  697. coroutine.resume(coroutine.create(function(Part, Mesh)
  698. for i = 0, 1, delay do
  699. wait()
  700. Part.CFrame = Part.CFrame * euler(0, 0.7, 0)
  701. Part.Transparency = i
  702. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  703. end
  704. Part.Parent = nil
  705. end
  706. ), prt, msh)
  707. end
  708.  
  709. WaveEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  710. local prt = paart(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  711. prt.Anchored = true
  712. prt.CFrame = cframe
  713. msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
  714. game:GetService("Debris"):AddItem(prt, 2)
  715. coroutine.resume(coroutine.create(function(Part, Mesh)
  716. for i = 0, 1, delay do
  717. wait()
  718. Part.CFrame = Part.CFrame * cf(0, y3 / 2, 0)
  719. Part.Transparency = i
  720. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  721. end
  722. Part.Parent = nil
  723. end
  724. ), prt, msh)
  725. end
  726.  
  727. StravEffect = function(brickcolor, cframe, x, y, z, x1, y1, z1, delay)
  728. local prt = paart(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  729. prt.Anchored = true
  730. prt.CFrame = cframe * cf(x, y, z)
  731. msh = mesh("SpecialMesh", prt, "FileMesh", "rbxassetid://168892363", vt(0, 0, 0), vt(x1, y1, z1))
  732. game:GetService("Debris"):AddItem(prt, 5)
  733. coroutine.resume(coroutine.create(function(Part, Mesh, ex, why, zee)
  734. local num = math.random()
  735. local num2 = math.random(-3, 2) + math.random()
  736. local numm = 0
  737. for i = 0, 1, delay * 2 do
  738. swait()
  739. Part.CFrame = cframe * euler(0, numm * num * 10, 0) * cf(ex, why, zee) * cf(-i * 10, num2, 0)
  740. Part.Transparency = i
  741. numm = numm + 0.01
  742. end
  743. Part.Parent = nil
  744. Mesh.Parent = nil
  745. end
  746. ), prt, msh, x, y, z)
  747. end
  748.  
  749. dmgstart = function(dmg, what)
  750. hitcon = what.Touched:connect(function(hit)
  751. local hum = hit.Parent:FindFirstChild("Humanoid")
  752. if hum and not hum:IsDescendantOf(Character) and hit.Name ~= "Node" then
  753. hum:TakeDamage(dmg)
  754. end
  755. end
  756. )
  757. end
  758.  
  759. dmgstop = function()
  760. hitcon:disconnect()
  761. end
  762.  
  763. Cloak = function()
  764. so("http://roblox.com/asset/?id=2767090", Torso, 1, 1.1)
  765. face.Parent = nil
  766. cloaked = true
  767. for _,v in pairs(Torso.Parent:children()) do
  768. do
  769. if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
  770. coroutine.resume(coroutine.create(function()
  771. for i = 0, 1, 0.2 do
  772. wait()
  773. v.Transparency = i
  774. end
  775. v.Transparency = 1
  776. end
  777. ))
  778. end
  779. if v.className == "Hat" then
  780. do
  781. hatp = v.Handle
  782. coroutine.resume(coroutine.create(function(derp)
  783. for i = 0, 1, 0.2 do
  784. wait()
  785. derp.Transparency = i
  786. end
  787. derp.Transparency = 1
  788. end
  789. ), hatp)
  790. -- DECOMPILER ERROR at PC44: LeaveBlock: unexpected jumping out IF_THEN_STMT
  791.  
  792. -- DECOMPILER ERROR at PC44: LeaveBlock: unexpected jumping out IF_STMT
  793.  
  794. end
  795. end
  796. end
  797. end
  798. for _,v in pairs(m:children()) do
  799. if v.className == "Part" then
  800. coroutine.resume(coroutine.create(function()
  801. for i = 0, 1, 0.2 do
  802. wait()
  803. v.Transparency = i
  804. end
  805. v.Transparency = 1
  806. end
  807. ))
  808. end
  809. end
  810. end
  811.  
  812. UnCloak = function()
  813. so("http://roblox.com/asset/?id=2767090", Torso, 1, 1.1)
  814. face.Parent = Head
  815. cloaked = false
  816. for _,v in pairs(Torso.Parent:children()) do
  817. do
  818. if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
  819. coroutine.resume(coroutine.create(function()
  820. for i = 0, 1, 0.1 do
  821. wait()
  822. v.Transparency = v.Transparency - 0.1
  823. end
  824. v.Transparency = 0
  825. end
  826. ))
  827. end
  828. if v.className == "Hat" then
  829. do
  830. hatp = v.Handle
  831. coroutine.resume(coroutine.create(function(derp)
  832. for i = 0, 1, 0.1 do
  833. wait()
  834. derp.Transparency = derp.Transparency - 0.1
  835. end
  836. derp.Transparency = 0
  837. end
  838. ), hatp)
  839. -- DECOMPILER ERROR at PC45: LeaveBlock: unexpected jumping out IF_THEN_STMT
  840.  
  841. -- DECOMPILER ERROR at PC45: LeaveBlock: unexpected jumping out IF_STMT
  842.  
  843. end
  844. end
  845. end
  846. end
  847. for _,v in pairs(m:children()) do
  848. if v.className == "Part" and v.Name ~= "hitbox" and v.Name ~= "tip" then
  849. coroutine.resume(coroutine.create(function()
  850. for i = 0, 1, 0.1 do
  851. wait()
  852. v.Transparency = v.Transparency - 0.1
  853. end
  854. v.Transparency = 0
  855. end
  856. ))
  857. v.Transparency = 0
  858. end
  859. end
  860. end
  861.  
  862. Damagefunc = function(hit, minim, maxim, knockback, Type, Property, Delay, KnockbackType, decreaseblock)
  863. if hit.Parent == nil then
  864. return
  865. end
  866. h = hit.Parent:FindFirstChild("Humanoid")
  867. for _,v in pairs(hit.Parent:children()) do
  868. if v:IsA("Humanoid") then
  869. h = v
  870. end
  871. end
  872. if hit.Parent.Parent:FindFirstChild("Torso") ~= nil then
  873. h = hit.Parent.Parent:FindFirstChild("Humanoid")
  874. end
  875. if hit.Parent.className == "Hat" then
  876. hit = hit.Parent.Parent:findFirstChild("Head")
  877. end
  878. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  879. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  880. return
  881. end
  882. c = Instance.new("ObjectValue")
  883. c.Name = "creator"
  884. c.Value = game:service("Players").LocalPlayer
  885. c.Parent = h
  886. game:GetService("Debris"):AddItem(c, 0.5)
  887. Damage = math.random(minim, maxim)
  888. blocked = false
  889. block = hit.Parent:findFirstChild("Block")
  890. if block ~= nil then
  891. print(block.className)
  892. if block.className == "NumberValue" and block.Value > 0 then
  893. blocked = true
  894. if decreaseblock == nil then
  895. block.Value = block.Value - 1
  896. end
  897. end
  898. if block.className == "IntValue" and block.Value > 0 then
  899. blocked = true
  900. if decreaseblock ~= nil then
  901. block.Value = block.Value - 1
  902. end
  903. end
  904. end
  905. if CRITTING == false then
  906. if blocked == false then
  907. HitHealth = h.Health
  908. h.Health = h.Health - Damage
  909. HitHealth = h.Health
  910. if HitHealth ~= h.Health and HitHealth ~= 0 and h.Health <= 0 and h.Parent.Name ~= "Lost Soul" then
  911. print("gained spree")
  912. game.Players.LocalPlayer:FindFirstChild("leaderstats").Spree.Value = game.Players.LocalPlayer.leaderstats.Spree.Value + 1
  913. end
  914. showDamage(hit.Parent, Damage, 0.5, BrickColor.new("Toothpaste"))
  915. if HitHealth ~= h.Health and HitHealth ~= 0 and h.Health <= 0 and h.Parent.Name ~= "Lost Soul" then
  916. print("gained kill")
  917. script.Parent.Kills.Value = script.Parent.Kills.Value + 1
  918. end
  919. else
  920. h.Health = h.Health - Damage * 2
  921. showDamage(hit.Parent, Damage / 2, 0.5, BrickColor.new("Bright blue"))
  922. end
  923. else
  924. MagicRing1(BrickColor.new("White"), h.Parent.Torso.CFrame * angles(math.rad(math.random(1, 360)), math.rad(math.random(1, 360)), math.rad(math.random(1, 360))), 2, 2, 1, 1, 1, 0, 0.2)
  925. h.Health = h.Health - Damage * 2
  926. HitHealth = h.Health
  927. showDamage(hit.Parent, Damage, 0.5, BrickColor.new("Really blue"))
  928. if HitHealth ~= h.Health and HitHealth ~= 0 and h.Health <= 0 and h.Parent.Name ~= "Lost Soul" then
  929. print("gained spree")
  930. game.Players.LocalPlayer:FindFirstChild("leaderstats").Spree.Value = game.Players.LocalPlayer.leaderstats.Spree.Value + 1
  931. end
  932. if HitHealth ~= h.Health and HitHealth ~= 0 and h.Health <= 0 and h.Parent.Name ~= "Lost Soul" then
  933. print("gained kill")
  934. script.Parent.Kills.Value = script.Parent.Kills.Value + 1
  935. end
  936. end
  937. if Type == "Knockdown" then
  938. hum = hit.Parent.Humanoid
  939. hum.PlatformStand = true
  940. coroutine.resume(coroutine.create(function(HHumanoid)
  941. swait(1)
  942. HHumanoid.PlatformStand = false
  943. end
  944. ), hum)
  945. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  946. local bodvol = Instance.new("BodyVelocity")
  947. bodvol.velocity = angle * knockback
  948. bodvol.P = 5000
  949. bodvol.maxForce = Vector3.new(8000, 8000, 8000)
  950. bodvol.Parent = hit
  951. rl = Instance.new("BodyAngularVelocity")
  952. rl.P = 3000
  953. rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000
  954. rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  955. rl.Parent = hit
  956. game:GetService("Debris"):AddItem(bodvol, 0.5)
  957. game:GetService("Debris"):AddItem(rl, 0.5)
  958. else
  959. do
  960. if Type == "Normal" then
  961. vp = Instance.new("BodyVelocity")
  962. vp.P = 500
  963. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  964. if KnockbackType == 1 then
  965. vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  966. else
  967. if KnockbackType == 2 then
  968. vp.velocity = Property.CFrame.lookVector * knockback
  969. end
  970. end
  971. if knockback > 0 then
  972. vp.Parent = hit.Parent.Torso
  973. end
  974. game:GetService("Debris"):AddItem(vp, 0.5)
  975. else
  976. if Type == "Up" then
  977. local bodyVelocity = Instance.new("BodyVelocity")
  978. bodyVelocity.velocity = vt(0, 60, 0)
  979. bodyVelocity.P = 5000
  980. bodyVelocity.maxForce = Vector3.new(8000, 8000, 8000)
  981. bodyVelocity.Parent = hit
  982. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  983. rl = Instance.new("BodyAngularVelocity")
  984. rl.P = 3000
  985. rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000
  986. rl.angularvelocity = Vector3.new(math.random(-30, 30), math.random(-30, 30), math.random(-30, 30))
  987. rl.Parent = hit
  988. game:GetService("Debris"):AddItem(rl, 0.5)
  989. else
  990. do
  991. if Type == "Snare" then
  992. bp = Instance.new("BodyPosition")
  993. bp.P = 2000
  994. bp.D = 100
  995. bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  996. bp.position = hit.Parent.Torso.Position
  997. bp.Parent = hit.Parent.Torso
  998. game:GetService("Debris"):AddItem(bp, 1)
  999. else
  1000. if Type == "Target" and Targetting == false then
  1001. ZTarget = hit.Parent.Torso
  1002. coroutine.resume(coroutine.create(function(Part)
  1003. so("http://www.roblox.com/asset/?id=15666462", Part, 1, 1.5)
  1004. swait(5)
  1005. so("http://www.roblox.com/asset/?id=15666462", Part, 1, 1.5)
  1006. end
  1007. ), ZTarget)
  1008. TargHum = ZTarget.Parent:findFirstChild("Humanoid")
  1009. targetgui = Instance.new("BillboardGui")
  1010. targetgui.Parent = ZTarget
  1011. targetgui.Size = UDim2.new(10, 100, 10, 100)
  1012. targ = Instance.new("ImageLabel")
  1013. targ.Parent = targetgui
  1014. targ.BackgroundTransparency = 1
  1015. targ.Image = "rbxassetid://4834067"
  1016. targ.Size = UDim2.new(1, 0, 1, 0)
  1017. cam.CameraType = "Scriptable"
  1018. cam.CoordinateFrame = CFrame.new(Head.CFrame.p, ZTarget.Position)
  1019. dir = Vector3.new(cam.CoordinateFrame.lookVector.x, 0, cam.CoordinateFrame.lookVector.z)
  1020. workspace.CurrentCamera.CoordinateFrame = CFrame.new(Head.CFrame.p, ZTarget.Position)
  1021. Targetting = true
  1022. RocketTarget = ZTarget
  1023. for i = 1, Property do
  1024. if Humanoid.Health > 0 and Character.Parent ~= nil and TargHum.Health > 0 and TargHum.Parent ~= nil and Targetting == true then
  1025. swait()
  1026. end
  1027. cam.CoordinateFrame = CFrame.new(Head.CFrame.p, ZTarget.Position)
  1028. dir = Vector3.new(cam.CoordinateFrame.lookVector.x, 0, cam.CoordinateFrame.lookVector.z)
  1029. cam.CoordinateFrame = CFrame.new(Head.CFrame.p, ZTarget.Position) * cf(0, 5, 10) * euler(-0.3, 0, 0)
  1030. end
  1031. Targetting = false
  1032. RocketTarget = nil
  1033. targetgui.Parent = nil
  1034. cam.CameraType = "Custom"
  1035. end
  1036. end
  1037. debounce = Instance.new("BoolValue")
  1038. debounce.Name = "DebounceHit"
  1039. debounce.Parent = hit.Parent
  1040. debounce.Value = true
  1041. game:GetService("Debris"):AddItem(debounce, Delay)
  1042. c = Instance.new("ObjectValue")
  1043. c.Name = "creator"
  1044. c.Value = Player
  1045. c.Parent = h
  1046. game:GetService("Debris"):AddItem(c, 0.5)
  1047. CRIT = false
  1048. hitDeb = true
  1049. AttackPos = 6
  1050. end
  1051. end
  1052. end
  1053. end
  1054. end
  1055. end
  1056. end
  1057.  
  1058. showDamage = function(Char, Dealt, du, Color)
  1059. g = Instance.new("Model")
  1060. g.Name = tostring(Dealt)
  1061. h = Instance.new("Humanoid")
  1062. h.Health = 0
  1063. h.MaxHealth = 0
  1064. h.Parent = g
  1065. c = Instance.new("Part")
  1066. c.Transparency = 0
  1067. c.BrickColor = Color
  1068. c.Name = "Head"
  1069. c.TopSurface = 0
  1070. c.BottomSurface = 0
  1071. c.Size = Vector3.new(1, 0.4, 1)
  1072. ms = Instance.new("CylinderMesh")
  1073. ms.Scale = Vector3.new(0.8, 0.8, 0.8)
  1074. if CRIT == true then
  1075. ms.Scale = Vector3.new(1, 1.25, 1)
  1076. end
  1077. ms.Parent = c
  1078. c.Reflectance = 0
  1079. Instance.new("BodyGyro").Parent = c
  1080. c.Parent = g
  1081. if Char:findFirstChild("Head") ~= nil then
  1082. c.CFrame = CFrame.new(Char.Head.CFrame.p + Vector3.new(0, 1.5, 0))
  1083. else
  1084. if Char.Parent:findFirstChild("Head") ~= nil then
  1085. c.CFrame = CFrame.new(Char.Parent.Head.CFrame.p + Vector3.new(0, 1.5, 0))
  1086. end
  1087. end
  1088. f = Instance.new("BodyPosition")
  1089. f.P = 2000
  1090. f.D = 100
  1091. f.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  1092. f.position = c.Position + Vector3.new(0, 3, 0)
  1093. f.Parent = c
  1094. game:GetService("Debris"):AddItem(g, 0.5 + du)
  1095. c.CanCollide = false
  1096. g.Parent = workspace
  1097. c.CanCollide = false
  1098. end
  1099.  
  1100. local Shockwave = function()
  1101. local Wave = Instance.new("Part", m)
  1102. Wave.Name = "Shockwave"
  1103. Wave.BrickColor = BrickColor.new("Black")
  1104. Wave.Size = Vector3.new(1, 1, 1)
  1105. Wave.Shape = "Ball"
  1106. Wave.CanCollide = false
  1107. Wave.Anchored = true
  1108. Wave.TopSurface = 0
  1109. Wave.BottomSurface = 0
  1110. Wave.Touched:connect(function(hit)
  1111. if hit.Parent:findFirstChild("Humanoid") and hit.Parent:findFirstChild("Torso") and hit.Parent.Name ~= Character.Name and hit.Parent.Parent ~= mon then
  1112. hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - 5
  1113. hit.Parent:findFirstChild("Torso").Velocity = hit.Parent:findFirstChild("Torso").CFrame.lookVector * -120
  1114. end
  1115. end
  1116. )
  1117. Instance.new("SpecialMesh", Wave).MeshType = "Sphere"
  1118. Delay(0, function()
  1119. for i = 1, 38 do
  1120. Wave.Size = Vector3.new(1 + i, 1 + i, 1 + i)
  1121. Wave.CFrame = Torso.CFrame
  1122. local t = i / 38
  1123. Wave.Transparency = t
  1124. wait()
  1125. end
  1126. Wave:Destroy()
  1127. end
  1128. )
  1129. Delay(0, function()
  1130. while 1 do
  1131. while wait() and Wave ~= nil do
  1132. Wave.CFrame = Wave.CFrame
  1133. end
  1134. break
  1135. end
  1136. end
  1137. )
  1138. end
  1139.  
  1140. local CFrameFromTopBack = function(at, top, back)
  1141. local right = top:Cross(back)
  1142. return CFrame.new(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  1143. end
  1144.  
  1145. Triangle = function(a, b, c)
  1146. local edg1 = c - a:Dot(b - a.unit)
  1147. local edg2 = a - b:Dot(c - b.unit)
  1148. local edg3 = b - c:Dot(a - c.unit)
  1149. if edg1 <= (b - a).magnitude and edg1 >= 0 then
  1150. a = a
  1151. else
  1152. -- DECOMPILER ERROR at PC35: Overwrote pending register: R1 in 'AssignReg'
  1153.  
  1154. if edg2 <= (c - b).magnitude and edg2 >= 0 then
  1155. a = b
  1156. else
  1157. -- DECOMPILER ERROR at PC46: Overwrote pending register: R2 in 'AssignReg'
  1158.  
  1159. -- DECOMPILER ERROR at PC47: Overwrote pending register: R1 in 'AssignReg'
  1160.  
  1161. if edg3 <= (a - c).magnitude and edg3 >= 0 then
  1162. a = c
  1163. else
  1164. assert(false, "unreachable")
  1165. end
  1166. end
  1167. end
  1168. local len1 = c - a:Dot(b - a.unit)
  1169. local len2 =( b - a).magnitude - len1
  1170. local width = ((a + b - a.unit * len1) - c).magnitude
  1171. local maincf = CFrameFromTopBack(a, b - a:Cross(c - b).unit, -b - a.unit)
  1172. local list = {}
  1173. if len1 > 0.01 then
  1174. local w1 = Instance.new("WedgePart", m)
  1175. game:GetService("Debris"):AddItem(w1, 5)
  1176. w1.Material = "SmoothPlastic"
  1177. w1.BrickColor = BrickColor.new("Toothpaste")
  1178. w1.Transparency = 0
  1179. w1.Reflectance = 0
  1180. w1.Material = "SmoothPlastic"
  1181. w1.CanCollide = false
  1182. NoOutline(w1)
  1183. local sz = Vector3.new(0.2, width, len1)
  1184. w1.Size = sz
  1185. local sp = Instance.new("SpecialMesh", w1)
  1186. sp.MeshType = "Wedge"
  1187. sp.Scale = Vector3.new(0, 1, 1) * sz / w1.Size
  1188. w1:BreakJoints()
  1189. w1.Anchored = true
  1190. w1.Parent = workspace
  1191. w1.Transparency = 0.7
  1192. table.insert(Effects, {w1, "Disappear", 0.01})
  1193. w1.CFrame = maincf * CFrame.Angles(math.pi, 0, math.pi / 2) * CFrame.new(0, width / 2, len1 / 2)
  1194. table.insert(list, w1)
  1195. end
  1196. do
  1197. if len2 > 0.01 then
  1198. local w2 = Instance.new("WedgePart", m)
  1199. game:GetService("Debris"):AddItem(w2, 5)
  1200. w2.Material = "SmoothPlastic"
  1201. w2.BrickColor = BrickColor.new("Toothpaste")
  1202. w2.Transparency = 0
  1203. w2.Reflectance = 0
  1204. w2.Material = "SmoothPlastic"
  1205. w2.CanCollide = false
  1206. NoOutline(w2)
  1207. local sz = Vector3.new(0.2, width, len2)
  1208. w2.Size = sz
  1209. local sp = Instance.new("SpecialMesh", w2)
  1210. sp.MeshType = "Wedge"
  1211. sp.Scale = Vector3.new(0, 1, 1) * sz / w2.Size
  1212. w2:BreakJoints()
  1213. w2.Anchored = true
  1214. w2.Parent = workspace
  1215. w2.Transparency = 0.7
  1216. table.insert(Effects, {w2, "Disappear", 0.01})
  1217. w2.CFrame = maincf * CFrame.Angles(math.pi, math.pi, -math.pi / 2) * CFrame.new(0, width / 2, -len1 - len2 / 2)
  1218. table.insert(list, w2)
  1219. end
  1220. do
  1221. return unpack(list)
  1222. end
  1223. end
  1224. end
  1225.  
  1226. NoOutline = function(Part)
  1227. Part.TopSurface = 10
  1228. end
  1229.  
  1230. HandleA = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 1, "Institutional white", "Handle", Vector3.new(0.200000003, 0.399999917, 0.200000003))
  1231. handleweld = weld(m, Character["Right Arm"], HandleA, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0100860596, 0.390179157, -0.00997161865, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1))
  1232. HitboxA = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 1, "Institutional white", "HitboxA", Vector3.new(1.01999998, 0.600000024, 1.01999998))
  1233. HitboxAweld = weld(m, HandleA, HitboxA, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00997924805, 0.499976158, 0.00996398926, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1234. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.800000012, 0.200000003, 1))
  1235. Partweld = weld(m, HandleA, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.90734863e-005, -0.400054932, 0, -5.96046448e-008, -0.999999642, 0, 0.999999642, -5.96046448e-008, 0, 0, 0, 1))
  1236. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1237. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Toothpaste", "Part", Vector3.new(0.400000036, 0.200000003, 1))
  1238. Partweld = weld(m, HandleA, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00998306274, -0.410003662, 0, -5.96774044e-008, -0.999998927, 1.39832199e-008, 0.999998808, -5.95318852e-008, 2.4033401e-008, 2.40333904e-008, -1.39832164e-008, 1))
  1239. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1240. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.620000005))
  1241. Partweld = weld(m, HandleA, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.419921875, -0.900010347, 0.00999450684, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1242. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.600000024))
  1243. Partweld = weld(m, HandleA, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.399993896, -0.500012636, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1244. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.399999917, 0.200000003))
  1245. Partweld = weld(m, HandleA, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.399993896, -0.800000429, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1246. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.99999994, 0.220000014))
  1247. Partweld = weld(m, HandleA, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.399993896, -0.100007057, 0.41003418, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1248. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.819999993, 0.200000003, 0.200000003))
  1249. Partweld = weld(m, HandleA, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.109970093, -0.900010347, -0.400039673, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1250. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(1.01999998, 0.200000003, 1.01999998))
  1251. Partweld = weld(m, HandleA, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00997924805, 0.499976158, 0.00996398926, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1252. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.400000036))
  1253. Partweld = weld(m, HandleA, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.399993896, -0.900010347, -0.299987793, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1254. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0.5, "Toothpaste", "Part", Vector3.new(0.800000012, 0.800000012, 0.800000012))
  1255. Partweld = weld(m, HandleA, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.43051147e-006, -0.300003052, -4.57763672e-005, -5.96046448e-008, -0.999999642, 0, 0.999999642, -5.96046448e-008, 0, 0, 0, 1))
  1256. mesh("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1257. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.99999994, 0.200000003))
  1258. Partweld = weld(m, HandleA, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.399993896, -0.100007057, -0.400039673, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1259. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.819999993, 0.200000003, 0.200000003))
  1260. Partweld = weld(m, HandleA, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.109970093, -0.900010347, 0.419967651, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1261. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.420000017))
  1262. Partweld = weld(m, HandleA, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.399993896, -0.900010347, 0.310012817, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1263. HandleB = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 1, "Institutional white", "Handle", Vector3.new(0.200000003, 0.399999917, 0.200000003))
  1264. handleweld = weld(m, Character["Left Arm"], HandleB, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0100708008, 0.390179157, -0.00997161865, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1))
  1265. HitboxB = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 1, "Institutional white", "HitboxB", Vector3.new(1.01999998, 0.600000024, 1.01999998))
  1266. HitboxBweld = weld(m, HandleB, HitboxB, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00999450684, 0.499976873, -0.0100097656, -0.999999702, 0, 5.96046448e-008, 0, 1, 0, -5.96046448e-008, 0, -0.999999702))
  1267. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(1.01999998, 0.200000003, 1.01999998))
  1268. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00999450684, 0.499976873, -0.0100097656, -0.999999702, 0, 5.96046448e-008, 0, 1, 0, -5.96046448e-008, 0, -0.999999702))
  1269. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Toothpaste", "Part", Vector3.new(0.400000036, 0.200000003, 1))
  1270. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00998282433, -0.429977417, -0.0199737549, 5.96773759e-008, -0.999998927, -1.3983211e-008, -0.999998748, -5.95318852e-008, 4.47034836e-008, -5.96046448e-008, -1.39832164e-008, -0.999999702))
  1271. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1272. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0.5, "Toothpaste", "Part", Vector3.new(0.800000012, 0.800000012, 0.800000012))
  1273. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-7.15255737e-007, -0.319976807, -0.0200271606, 5.9604627e-008, -0.999999642, -3.55271368e-015, -0.999999404, -5.96046448e-008, 2.98023224e-008, -5.96046448e-008, 0, -0.999999702))
  1274. mesh("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1275. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.600000024))
  1276. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.41998291, -0.500012159, -0.0199813843, -0.999999702, 0, 5.96046448e-008, 0, 1, 0, -5.96046448e-008, 0, -0.999999702))
  1277. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.400000036))
  1278. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.419967651, -0.900009871, -0.319976807, -0.999999702, 0, 5.96046448e-008, 0, 1, 0, -5.96046448e-008, 0, -0.999999702))
  1279. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.99999994, 0.200000003))
  1280. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.41998291, -0.100006819, -0.420028687, -0.999999702, 0, 5.96046448e-008, 0, 1, 0, -5.96046448e-008, 0, -0.999999702))
  1281. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.620000005))
  1282. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.399932861, -0.900009871, -0.00998687744, -0.999999702, 0, 5.96046448e-008, 0, 1, 0, -5.96046448e-008, 0, -0.999999702))
  1283. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.420000017))
  1284. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.419952393, -0.900009871, 0.290039063, -0.999999702, 0, 5.96046448e-008, 0, 1, 0, -5.96046448e-008, 0, -0.999999702))
  1285. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.819999993, 0.200000003, 0.200000003))
  1286. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0899810791, -0.900009871, -0.420005798, -0.999999702, 0, 5.96046448e-008, 0, 1, 0, -5.96046448e-008, 0, -0.999999702))
  1287. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.399999917, 0.200000003))
  1288. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.41998291, -0.799999952, -0.0199813843, -0.999999702, 0, 5.96046448e-008, 0, 1, 0, -5.96046448e-008, 0, -0.999999702))
  1289. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.99999994, 0.220000014))
  1290. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.41998291, -0.100006819, 0.390068054, -0.999999702, 0, 5.96046448e-008, 0, 1, 0, -5.96046448e-008, 0, -0.999999702))
  1291. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.819999993, 0.200000003, 0.200000003))
  1292. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0899810791, -0.900009871, 0.399978638, -0.999999702, 0, 5.96046448e-008, 0, 1, 0, -5.96046448e-008, 0, -0.999999702))
  1293. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.800000012, 0.200000003, 1))
  1294. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.88350677e-005, -0.420028687, -0.0199966431, 5.9604627e-008, -0.999999642, -3.55271368e-015, -0.999999404, -5.96046448e-008, 2.98023224e-008, -5.96046448e-008, 0, -0.999999702))
  1295. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1296. attackone = function()
  1297. attack = true
  1298. for i = 0, 1, 0.2 do
  1299. swait()
  1300. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)), 0.3)
  1301. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(50)), 0.3)
  1302. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.4) * angles(math.rad(0), math.rad(120), math.rad(90)), 0.3)
  1303. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -0.4) * angles(math.rad(0), math.rad(-100), math.rad(-90)), 0.3)
  1304. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(120), math.rad(0)), 0.3)
  1305. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-50), math.rad(0)), 0.3)
  1306. end
  1307. so("http://roblox.com/asset/?id=200632136", HitboxA, 1, 1)
  1308. local con = HitboxA.Touched:connect(function(hit)
  1309. Damagefunc(hit, 7, 13, 0, "Normal", RootPart, 0.2, 1)
  1310. end
  1311. )
  1312. for i = 0, 1, 0.2 do
  1313. swait()
  1314. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  1315. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-70)), 0.3)
  1316. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3)
  1317. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -0.4) * angles(math.rad(0), math.rad(-100), math.rad(-50)), 0.3)
  1318. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(50), math.rad(0)), 0.3)
  1319. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-120), math.rad(0)), 0.3)
  1320. end
  1321. attack = false
  1322. con:disconnect()
  1323. end
  1324.  
  1325. attacktwo = function()
  1326. attack = true
  1327. for i = 0, 1, 0.2 do
  1328. swait()
  1329. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(60)), 0.3)
  1330. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-50)), 0.3)
  1331. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.4) * angles(math.rad(0), math.rad(100), math.rad(90)), 0.3)
  1332. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -0.4) * angles(math.rad(0), math.rad(-120), math.rad(-90)), 0.3)
  1333. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(50), math.rad(0)), 0.3)
  1334. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-120), math.rad(0)), 0.3)
  1335. end
  1336. so("http://roblox.com/asset/?id=200632136", HitboxB, 1, 1.2)
  1337. local con = HitboxB.Touched:connect(function(hit)
  1338. Damagefunc(hit, 7, 13, 0, "Normal", RootPart, 0.2, 1)
  1339. end
  1340. )
  1341. for i = 0, 1, 0.2 do
  1342. swait()
  1343. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1344. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(5), math.rad(0), math.rad(70)), 0.3)
  1345. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(0), math.rad(100), math.rad(50)), 0.3)
  1346. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -0.4) * angles(math.rad(0), math.rad(-50 * i), math.rad(-80)), 0.3)
  1347. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(120), math.rad(0)), 0.3)
  1348. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-50), math.rad(0)), 0.3)
  1349. end
  1350. attack = false
  1351. con:disconnect()
  1352. end
  1353.  
  1354. attackthree = function()
  1355. attack = true
  1356. for i = 0, 1, 0.2 do
  1357. swait()
  1358. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)), 0.3)
  1359. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(50)), 0.3)
  1360. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(30)), 0.3)
  1361. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-30)), 0.3)
  1362. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(-50)), 0.3)
  1363. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-50), math.rad(0)), 0.3)
  1364. end
  1365. so("http://roblox.com/asset/?id=200632211", RightLeg, 1, 1)
  1366. local con = RightLeg.Touched:connect(function(hit)
  1367. Damagefunc(hit, 7, 13, math.random(5, 10), "Normal", RootPart, 0.2, 1)
  1368. end
  1369. )
  1370. for i = 0, 1, 0.2 do
  1371. swait()
  1372. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
  1373. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  1374. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(40)), 0.3)
  1375. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-40)), 0.3)
  1376. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(120)), 0.3)
  1377. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-70), math.rad(20)), 0.3)
  1378. end
  1379. attack = false
  1380. con:disconnect()
  1381. end
  1382.  
  1383. attackfour = function()
  1384. attack = true
  1385. for i = 0, 1, 0.2 do
  1386. swait()
  1387. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
  1388. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
  1389. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(40)), 0.3)
  1390. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-40)), 0.3)
  1391. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(-10)), 0.3)
  1392. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-80), math.rad(20)), 0.3)
  1393. end
  1394. so("http://roblox.com/asset/?id=200632211", Head, 1, 0.9)
  1395. local con = Head.Touched:connect(function(hit)
  1396. Damagefunc(hit, 7, 13, 0, "Normal", RootPart, 0.2, 1)
  1397. end
  1398. )
  1399. for i = 0, 1, 0.2 do
  1400. swait()
  1401. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(40), math.rad(0), math.rad(0)), 0.3)
  1402. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(40), math.rad(0), math.rad(0)), 0.3)
  1403. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(40)), 0.3)
  1404. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-40)), 0.3)
  1405. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(80), math.rad(40)), 0.3)
  1406. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-80), math.rad(-40)), 0.3)
  1407. end
  1408. attack = false
  1409. con:disconnect()
  1410. end
  1411.  
  1412. DoublePunch = function()
  1413. attack = true
  1414. for i = 0, 1, 0.2 do
  1415. swait()
  1416. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.3)
  1417. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.3)
  1418. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0.3) * angles(math.rad(0), math.rad(90), math.rad(90)), 0.3)
  1419. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, 0.3) * angles(math.rad(0), math.rad(-90), math.rad(-90)), 0.3)
  1420. RH.C0 = clerp(RH.C0, cf(1, -1, -0.4) * angles(math.rad(0), math.rad(90), math.rad(10)), 0.3)
  1421. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(10)), 0.3)
  1422. end
  1423. so("http://roblox.com/asset/?id=200632370", Torso, 1, 1)
  1424. local con1 = HitboxA.Touched:connect(function(hit)
  1425. Damagefunc(hit, 7, 13, 0, "Normal", RootPart, 0.2, 1)
  1426. end
  1427. )
  1428. local con2 = HitboxB.Touched:connect(function(hit)
  1429. Damagefunc(hit, 7, 13, 0, "Normal", RootPart, 0.2, 1)
  1430. end
  1431. )
  1432. for i = 0, 1, 0.2 do
  1433. swait()
  1434. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  1435. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
  1436. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.7, -1) * angles(math.rad(0), math.rad(120), math.rad(110)), 0.3)
  1437. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.7, -1) * angles(math.rad(0), math.rad(-120), math.rad(-110)), 0.3)
  1438. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(80), math.rad(20)), 0.3)
  1439. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)), 0.3)
  1440. end
  1441. attack = false
  1442. con1:disconnect()
  1443. con2:disconnect()
  1444. end
  1445.  
  1446. DashRun = function()
  1447. attack = true
  1448. for i = 0, 1, 0.1 do
  1449. swait()
  1450. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
  1451. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.3)
  1452. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0.3) * angles(math.rad(0), math.rad(120), math.rad(90)), 0.3)
  1453. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, 0.3) * angles(math.rad(0), math.rad(-120), math.rad(-90)), 0.3)
  1454. RH.C0 = clerp(RH.C0, cf(1, -1, -0.4) * angles(math.rad(0), math.rad(90), math.rad(10)), 0.3)
  1455. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(10)), 0.3)
  1456. end
  1457. so("http://roblox.com/asset/?id=200632370", Torso, 1, 1)
  1458. MagicRing1(BrickColor.new("White"), RootPart.CFrame * angles(math.rad(0), math.rad(0), math.rad(0)), 5, 5, 1, 5, 5, 0, 0.2)
  1459. Torso.Velocity = RootPart.CFrame.lookVector * 200
  1460. for i = 0, 1, 0.1 do
  1461. swait()
  1462. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(30), math.rad(0), math.rad(0)), 0.3)
  1463. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
  1464. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.7, -1) * angles(math.rad(0), math.rad(10), math.rad(110)), 0.3)
  1465. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.7, -1) * angles(math.rad(0), math.rad(-10), math.rad(-110)), 0.3)
  1466. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(80), math.rad(20)), 0.3)
  1467. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)), 0.3)
  1468. end
  1469. running = true
  1470. attack = false
  1471. end
  1472.  
  1473. Invisa = function()
  1474. attack = true
  1475. for i = 0, 1, 0.1 do
  1476. swait()
  1477. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
  1478. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.3)
  1479. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0.3) * angles(math.rad(0), math.rad(120), math.rad(90)), 0.3)
  1480. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, 0.3) * angles(math.rad(0), math.rad(-120), math.rad(-90)), 0.3)
  1481. RH.C0 = clerp(RH.C0, cf(1, -1, -0.4) * angles(math.rad(0), math.rad(90), math.rad(10)), 0.3)
  1482. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(10)), 0.3)
  1483. end
  1484. so("http://roblox.com/asset/?id=200632370", Torso, 1, 1)
  1485. for i = 0, 1, 0.1 do
  1486. swait()
  1487. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(30), math.rad(0), math.rad(0)), 0.3)
  1488. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
  1489. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.7, -1) * angles(math.rad(0), math.rad(10), math.rad(110)), 0.3)
  1490. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.7, -1) * angles(math.rad(0), math.rad(-10), math.rad(-110)), 0.3)
  1491. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(80), math.rad(20)), 0.3)
  1492. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)), 0.3)
  1493. end
  1494. MagicBlock(BrickColor.new("Toothpaste"), RootPart.CFrame, 5, 5, 5, 0.7, 0.7, 0.7, 0.1)
  1495. MagicBlock(BrickColor.new("White"), RootPart.CFrame, 3, 3, 3, 1, 1, 1, 0.1)
  1496. coroutine.resume(coroutine.create(function()
  1497. invisle()
  1498. end
  1499. ))
  1500. attack = false
  1501. end
  1502.  
  1503. invisle = function()
  1504. invisy = true
  1505. coroutine.resume(coroutine.create(function()
  1506. for i,v in pairs(Character:children()) do
  1507. if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" then
  1508. v.Transparency = 1
  1509. end
  1510. if v:IsA("Hat") then
  1511. v.Handle.Transparency = 1
  1512. end
  1513. Head.face.Transparency = 1
  1514. end
  1515. for i,v in pairs(m:children()) do
  1516. if v:IsA("BasePart") then
  1517. v.Transparency = 1
  1518. end
  1519. end
  1520. end
  1521. ))
  1522. for i = 1, 300 do
  1523. wait()
  1524. end
  1525. MagicBlock(BrickColor.new("Toothpaste"), RootPart.CFrame, 5, 5, 5, 0.7, 0.7, 0.7, 0.1)
  1526. MagicBlock(BrickColor.new("White"), RootPart.CFrame, 3, 3, 3, 1, 1, 1, 0.1)
  1527. coroutine.resume(coroutine.create(function()
  1528. for i,v in pairs(Character:children()) do
  1529. if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" then
  1530. v.Transparency = 0
  1531. end
  1532. if v:IsA("Hat") then
  1533. v.Handle.Transparency = 0
  1534. end
  1535. Head.face.Transparency = 0
  1536. end
  1537. for i,v in pairs(m:children()) do
  1538. if v:IsA("BasePart") then
  1539. v.Transparency = 0
  1540. end
  1541. end
  1542. end
  1543. ))
  1544. invisy = false
  1545. end
  1546.  
  1547. invisattack = function()
  1548. invising = true
  1549. MagicBlock(BrickColor.new("Toothpaste"), RootPart.CFrame, 5, 5, 5, 0.7, 0.7, 0.7, 0.1)
  1550. MagicBlock(BrickColor.new("White"), RootPart.CFrame, 3, 3, 3, 1, 1, 1, 0.1)
  1551. coroutine.resume(coroutine.create(function()
  1552. for i,v in pairs(Character:children()) do
  1553. if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" then
  1554. v.Transparency = 0
  1555. end
  1556. if v:IsA("Hat") then
  1557. v.Handle.Transparency = 0
  1558. end
  1559. Head.face.Transparency = 0
  1560. end
  1561. for i,v in pairs(m:children()) do
  1562. if v:IsA("BasePart") then
  1563. v.Transparency = 0
  1564. end
  1565. end
  1566. end
  1567. ))
  1568. for i = 1, 20 do
  1569. wait()
  1570. end
  1571. MagicBlock(BrickColor.new("Toothpaste"), RootPart.CFrame, 5, 5, 5, 0.7, 0.7, 0.7, 0.1)
  1572. MagicBlock(BrickColor.new("White"), RootPart.CFrame, 3, 3, 3, 1, 1, 1, 0.1)
  1573. coroutine.resume(coroutine.create(function()
  1574. for i,v in pairs(Character:children()) do
  1575. if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" then
  1576. v.Transparency = 1
  1577. end
  1578. if v:IsA("Hat") then
  1579. v.Handle.Transparency = 1
  1580. end
  1581. Head.face.Transparency = 1
  1582. end
  1583. for i,v in pairs(m:children()) do
  1584. if v:IsA("BasePart") then
  1585. v.Transparency = 1
  1586. end
  1587. end
  1588. end
  1589. ))
  1590. invising = false
  1591. end
  1592.  
  1593. crittle = function()
  1594. CRITTING = true
  1595. coroutine.resume(coroutine.create(function()
  1596. while CRITTING do
  1597. wait(0.75)
  1598. MagicBlock(BrickColor.new("Toothpaste"), HitboxA.CFrame, 1, 1, 1, 0.7, 0.7, 0.7, 0.2)
  1599. MagicBlock(BrickColor.new("White"), HitboxA.CFrame, 1, 1, 1, 1, 1, 1, 0.2)
  1600. MagicBlock(BrickColor.new("Toothpaste"), HitboxB.CFrame, 1, 1, 1, 0.7, 0.7, 0.7, 0.2)
  1601. MagicBlock(BrickColor.new("White"), HitboxB.CFrame, 1, 1, 1, 1, 1, 1, 0.2)
  1602. end
  1603. end
  1604. ))
  1605. for i = 1, 500 do
  1606. wait()
  1607. end
  1608. CRITTING = false
  1609. end
  1610.  
  1611. critt = function()
  1612. attack = true
  1613. for i = 0, 1, 0.1 do
  1614. swait()
  1615. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1616. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.3)
  1617. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0.3) * angles(math.rad(0), math.rad(150), math.rad(90)), 0.3)
  1618. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, 0.3) * angles(math.rad(0), math.rad(-150), math.rad(-70)), 0.3)
  1619. RH.C0 = clerp(RH.C0, cf(1, -1, -0.4) * angles(math.rad(0), math.rad(90), math.rad(10)), 0.3)
  1620. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(10)), 0.3)
  1621. end
  1622. so("http://roblox.com/asset/?id=200632370", Torso, 1, 1)
  1623. MagicRing1(BrickColor.new("White"), HitboxA.CFrame * angles(math.rad(math.random(1, 360)), math.rad(math.random(1, 360)), math.rad(math.random(1, 360))), 1, 1, 1, 1, 1, 0, 0.2)
  1624. MagicRing1(BrickColor.new("Toothpaste"), HitboxA.CFrame * angles(math.rad(math.random(1, 360)), math.rad(math.random(1, 360)), math.rad(math.random(1, 360))), 1, 1, 1, 1, 1, 0, 0.2)
  1625. MagicRing1(BrickColor.new("White"), HitboxB.CFrame * angles(math.rad(math.random(1, 360)), math.rad(math.random(1, 360)), math.rad(math.random(1, 360))), 1, 1, 1, 1, 1, 0, 0.2)
  1626. MagicRing1(BrickColor.new("Toothpaste"), HitboxB.CFrame * angles(math.rad(math.random(1, 360)), math.rad(math.random(1, 360)), math.rad(math.random(1, 360))), 1, 1, 1, 1, 1, 0, 0.2)
  1627. coroutine.resume(coroutine.create(function()
  1628. crittle()
  1629. end
  1630. ))
  1631. for i = 0, 1, 0.1 do
  1632. swait()
  1633. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1634. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
  1635. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.7, -1) * angles(math.rad(0), math.rad(10), math.rad(110)), 0.3)
  1636. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.7, -1) * angles(math.rad(0), math.rad(-10), math.rad(-110)), 0.3)
  1637. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(80), math.rad(20)), 0.3)
  1638. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)), 0.3)
  1639. end
  1640. attack = false
  1641. end
  1642.  
  1643. FlipKick = function()
  1644. attack = true
  1645. for i = 0, 1, 0.1 do
  1646. swait()
  1647. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1648. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.3)
  1649. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0.3) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  1650. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, 0.3) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1651. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(-50)), 0.3)
  1652. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(-10)), 0.3)
  1653. end
  1654. so("http://roblox.com/asset/?id=200632370", Torso, 1, 0.9)
  1655. local con = RightLeg.Touched:connect(function(hit)
  1656. Damagefunc(hit, 7, 13, 0, "Knockdown", RootPart, 0.2, 1)
  1657. end
  1658. )
  1659. for i = 0, 1, 0.1 do
  1660. swait()
  1661. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 1.5) * angles(-5 * i, 0, 0), 0.3)
  1662. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.3)
  1663. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(50)), 0.3)
  1664. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), 0.3)
  1665. RH.C0 = clerp(RH.C0, cf(1, -1, -0.5) * angles(math.rad(0), math.rad(90), math.rad(120)), 0.3)
  1666. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(20)), 0.3)
  1667. end
  1668. for i = 0, 1, 0.1 do
  1669. swait()
  1670. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.3)
  1671. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  1672. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0.3) * angles(math.rad(0), math.rad(0), math.rad(40)), 0.3)
  1673. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, 0.3) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
  1674. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(120)), 0.3)
  1675. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(20)), 0.3)
  1676. end
  1677. attack = false
  1678. con:disconnect()
  1679. end
  1680.  
  1681. UpperCutKick = function()
  1682. attack = true
  1683. for i = 0, 1, 0.1 do
  1684. swait()
  1685. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1686. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.3)
  1687. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0.3) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  1688. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, 0.3) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1689. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(-50)), 0.3)
  1690. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(-10)), 0.3)
  1691. end
  1692. so("http://roblox.com/asset/?id=200632370", Torso, 1, 0.9)
  1693. local con = RightLeg.Touched:connect(function(hit)
  1694. Damagefunc(hit, 15, 20, math.random(5, 10), "Knockdown", RootPart, 0.2, 1)
  1695. end
  1696. )
  1697. MagicRing1(BrickColor.new("White"), RootPart.CFrame * angles(math.rad(90), math.rad(0), math.rad(0)) + vt(0, -3, 0), 5, 5, 1, 5, 5, 0, 0.2)
  1698. for i = 0, 1, 0.05 do
  1699. swait()
  1700. MagicBlock(BrickColor.new("Toothpaste"), RightLeg.CFrame, 2, 2, 2, 0.7, 0.7, 0.7, 0.1)
  1701. MagicBlock(BrickColor.new("White"), RightLeg.CFrame, 3, 3, 3, 1, 1, 1, 0.1)
  1702. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 13) * angles(-5 * i, 0, 0), 0.3)
  1703. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.3)
  1704. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(50)), 0.3)
  1705. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), 0.3)
  1706. RH.C0 = clerp(RH.C0, cf(1, -1, -0.5) * angles(math.rad(0), math.rad(90), math.rad(120)), 0.3)
  1707. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(20)), 0.3)
  1708. end
  1709. MagicRing1(BrickColor.new("White"), RootPart.CFrame * angles(math.rad(90), math.rad(0), math.rad(0)) + vt(0, -3, 0), 2, 2, 1, 5, 5, 0, 0.2)
  1710. for i = 0, 1, 0.1 do
  1711. swait()
  1712. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.3)
  1713. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  1714. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0.3) * angles(math.rad(0), math.rad(0), math.rad(40)), 0.3)
  1715. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, 0.3) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
  1716. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(120)), 0.3)
  1717. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(20)), 0.3)
  1718. end
  1719. attack = false
  1720. con:disconnect()
  1721. end
  1722.  
  1723. mouse = Player:GetMouse()
  1724. ob1u = function()
  1725. end
  1726.  
  1727. ob1d = function()
  1728. coroutine.resume(coroutine.create(function()
  1729. if invisy == true and attack == false and invising == false then
  1730. invisattack()
  1731. end
  1732. end
  1733. ))
  1734. if attack == false and attacktype == 1 then
  1735. attacktype = 2
  1736. attackone()
  1737. else
  1738. if attack == false and attacktype == 2 then
  1739. attacktype = 3
  1740. attacktwo()
  1741. else
  1742. if attack == false and attacktype == 3 then
  1743. attacktype = 4
  1744. attackthree()
  1745. else
  1746. if attack == false and attacktype == 4 then
  1747. attacktype = 5
  1748. attackfour()
  1749. else
  1750. if attack == false and attacktype == 5 then
  1751. attacktype = 6
  1752. DoublePunch()
  1753. else
  1754. if attack == false and attacktype == 6 then
  1755. attacktype = 1
  1756. FlipKick()
  1757. end
  1758. end
  1759. end
  1760. end
  1761. end
  1762. end
  1763. end
  1764.  
  1765. key = function(k)
  1766. k = k:lower()
  1767. if k == "x" and xenabled == true and mana >= 25 and attack == false then
  1768. xenabled = false
  1769. mana = 100
  1770. coroutine.resume(coroutine.create(function()
  1771. for i = 1, 0, -0.01 do
  1772. swait()
  1773. fenframe2a.Size = UDim2.new(0.05 * i, 0, 0.1, 0)
  1774. end
  1775. xenabled = true
  1776. fenframe2a.Size = UDim2.new(0, 0, 0.1, 0)
  1777. end
  1778. ))
  1779. coroutine.resume(coroutine.create(function()
  1780. if invisy == true and attack == false and invising == false then
  1781. invisattack()
  1782. end
  1783. end
  1784. ))
  1785. UpperCutKick()
  1786. else
  1787. if k == "c" and cenabled == true and mana >= 45 and attack == false and CRITTING == false then
  1788. cenabled = false
  1789. mana = 100
  1790. coroutine.resume(coroutine.create(function()
  1791. for i = 1, 0, -0.001 do
  1792. swait()
  1793. fenframe3a.Size = UDim2.new(0.05 * i, 0, 0.1, 0)
  1794. end
  1795. cenabled = true
  1796. fenframe3a.Size = UDim2.new(0, 0, 0.1, 0)
  1797. end
  1798. ))
  1799. coroutine.resume(coroutine.create(function()
  1800. if invisy == true and attack == false and invising == false then
  1801. invisattack()
  1802. end
  1803. end
  1804. ))
  1805. critt()
  1806. else
  1807. if k == "z" and mana >= 15 and zenabled == true and attack == false then
  1808. zenabled = false
  1809. mana = 100
  1810. coroutine.resume(coroutine.create(function()
  1811. for i = 1, 0, -0.01 do
  1812. swait()
  1813. fenframe1a.Size = UDim2.new(0.05 * i, 0, 0.1, 0)
  1814. end
  1815. zenabled = true
  1816. fenframe1a.Size = UDim2.new(0, 0, 0.1, 0)
  1817. end
  1818. ))
  1819. coroutine.resume(coroutine.create(function()
  1820. if invisy == true and attack == false and invising == false then
  1821. invisattack()
  1822. end
  1823. end
  1824. ))
  1825. DashRun()
  1826. else
  1827. if k == "v" and invisy == false and mana >= 55 and venabled == true and attack == false then
  1828. venabled = false
  1829. mana = 100
  1830. coroutine.resume(coroutine.create(function()
  1831. for i = 1, 0, -0.001 do
  1832. swait()
  1833. fenframe4a.Size = UDim2.new(0.05 * i, 0, 0.1, 0)
  1834. end
  1835. venabled = true
  1836. fenframe4a.Size = UDim2.new(0, 0, 0.1, 0)
  1837. end
  1838. ))
  1839. coroutine.resume(coroutine.create(function()
  1840. if invisy == true and attack == false and invising == false then
  1841. invisattack()
  1842. end
  1843. end
  1844. ))
  1845. Invisa()
  1846. end
  1847. end
  1848. end
  1849. end
  1850. end
  1851.  
  1852. Bin = script.Parent
  1853. ds = function(mouse)
  1854. end
  1855.  
  1856. s = function(mouse)
  1857. print("Selected")
  1858. mouse.Button1Down:connect(function()
  1859. ob1d(mouse)
  1860. end
  1861. )
  1862. mouse.Button1Up:connect(function()
  1863. ob1u(mouse)
  1864. end
  1865. )
  1866. mouse.KeyDown:connect(key)
  1867. end
  1868.  
  1869. Bin.Selected:connect(s)
  1870. Bin.Deselected:connect(ds)
  1871. local sine = 0
  1872. local change = 1
  1873. local val = 0
  1874. local mananum = 0
  1875. while 1 do
  1876. while 1 do
  1877. while 1 do
  1878. pwait()
  1879. sine = sine + change
  1880. local torvel = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude
  1881. local velderp = RootPart.Velocity.y
  1882. hitfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  1883. if equipped == true or equipped == false then
  1884. if attack == false then
  1885. idle = idle + 1
  1886. else
  1887. idle = 0
  1888. end
  1889. if ((500 <= idle and attack ~= false) or 1 < RootPart.Velocity.y) and hitfloor == nil then
  1890. Anim = "Jump"
  1891. if attack == false then
  1892. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1893. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
  1894. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(50)), 0.3)
  1895. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), 0.3)
  1896. RH.C0 = clerp(RH.C0, cf(1, -1, -0.5) * angles(math.rad(0), math.rad(90), math.rad(-10)), 0.3)
  1897. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(10)), 0.3)
  1898. end
  1899. else
  1900. if RootPart.Velocity.y < -1 and hitfloor == nil then
  1901. Anim = "Fall"
  1902. if attack == false then
  1903. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1904. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  1905. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(30)), 0.3)
  1906. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-30)), 0.3)
  1907. RH.C0 = clerp(RH.C0, cf(1, -1, -0.5) * angles(math.rad(0), math.rad(90), math.rad(10)), 0.3)
  1908. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(10)), 0.3)
  1909. end
  1910. else
  1911. if torvel.x < 1 or torvel.z < 1 and hitfloor ~= nil then
  1912. Anim = "Idle"
  1913. if attack == false then
  1914. Humanoid.WalkSpeed = 16
  1915. running = false
  1916. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.3)
  1917. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
  1918. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.4) * angles(math.rad(80), math.rad(80), math.rad(0)), 0.3)
  1919. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -0.4) * angles(math.rad(80), math.rad(-80), math.rad(0)), 0.3)
  1920. RH.C0 = clerp(RH.C0, cf(1, -1, -0.4) * angles(math.rad(0), math.rad(90), math.rad(10)), 0.3)
  1921. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(10)), 0.3)
  1922. end
  1923. else
  1924. if 2 < torvel.x or 2 < torvel.z and hitfloor ~= nil then
  1925. Anim = "Walk"
  1926. if attack == false then
  1927. if running == true then
  1928. Humanoid.WalkSpeed = 30
  1929. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(30), math.rad(0), math.rad(0)), 0.3)
  1930. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
  1931. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(30)), 0.3)
  1932. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3)
  1933. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(-10)), 0.3)
  1934. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(10)), 0.3)
  1935. else
  1936. change = 3
  1937. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  1938. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
  1939. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(30)), 0.3)
  1940. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3)
  1941. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(-10)), 0.3)
  1942. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(10)), 0.3)
  1943. end
  1944. end
  1945. end
  1946. end
  1947. end
  1948. end
  1949. end
  1950. if invisy == false and Torso.Transparency == 1 then
  1951. coroutine.resume(coroutine.create(function()
  1952. for i,v in pairs(Character:children()) do
  1953. if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" then
  1954. v.Transparency = 0
  1955. end
  1956. if v:IsA("Hat") then
  1957. v.Handle.Transparency = 0
  1958. end
  1959. Head.face.Transparency = 0
  1960. end
  1961. for i,v in pairs(m:children()) do
  1962. if v:IsA("BasePart") then
  1963. v.Transparency = 0
  1964. end
  1965. end
  1966. end
  1967. ))
  1968. end
  1969. fenbarmana2:TweenSize((UDim2.new(4 * mana / 100, 0, 0.2, 0)), nil, 1, 0.4, true)
  1970. fenbarmana4.Text = "[Purity] <{[ " .. mana .. " ]}> [Purity]"
  1971. if 100 <= mana then
  1972. mana = 100
  1973. -- DECOMPILER ERROR at PC3984: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1974.  
  1975. -- DECOMPILER ERROR at PC3984: LeaveBlock: unexpected jumping out IF_STMT
  1976.  
  1977. end
  1978. end
  1979. if mananum <= 8 then
  1980. mananum = mananum + 1
  1981. -- DECOMPILER ERROR at PC3990: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1982.  
  1983. -- DECOMPILER ERROR at PC3990: LeaveBlock: unexpected jumping out IF_STMT
  1984.  
  1985. end
  1986. end
  1987. mananum = 0
  1988. mana = 100
  1989. end
Add Comment
Please, Sign In to add comment