Advertisement
Tetezaza1542

nahid hunter

Sep 3rd, 2018
369
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 132.82 KB | None | 0 0
  1. ---------------
  2. --Nahid hunter v2--
  3. ----------------------------------------------------------------
  4. print([[
  5. --edited by ozzak1003 --
  6. --YT: https://www.youtube.com/channel/UC38cAdtSgPWJVEHV8zgZi6A--
  7. --Discord: ozzak1003ripagain#3275
  8. --------------------------------
  9. hello good sir
  10. Don't leak pls
  11. Enjoy ;)
  12. --------------------------------
  13. ]])
  14.  
  15. -----
  16. --https://github.com/Mokiros/roblox-FE-compatibility
  17. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  18. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  19. local RealPlayer = Player
  20. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
  21. plr = game.Players.LocalPlayer
  22. chara = plr.Character
  23. mouse = plr:GetMouse()
  24. Create = Instance.new
  25. Huge = math.huge
  26.  
  27. local music = Create("Sound",chara.HumanoidRootPart)
  28. music.SoundId = "rbxassetid://0"
  29. music.Volume = 1
  30. music.Looped = true
  31. music:Play()
  32. local shadowhead = Create("Part",chara.Head)
  33. shadowhead.BrickColor = BrickColor.new("Really black")
  34. shadowhead.Size = Vector3.new(1.2, 0.6, 1)
  35. shadowhead.CanCollide = false
  36. local shadowheadmesh = Create("SpecialMesh",shadowhead)
  37. shadowheadmesh.MeshType = "Head"
  38. shadowheadmesh.Scale = Vector3.new(1.26, 1.5, 1.26)
  39. local weld2 = Create("Weld",shadowhead)
  40. weld2.Part0 = shadowhead
  41. weld2.Part1 = chara.Head
  42. weld2.C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  43.  
  44. Player = game:GetService("Players").LocalPlayer
  45. PlayerGui = Player.PlayerGui
  46. Cam = workspace.CurrentCamera
  47. Backpack = Player.Backpack
  48. Character = Player.Character
  49. char = Player.Character
  50. Humanoid = Character.Humanoid
  51. Mouse = Player:GetMouse()
  52. RootPart = Character["HumanoidRootPart"]
  53. Torso = Character["Torso"]
  54. Head = Character["Head"]
  55. RightArm = Character["Right Arm"]
  56. LeftArm = Character["Left Arm"]
  57. RightLeg = Character["Right Leg"]
  58. LeftLeg = Character["Left Leg"]
  59. RootJoint = RootPart["RootJoint"]
  60. Neck = Torso["Neck"]
  61. RightShoulder = Torso["Right Shoulder"]
  62. LeftShoulder = Torso["Left Shoulder"]
  63. RightHip = Torso["Right Hip"]
  64. LeftHip = Torso["Left Hip"]
  65.  
  66. local Orin = "http://www.roblox.com/asset/?id=7074786"
  67. Head.face.Texture = Orin
  68. function weld(a, b, acf)
  69. local w = Instance.new("Weld", a)
  70. w.Part0 = a
  71. w.Part1 = b
  72. w.C0 = acf
  73. end
  74.  
  75. local righteyebrickcolor = "Really red"
  76. local reye = Instance.new("Part", char)
  77. reye.CanCollide = false
  78. reye.BrickColor = BrickColor.new(righteyebrickcolor)
  79. reye.Material = "Neon"
  80. reye.Size = Vector3.new(.25,.35,.25)
  81. weld(reye, char.Head, CFrame.new(-0.12,-0.2,0.55), CFrame.new(1,0,0))
  82. m1 = Instance.new("SpecialMesh", reye)
  83. m1.MeshType = "Sphere"
  84. m1.Scale = Vector3.new(0.9,0.9,0.9)
  85. reye.Locked = true
  86. reye.Name = "re"
  87. --------------------------------
  88. char.Head.face.Texture = "http://www.roblox.com/asset/?id=596345665"
  89. --------------------------------
  90.  
  91. wait(0.2)
  92.  
  93. p = game.Players.LocalPlayer
  94. Player = game:GetService("Players").LocalPlayer
  95. PlayerGui = Player.PlayerGui
  96. Cam = workspace.CurrentCamera
  97. Backpack = Player.Backpack
  98. Character = Player.Character
  99. Humanoid = Character.Humanoid
  100. Mouse = Player:GetMouse()
  101. RootPart = Character["HumanoidRootPart"]
  102. Torso = Character["Torso"]
  103. Head = Character["Head"]
  104. RightArm = Character["Right Arm"]
  105. LeftArm = Character["Left Arm"]
  106. RightLeg = Character["Right Leg"]
  107. LeftLeg = Character["Left Leg"]
  108. RootJoint = RootPart["RootJoint"]
  109. Neck = Torso["Neck"]
  110. RightShoulder = Torso["Right Shoulder"]
  111. LeftShoulder = Torso["Left Shoulder"]
  112. RightHip = Torso["Right Hip"]
  113. LeftHip = Torso["Left Hip"]
  114. player=game:GetService('Players').LocalPlayer
  115. c=player.Character
  116. local POWERLEVEL = 1
  117. local sick = Instance.new("Sound",Torso)
  118. sick.SoundId = "rbxassetid://1118967006"
  119. sick.Looped = true
  120. sick.Pitch = 1
  121. sick.Volume = 5
  122. sick:Play()
  123.  
  124. IT = Instance.new
  125. CF = CFrame.new
  126. VT = Vector3.new
  127. RAD = math.rad
  128. C3 = Color3.new
  129. UD2 = UDim2.new
  130. BRICKC = BrickColor.new
  131. ANGLES = CFrame.Angles
  132. EULER = CFrame.fromEulerAnglesXYZ
  133. COS = math.cos
  134. ACOS = math.acos
  135. SIN = math.sin
  136. ASIN = math.asin
  137. ABS = math.abs
  138. MRANDOM = math.random
  139. FLOOR = math.floor
  140. local INNERKNIFES = {}
  141. local OUTERKNIFES = {}
  142.  
  143. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  144. local NEWMESH = Instance.new(MESH)
  145. if MESH == "SpecialMesh" then
  146. NEWMESH.MeshType = MESHTYPE
  147. if MESHID ~= "nil" and MESHID ~= "" then
  148. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  149. end
  150. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  151. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  152. end
  153. end
  154. NEWMESH.Offset = OFFSET or Vector3.new(0, 0, 0)
  155. NEWMESH.Scale = SCALE
  156. NEWMESH.Parent = PARENT
  157. return NEWMESH
  158. end
  159.  
  160. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  161. local NEWPART = Instance.new("Part")
  162. NEWPART.formFactor = FORMFACTOR
  163. NEWPART.Reflectance = REFLECTANCE
  164. NEWPART.Transparency = TRANSPARENCY
  165. NEWPART.CanCollide = false
  166. NEWPART.Locked = true
  167. NEWPART.Anchored = true
  168. if ANCHOR == false then
  169. NEWPART.Anchored = false
  170. end
  171. NEWPART.BrickColor = BrickColor.new(tostring(BRICKCOLOR))
  172. NEWPART.Name = NAME
  173. NEWPART.Size = SIZE
  174. NEWPART.Position = tors.Position
  175. NEWPART.Material = MATERIAL
  176. NEWPART:BreakJoints()
  177. NEWPART.Parent = PARENT
  178. return NEWPART
  179. end
  180.  
  181. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  182. local NEWMESH = IT(MESH)
  183. if MESH == "SpecialMesh" then
  184. NEWMESH.MeshType = MESHTYPE
  185. if MESHID ~= "nil" and MESHID ~= "" then
  186. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  187. end
  188. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  189. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  190. end
  191. end
  192. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  193. NEWMESH.Scale = SCALE
  194. NEWMESH.Parent = PARENT
  195. return NEWMESH
  196. end
  197.  
  198. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  199. local NEWPART = IT("Part")
  200. NEWPART.formFactor = FORMFACTOR
  201. NEWPART.Reflectance = REFLECTANCE
  202. NEWPART.Transparency = TRANSPARENCY
  203. NEWPART.CanCollide = false
  204. NEWPART.Locked = true
  205. NEWPART.Anchored = true
  206. if ANCHOR == false then
  207. NEWPART.Anchored = false
  208. end
  209. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  210. NEWPART.Name = NAME
  211. NEWPART.Size = SIZE
  212. NEWPART.Position = Torso.Position
  213. NEWPART.Material = MATERIAL
  214. NEWPART:BreakJoints()
  215. NEWPART.Parent = PARENT
  216. return NEWPART
  217. end
  218.  
  219. --//=================================\\
  220. --|| CUSTOMIZATION
  221. --\\=================================//
  222.  
  223. Player_Size = 1 --Size of the player.
  224. Animation_Speed = 3
  225. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  226.  
  227. local Speed = 16
  228. local Effects2 = {}
  229.  
  230. --//=================================\\
  231. --|| END OF CUSTOMIZATION
  232. --\\=================================//
  233.  
  234. local function weldBetween(a, b)
  235. local weldd = Instance.new("ManualWeld")
  236. weldd.Part0 = a
  237. weldd.Part1 = b
  238. weldd.C0 = CFrame.new()
  239. weldd.C1 = b.CFrame:inverse() * a.CFrame
  240. weldd.Parent = a
  241. return weldd
  242. end
  243.  
  244. --//=================================\\
  245. --|| USEFUL VALUES
  246. --\\=================================//
  247.  
  248. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  249. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  250. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  251. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  252. local CHANGEDEFENSE = 0
  253. local CHANGEDAMAGE = 0
  254. local CHANGEMOVEMENT = 0
  255. local DAMAGEMULTIPLIER = 1
  256. local ANIM = "Idle"
  257. local ATTACK = false
  258. local EQUIPPED = false
  259. local HOLD = false
  260. local COMBO = 1
  261. local Rooted = false
  262. local SINE = 0
  263. local KEYHOLD = false
  264. local CHANGE = 2 / Animation_Speed
  265. local WALKINGANIM = false
  266. local WALK = 0
  267. local VALUE1 = false
  268. local VALUE2 = false
  269. local ROBLOXIDLEANIMATION = IT("Animation")
  270. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  271. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  272. --ROBLOXIDLEANIMATION.Parent = Humanoid
  273. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  274. WEAPONGUI.Name = "Weapon GUI"
  275. local Effects = IT("Folder", Character)
  276. Effects.Name = "Effects"
  277. local ANIMATOR = Humanoid.Animator
  278. local ANIMATE = Character.Animate
  279. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  280. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  281. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  282. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  283. local UNANCHOR = true
  284.  
  285. local SKILLTEXTCOLOR = C3(1,0,0)
  286.  
  287.  
  288.  
  289. --//=================================\\
  290. --\\=================================//
  291.  
  292.  
  293. --//=================================\\
  294. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  295. --\\=================================//
  296.  
  297. ArtificialHB = Instance.new("BindableEvent", script)
  298. ArtificialHB.Name = "ArtificialHB"
  299.  
  300. script:WaitForChild("ArtificialHB")
  301.  
  302. frame = Frame_Speed
  303. tf = 0
  304. allowframeloss = false
  305. tossremainder = false
  306. lastframe = tick()
  307. script.ArtificialHB:Fire()
  308.  
  309. game:GetService("RunService").Heartbeat:connect(function(s, p)
  310. tf = tf + s
  311. if tf >= frame then
  312. if allowframeloss then
  313. script.ArtificialHB:Fire()
  314. lastframe = tick()
  315. else
  316. for i = 1, math.floor(tf / frame) do
  317. script.ArtificialHB:Fire()
  318. end
  319. lastframe = tick()
  320. end
  321. if tossremainder then
  322. tf = 0
  323. else
  324. tf = tf - frame * math.floor(tf / frame)
  325. end
  326. end
  327. end)
  328.  
  329. --//=================================\\
  330. --\\=================================//
  331.  
  332.  
  333.  
  334.  
  335.  
  336. --//=================================\\
  337. --|| SOME FUNCTIONS
  338. --\\=================================//
  339. -----
  340. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  341. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  342. end
  343.  
  344. function PositiveAngle(NUMBER)
  345. if NUMBER >= 0 then
  346. NUMBER = 0
  347. end
  348. return NUMBER
  349. end
  350.  
  351. function NegativeAngle(NUMBER)
  352. if NUMBER <= 0 then
  353. NUMBER = 0
  354. end
  355. return NUMBER
  356. end
  357.  
  358. function Swait(NUMBER)
  359. if NUMBER == 0 or NUMBER == nil then
  360. ArtificialHB.Event:wait()
  361. else
  362. for i = 1, NUMBER do
  363. ArtificialHB.Event:wait()
  364. end
  365. end
  366. end
  367.  
  368. function QuaternionFromCFrame(cf)
  369. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  370. local trace = m00 + m11 + m22
  371. if trace > 0 then
  372. local s = math.sqrt(1 + trace)
  373. local recip = 0.5 / s
  374. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  375. else
  376. local i = 0
  377. if m11 > m00 then
  378. i = 1
  379. end
  380. if m22 > (i == 0 and m00 or m11) then
  381. i = 2
  382. end
  383. if i == 0 then
  384. local s = math.sqrt(m00 - m11 - m22 + 1)
  385. local recip = 0.5 / s
  386. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  387. elseif i == 1 then
  388. local s = math.sqrt(m11 - m22 - m00 + 1)
  389. local recip = 0.5 / s
  390. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  391. elseif i == 2 then
  392. local s = math.sqrt(m22 - m00 - m11 + 1)
  393. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  394. end
  395. end
  396. end
  397.  
  398. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  399. local xs, ys, zs = x + x, y + y, z + z
  400. local wx, wy, wz = w * xs, w * ys, w * zs
  401. local xx = x * xs
  402. local xy = x * ys
  403. local xz = x * zs
  404. local yy = y * ys
  405. local yz = y * zs
  406. local zz = z * zs
  407. 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))
  408. end
  409.  
  410. function QuaternionSlerp(a, b, t)
  411. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  412. local startInterp, finishInterp;
  413. if cosTheta >= 0.0001 then
  414. if (1 - cosTheta) > 0.0001 then
  415. local theta = ACOS(cosTheta)
  416. local invSinTheta = 1 / SIN(theta)
  417. startInterp = SIN((1 - t) * theta) * invSinTheta
  418. finishInterp = SIN(t * theta) * invSinTheta
  419. else
  420. startInterp = 1 - t
  421. finishInterp = t
  422. end
  423. else
  424. if (1 + cosTheta) > 0.0001 then
  425. local theta = ACOS(-cosTheta)
  426. local invSinTheta = 1 / SIN(theta)
  427. startInterp = SIN((t - 1) * theta) * invSinTheta
  428. finishInterp = SIN(t * theta) * invSinTheta
  429. else
  430. startInterp = t - 1
  431. finishInterp = t
  432. end
  433. end
  434. 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
  435. end
  436.  
  437. function Clerp(a, b, t)
  438. local qa = {QuaternionFromCFrame(a)}
  439. local qb = {QuaternionFromCFrame(b)}
  440. local ax, ay, az = a.x, a.y, a.z
  441. local bx, by, bz = b.x, b.y, b.z
  442. local _t = 1 - t
  443. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  444. end
  445.  
  446. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  447. local frame = IT("Frame")
  448. frame.BackgroundTransparency = TRANSPARENCY
  449. frame.BorderSizePixel = BORDERSIZEPIXEL
  450. frame.Position = POSITION
  451. frame.Size = SIZE
  452. frame.BackgroundColor3 = COLOR
  453. frame.BorderColor3 = BORDERCOLOR
  454. frame.Name = NAME
  455. frame.Parent = PARENT
  456. return frame
  457. end
  458.  
  459. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  460. local label = IT("TextLabel")
  461. label.BackgroundTransparency = 1
  462. label.Size = UD2(1, 0, 1, 0)
  463. label.Position = UD2(0, 0, 0, 0)
  464. label.TextColor3 = TEXTCOLOR
  465. label.TextStrokeTransparency = STROKETRANSPARENCY
  466. label.TextTransparency = TRANSPARENCY
  467. label.FontSize = TEXTFONTSIZE
  468. label.Font = TEXTFONT
  469. label.BorderSizePixel = BORDERSIZEPIXEL
  470. label.TextScaled = false
  471. label.Text = TEXT
  472. label.Name = NAME
  473. label.Parent = PARENT
  474. return label
  475. end
  476.  
  477. function NoOutlines(PART)
  478. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  479. end
  480.  
  481.  
  482. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  483. local NEWWELD = IT(TYPE)
  484. NEWWELD.Part0 = PART0
  485. NEWWELD.Part1 = PART1
  486. NEWWELD.C0 = C0
  487. NEWWELD.C1 = C1
  488. NEWWELD.Parent = PARENT
  489. return NEWWELD
  490. end
  491.  
  492. local SOUND = IT("Sound")
  493.  
  494. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  495. local NEWSOUND = nil
  496. coroutine.resume(coroutine.create(function()
  497. NEWSOUND = SOUND:Clone()
  498. NEWSOUND.Parent = PARENT
  499. NEWSOUND.Volume = VOLUME
  500. NEWSOUND.Pitch = PITCH
  501. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  502. --Swait()
  503. NEWSOUND:play()
  504. if DOESLOOP == false then
  505. repeat Swait() until NEWSOUND.Playing == false
  506. NEWSOUND:remove()
  507. elseif DOESLOOP == true then
  508. NEWSOUND.Looped = true
  509. end
  510. end))
  511. return NEWSOUND
  512. end
  513.  
  514. function CFrameFromTopBack(at, top, back)
  515. local right = top:Cross(back)
  516. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  517. end
  518.  
  519. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  520. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  521. local mesh = IT("SpecialMesh",wave)
  522. mesh.MeshType = "FileMesh"
  523. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  524. mesh.Scale = SIZE
  525. mesh.Offset = VT(0,0,-SIZE.X/8)
  526. wave.CFrame = CFRAME
  527. coroutine.resume(coroutine.create(function(PART)
  528. for i = 1, WAIT do
  529. Swait()
  530. mesh.Scale = mesh.Scale + GROW
  531. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  532. if DOESROT == true then
  533. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  534. end
  535. wave.Transparency = wave.Transparency + (0.5/WAIT)
  536. if wave.Transparency > 0.99 then
  537. wave:remove()
  538. end
  539. end
  540. end))
  541. end
  542.  
  543. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  544. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  545. local mesh = IT("SpecialMesh",wave)
  546. mesh.MeshType = "FileMesh"
  547. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  548. mesh.Scale = SIZE
  549. mesh.Offset = VT(0,0,0)
  550. wave.CFrame = CFRAME
  551. coroutine.resume(coroutine.create(function(PART)
  552. for i = 1, WAIT do
  553. Swait()
  554. mesh.Scale = mesh.Scale + GROW
  555. if DOESROT == true then
  556. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  557. end
  558. wave.Transparency = wave.Transparency + (0.5/WAIT)
  559. if wave.Transparency > 0.99 then
  560. wave:remove()
  561. end
  562. end
  563. end))
  564. end
  565.  
  566. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  567. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  568. local mesh = IT("SpecialMesh",wave)
  569. mesh.MeshType = "Sphere"
  570. mesh.Scale = SIZE
  571. mesh.Offset = VT(0,0,0)
  572. wave.CFrame = CFRAME
  573. coroutine.resume(coroutine.create(function(PART)
  574. for i = 1, WAIT do
  575. Swait()
  576. mesh.Scale = mesh.Scale + GROW
  577. wave.Transparency = wave.Transparency + (1/WAIT)
  578. if wave.Transparency > 0.99 then
  579. wave:remove()
  580. end
  581. end
  582. end))
  583. end
  584. function MagicSpheres(size,waitt,cframe,color)
  585. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(1,1,1))
  586. local mesh = IT("SpecialMesh",wave)
  587. mesh.MeshType = "Sphere"
  588. mesh.Scale = VT(size,size,size)
  589. mesh.Offset = VT(0,0,0)
  590. wave.CFrame = cframe
  591. coroutine.resume(coroutine.create(function(PART)
  592. for i = 1, waitt do
  593. Swait()
  594. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  595. wave.Transparency = wave.Transparency + (1/waitt)
  596. if wave.Transparency > 0.99 then
  597. wave:remove()
  598. end
  599. end
  600. end))
  601. end
  602. function MagicSpheres2(size,waitt,cframe,color)
  603. local wave = CreatePart(3, Effects, "Neon", 0, 1, BRICKC(color), "Effect", VT(1,1,1))
  604. local mesh = IT("SpecialMesh",wave)
  605. mesh.MeshType = "Sphere"
  606. mesh.Scale = VT(size,size,size)
  607. mesh.Offset = VT(0,0,0)
  608. wave.CFrame = cframe
  609. coroutine.resume(coroutine.create(function(PART)
  610. for i = 1, waitt do
  611. Swait()
  612. mesh.Scale = mesh.Scale - VT(size/waitt,size/waitt,size/waitt)
  613. wave.Transparency = wave.Transparency - (1/waitt)
  614. end
  615. wave:remove()
  616. end))
  617. end
  618. function MagicBlock(size,waitt,part,offset,color)
  619. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(size,size,size))
  620. local mesh = IT("BlockMesh",wave)
  621. wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(0),RAD(0),RAD(0))
  622. coroutine.resume(coroutine.create(function(PART)
  623. for i = 1, waitt do
  624. Swait()
  625. mesh.Scale = mesh.Scale + VT(size/15,size/15,size/15)
  626. wave.CFrame = CF(wave.Position) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  627. wave.Transparency = wave.Transparency + (1/waitt)
  628. if wave.Transparency > 0.99 then
  629. wave:remove()
  630. end
  631. end
  632. end))
  633. end
  634. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  635. if FLOOR ~= nil then
  636. coroutine.resume(coroutine.create(function()
  637. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Really red", "DebreeCenter", VT(0,0,0))
  638. PART.CFrame = CF(POSITION)
  639. for i = 1, 45 do
  640. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Really red", "DebreePart", BLOCKSIZE)
  641. RingPiece.Material = FLOOR.Material
  642. RingPiece.Color = FLOOR.Color
  643. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE*4, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  644. Debris:AddItem(RingPiece,SWAIT)
  645. end
  646. PART:remove()
  647. end))
  648. end
  649. end
  650.  
  651. function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
  652. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  653. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  654. wave.CFrame = CFRAME
  655. coroutine.resume(coroutine.create(function(PART)
  656. for i = 1, WAIT do
  657. Swait()
  658. mesh.Scale = mesh.Scale * GROW
  659. wave.Transparency = wave.Transparency + (0.5/WAIT)
  660. if wave.Transparency > 0.99 then
  661. wave:remove()
  662. end
  663. end
  664. end))
  665. end
  666.  
  667. function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  668. if FLOOR ~= nil then
  669. for i = 1, AMOUNT do
  670. local DEBREE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Debree", BLOCKSIZE, false)
  671. DEBREE.Material = FLOOR.Material
  672. DEBREE.Color = FLOOR.Color
  673. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  674. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),STRENGTH,MRANDOM(-STRENGTH,STRENGTH))
  675. coroutine.resume(coroutine.create(function()
  676. Swait(15)
  677. DEBREE.Parent = workspace
  678. DEBREE.CanCollide = true
  679. Debris:AddItem(DEBREE,SWAIT)
  680. end))
  681. end
  682. end
  683. end
  684.  
  685. function MakeForm(PART,TYPE)
  686. if TYPE == "Cyl" then
  687. local MSH = IT("CylinderMesh",PART)
  688. elseif TYPE == "Ball" then
  689. local MSH = IT("SpecialMesh",PART)
  690. MSH.MeshType = "Sphere"
  691. elseif TYPE == "Wedge" then
  692. local MSH = IT("SpecialMesh",PART)
  693. MSH.MeshType = "Wedge"
  694. end
  695. end
  696.  
  697. function CheckTableForString(Table, String)
  698. for i, v in pairs(Table) do
  699. if string.find(string.lower(String), string.lower(v)) then
  700. return true
  701. end
  702. end
  703. return false
  704. end
  705.  
  706. function CheckIntangible(Hit)
  707. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  708. if Hit and Hit.Parent then
  709. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  710. return true
  711. end
  712. end
  713. return false
  714. end
  715.  
  716. Debris = game:GetService("Debris")
  717.  
  718. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  719. local Direction = CFrame.new(StartPos, Vec).lookVector
  720. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  721. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  722. if RayHit and CheckIntangible(RayHit) then
  723. if DelayIfHit then
  724. wait()
  725. end
  726. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  727. end
  728. return RayHit, RayPos, RayNormal
  729. end
  730.  
  731. function turnto(position)
  732. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  733. end
  734. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  735. function WACKYEFFECT(Table)
  736. local TYPE = (Table.EffectType or "Sphere")
  737. local SIZE = (Table.Size or VT(1,1,1))
  738. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  739. local TRANSPARENCY = (Table.Transparency or 0)
  740. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  741. local CFRAME = (Table.CFrame or Torso.CFrame)
  742. local MOVEDIRECTION = (Table.MoveToPos or nil)
  743. local ROTATION1 = (Table.RotationX or 0)
  744. local ROTATION2 = (Table.RotationY or 0)
  745. local ROTATION3 = (Table.RotationZ or 0)
  746. local MATERIAL = (Table.Material or "Neon")
  747. local COLOR = (Table.Color or C3(1,1,1))
  748. local TIME = (Table.Time or 45)
  749. local SOUNDID = (Table.SoundID or nil)
  750. local SOUNDPITCH = (Table.SoundPitch or nil)
  751. local SOUNDVOLUME = (Table.SoundVolume or nil)
  752. coroutine.resume(coroutine.create(function()
  753. local PLAYSSOUND = false
  754. local SOUND = nil
  755. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  756. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  757. PLAYSSOUND = true
  758. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  759. end
  760. EFFECT.Color = COLOR
  761. local MSH = nil
  762. if TYPE == "Sphere" then
  763. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  764. elseif TYPE == "Block" then
  765. MSH = IT("BlockMesh",EFFECT)
  766. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  767. elseif TYPE == "Box" then
  768. MSH = IT("BlockMesh",EFFECT)
  769. MSH.Scale = SIZE
  770. elseif TYPE == "Wave" then
  771. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  772. elseif TYPE == "Ring" then
  773. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  774. elseif TYPE == "Slash" then
  775. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  776. elseif TYPE == "Round Slash" then
  777. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  778. elseif TYPE == "Swirl" then
  779. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  780. elseif TYPE == "Skull" then
  781. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  782. elseif TYPE == "Crystal" then
  783. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  784. end
  785. if MSH ~= nil then
  786. local MOVESPEED = nil
  787. if MOVEDIRECTION ~= nil then
  788. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  789. end
  790. local GROWTH = SIZE - ENDSIZE
  791. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  792. if TYPE == "Block" then
  793. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  794. else
  795. EFFECT.CFrame = CFRAME
  796. end
  797. for LOOP = 1, TIME+1 do
  798. Swait()
  799. MSH.Scale = MSH.Scale - GROWTH/TIME
  800. if TYPE == "Wave" then
  801. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  802. end
  803. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  804. if TYPE == "Block" then
  805. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  806. else
  807. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  808. end
  809. if MOVEDIRECTION ~= nil then
  810. local ORI = EFFECT.Orientation
  811. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  812. EFFECT.Orientation = ORI
  813. end
  814. end
  815. if PLAYSSOUND == false then
  816. EFFECT:remove()
  817. else
  818. SOUND.Stopped:Connect(function()
  819. EFFECT:remove()
  820. end)
  821. end
  822. else
  823. if PLAYSSOUND == false then
  824. EFFECT:remove()
  825. else
  826. repeat Swait() until SOUND.Playing == false
  827. EFFECT:remove()
  828. end
  829. end
  830. end))
  831. end
  832. function SpawnTrail(FROM,TO,BIG)
  833. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  834. MakeForm(TRAIL,"Cyl")
  835. local DIST = (FROM - TO).Magnitude
  836. if BIG == true then
  837. TRAIL.Size = VT(0.5,DIST,0.5)
  838. else
  839. TRAIL.Size = VT(0.25,DIST,0.25)
  840. end
  841. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  842. coroutine.resume(coroutine.create(function()
  843. for i = 1, 5 do
  844. Swait()
  845. TRAIL.Transparency = TRAIL.Transparency + 0.1
  846. end
  847. TRAIL:remove()
  848. end))
  849. end
  850. local asd = Instance.new("ParticleEmitter")
  851. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  852. asd.LightEmission = .1
  853. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  854. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  855. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  856. asd.Transparency = bbb
  857. asd.Size = aaa
  858. asd.ZOffset = .9
  859. asd.Acceleration = Vector3.new(0, -15, 0)
  860. asd.LockedToPart = false
  861. asd.EmissionDirection = "Back"
  862. asd.Lifetime = NumberRange.new(1, 2)
  863. asd.Rotation = NumberRange.new(-100, 100)
  864. asd.RotSpeed = NumberRange.new(-100, 100)
  865. asd.Speed = NumberRange.new(10)
  866. asd.Enabled = false
  867. asd.VelocitySpread = 999
  868.  
  869. function getbloody(victim,amount)
  870. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  871. PART.CFrame = victim.CFrame
  872. local HITPLAYERSOUNDS = {"356551938","264486467"}
  873. Debris:AddItem(PART,5)
  874. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  875. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  876. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  877. local prtcl = asd:Clone()
  878. prtcl.Parent = PART
  879. prtcl:Emit(amount*10)
  880. end
  881. function AddChildrenToTable(FROM,PARENT,DIST,TABLE)
  882. for _, c in pairs(PARENT:GetDescendants()) do
  883. if c.ClassName == "Model" then
  884. if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
  885. local HUMANOID = c:FindFirstChildOfClass("Humanoid")
  886. local TORSO = (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso"))
  887. if (TORSO.Position - FROM).Magnitude < DIST then
  888. table.insert(TABLE,c)
  889. end
  890. end
  891. end
  892. end
  893. end
  894. -----
  895. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  896. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  897. end
  898.  
  899. function PositiveAngle(NUMBER)
  900. if NUMBER >= 0 then
  901. NUMBER = 0
  902. end
  903. return NUMBER
  904. end
  905.  
  906. function NegativeAngle(NUMBER)
  907. if NUMBER <= 0 then
  908. NUMBER = 0
  909. end
  910. return NUMBER
  911. end
  912.  
  913. function Swait(NUMBER)
  914. if NUMBER == 0 or NUMBER == nil then
  915. ArtificialHB.Event:wait()
  916. else
  917. for i = 1, NUMBER do
  918. ArtificialHB.Event:wait()
  919. end
  920. end
  921. end
  922.  
  923. function QuaternionFromCFrame(cf)
  924. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  925. local trace = m00 + m11 + m22
  926. if trace > 0 then
  927. local s = math.sqrt(1 + trace)
  928. local recip = 0.5 / s
  929. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  930. else
  931. local i = 0
  932. if m11 > m00 then
  933. i = 1
  934. end
  935. if m22 > (i == 0 and m00 or m11) then
  936. i = 2
  937. end
  938. if i == 0 then
  939. local s = math.sqrt(m00 - m11 - m22 + 1)
  940. local recip = 0.5 / s
  941. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  942. elseif i == 1 then
  943. local s = math.sqrt(m11 - m22 - m00 + 1)
  944. local recip = 0.5 / s
  945. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  946. elseif i == 2 then
  947. local s = math.sqrt(m22 - m00 - m11 + 1)
  948. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  949. end
  950. end
  951. end
  952.  
  953. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  954. local xs, ys, zs = x + x, y + y, z + z
  955. local wx, wy, wz = w * xs, w * ys, w * zs
  956. local xx = x * xs
  957. local xy = x * ys
  958. local xz = x * zs
  959. local yy = y * ys
  960. local yz = y * zs
  961. local zz = z * zs
  962. 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))
  963. end
  964.  
  965. function QuaternionSlerp(a, b, t)
  966. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  967. local startInterp, finishInterp;
  968. if cosTheta >= 0.0001 then
  969. if (1 - cosTheta) > 0.0001 then
  970. local theta = ACOS(cosTheta)
  971. local invSinTheta = 1 / SIN(theta)
  972. startInterp = SIN((1 - t) * theta) * invSinTheta
  973. finishInterp = SIN(t * theta) * invSinTheta
  974. else
  975. startInterp = 1 - t
  976. finishInterp = t
  977. end
  978. else
  979. if (1 + cosTheta) > 0.0001 then
  980. local theta = ACOS(-cosTheta)
  981. local invSinTheta = 1 / SIN(theta)
  982. startInterp = SIN((t - 1) * theta) * invSinTheta
  983. finishInterp = SIN(t * theta) * invSinTheta
  984. else
  985. startInterp = t - 1
  986. finishInterp = t
  987. end
  988. end
  989. 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
  990. end
  991. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  992. local NEWMESH = IT(MESH)
  993. if MESH == "SpecialMesh" then
  994. NEWMESH.MeshType = MESHTYPE
  995. if MESHID ~= "nil" and MESHID ~= "" then
  996. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  997. end
  998. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  999. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  1000. end
  1001. end
  1002. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  1003. NEWMESH.Scale = SCALE
  1004. NEWMESH.Parent = PARENT
  1005. return NEWMESH
  1006. end
  1007.  
  1008. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  1009. local NEWPART = IT("Part")
  1010. NEWPART.formFactor = FORMFACTOR
  1011. NEWPART.Reflectance = REFLECTANCE
  1012. NEWPART.Transparency = TRANSPARENCY
  1013. NEWPART.CanCollide = false
  1014. NEWPART.Locked = true
  1015. NEWPART.Anchored = true
  1016. if ANCHOR == false then
  1017. NEWPART.Anchored = false
  1018. end
  1019. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  1020. NEWPART.Name = NAME
  1021. NEWPART.Size = SIZE
  1022. NEWPART.Position = Torso.Position
  1023. NEWPART.Material = MATERIAL
  1024. NEWPART:BreakJoints()
  1025. NEWPART.Parent = PARENT
  1026. return NEWPART
  1027. end
  1028.  
  1029. local function weldBetween(a, b)
  1030. local weldd = IT("Weld")
  1031. weldd.Part0 = a
  1032. weldd.Part1 = b
  1033. weldd.C0 = CF()
  1034. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1035. weldd.Parent = a
  1036. return weldd
  1037. end
  1038.  
  1039. function Clerp(a, b, t)
  1040. local qa = {QuaternionFromCFrame(a)}
  1041. local qb = {QuaternionFromCFrame(b)}
  1042. local ax, ay, az = a.x, a.y, a.z
  1043. local bx, by, bz = b.x, b.y, b.z
  1044. local _t = 1 - t
  1045. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1046. end
  1047.  
  1048. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  1049. local frame = IT("Frame")
  1050. frame.BackgroundTransparency = TRANSPARENCY
  1051. frame.BorderSizePixel = BORDERSIZEPIXEL
  1052. frame.Position = POSITION
  1053. frame.Size = SIZE
  1054. frame.BackgroundColor3 = COLOR
  1055. frame.BorderColor3 = BORDERCOLOR
  1056. frame.Name = NAME
  1057. frame.Parent = PARENT
  1058. return frame
  1059. end
  1060.  
  1061. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  1062. local label = IT("TextLabel")
  1063. label.BackgroundTransparency = 1
  1064. label.Size = UD2(1, 0, 1, 0)
  1065. label.Position = UD2(0, 0, 0, 0)
  1066. label.TextColor3 = TEXTCOLOR
  1067. label.TextStrokeTransparency = STROKETRANSPARENCY
  1068. label.TextTransparency = TRANSPARENCY
  1069. label.FontSize = TEXTFONTSIZE
  1070. label.Font = TEXTFONT
  1071. label.BorderSizePixel = BORDERSIZEPIXEL
  1072. label.TextScaled = false
  1073. label.Text = TEXT
  1074. label.Name = NAME
  1075. label.Parent = PARENT
  1076. return label
  1077. end
  1078.  
  1079. function NoOutlines(PART)
  1080. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  1081. end
  1082.  
  1083.  
  1084. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  1085. local NEWWELD = IT(TYPE)
  1086. NEWWELD.Part0 = PART0
  1087. NEWWELD.Part1 = PART1
  1088. NEWWELD.C0 = C0
  1089. NEWWELD.C1 = C1
  1090. NEWWELD.Parent = PARENT
  1091. return NEWWELD
  1092. end
  1093.  
  1094. local S = IT("Sound")
  1095.  
  1096. function CreateSound(ID, PARENT, VOLUME, PITCH)
  1097. local NEWSOUND = nil
  1098. coroutine.resume(coroutine.create(function()
  1099. NEWSOUND = S:Clone()
  1100. NEWSOUND.Parent = PARENT
  1101. NEWSOUND.Volume = VOLUME
  1102. NEWSOUND.Pitch = PITCH
  1103. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  1104. Swait()
  1105. NEWSOUND:play()
  1106. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  1107. end))
  1108. return NEWSOUND
  1109. end
  1110.  
  1111. local asd = Instance.new("ParticleEmitter")
  1112. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  1113. asd.LightEmission = .1
  1114. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  1115. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  1116. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1117. asd.Transparency = bbb
  1118. asd.Size = aaa
  1119. asd.ZOffset = .9
  1120. asd.Acceleration = Vector3.new(0, -15, 0)
  1121. asd.LockedToPart = false
  1122. asd.EmissionDirection = "Back"
  1123. asd.Lifetime = NumberRange.new(1, 2)
  1124. asd.Rotation = NumberRange.new(-100, 100)
  1125. asd.RotSpeed = NumberRange.new(-100, 100)
  1126. asd.Speed = NumberRange.new(10)
  1127. asd.Enabled = false
  1128. asd.VelocitySpread = 999
  1129.  
  1130.  
  1131.  
  1132. function getbloody(victim,amount)
  1133. local PART = CreatePart(1, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  1134. PART.CFrame = victim.CFrame
  1135. local HITPLAYERSOUNDS = {"356551938","264486467"}
  1136. Debris:AddItem(PART,5)
  1137. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], Torso, 0.3, (math.random(8,12)/10))
  1138. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], Torso, 0.3, (math.random(8,12)/10))
  1139. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], Torso, 0.3, (math.random(8,12)/10))
  1140. local prtcl = asd:Clone()
  1141. prtcl.Parent = PART
  1142. prtcl:Emit(amount*10)
  1143. end
  1144.  
  1145.  
  1146. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  1147. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  1148. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  1149. wave.CFrame = CFRAME
  1150. coroutine.resume(coroutine.create(function(PART)
  1151. for i = 1, WAIT do
  1152. Swait()
  1153. mesh.Scale = mesh.Scale + GROW
  1154. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  1155. if DOESROT == true then
  1156. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  1157. end
  1158. wave.Transparency = wave.Transparency + (0.5/WAIT)
  1159. if wave.Transparency > 0.99 then
  1160. wave:remove()
  1161. end
  1162. end
  1163. end))
  1164. end
  1165.  
  1166. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  1167. local wave = CreatePart(1, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  1168. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0,0,0))
  1169. wave.CFrame = CFRAME
  1170. coroutine.resume(coroutine.create(function(PART)
  1171. for i = 1, WAIT do
  1172. Swait()
  1173. mesh.Scale = mesh.Scale + GROW
  1174. if DOESROT == true then
  1175. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  1176. end
  1177. wave.Transparency = wave.Transparency + (0.5/WAIT)
  1178. if wave.Transparency > 0.99 then
  1179. wave:remove()
  1180. end
  1181. end
  1182. end))
  1183. end
  1184.  
  1185.  
  1186. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  1187. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  1188. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0,0,0))
  1189. wave.CFrame = CFRAME
  1190. coroutine.resume(coroutine.create(function(PART)
  1191. for i = 1, WAIT do
  1192. Swait()
  1193. mesh.Scale = mesh.Scale + GROW
  1194. wave.Transparency = wave.Transparency + (1/WAIT)
  1195. if wave.Transparency > 0.99 then
  1196. wave:remove()
  1197. end
  1198. end
  1199. end))
  1200. end
  1201.  
  1202. function Slice(KIND,SIZE,WAIT,CFRAME,COLOR,GROW)
  1203. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  1204. local mesh = nil
  1205. if KIND == "Base" then
  1206. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  1207. elseif KIND == "Thin" then
  1208. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  1209. elseif KIND == "Round" then
  1210. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  1211. end
  1212. wave.CFrame = CFRAME
  1213. coroutine.resume(coroutine.create(function(PART)
  1214. for i = 1, WAIT do
  1215. Swait()
  1216. mesh.Scale = mesh.Scale + GROW/10
  1217. wave.Transparency = wave.Transparency + (0.5/WAIT)
  1218. if wave.Transparency > 0.99 then
  1219. wave:remove()
  1220. end
  1221. end
  1222. end))
  1223. end
  1224.  
  1225. function MakeForm(PART,TYPE)
  1226. if TYPE == "Cyl" then
  1227. local MSH = IT("CylinderMesh",PART)
  1228. elseif TYPE == "Ball" then
  1229. local MSH = IT("SpecialMesh",PART)
  1230. MSH.MeshType = "Sphere"
  1231. elseif TYPE == "Wedge" then
  1232. local MSH = IT("SpecialMesh",PART)
  1233. MSH.MeshType = "Wedge"
  1234. end
  1235. end
  1236.  
  1237. function SpawnKnife(SIZE,ISGRABBED,LIMB,ROT,ROT2,DOESDODAMAGE,DAMAGE)
  1238. SIZE = SIZE / 2
  1239. local WELD = nil
  1240. local KNIFEMODEL = IT("Model",Effects)
  1241. KNIFEMODEL.Name = "Knife"
  1242. local HandlePart = CreatePart(3, KNIFEMODEL, "Neon", 0,0, "Really red", "Handle", VT(0.2,1.5,0.2)*SIZE,false)
  1243. MakeForm(HandlePart,"Cyl")
  1244. if ISGRABBED == true then
  1245. WELD = CreateWeldOrSnapOrMotor("Weld", HandlePart, LIMB, HandlePart, CF(0, -1, 0) * ANGLES(RAD(ROT), RAD(ROT2), RAD(0)), CF(0, 0, 0))
  1246. end
  1247. local BladePart = CreatePart(3, KNIFEMODEL, "Neon", 0,1, "Really red", "BladeHolder", VT(0.2,2.8+(3.25/1.5),0.2)*SIZE,false)
  1248. BladePart.CFrame = HandlePart.CFrame*CF(0,-2.8*SIZE,-0.05*SIZE)
  1249. weldBetween(HandlePart,BladePart)
  1250. local Part = CreatePart(3, KNIFEMODEL, "Neon", 0,0, "Really red", "Blade", VT(0,2.8,1)*SIZE,false)
  1251. MakeForm(Part,"Wedge")
  1252. Part.CFrame = BladePart.CFrame*CF(0,-1.475*SIZE,0.45*SIZE) * ANGLES(RAD(180), RAD(0), RAD(0))
  1253. weldBetween(BladePart,Part)
  1254. local Part = CreatePart(3, KNIFEMODEL, "Neon", 0,0, "Really red", "Blade", VT(0,3.25/1.5,0.5)*SIZE,false)
  1255. MakeForm(Part,"Wedge")
  1256. Part.CFrame = BladePart.CFrame*CF(0,1*SIZE,1.2*SIZE) * ANGLES(RAD(180), RAD(0), RAD(0))
  1257. weldBetween(BladePart,Part)
  1258. local Part = CreatePart(3, KNIFEMODEL, "Neon", 0,0, "Really red", "Blade", VT(0,3.25/1.5,1)*SIZE,false)
  1259. Part.CFrame = BladePart.CFrame*CF(0,1*SIZE,0.45*SIZE) * ANGLES(RAD(180), RAD(0), RAD(0))
  1260. weldBetween(BladePart,Part)
  1261. local A = IT("Attachment",BladePart)
  1262. A.Position = VT(0,BladePart.Size.Y/2,0)
  1263. local B = IT("Attachment",BladePart)
  1264. B.Position = VT(0,-BladePart.Size.Y/2,0)
  1265. local Trail = IT("Trail",BladePart)
  1266. Trail.Attachment0 = A
  1267. Trail.Attachment1 = B
  1268. Trail.Lifetime = 0.2
  1269. Trail.Color = ColorSequence.new(BRICKC"Really red".Color)
  1270. Trail.Transparency = NumberSequence.new(0, 1)
  1271. for _, c in pairs(KNIFEMODEL:GetChildren()) do
  1272. if c.ClassName == "Part" then
  1273. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1274. end
  1275. end
  1276. if DOESDODAMAGE == true then
  1277. local HIT = false
  1278. BladePart.CanCollide = true
  1279. local TOUCHED = BladePart.Touched:Connect(function(hit)
  1280. if HIT == false then
  1281. if hit ~= nil then
  1282. if hit.Parent ~= nil then
  1283. if hit.Parent ~= Character and hit.Parent:FindFirstChildOfClass("Humanoid") then
  1284. HIT = true
  1285. ApplyDamage(hit.Parent:FindFirstChildOfClass("Humanoid"),DAMAGE,2,2)
  1286. wait(0.1)
  1287. HIT = false
  1288. end
  1289. end
  1290. end
  1291. end
  1292. end)
  1293. end
  1294. return KNIFEMODEL,WELD,BladePart
  1295. end
  1296.  
  1297. function PuddleOfBlood(Position,MaxDrop,Model,MaxSize)
  1298. local HITFLOOR, HITPOS, NORMAL = Raycast(Position, (CF(Position, Position + VT(0, -1, 0))).lookVector, MaxDrop, Model)
  1299. if HITFLOOR ~= nil then
  1300. if HITFLOOR.Parent ~= Effects and HITFLOOR.Parent ~= Character then
  1301. if HITFLOOR.Name == "BloodPuddle" then
  1302. local DIST = (Position - HITFLOOR.Position).Magnitude
  1303. if (HITFLOOR.Size.Z <= 5 and HITFLOOR.Size.Z < MaxSize) or (HITFLOOR.Size.Z > 5 and HITFLOOR.Size.Z < MaxSize and DIST < HITFLOOR.Size.Z/3) then
  1304. HITFLOOR.Size = HITFLOOR.Size + VT(0.1,0,0.1)
  1305. end
  1306. else
  1307. if HITFLOOR.Anchored == true then
  1308. local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Maroon", "BloodPuddle", VT(2,0,2))
  1309. BLOOD.CFrame = CF(HITPOS,HITPOS+NORMAL)*ANGLES(RAD(90),RAD(0),RAD(0))
  1310. MakeForm(BLOOD,"Cyl")
  1311. coroutine.resume(coroutine.create(function()
  1312. Swait(75)
  1313. while true do
  1314. Swait()
  1315. BLOOD.Size = BLOOD.Size - VT(0.02,0,0.02)
  1316. if BLOOD.Size.Z < 0.051 then
  1317. BLOOD:remove()
  1318. break
  1319. end
  1320. end
  1321. end))
  1322. end
  1323. end
  1324. end
  1325. end
  1326. end
  1327.  
  1328. function SprayBlood(POSITION,DIRECTION,BloodSize,DoesTable,Table)
  1329. local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Maroon", "BloodPuddle", VT(0.5,0.5,0.5),false)
  1330. BLOOD.CFrame = CF(POSITION)
  1331. MakeForm(BLOOD,"Ball")
  1332. local bv = Instance.new("BodyVelocity",BLOOD)
  1333. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1334. bv.velocity = CF(POSITION,DIRECTION+VT(MRANDOM(-3,3),MRANDOM(-3,3)/30,MRANDOM(-3,3))).lookVector*65
  1335. bv.Name = "MOVE"
  1336. Debris:AddItem(bv,0.05)
  1337. coroutine.resume(coroutine.create(function()
  1338. local HASTOUCHEDGROUND = false
  1339. local HIT = BLOOD.Touched:Connect(function(hit)
  1340. if hit.Anchored == true then
  1341. HASTOUCHEDGROUND = true
  1342. if DoesTable == true then
  1343. AddChildrenToTable(BLOOD.Position,workspace,15,Table)
  1344. end
  1345. PuddleOfBlood(BLOOD.Position+VT(0,1,0),2,BLOOD,BloodSize)
  1346. end
  1347. end)
  1348. for i = 1, 75 do
  1349. Swait()
  1350. if i > 5 then
  1351. BLOOD.CanCollide = true
  1352. end
  1353. if HASTOUCHEDGROUND == true then
  1354. break
  1355. end
  1356. end
  1357. BLOOD:remove()
  1358. end))
  1359. end
  1360.  
  1361. function CheckTableForString(Table, String)
  1362. for i, v in pairs(Table) do
  1363. if string.find(string.lower(String), string.lower(v)) then
  1364. return true
  1365. end
  1366. end
  1367. return false
  1368. end
  1369.  
  1370. function CheckIntangible(Hit)
  1371. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  1372. if Hit and Hit.Parent then
  1373. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  1374. return true
  1375. end
  1376. end
  1377. return false
  1378. end
  1379.  
  1380. Debris = game:GetService("Debris")
  1381.  
  1382. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  1383. local Direction = CFrame.new(StartPos, Vec).lookVector
  1384. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  1385. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  1386. if RayHit and CheckIntangible(RayHit) then
  1387. if DelayIfHit then
  1388. wait()
  1389. end
  1390. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  1391. end
  1392. return RayHit, RayPos, RayNormal
  1393. end
  1394.  
  1395. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  1396. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  1397. end
  1398.  
  1399. function turnto(position)
  1400. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  1401. end
  1402.  
  1403. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1404. function WACKYEFFECT(Table)
  1405. local TYPE = (Table.EffectType or "Sphere")
  1406. local SIZE = (Table.Size or VT(1,1,1))
  1407. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  1408. local TRANSPARENCY = (Table.Transparency or 0)
  1409. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  1410. local CFRAME = (Table.CFrame or Torso.CFrame)
  1411. local MOVEDIRECTION = (Table.MoveToPos or nil)
  1412. local ROTATION1 = (Table.RotationX or 0)
  1413. local ROTATION2 = (Table.RotationY or 0)
  1414. local ROTATION3 = (Table.RotationZ or 0)
  1415. local MATERIAL = (Table.Material or "Neon")
  1416. local COLOR = (Table.Color or C3(1,1,1))
  1417. local TIME = (Table.Time or 45)
  1418. local SOUNDID = (Table.SoundID or nil)
  1419. local SOUNDPITCH = (Table.SoundPitch or nil)
  1420. local SOUNDVOLUME = (Table.SoundVolume or nil)
  1421. coroutine.resume(coroutine.create(function()
  1422. local PLAYSSOUND = false
  1423. local SOUND = nil
  1424. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  1425. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  1426. PLAYSSOUND = true
  1427. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  1428. end
  1429. EFFECT.Color = COLOR
  1430. local MSH = nil
  1431. if TYPE == "Sphere" then
  1432. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  1433. elseif TYPE == "Block" then
  1434. MSH = IT("BlockMesh",EFFECT)
  1435. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  1436. elseif TYPE == "Wave" then
  1437. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  1438. elseif TYPE == "Ring" then
  1439. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  1440. elseif TYPE == "Slash" then
  1441. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1442. elseif TYPE == "Round Slash" then
  1443. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1444. elseif TYPE == "Swirl" then
  1445. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  1446. elseif TYPE == "Skull" then
  1447. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  1448. elseif TYPE == "Crystal" then
  1449. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  1450. end
  1451. if MSH ~= nil then
  1452. local MOVESPEED = nil
  1453. if MOVEDIRECTION ~= nil then
  1454. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  1455. end
  1456. local GROWTH = SIZE - ENDSIZE
  1457. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1458. if TYPE == "Block" then
  1459. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1460. else
  1461. EFFECT.CFrame = CFRAME
  1462. end
  1463. Swait()
  1464. for LOOP = 1, TIME+1 do
  1465. MSH.Scale = MSH.Scale - GROWTH/TIME
  1466. if TYPE == "Wave" then
  1467. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  1468. end
  1469. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  1470. if TYPE == "Block" then
  1471. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1472. else
  1473. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1474. end
  1475. if MOVEDIRECTION ~= nil then
  1476. local ORI = EFFECT.Orientation
  1477. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  1478. EFFECT.Orientation = ORI
  1479. end
  1480. end
  1481. if PLAYSSOUND == false then
  1482. EFFECT:remove()
  1483. else
  1484. SOUND.Stopped:Connect(function()
  1485. EFFECT:remove()
  1486. end)
  1487. end
  1488. else
  1489. if PLAYSSOUND == false then
  1490. EFFECT:remove()
  1491. else
  1492. repeat Swait() until SOUND.Playing == false
  1493. EFFECT:remove()
  1494. end
  1495. end
  1496. end))
  1497. end
  1498.  
  1499. function Intro()
  1500. EQUIPPED = true
  1501. ATTACK = true
  1502. Rooted = true
  1503. if Rooted == false then
  1504. Disable_Jump = false
  1505. Humanoid.WalkSpeed = Speed
  1506. elseif Rooted == true then
  1507. Disable_Jump = true
  1508. Humanoid.WalkSpeed = 0
  1509. end
  1510. for i = 0, 3, 0.1 / Animation_Speed do
  1511. Swait()
  1512. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0,300 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1513. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed)
  1514. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1515. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1516. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 2 / Animation_Speed)
  1517. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 2 / Animation_Speed)
  1518. end
  1519. for i = 0, 4, 0.1 / Animation_Speed do
  1520. Swait()
  1521. CreateSound("1368583274", Torso, 1, 1)
  1522. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.5 / Animation_Speed)
  1523. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.5 / Animation_Speed)
  1524. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1525. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1526. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1527. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1528. CreateRing(VT(5,5,0)*3,false,0,25,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(1,0,0)*3)
  1529. MagicSphere(VT(0,0,0),10,Torso.CFrame,"Really red",VT(5,5,5))
  1530. CreateWave(VT(0,0,0),15,Torso.CFrame*CF(0,-Torso.Size.Y/1.8,0),true,2,"Really red",VT(3,3,3))
  1531. CreateWave(VT(0,0,0),15,Torso.CFrame*CF(0,-Torso.Size.Y/1.8,0),true,2,"Really red",VT(1,5,5))
  1532. end
  1533. ATTACK = false
  1534. Rooted = false
  1535. end
  1536.  
  1537. --//=================================\\
  1538. --|| WEAPON CREATION
  1539. --\\=================================//
  1540. ---------
  1541. local naeeym2 = IT("BillboardGui",Character)
  1542. naeeym2.AlwaysOnTop = true
  1543. naeeym2.Size = UDim2.new(5,35,2,15)
  1544. naeeym2.StudsOffset = Vector3.new(0,2,0)
  1545. naeeym2.MaxDistance = 75
  1546. naeeym2.Adornee = Character.Head
  1547. naeeym2.Name = "Name"
  1548. local tecks2 = IT("TextLabel",naeeym2)
  1549. tecks2.BackgroundTransparency = 1
  1550. tecks2.TextScaled = true
  1551. tecks2.BorderSizePixel = 0
  1552. tecks2.Text = "Nahid hunter"
  1553. tecks2.Font = "Fantasy"
  1554. tecks2.TextSize = 30
  1555. tecks2.TextStrokeTransparency = 0
  1556. tecks2.TextColor3 = C3(0,0,0)
  1557. tecks2.TextStrokeColor3 = C3(255,0,0)
  1558. tecks2.Size = UDim2.new(1,0,0.5,0)
  1559. tecks2.Parent = naeeym2
  1560. ---------------------
  1561. local plr = game:service'Players'.LocalPlayer
  1562. local char = plr.Character
  1563. local hum = char.Humanoid
  1564. local ra = char["Right Arm"]
  1565. local la= char["Left Arm"]
  1566. local rl= char["Right Leg"]
  1567. local ll = char["Left Leg"]
  1568. local hed = char.Head
  1569. local root = char.HumanoidRootPart
  1570. local rootj = root.RootJoint
  1571. local tors = char.Torso
  1572. local mouse = plr:GetMouse()
  1573. New = function(Object, Parent, Name, Data)
  1574. local Object = Instance.new(Object)
  1575. for Index, Value in pairs(Data or {}) do
  1576. Object[Index] = Value
  1577. end
  1578. Object.Parent = Parent
  1579. Object.Name = Name
  1580. return Object
  1581. end
  1582.  
  1583. XBlade = New("Model",char,"XBlade",{})
  1584. Handle = New("Part",XBlade,"Handle",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(2, 0.119999982, 0.119999982),CFrame = CFrame.new(-44.0486794, 1.89940667, 173.921341, 0.99009043, -0.134159163, -0.0414969474, 0.0418755226, -2.00014849e-09, 0.999122798, -0.134041354, -0.990959466, 0.00561797712),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(100, 0, 0),})
  1585. Wedge = New("WedgePart",XBlade,"Wedge",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.0799999461, 4.97000027, 1.4),CFrame = CFrame.new(-40.6379662, 1.33008528, 173.459518, 0.134159088, 0.990090489, -0.0414969511, 3.48056417e-10, 0.0418755226, 0.999122798, 0.990959585, -0.134041339, 0.00561797852),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(100, 0, 0),})
  1586. mot = New("Motor",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.990090549, 0.0418755226, -0.134041384, -0.0414969586, 0.999122858, 0.00561798085),C1 = CFrame.new(3.41497803, 7.62939453e-05, -0.712950706, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
  1587.  
  1588. local color="Really red"
  1589. local transPoints = {
  1590. NumberSequenceKeypoint.new(0,.819,.0375),
  1591. NumberSequenceKeypoint.new(.207,.594,.0187),
  1592. NumberSequenceKeypoint.new(.4,.55,.031),
  1593. NumberSequenceKeypoint.new(.57,.619,.05),
  1594. NumberSequenceKeypoint.new(.76,.8,.0375),
  1595. NumberSequenceKeypoint.new(1,1,0),
  1596. }
  1597. local sizePoints = {
  1598. NumberSequenceKeypoint.new(0,0.505,0),
  1599. NumberSequenceKeypoint.new(1,0,0),
  1600. }
  1601. local Size = NumberSequence.new(sizePoints)
  1602. local Transparency = NumberSequence.new(transPoints)
  1603.  
  1604. efxBlock2 = Instance.new("Part",c)
  1605. efxBlock2.CanCollide=false
  1606. efxBlock2.BrickColor = BrickColor.new(color)
  1607. efxBlock2.Material = "Neon"
  1608. efxBlock2.FormFactor = "Custom"
  1609. efxBlock2.Transparency = 1
  1610. efxBlock2.Size = Vector3.new(.25,.25,.25)
  1611. local mesh2 = Instance.new("SpecialMesh",efxBlock2)
  1612. mesh2.MeshType = Enum.MeshType.Sphere
  1613. mesh2.Scale = Vector3.new(1,1,1)
  1614. local particles2 = Instance.new("ParticleEmitter",efxBlock2)
  1615. particles2.Color = ColorSequence.new(Color3.new(255/255, 0/255, 0/255),Color3.new(0/255, 0/255, 0/255))
  1616. particles2.LightEmission = .2
  1617. particles2.Size = Size
  1618. particles2.Name = "Fire"
  1619. particles2.Transparency = Transparency
  1620. particles2.LockedToPart = false
  1621. particles2.VelocityInheritance = .5
  1622. particles2.LockedToPart = false
  1623. particles2.Rate = 15
  1624. particles2.Texture = "rbxassetid://41068173"
  1625. particles2.Lifetime = NumberRange.new(2,2)
  1626. particles2.RotSpeed = NumberRange.new(100,100)
  1627. particles2.Speed = NumberRange.new(1,1)
  1628. local offset = Vector3.new(0.11, .23, -0.5)
  1629. local weld2 = Instance.new("Weld",c.Head)
  1630. weld2.Part0 = c.Head
  1631. weld2.Part1 = efxBlock2
  1632. weld2.C0 = CFrame.new(offset) * CFrame.Angles(math.rad(40),math.rad(50),math.rad(-60))
  1633. efxBlock2.Parent = c
  1634.  
  1635. for _, v in pairs(XBlade:GetChildren()) do
  1636. if v:IsA'BasePart' then
  1637. v.CanCollide = false
  1638. end
  1639. end
  1640.  
  1641.  
  1642.  
  1643. local NewInstance = function(instance,parent,properties)
  1644. local inst = Instance.new(instance,parent)
  1645. if(properties)then
  1646. for i,v in next, properties do
  1647. pcall(function() inst[i] = v end)
  1648. end
  1649. end
  1650. return inst;
  1651. end
  1652. local HW = NewInstance('Weld',char,{Part0=ra,Part1=Handle,C0 = CFrame.new(0,-.9,0)*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(90))})
  1653.  
  1654.  
  1655. Humanoid.Died:connect(function()
  1656. ATTACK = true
  1657. end)
  1658.  
  1659.  
  1660. --//=================================\\
  1661. --|| DAMAGE FUNCTIONS
  1662. --\\=================================//
  1663.  
  1664. function StatLabel(CFRAME, TEXT, COLOR)
  1665. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  1666. STATPART.CFrame = CF(CFRAME.p,CFRAME.p+VT(MRANDOM(-5,5),MRANDOM(0,5),MRANDOM(-5,5)))
  1667. local BODYGYRO = IT("BodyGyro", STATPART)
  1668. game:GetService("Debris"):AddItem(STATPART ,5)
  1669. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  1670. BILLBOARDGUI.Adornee = STATPART
  1671. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  1672. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  1673. BILLBOARDGUI.AlwaysOnTop = false
  1674. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  1675. TEXTLABEL.BackgroundTransparency = 1
  1676. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  1677. TEXTLABEL.Text = TEXT
  1678. TEXTLABEL.Font = "Fantasy"
  1679. TEXTLABEL.FontSize="Size42"
  1680. TEXTLABEL.TextColor3 = COLOR
  1681. TEXTLABEL.TextStrokeTransparency = 0
  1682. TEXTLABEL.TextScaled = true
  1683. TEXTLABEL.TextWrapped = true
  1684. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  1685. for i = 1, 50 do
  1686. Swait()
  1687. STATPART.CFrame = STATPART.CFrame * CF(0,0,-0.2)
  1688. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/50)
  1689. TEXTLABEL.TextStrokeTransparency = TEXTLABEL.TextTransparency
  1690. end
  1691. THEPART.Parent = nil
  1692. end),STATPART, TEXTLABEL)
  1693. end
  1694.  
  1695.  
  1696. --//=================================\\
  1697. --|| DAMAGING
  1698. --\\=================================//
  1699.  
  1700. function ApplyDamage(Humanoid,Damage,CritRate,CritMultiplier)
  1701. local defence = Instance.new("BoolValue",Humanoid.Parent)
  1702. defence.Name = ("HitBy"..Player.Name)
  1703. game:GetService("Debris"):AddItem(defence, 0.001)
  1704. if Humanoid.Health ~= 0 then
  1705. local CritChance = MRANDOM(1,100)
  1706. if CritChance < CritRate + 1 then
  1707. Damage = Damage*CritMultiplier
  1708. end
  1709. if Damage > Humanoid.Health then
  1710. Damage = math.ceil(Humanoid.Health)
  1711. if Damage == 0 then
  1712. Damage = 0.1
  1713. end
  1714. end
  1715. Humanoid.Health = Humanoid.Health - Damage
  1716. if Humanoid.Parent:FindFirstChild("Head") then
  1717. CreateSound(HITPLAYERSOUNDS[MRANDOM(1,#HITPLAYERSOUNDS)], Humanoid.Parent.Head, 3, 1)
  1718. if CritChance < CritRate + 1 then
  1719. StatLabel(Humanoid.Parent.Head.CFrame * CF(0, 0 + (Humanoid.Parent.Head.Size.z - 1), 0), "CRIT//"..Damage, C3(1, 0, 0))
  1720. else
  1721. StatLabel(Humanoid.Parent.Head.CFrame * CF(0, 0 + (Humanoid.Parent.Head.Size.z - 1), 0), Damage, SKILLTEXTCOLOR)
  1722. end
  1723. end
  1724. end
  1725. end
  1726.  
  1727. function AoEDamage(position,radius,min,max,maxstrength,critrate,critmultiplier,CanBeDodgedByJumping)
  1728. local dmg = math.random(min,max)
  1729. for i,v in ipairs(workspace:GetChildren()) do
  1730. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  1731. local body = v:GetChildren()
  1732. for part = 1, #body do
  1733. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1734. if(body[part].Position - position).Magnitude < radius then
  1735. if v.ClassName == "Model" then
  1736. if v:FindFirstChildOfClass("Humanoid") then
  1737. if CanBeDodgedByJumping == true then
  1738. if body[part].Position.Y < position.Y+5 then
  1739. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  1740. end
  1741. else
  1742. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  1743. end
  1744. local bv = Instance.new("BodyVelocity")
  1745. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1746. bv.velocity = RootPart.CFrame.lookVector*maxstrength
  1747. bv.Parent = body[part]
  1748. Debris:AddItem(bv,0.2)
  1749. end
  1750. end
  1751. end
  1752. end
  1753. end
  1754. end
  1755. if v:FindFirstChild("HitBy"..Player.Name) then
  1756. v:FindFirstChild("HitBy"..Player.Name):remove()
  1757. end
  1758. end
  1759. end
  1760.  
  1761. function BreakLimit()
  1762. ATTACK = true
  1763. Rooted = false
  1764. UNANCHOR = false
  1765. RootPart.Anchored = true
  1766. for i=0, 0.1, 0.1 / Animation_Speed do
  1767. Swait()
  1768. RootPart.CFrame = RootPart.CFrame * CF(0,0.2,0)
  1769. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1770. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed)
  1771. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1772. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1773. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 2 / Animation_Speed)
  1774. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 2 / Animation_Speed)
  1775. end
  1776. CreateSound("1368598393", Torso, 1, 1)
  1777. for i=0, 0.1, 0.1 / Animation_Speed do
  1778. Swait()
  1779. local CFRAME = CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  1780. MagicSphere(VT(0,0,0),15,CFRAME,"Really Red",VT(0.1,0.1,5))
  1781. MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Institutional white",VT(0.1,0.1,5))
  1782. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1783. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed)
  1784. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1785. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1786. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  1787. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  1788. end
  1789. CreateSound("1368583274", Torso, 1, 1)
  1790. for i=0, 0.1, 0.1 / Animation_Speed do
  1791. Swait()
  1792. CreateRing(VT(45,5,0)*2,false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(-1,0,0))
  1793. CreateRing(VT(45,5,0)*3,false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(-1,0,0)*3)
  1794. local CFRAME = CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  1795. MagicSphere(VT(0,0,0),15,CFRAME,"Red",VT(0.1,0.1,55))
  1796. MagicSphere(VT(0,0,0),15,CFRAME,"Black",VT(2,2,2))
  1797. MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Really Red",VT(0.1,0.1,55))
  1798. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1799. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed)
  1800. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1801. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1802. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  1803. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  1804. end
  1805. Swait(45)
  1806. CreateRing(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Red",VT(7,7,0))
  1807. CreateSound("1368605755", Torso, 1, 1)
  1808. CreateSound("1368637781", Torso, 1, 1)
  1809. MagicSphere(VT(0,0,0),45,Torso.CFrame,"Really red",VT(5,5,5))
  1810. LIMITBROKEN = true
  1811. for i=0, 1, 0.1 / Animation_Speed do
  1812. Swait()
  1813. CreateRing(VT(0,0,0),false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Black",VT(4,4,0))
  1814. CreateRing(VT(0,0,0),false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Black",VT(5,5,0))
  1815. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1816. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed)
  1817. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-60), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1818. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1819. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-50)), 2 / Animation_Speed)
  1820. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(50)), 2 / Animation_Speed)
  1821. end
  1822. UNANCHOR = true
  1823. RootPart.Anchored = false
  1824. ATTACK = false
  1825. Rooted = false
  1826. end
  1827.  
  1828. function Kill(Char)
  1829. local NewCharacter = IT("Model",Effects)
  1830. NewCharacter.Name = "Ow im ded ;-;"
  1831. for _, c in pairs(Char:GetDescendants()) do
  1832. if c:IsA("BasePart") and c.Transparency == 0 then
  1833. if c.Parent == Char then
  1834. getbloody(c,5)
  1835. end
  1836. c:BreakJoints()
  1837. c.Material = "Glass"
  1838. c.Color = C3(0.5,0,0)
  1839. c.CanCollide = true
  1840. c.Transparency = 0.3
  1841. if c:FindFirstChildOfClass("SpecialMesh") then
  1842. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1843. end
  1844. if c.Name == "Head" then
  1845. c:ClearAllChildren()
  1846. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1847. end
  1848. if c.ClassName == "MeshPart" then
  1849. c.TextureID = ""
  1850. end
  1851. if c:FindFirstChildOfClass("BodyPosition") then
  1852. c:FindFirstChildOfClass("BodyPosition"):remove()
  1853. end
  1854. if c:FindFirstChildOfClass("ParticleEmitter") then
  1855. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1856. end
  1857. c.Parent = NewCharacter
  1858. c.Name = "DeadPart"
  1859. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1860. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1861. end
  1862. end
  1863. Char:remove()
  1864. Debris:AddItem(NewCharacter,5)
  1865. end
  1866.  
  1867. function ApplyAoE(POSITION,radius,min,max,maxstrength)
  1868. local CHILDREN = workspace:GetDescendants()
  1869. for index, CHILD in pairs(CHILDREN) do
  1870. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1871. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1872. if HUM then
  1873. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1874. if TORSO then
  1875.  
  1876. if BRUTAL == true then
  1877. Kill(CHILD)
  1878. else
  1879. CHILD:BreakJoints()
  1880. end
  1881. end
  1882. end
  1883. end
  1884. end
  1885. end
  1886.  
  1887. --//=================================\\
  1888. --|| ATTACK FUNCTIONS AND STUFF
  1889. --\\=================================//
  1890. ----
  1891. Humanoid.HealthChanged:connect(function()
  1892. if DEATH == false then
  1893. if Humanoid.Health ~= "inf" then
  1894. Humanoid.Health = "inf"
  1895. CreateSound("907330011", Torso, 10, 1)
  1896. end
  1897. if Humanoid.MaxHealth ~= "inf" then
  1898. Humanoid.MaxHealth = "inf"
  1899. end
  1900. end
  1901. end)
  1902.  
  1903. function VanishPlayer()
  1904. tecks2.TextTransparency = 1
  1905. tecks2.TextStrokeTransparency = 1
  1906. for _, c in pairs(Character:GetChildren()) do
  1907. if c.ClassName == "Part" then
  1908. c.Transparency = 1
  1909. if c:FindFirstChildOfClass("Decal") then
  1910. c:FindFirstChildOfClass("Decal").Transparency = 1
  1911. end
  1912. if c:FindFirstChildOfClass("ParticleEmitter") then
  1913. c:FindFirstChildOfClass("ParticleEmitter").Enabled = false
  1914. end
  1915. elseif c.ClassName == "Accessory" then
  1916. c.Handle.Transparency = 1
  1917. if c.Handle:FindFirstChildOfClass("ParticleEmitter") then
  1918. c.Handle:FindFirstChildOfClass("ParticleEmitter").Enabled = false
  1919. end
  1920. end
  1921. end
  1922. end
  1923.  
  1924. function Reappear()
  1925.  
  1926. for _, c in pairs(Character:GetChildren()) do
  1927. if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
  1928. c.Transparency = 0
  1929. if c:FindFirstChildOfClass("Decal") then
  1930. c:FindFirstChildOfClass("Decal").Transparency = 0
  1931. end
  1932. if c:FindFirstChildOfClass("ParticleEmitter") then
  1933. c:FindFirstChildOfClass("ParticleEmitter").Enabled = true
  1934. end
  1935. elseif c.ClassName == "Accessory" then
  1936. c.Handle.Transparency = 0
  1937. if c.Handle:FindFirstChildOfClass("ParticleEmitter") then
  1938. c.Handle:FindFirstChildOfClass("ParticleEmitter").Enabled = true
  1939. end
  1940. end
  1941. end
  1942. end
  1943.  
  1944. function Warp()
  1945. ATTACK = true
  1946. Rooted = true
  1947. for i = 1, 50 do
  1948. Swait()
  1949. CreateRing(VT(0,0,0),false,0,5,RootPart.CFrame*ANGLES(RAD(0),RAD(90),RAD(0)),"Institutional white",VT(i/3,i/3,0))
  1950. CreateRing(VT(0,0,0),false,0,5,RootPart.CFrame*ANGLES(RAD(0),RAD(0),RAD(0)),"Institutional white",VT(i/3,i/3,0))
  1951. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.3 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0 - 2.5 * SIN(SINE / 12))), 3 / Animation_Speed)
  1952. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0 + 2.5 * SIN(SINE / 12))), 3 / Animation_Speed)
  1953. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0, -0.5) * ANGLES(RAD(140 + 2.5 * SIN(SINE / 12)), RAD(15), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  1954. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0, -0.5) * ANGLES(RAD(140 + 2.5 * SIN(SINE / 12)), RAD(-15), RAD(0)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  1955. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 3 / Animation_Speed)
  1956. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-45 - 2.5 * SIN(SINE / 12))), 3 / Animation_Speed)
  1957. end
  1958. if VALUE2 == false then
  1959. VALUE2 = true
  1960. elseif VALUE2 == true then
  1961. VALUE2 = false
  1962. end
  1963. ATTACK = false
  1964. Rooted = false
  1965. end
  1966.  
  1967. function Darkness()
  1968. ATTACK = true
  1969. Rooted = true
  1970. local AIMPOS = Mouse.Hit.p
  1971. local BODIES = {}
  1972. local ZONE = CreatePart(3, Effects, "Neon", 0, 1, C3(0,0,0), "Shade Zone", VT(15,0.10,15))
  1973. ZONE.Color = C3(0,0,0)
  1974. MakeForm(ZONE,"Cyl")
  1975. ZONE.CFrame = CF(AIMPOS)
  1976. local AURA = CreateSound(1393698948, ZONE, 0, 0.5, true)
  1977. for i =1, 45 do
  1978. Swait()
  1979. AURA.Volume = AURA.Volume + 10/45
  1980. ZONE.Transparency = ZONE.Transparency - 1/45
  1981. ZONE.Size = ZONE.Size + VT(2,0,2)
  1982. end
  1983. local SIZE = ZONE.Size
  1984. for i =1, 400 do
  1985. Swait()
  1986. AddChildrenToTable(ZONE.Position,workspace,ZONE.Size.X/2,BODIES)
  1987. if MRANDOM(1,5) == 1 then
  1988. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(5,0,5), Size2 = VT(0,135,0), Transparency = 0, Transparency2 = 1, CFrame = CF(ZONE.Position) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,MRANDOM(0,math.ceil(ZONE.Size.X/2.1))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1989. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(5,0,5), Size2 = VT(0,135,0), Transparency = 0, Transparency2 = 1, CFrame = CF(ZONE.Position) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,MRANDOM(0,math.ceil(ZONE.Size.X/2.1))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1990. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(5,0,5), Size2 = VT(0,135,0), Transparency = 0, Transparency2 = 1, CFrame = CF(ZONE.Position) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,MRANDOM(0,math.ceil(ZONE.Size.X/2.1))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1991. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(5,0,5), Size2 = VT(0,135,0), Transparency = 0, Transparency2 = 1, CFrame = CF(ZONE.Position) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,MRANDOM(0,math.ceil(ZONE.Size.X/2.1))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1992. end
  1993. ZONE.Size = SIZE + VT(2 * COS(i / 12),0,2 * COS(i / 12))
  1994. end
  1995. for i =1, 45 do
  1996. Swait()
  1997. AURA.Volume = AURA.Volume - 10/45
  1998. ZONE.Transparency = ZONE.Transparency + 1/45
  1999. ZONE.Size = ZONE.Size - VT(2,0,2)
  2000. end
  2001. ZONE:remove()
  2002. for e = 1, #BODIES do
  2003. Swait()
  2004. if BODIES[e] ~= nil then
  2005. local BOD = BODIES[e]
  2006. for i = 1, 10 do
  2007. for i = 1, #BODIES do
  2008. if (BODIES[i] == BOD and i ~= e) then
  2009. table.remove(BODIES,i)
  2010. end
  2011. end
  2012. end
  2013. local BODY = BODIES[e]
  2014. local TORSO = BODIES[e]:FindFirstChild("Torso") or BODIES[e]:FindFirstChild("UpperTorso")
  2015. local HUM = BODIES[e]:FindFirstChildOfClass("Humanoid")
  2016. if TORSO and HUM then
  2017. TORSO.Anchored = true
  2018. for i = 1, 15 do
  2019. if HUM.Health > 0 then
  2020. wait(0.1)
  2021. WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(15,15,15), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 182765513, SoundPitch = MRANDOM(6,8)/10, SoundVolume = 2.5})
  2022. ApplyAoE(TORSO.CFrame*CF(0,0,-1.2).p,15,true)
  2023. end
  2024. ATTACK = false
  2025. Rooted = false
  2026. end
  2027. end
  2028. end
  2029. end
  2030. end
  2031.  
  2032. function HeadOff()
  2033. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2034. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  2035. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  2036. local HEDD = HUM.Parent:FindFirstChild("Head")
  2037. if TORSO and HUM.Health > 0 then
  2038. ATTACK = true
  2039. Rooted = false
  2040. local GYRO = IT("BodyGyro",RootPart)
  2041. GYRO.D = 275
  2042. GYRO.P = 20000
  2043. GYRO.MaxTorque = VT(0,40000,0)
  2044. for i=0, 0.8, 0.1 / Animation_Speed do
  2045. Swait()
  2046. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  2047. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2048. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  2049. end
  2050. local oof = MagicBlock(5,50,TORSO,0,BRICKC("Really red").Color)
  2051. local oof = MagicBlock(2.5,50,TORSO,0,BRICKC("Really red").Color)
  2052. local POS = Mouse.Hit.p
  2053. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(30,50,30), Size2 = VT(30,50,30), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  2054. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(30,50,30), Size2 = VT(30,50,30), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  2055. WACKYEFFECT({EffectType = "Block", Size = VT(1,1,1), Size2 = VT(25,25,25), Transparency = 0.25, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 178452241, SoundPitch = 0.6, SoundVolume = 6})
  2056. Debris:AddItem(oof,1)
  2057. CreateSound(429459101, Torso, 7, 1, false)
  2058. CreateSound(429459101, TORSO, 7, 1, false)
  2059.  
  2060. GYRO:remove()
  2061. ATTACK = false
  2062. Rooted = false
  2063. end
  2064. end
  2065. end
  2066.  
  2067. function Boost()
  2068. ATTACK = true
  2069. Rooted = true
  2070. CreateSound("466493476", Torso, 10, MRANDOM(7, 12) / 10)
  2071. for i = 1, 50 do
  2072. Swait()
  2073. CreateRing(VT(0,0,0),false,0,5,RootPart.CFrame*ANGLES(RAD(0),RAD(90),RAD(0)),"Really red",VT(i/5,i/5,0))
  2074. CreateRing(VT(0,0,0),false,0,5,RootPart.CFrame*ANGLES(RAD(0),RAD(0),RAD(0)),"Really red",VT(i/5,i/5,0))
  2075. CreateRing(VT(0,0,0),false,0,25,RootPart.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Institutional white",VT(i/3,i/3,0))
  2076. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.3 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0 - 2.5 * SIN(SINE / 12))), 3 / Animation_Speed)
  2077. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0 + 2.5 * SIN(SINE / 12))), 3 / Animation_Speed)
  2078. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0, -0.5) * ANGLES(RAD(140 + 2.5 * SIN(SINE / 12)), RAD(15), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  2079. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0, -0.5) * ANGLES(RAD(140 + 2.5 * SIN(SINE / 12)), RAD(-15), RAD(0)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  2080. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 3 / Animation_Speed)
  2081. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-45 - 2.5 * SIN(SINE / 12))), 3 / Animation_Speed)
  2082. end
  2083. POWERLEVEL = POWERLEVEL + 1
  2084. ATTACK = false
  2085. Rooted = false
  2086. end
  2087.  
  2088. function FalseEnd()
  2089. ATTACK = true
  2090. Rooted = true
  2091. local AIMPOS = Mouse.Hit.p
  2092.  
  2093. coroutine.resume(coroutine.create(function()
  2094. local RAYS = {}
  2095. for i = 1, 4 do
  2096. local RAY = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Ray", VT(50,2000,50))
  2097. MakeForm(RAY,"Cyl")
  2098. RAY.Mesh.Scale = VT(1,1.1,1)
  2099. table.insert(RAYS,RAY)
  2100. end
  2101. CreateSound(348663022, Effects, 2, 1.2, false)
  2102. for i = 1, 100 do
  2103. Swait()
  2104. for e = 1, #RAYS do
  2105. if RAYS[e] ~= nil then
  2106. local RAY = RAYS[e]
  2107. RAY.CFrame = CF(AIMPOS+VT(0,1000,0))*ANGLES(RAD(0),RAD(90*e),RAD(0))*ANGLES(RAD(0),RAD(0),RAD(50-(i/2)))*CF(0,-1000,0)
  2108. RAY.Transparency = RAY.Transparency - 0.01
  2109. end
  2110. end
  2111. end
  2112. for i = 1, 20 do
  2113. Swait()
  2114. for e = 1, #RAYS do
  2115. if RAYS[e] ~= nil then
  2116. local RAY = RAYS[e]
  2117. RAY.Mesh.Scale = RAY.Mesh.Scale - VT(1/20,0,1/20)
  2118. end
  2119. end
  2120. end
  2121. wait(0.3)
  2122. for i = 1, 16 do
  2123. local POS = CF(AIMPOS)*ANGLES(RAD(0),RAD(0,360),RAD(0))*CF(0,0,MRANDOM(0,5)).p
  2124. SpawnTrail(POS+VT(0,200,0),POS)
  2125. end
  2126. for i = 1, 4 do
  2127. CreateDebreeRing(AIM,AIMPOS-VT(0,3,0),5*i,VT(5,5,5)*i,5)
  2128. end
  2129.  
  2130. CreateFlyingDebree(AIM,CF(AIMPOS),7,VT(3,3,3),5,185,false)
  2131. CreateFlyingDebree(AIM,CF(AIMPOS),7,VT(6,6,6),5,285,false)
  2132. CreateSound(130972023, Effects, 2, 1, false)
  2133. local POS = Mouse.Hit.p
  2134. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Strike", VT(0,0,0))
  2135. MakeForm(RAY,"Cyl")
  2136. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Strike", VT(130,130,130))
  2137. MakeForm(SPHERE,"Ball")
  2138. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really black", "Strike", VT(120,120,120))
  2139. MakeForm(SHIELD,"Ball")
  2140. SHIELD.CFrame = CF(AIMPOS)
  2141. RAY.CFrame = CF(AIMPOS)
  2142. SPHERE.CFrame = CF(AIMPOS)
  2143. local CFRAME = CF(SPHERE.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  2144. CreateSound(415700134, SPHERE, 10, 0.8, false)
  2145. for i = 1, 200 do
  2146. Swait()
  2147. WACKYEFFECT({EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(10,10,10), Transparency = 0, Transparency2 = 1, CFrame = CF(SPHERE.Position+VT(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15))), MoveToPos = CF(RAY.Position), RotationX = MRANDOM(-15,15), RotationY = MRANDOM(-15,15), RotationZ = MRANDOM(-15,15), Material = "Neon", Color = C3(1,0,0), SoundID = "444667859", SoundPitch = 2, SoundVolume = nil})
  2148. MagicSphere(VT(0,0,0),45,SPHERE.CFrame,"Really red",VT(5,20,5))
  2149. RAY.Size = RAY.Size + VT(0,0,0)
  2150. SPHERE.Size = SPHERE.Size + VT(0.05,0.05,0.05)
  2151. SHIELD.Size = SPHERE.Size + VT(0.05,0.05,0.05)
  2152. ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
  2153. end
  2154. for i = 1, 45 do
  2155. Swait()
  2156. RAY.Transparency = RAY.Transparency + 1/45
  2157. SPHERE.Transparency = RAY.Transparency
  2158. SHIELD.Transparency = SPHERE.Transparency + 1/45
  2159. end
  2160. RAY:remove()
  2161. SHIELD:remove()
  2162. SPHERE:remove()
  2163. end))
  2164. ATTACK = false
  2165. Rooted = false
  2166. end
  2167.  
  2168. function Taunt()
  2169. ATTACK = true
  2170. Rooted = true
  2171. CreateSound("907330011", Head, 10, 1.1)
  2172. for i=0, 1, 0.1 / Animation_Speed do
  2173. Swait()
  2174. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  2175. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
  2176. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.8) * ANGLES(RAD(170), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2177. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2178. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  2179. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  2180. end
  2181. for i=0, 2, 0.1 / Animation_Speed do
  2182. Swait()
  2183. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  2184. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
  2185. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(75), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2186. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2187. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  2188. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  2189. end
  2190. ATTACK = false
  2191. Rooted = false
  2192. end
  2193.  
  2194. function BreakLimit()
  2195. ATTACK = true
  2196. Rooted = false
  2197. UNANCHOR = false
  2198. RootPart.Anchored = true
  2199. for i=0, 5, 0.1 / Animation_Speed do
  2200. Swait()
  2201. RootPart.CFrame = RootPart.CFrame * CF(0,0.2,0)
  2202. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2203. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed)
  2204. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2205. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2206. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 2 / Animation_Speed)
  2207. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 2 / Animation_Speed)
  2208. end
  2209. CreateSound("1368598393", Effects, 10, 1)
  2210. for i=0, 2, 0.1 / Animation_Speed do
  2211. Swait()
  2212. local CFRAME = CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  2213. MagicSphere(VT(0,0,0),15,CFRAME,"Really black",VT(0.1,0.1,5))
  2214. MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Institutional white",VT(0.1,0.1,5))
  2215. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2216. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed)
  2217. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2218. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2219. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  2220. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  2221. end
  2222. CreateSound("1368583274", Effects, 10, 1)
  2223. for i=0, 6, 0.1 / Animation_Speed do
  2224. Swait()
  2225. CreateRing(VT(45,5,0)*2,false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(-1,0,0))
  2226. CreateRing(VT(45,5,0)*3,false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(-1,0,0)*3)
  2227. local CFRAME = CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  2228. MagicSphere(VT(0,0,0),15,CFRAME,"Really red",VT(0.1,0.1,55))
  2229. MagicSphere(VT(0,0,0),15,CFRAME,"Really red",VT(2,2,2))
  2230. MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Really red",VT(0.1,0.1,55))
  2231. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2232. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed)
  2233. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2234. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2235. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  2236. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  2237. end
  2238. CreateSound("907329532", Effects, 10, 1.1)
  2239. Swait(175)
  2240. CreateRing(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Really red",VT(7,7,0))
  2241. CreateSound("1368605755", Effects, 10, 1)
  2242. CreateSound("1368637781", Effects, 10, 1)
  2243. MagicSphere(VT(0,0,0),45,Torso.CFrame,"Really red",VT(5,5,5))
  2244. LIMITBROKEN = true
  2245. for i=0, 1, 0.1 / Animation_Speed do
  2246. Swait()
  2247. CreateRing(VT(0,0,0),false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(4,4,0))
  2248. CreateRing(VT(0,0,0),false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(5,5,0))
  2249. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2250. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed)
  2251. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-60), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2252. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2253. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-50)), 2 / Animation_Speed)
  2254. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(50)), 2 / Animation_Speed)
  2255. end
  2256. UNANCHOR = true
  2257. RootPart.Anchored = false
  2258. ATTACK = false
  2259. Rooted = false
  2260. end
  2261.  
  2262. function Beam()
  2263. ATTACK = true
  2264. Rooted = true
  2265. for i=0, 1, 0.1 / Animation_Speed do
  2266. Swait()
  2267. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2268. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2269. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(180), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2270. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(180), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2271. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2272. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2273.  
  2274. end
  2275. CreateSound("348663022", Torso, 5, 1)
  2276.  
  2277. local StartPos = RootPart.CFrame * CF(0,50,0).p
  2278. for i = 1, 5 do
  2279. MagicSpheres2(50,25,CF(StartPos),"Really red")
  2280. Swait(15)
  2281. end
  2282. repeat
  2283. turnto(Mouse.Hit.p)
  2284. MagicSpheres2(70,25,CF(StartPos),"Really red")
  2285. MagicSpheres(70/10,25,CF(StartPos),"Really red")
  2286. local RayHit, RayPos, RayNormal = CastZapRay(StartPos, Mouse.Hit.p, 750, Character, false)
  2287. local distance = (StartPos - RayPos).magnitude
  2288. local RayBeam = IT("Part",Effects)
  2289. RayBeam.Material = "Neon"
  2290. RayBeam.Anchored = true
  2291. RayBeam.BrickColor = BRICKC"Really red"
  2292. local mesh = IT("SpecialMesh",RayBeam)
  2293. mesh.MeshType = "Cylinder"
  2294. RayBeam.Size = Vector3.new(distance+30, math.random(15,35), math.random(15,35))
  2295. RayBeam.CFrame = CFrame.new(StartPos, RayPos) * CFrame.new(0, 0, -distance/2) * ANGLES(RAD(0),RAD(90),RAD(0))
  2296. MagicSpheres(35,5,CF(RayPos),"Really red")
  2297. WACKYEFFECT({EffectType = "Box", Size = VT(1,1,1), Size2 = VT(0,3,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Torso.Position+VT(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15))), MoveToPos = StartPos, RotationX = MRANDOM(-15,15), RotationY = MRANDOM(-15,15), RotationZ = MRANDOM(-15,15), Material = "Neon", Color = C3(1,0,0), SoundID = "444667859", SoundPitch = 2, SoundVolume = nil})
  2298. ApplyAoE(RayPos,20,true)
  2299. Swait()
  2300. if KEYHOLD == false then
  2301. coroutine.resume(coroutine.create(function()
  2302. for i = 1, 30 do
  2303. RayBeam.Transparency = i/30
  2304. Swait()
  2305. end
  2306. RayBeam:remove()
  2307. end))
  2308. else
  2309. RayBeam:remove()
  2310. end
  2311. until KEYHOLD == false
  2312. ATTACK = false
  2313. Rooted = false
  2314. end
  2315. function ggg()
  2316. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2317. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  2318. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  2319. if TORSO and HUM.Health > 0 then
  2320. ATTACK = true
  2321. Rooted = false
  2322. local GYRO = IT("BodyGyro",RootPart)
  2323. GYRO.D = 275
  2324. GYRO.P = 20000
  2325. GYRO.MaxTorque = VT(0,40000,0)
  2326. for i=0, 0.8, 0.1 / Animation_Speed do
  2327. Swait()
  2328. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  2329. end
  2330. TORSO.CFrame = TORSO.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
  2331. local grav = Instance.new("BodyPosition",TORSO)
  2332. grav.D = 1500
  2333. grav.P = 20000
  2334. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2335. grav.position = TORSO.Position+VT(0,20,0)
  2336. Debris:AddItem(grav,10)
  2337. TORSO.CFrame = TORSO.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
  2338. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(15,15,15), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 182765513, SoundPitch = MRANDOM(6,8)/10, SoundVolume = 2.5})
  2339. CreateSound(429459101, Torso, 7, 1, false)
  2340. CreateSound(429459101, TORSO, 7, 1, false)
  2341. for i=0, 1, 0.1 / Animation_Speed do
  2342. Swait()
  2343. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  2344. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2345. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(125), RAD(-45), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2346. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(125), RAD(45), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2347. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2348. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2349. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 182765513, SoundPitch = MRANDOM(6,8)/10, SoundVolume = 2.5})
  2350. end
  2351. GYRO:remove()
  2352.  
  2353. ATTACK = false
  2354. Rooted = false
  2355. end
  2356. end
  2357. end
  2358. -- LIMIT BROKEN
  2359. function THEEND()
  2360. ATTACK = true
  2361. Rooted = false
  2362. sick:Stop()
  2363. for i=0, 2, 0.1 / Animation_Speed do
  2364. Swait()
  2365. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1.2 * Player_Size) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2366. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2367. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2368. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2369. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  2370. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2371. end
  2372. CreateSound("588734767", Torso, 10, 0.5)
  2373. local END = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "end", VT(0,0,0))
  2374. MakeForm(END,"Ball")
  2375. END.CFrame = Torso.CFrame
  2376. coroutine.resume(coroutine.create(function()
  2377. for i = 1, 10 do
  2378. Swait()
  2379. END.Transparency = 1-(i/10)
  2380. end
  2381. end))
  2382. for i=1, 100 do
  2383. RootPart.CFrame = RootPart.CFrame * CF(0,2,0)
  2384. Swait()
  2385. END.CFrame = RootPart.CFrame*CF(0,2,0)
  2386. END.Size = END.Size + VT(0.5,0.5,0.5)
  2387. END.CFrame = RootPart.CFrame*CF(0,0,0)
  2388. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2389. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed)
  2390. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2391. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2392. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  2393. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  2394. end
  2395. local StartPos = RootPart.CFrame * CF(0,0,0).p
  2396. SOUND = CreateSound("1208650519", END, 0, 1, false)
  2397. repeat
  2398. Swait()
  2399. END.Size = END.Size + VT(0.2,0.2,0.2)
  2400. local CFRAME = CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  2401. MagicSphere(VT(0,0,0),15,CFRAME,"Really red",END.Size * VT(0.08,0.08,0.08))
  2402. MagicSphere(VT(0,0,0),15,CFRAME,"Really red",END.Size * VT(0.08,0.08,0.08))
  2403. MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Really red",END.Size * VT(0.03,0.05,0.75))
  2404. MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Really red",END.Size * VT(0.01,0.01,0.55))
  2405. MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Really red",END.Size * VT(0.03,0.05,0.75))
  2406. MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Really red",END.Size * VT(0.01,0.01,0.55))
  2407. until SOUND.Playing ==false
  2408. SOUND = CreateSound("1208650519", END, 0, 1, false)
  2409. repeat
  2410. Swait()
  2411. END.Size = END.Size + VT(0.2,0.2,0.2)
  2412. local CFRAME = CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  2413. MagicSphere(VT(0,0,0),15,CFRAME,"Really red",END.Size * VT(0.08,0.08,0.08))
  2414. MagicSphere(VT(0,0,0),15,CFRAME,"Really red",END.Size * VT(0.08,0.08,0.08))
  2415. MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Really red",END.Size * VT(0.03,0.05,0.75))
  2416. MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Really red",END.Size * VT(0.01,0.01,0.55))
  2417. MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Really red",END.Size * VT(0.03,0.05,0.75))
  2418. MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Really red",END.Size * VT(0.01,0.01,0.55))
  2419. until SOUND.Playing ==false
  2420. SOUND = CreateSound("1208650519", END, 0, 1, false)
  2421. repeat
  2422. Swait()
  2423. END.Size = END.Size + VT(0.2,0.2,0.2)
  2424. local CFRAME = CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  2425. MagicSphere(VT(0,0,0),15,CFRAME,"Really red",END.Size * VT(0.08,0.08,0.08))
  2426. MagicSphere(VT(0,0,0),15,CFRAME,"Really red",END.Size * VT(0.08,0.08,0.08))
  2427. MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Really red",END.Size * VT(0.03,0.05,0.75))
  2428. MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Really red",END.Size * VT(0.01,0.01,0.55))
  2429. MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Really red",END.Size * VT(0.03,0.05,0.75))
  2430. MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Really red",END.Size * VT(0.01,0.01,0.55))
  2431. until SOUND.Playing ==false
  2432. SOUND = CreateSound("1208650519", END, 0, 1, false)
  2433. repeat
  2434. Swait()
  2435. END.Size = END.Size - VT(1,1,1)
  2436. local CFRAME = CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  2437. MagicSphere(VT(0,0,0),15,CFRAME,"Really red",END.Size * VT(0.08,0.08,0.08))
  2438. MagicSphere(VT(0,0,0),15,CFRAME,"Really red",END.Size * VT(0.08,0.08,0.08))
  2439. MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Really red",END.Size * VT(0.03,0.05,0.75))
  2440. MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Really red",END.Size * VT(0.01,0.01,0.55))
  2441. MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Really red",END.Size * VT(0.03,0.05,0.75))
  2442. MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Really red",END.Size * VT(0.01,0.01,0.55))
  2443. until SOUND.Playing ==false
  2444. SOUND = CreateSound("1208650519", END, 0, 1, false)
  2445. repeat
  2446. Swait()
  2447. MagicSpheres2(50,25,CF(Torso.Position),"Really red")
  2448. WACKYEFFECT({EffectType = "Box", Size = VT(1,1,1), Size2 = VT(0,3,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Torso.Position+VT(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15))), MoveToPos = StartPos, RotationX = MRANDOM(-15,15), RotationY = MRANDOM(-15,15), RotationZ = MRANDOM(-15,15), Material = "Neon", Color = C3(1,0,0), SoundID = "444667859", SoundPitch = 2, SoundVolume = nil})
  2449. until SOUND.Playing == false
  2450. local POS = Torso.Position
  2451. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Strike", VT(10,10,10))
  2452. MakeForm(RAY,"Ball")
  2453. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Strike", VT(0,0,0))
  2454. MakeForm(SPHERE,"Ball")
  2455. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Strike", VT(0,0,0))
  2456. MakeForm(SHIELD,"Ball")
  2457. SHIELD.CFrame = CF(POS)
  2458. RAY.CFrame = CF(POS)
  2459. SPHERE.CFrame = CF(POS)
  2460. CreateSound(440145570, SPHERE, 10, 0.8, false)
  2461. CreateSound(415700134, SPHERE, 10, 0.8, false)
  2462. for i = 1, 200 do
  2463. Swait()
  2464. RAY.Size = RAY.Size + VT(0.05,0,0.05)
  2465. SPHERE.Size = SPHERE.Size + VT(6,6,6)
  2466. SHIELD.Size = SPHERE.Size + VT(7,7,7)
  2467. end
  2468. for i = 1, 45 do
  2469. Swait()
  2470. RAY.Transparency = 0.3
  2471. SPHERE.Transparency = 0.3
  2472. SHIELD.Transparency = 0.3
  2473. end
  2474. for i=0, 1, 0.1 / Animation_Speed do
  2475. Swait()
  2476. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2477. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2478. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(180), RAD(-145)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2479. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(180), RAD(145)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2480. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-15)), 0.5 / Animation_Speed)
  2481. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  2482. end
  2483. ATTACK = false
  2484. Rooted = false
  2485. END:remove()
  2486. RAY:remove()
  2487. SHIELD:remove()
  2488. SPHERE:remove()
  2489. HappyEnd = true
  2490. end
  2491. ----
  2492. function Slash()
  2493. ATTACK = true
  2494. Rooted = false
  2495. local KNIFE1,WELD1,BLADE1 = SpawnKnife(MRANDOM(20,20)/10,true,RightArm,90,0,true,20)
  2496. CreateSound("92597369", Torso, 1, 1)
  2497. for i=0, 0.25, 0.1 / Animation_Speed do
  2498. Swait()
  2499. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(90)), 1.5 / Animation_Speed)
  2500. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-90)), 1.5 / Animation_Speed)
  2501. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(75), RAD(90)) * RIGHTSHOULDERC0, 1.2 / Animation_Speed)
  2502. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 1.5 / Animation_Speed)
  2503. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  2504. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  2505. end
  2506. if COMBO == 1 then
  2507. COMBO = 2
  2508. for i=0, 0.1, 0.1 / Animation_Speed do
  2509. RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.1)
  2510. Swait()
  2511. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1.5 / Animation_Speed)
  2512. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(65)), 1.5 / Animation_Speed)
  2513. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(8)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  2514. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(8)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  2515. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.3) * ANGLES(RAD(45), RAD(60), RAD(35)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  2516. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -1.5) * ANGLES(RAD(120), RAD(0), RAD(30)) * LEFTSHOULDERC0, 1.5 / Animation_Speed)
  2517. end
  2518. for i=0, 0.15, 0.1 / Animation_Speed do
  2519. RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.12)
  2520. Swait()
  2521. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.5 / Animation_Speed)
  2522. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(75)), 0.5 / Animation_Speed)
  2523. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(145), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2524. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-150), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2525. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.3) * ANGLES(RAD(45), RAD(60), RAD(75)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2526. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -1.5) * ANGLES(RAD(120), RAD(0), RAD(30)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2527. end
  2528. elseif COMBO == 2 then
  2529. COMBO = 1
  2530. for i=0, 0.2, 0.1 / Animation_Speed do
  2531. Swait()
  2532. RootPart.CFrame = RootPart.CFrame*CF(0,0,0.1)
  2533. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2534. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2535. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(185), RAD(25)) * ANGLES(RAD(-30), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2536. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2537. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.3) * ANGLES(RAD(90), RAD(-85), RAD(145)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2538. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(-25), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2539.  
  2540. end
  2541.  
  2542. for i=0, 0.1, 0.1 / Animation_Speed do
  2543. Swait()
  2544. RootPart.CFrame = RootPart.CFrame*CF(0,0,0.15)
  2545. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2546. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2547. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(185), RAD(20)) * ANGLES(RAD(-30), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2548. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-125), RAD(10)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2549. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.3) * ANGLES(RAD(125), RAD(-85), RAD(130)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2550. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(-25), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2551. end
  2552. end
  2553. KNIFE1:remove()
  2554. ATTACK = false
  2555. Rooted = false
  2556. end
  2557.  
  2558. function AddChildrenToTable(FROM,PARENT,DIST,TABLE)
  2559. for _, c in pairs(PARENT:GetChildren()) do
  2560. if c.ClassName == "Model" then
  2561. if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
  2562. local HUMANOID = c:FindFirstChildOfClass("Humanoid")
  2563. local TORSO = (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso"))
  2564. if (TORSO.Position - FROM).Magnitude < DIST then
  2565. table.insert(TABLE,c)
  2566. end
  2567. AddChildrenToTable(FROM,c,DIST,TABLE)
  2568. elseif c.ClassName == "Folder" then
  2569. AddChildrenToTable(FROM,c,DIST,TABLE)
  2570. end
  2571. end
  2572. end
  2573. end
  2574.  
  2575. function clerp(a, b, t)
  2576. local qa = {
  2577. QuaternionFromCFrame(a)
  2578. }
  2579. local qb = {
  2580. QuaternionFromCFrame(b)
  2581. }
  2582. local ax, ay, az = a.x, a.y, a.z
  2583. local bx, by, bz = b.x, b.y, b.z
  2584. local _t = 1 - t
  2585. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  2586. end
  2587. angles = CFrame.Angles
  2588.  
  2589. function FalseDenial()
  2590. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2591. local HITBODY = Mouse.Target.Parent
  2592. local TORS = HITBODY:FindFirstChild("Torso") or HITBODY:FindFirstChild("UpperTorso")
  2593. local HUMAN = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  2594. if TORS ~= nil and HUMAN ~= nil then
  2595. ATTACK = true
  2596. Rooted = true
  2597. RootPart.CFrame = TORS.CFrame * CF(-1,0,7)
  2598. TORS.Anchored = true
  2599. CreateSound(ALONE, Head, 1, 1)
  2600. CreateSound("289556450", Torso, 1, 1)
  2601. CreateRing(VT(0,0,0),false,0,20,Torso.CFrame*ANGLES(RAD(MRANDOM(-30,30)),RAD(MRANDOM(-60,60)),RAD(MRANDOM(-120,120))),"White",VT(4,4,0))
  2602. CreateRing(VT(0,0,0),false,0,20,Torso.CFrame*ANGLES(RAD(MRANDOM(-30,30)),RAD(MRANDOM(-60,60)),RAD(MRANDOM(-120,120))),"White",VT(4,4,0))
  2603. CreateRing(VT(0,0,0),false,0,20,Torso.CFrame*ANGLES(RAD(MRANDOM(-30,30)),RAD(MRANDOM(-60,60)),RAD(MRANDOM(-120,120))),"White",VT(4,4,0))
  2604. MagicSphere(VT(5,5,5),35,Torso.CFrame,C3(1,0,0),VT(1,1,1))
  2605. for i=0, 1, 0.1 / Animation_Speed do
  2606. Swait()
  2607. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(-35)), 0.5 / Animation_Speed)
  2608. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(35)), 0.5 / Animation_Speed)
  2609. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.3) * ANGLES(RAD(90), RAD(90), RAD(-20)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2610. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2611. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-15)), 0.5 / Animation_Speed)
  2612. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-15)), 0.5 / Animation_Speed)
  2613. HW.C0 = Clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-180),math.rad(0),math.rad(90)), 0.15)
  2614. end
  2615. Rooted = true
  2616. CreateSound("199149137", Torso, 1, 1)
  2617. Swait()
  2618.  
  2619. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(45)), 3 / Animation_Speed)
  2620. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 3 / Animation_Speed)
  2621. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, -0.7) * ANGLES(RAD(110), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  2622. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  2623. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-15)), 3 / Animation_Speed)
  2624. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-15)), 3 / Animation_Speed)
  2625. HW.C0 = Clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(90),math.rad(0)), 0.15)
  2626. CreateWave(VT(0,0,0),15,Wedge.CFrame*CF(0,-Wedge.Size.Y/1.8,0),true,2,"Really red",VT(0.6,0.1,0.6))
  2627. CreateWave(VT(0,0,0),20,Wedge.CFrame*CF(0,-Wedge.Size.Y/2,0),true,2,"Really red",VT(0.6,0.1,1))
  2628. Swait()
  2629. Swait(30)
  2630. for i = 1, 25 do
  2631. Swait()
  2632. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(-35)), 0.5 / Animation_Speed)
  2633. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(35)), 0.5 / Animation_Speed)
  2634. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2635. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.3) * ANGLES(RAD(90), RAD(90), RAD(-20)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2636. HW.C0 = Clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  2637. HITBODY:BreakJoints()
  2638. getbloody(TORS,1)
  2639.  
  2640. end
  2641. end
  2642. TORS.Anchored = false
  2643. ATTACK = false
  2644. Rooted = false
  2645. coroutine.resume(coroutine.create(function()
  2646. Swait(15)
  2647. for i = 1, 50 do
  2648. Swait()
  2649. end
  2650. end))
  2651. end
  2652. end
  2653.  
  2654.  
  2655. function findNearestTorso(pos)
  2656. local list = game.Workspace:children()
  2657. local torso = nil
  2658. local dist = 1000
  2659. local temp = nil
  2660. local human = nil
  2661. local temp2 = nil
  2662. for x = 1, #list do
  2663. temp2 = list[x]
  2664. if (temp2.className == "Model") and (temp2 ~= Character) and (temp2 ~= pos.Parent) then
  2665. temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
  2666. human = temp2:findFirstChildOfClass("Humanoid")
  2667. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  2668. if (temp.Position - pos.Position).magnitude < dist then
  2669. torso = temp
  2670. dist = (temp.Position - pos.Position).magnitude
  2671. end
  2672. end
  2673. end
  2674. end
  2675. return torso,dist
  2676. end
  2677.  
  2678. function ReaperDash2()
  2679. ATTACK = true
  2680. Rooted = false
  2681. local TARGET = nil
  2682. local TORS = nil
  2683. local GYRO = IT("BodyGyro",RootPart)
  2684. GYRO.D = 175
  2685. GYRO.P = 20000
  2686. GYRO.MaxTorque = VT(0,40000,0)
  2687. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2688. local RANGE = 5
  2689. CreateSound(541909867, Torso, 1, 1, false)
  2690. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(12,0.5,12), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2691. for i=0, 1, 0.1 / Animation_Speed do
  2692. Swait()
  2693. RootPart.CFrame = RootPart.CFrame * CF(0,0,-2)
  2694. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2695. local CHILDREN = workspace:GetDescendants()
  2696. for index, CHILD in pairs(CHILDREN) do
  2697. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2698. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2699. if HUM then
  2700. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2701. if TORSO then
  2702. if (TORSO.Position - LeftArm.Position).Magnitude <= RANGE + TORSO.Size.Magnitude/5 then
  2703. RANGE = (TORSO.Position - LeftArm.Position).Magnitude
  2704. TARGET = HUM
  2705. TORS = TORSO
  2706. end
  2707. end
  2708. end
  2709. end
  2710. end
  2711. if TARGET then
  2712. break
  2713. end
  2714. CreateWave(VT(0,0,0),15,Torso.CFrame*CF(0,-Torso.Size.Y/1.8,0),true,2,"Really red",VT(0.6,0.1,0.6))
  2715. RootPart.CFrame = RootPart.CFrame*CF(0,0,-2)
  2716. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0)), 2 / Animation_Speed)
  2717. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
  2718. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2719. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.7, 0) * ANGLES(RAD(65), RAD(30), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2720. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 0.05 * COS(SINE / 7), -0.5) * ANGLES(RAD(-35), RAD(0), RAD(0)) * ANGLES(RAD(8), RAD(90), RAD(0)), 2 / Animation_Speed)
  2721. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 7), -0.1) * ANGLES(RAD(-40), RAD(0), RAD(0)) * ANGLES(RAD(8), RAD(-90), RAD(0)), 2 / Animation_Speed)
  2722. end
  2723. GYRO:remove()
  2724.  
  2725. if TORS and TARGET then
  2726. Rooted = true
  2727. local BODYPOSITION = IT("BodyPosition", TORS)
  2728. BODYPOSITION.P = 100
  2729. BODYPOSITION.D = 100
  2730. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  2731. for i=0, 1, 0.1 / Animation_Speed do
  2732. Swait()
  2733. TORS.CFrame = Wedge.CFrame * CF(0,TORS.Size.Z/2,1) * ANGLES(RAD(90), RAD(0), RAD(0))
  2734. BODYPOSITION.Position = TORS.Position
  2735. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  2736. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
  2737. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(60), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2738. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.7, 0) * ANGLES(RAD(55), RAD(10), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2739. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 0.05 * COS(SINE / 7), -0.5) * ANGLES(RAD(-35), RAD(0), RAD(0)) * ANGLES(RAD(8), RAD(90), RAD(0)), 2 / Animation_Speed)
  2740. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 7), -0.1) * ANGLES(RAD(-40), RAD(0), RAD(0)) * ANGLES(RAD(8), RAD(-90), RAD(0)), 2 / Animation_Speed)
  2741. HW.C0 = Clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  2742. end
  2743. for i=0, 0.4, 0.1 / Animation_Speed do
  2744. Swait()
  2745. TORS.CFrame = Wedge.CFrame * CF(0,TORS.Size.Z/2,1) * ANGLES(RAD(90), RAD(0), RAD(0))
  2746. BODYPOSITION.Position = TORS.Position
  2747. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
  2748. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(70), RAD(40), RAD(35)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2749. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.7, 0) * ANGLES(RAD(15), RAD(10), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2750. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 0.05 * COS(SINE / 7), -0.5) * ANGLES(RAD(-35), RAD(0), RAD(0)) * ANGLES(RAD(8), RAD(90), RAD(0)), 2 / Animation_Speed)
  2751. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 7), -0.1) * ANGLES(RAD(50), RAD(0), RAD(0)) * ANGLES(RAD(8), RAD(-90), RAD(0)), 2 / Animation_Speed)
  2752. HW.C0 = Clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  2753. end
  2754. local LOOP = 0
  2755. local LOOP2 = 0
  2756. for i=0, 0.5, 0.1 / Animation_Speed do
  2757. Swait()
  2758. LOOP = LOOP + 1
  2759. TORS.Anchored = false
  2760. LOOP2 = LOOP2 + 1
  2761. if LOOP2 >= 5 then
  2762. LOOP2 = 0
  2763. getbloody(TORS,1)
  2764. end
  2765. CreateRing(VT(0,0,0),false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"White",VT(5,5,0))
  2766. TORS.CFrame = Wedge.CFrame * CF(0,TORS.Size.Z/2,1) * ANGLES(RAD(90), RAD(0), RAD(0))
  2767. BODYPOSITION.Position = TORS.Position
  2768. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0)), 2 / Animation_Speed)
  2769. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
  2770. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-80), RAD(-20), RAD(35)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2771. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.7, 0) * ANGLES(RAD(76), RAD(10), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2772. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 0.05 * COS(SINE / 7), -0.5) * ANGLES(RAD(-35), RAD(0), RAD(0)) * ANGLES(RAD(8), RAD(90), RAD(0)), 2 / Animation_Speed)
  2773. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 7), -0.1) * ANGLES(RAD(50), RAD(0), RAD(0)) * ANGLES(RAD(8), RAD(-90), RAD(0)), 2 / Animation_Speed)
  2774. HW.C0 = Clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  2775. end
  2776. BODYPOSITION:remove()
  2777. if TORS then
  2778. TORS.Anchored = false
  2779. Kill(TORS.Parent)
  2780. end
  2781. end
  2782. ATTACK = false
  2783. Rooted = false
  2784. end
  2785.  
  2786.  
  2787.  
  2788. --//=================================\\
  2789. --|| ASSIGN THINGS TO KEYS
  2790. --\\=================================//
  2791.  
  2792. function MouseDown(Mouse)
  2793. if ATTACK == false then
  2794. Slash()
  2795. end
  2796. end
  2797.  
  2798. function MouseUp(Mouse)
  2799. HOLD = false
  2800. end
  2801.  
  2802. function KeyDown(Key)
  2803. KEYHOLD = false
  2804. if Key == "z" and ATTACK == false then
  2805. FalseDenial()
  2806. end
  2807. if Key == "x" and ATTACK == false then
  2808. ReaperDash2()
  2809. end
  2810. if Key == "t" and ATTACK == false then
  2811. Taunt()
  2812. end
  2813.  
  2814. if Key == "f" and ATTACK == false then
  2815. Beam()
  2816. end
  2817.  
  2818. if Key == "g" and ATTACK == false then
  2819. Darkness()
  2820. end
  2821.  
  2822. if Key == "h" and ATTACK == false then
  2823. HeadOff()
  2824. end
  2825.  
  2826. if Key == "j" and ATTACK == false then
  2827. ggg()
  2828. end
  2829.  
  2830. if Key == "k" and ATTACK == false then
  2831. BreakLimit()
  2832. end
  2833.  
  2834. if Key == "l" and ATTACK == false then
  2835. FalseEnd()
  2836. end
  2837.  
  2838. if Key == "q" and ATTACK == false then
  2839. THEEND()
  2840. end
  2841.  
  2842. if Key == "" and ATTACK == false then
  2843. noh()
  2844. end
  2845. end
  2846.  
  2847. function KeyUp(Key)
  2848. KEYHOLD = false
  2849. end
  2850.  
  2851. Mouse.Button1Down:connect(function(NEWKEY)
  2852. MouseDown(NEWKEY)
  2853. end)
  2854. Mouse.Button1Up:connect(function(NEWKEY)
  2855. MouseUp(NEWKEY)
  2856. end)
  2857. Mouse.KeyDown:connect(function(NEWKEY)
  2858. KeyDown(NEWKEY)
  2859. end)
  2860. Mouse.KeyUp:connect(function(NEWKEY)
  2861. KeyUp(NEWKEY)
  2862. end)
  2863.  
  2864. --//=================================\\
  2865. --\\=================================//
  2866.  
  2867.  
  2868. function unanchor()
  2869. if UNANCHOR == true then
  2870. g = Character:GetChildren()
  2871. for i = 1, #g do
  2872. if g[i].ClassName == "Part" then
  2873. g[i].Anchored = false
  2874. end
  2875. end
  2876. end
  2877. end
  2878.  
  2879. --//=================================\\
  2880. --|| WRAP THE WHOLE SCRIPT UP
  2881. --\\=================================//
  2882.  
  2883. Humanoid.Changed:connect(function(Jump)
  2884. if Jump == "Jump" and (Disable_Jump == true) then
  2885. Humanoid.Jump = false
  2886. end
  2887. end)
  2888.  
  2889. while true do
  2890. Swait()
  2891. ANIMATE.Parent = nil
  2892. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  2893. IDLEANIMATION:Play()
  2894. SINE = SINE + CHANGE
  2895. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2896. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2897. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  2898. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  2899. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  2900. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  2901. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2902. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2903. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2904. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2905. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2906. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2907. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2908. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2909. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2910. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2911. end
  2912. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2913. ANIM = "Jump"
  2914. if ATTACK == false then
  2915. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2916. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2917. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2918. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2919. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  2920. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2921. end
  2922. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2923. ANIM = "Fall"
  2924. if ATTACK == false then
  2925. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2926. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2927. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2928. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2929. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2930. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2931. end
  2932. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2933. ANIM = "Idle"
  2934. if ATTACK == false then
  2935. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.5 / Animation_Speed)
  2936. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.5 / Animation_Speed)
  2937. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2938. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2939. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2940. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2941. end
  2942. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2943. ANIM = "Walk"
  2944. WALK = WALK + 1 / Animation_Speed
  2945. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  2946. WALK = 0
  2947. if WALKINGANIM == true then
  2948. WALKINGANIM = false
  2949. elseif WALKINGANIM == false then
  2950. WALKINGANIM = true
  2951. end
  2952. end
  2953. --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2954. --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2955. if ATTACK == false then
  2956. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2957. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2958. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(60 * COS(SINE / WALKSPEEDVALUE)), RAD(-25), RAD(10)) * RIGHTSHOULDERC0, 0.03 / Animation_Speed)
  2959. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.20 / Animation_Speed)
  2960. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  2961. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  2962. end
  2963. end
  2964.  
  2965. unanchor()
  2966. Humanoid.MaxHealth = "inf"
  2967. Humanoid.Health = "inf"
  2968. if Rooted == false then
  2969. Disable_Jump = false
  2970. Humanoid.WalkSpeed = Speed
  2971. elseif Rooted == true then
  2972. Disable_Jump = true
  2973. Humanoid.WalkSpeed = 0
  2974. end
  2975. sick.Parent = Torso
  2976. local MATHS = {"0","1"}
  2977. Humanoid.Name = MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]
  2978. Humanoid.PlatformStand = false
  2979. if EQUIPPED == false then
  2980. Intro()
  2981. end
  2982. end
  2983.  
  2984. --//=================================\\
  2985. --\\=================================//
  2986.  
  2987.  
  2988.  
  2989.  
  2990.  
  2991. --//====================================================\\--
  2992. --|| END OF SCRIPT
  2993. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement