Advertisement
masterofdesires1

Untitled

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