Advertisement
DarkScriptZEditors

Untitled

Jan 28th, 2019
544
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 111.48 KB | None | 0 0
  1. ---------------
  2. --Jevil Done (I think)--
  3. ----------------------------------------------------------------
  4. print([[
  5. --made by Makhail07
  6. --FE code by Mokiros
  7. --Edited by ozzak1003 and then by 1nd1k --
  8. --YT: https://www.youtube.com/channel/UC38cAdtSgPWJVEHV8zgZi6A--
  9. --Discord: ozzak1003#3275
  10. --------------------------------
  11. hello good sir
  12. Don't leak pls
  13. Enjoy ;)
  14. --------------------------------
  15. ]])
  16.  
  17.  
  18. --This script is made by mrfunnylaughs4.
  19. --bad edit by ozzak1003 idk im super lazy
  20. spawn(function()
  21. local plr = owner
  22. local char = plr.Character
  23. local hum = char:FindFirstChildOfClass("Humanoid")
  24. local idleanim = Instance.new("Animation")
  25. idleanim.Name = "Roblox Idle Animation"
  26. idleanim.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  27. local idleanimplay = hum:LoadAnimation(idleanim)
  28. idleanimplay:Play()
  29. wait(0.1)
  30. if char:FindFirstChild("Animate") then
  31. char.Animate:Destroy()
  32. end
  33. local remote = Instance.new("RemoteEvent", char)
  34. remote.Name = "ReplicationEvent"
  35. local client = NLS([==[
  36. local mouse = game:GetService("Players").LocalPlayer:GetMouse()
  37. local remote = game:GetService("Players").LocalPlayer.Character:WaitForChild("ReplicationEvent")
  38. spawn(function()
  39. while game:GetService("RunService").Heartbeat:Wait() do
  40. remote = game:GetService("Players").LocalPlayer.Character:WaitForChild("ReplicationEvent")
  41. end
  42. end)
  43. game:GetService("UserInputService").InputBegan:Connect(function(input, isTyping)
  44. if isTyping == false and input.UserInputType == Enum.UserInputType.Keyboard then
  45. remote:FireServer(1, input.KeyCode)
  46. end
  47. end)
  48. mouse.Button1Down:Connect(function()
  49. remote:FireServer(2)
  50. end)
  51. remote.OnClientEvent:Connect(function()
  52. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position, Vector3.new(mouse.Hit.Position.X, game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position.Y, mouse.Hit.Position.Z))
  53. end)
  54. ]==], char)
  55. local crabrave = Instance.new("Sound", char.Torso)
  56. local RS = char.Torso["Right Shoulder"]
  57. local LS = char.Torso["Left Shoulder"]
  58. local RH = char.Torso["Right Hip"]
  59. local LH = char.Torso["Left Hip"]
  60. local rootj = char.HumanoidRootPart.RootJoint
  61. local throwbutton = false
  62. local throw = false
  63. local normalanim = true
  64. local attackd = false
  65. local animpose = "Idle"
  66. local timepos = 0
  67. local sine = 0
  68. local RSnor = RS.C0
  69. local LSnor = LS.C0
  70. local RHnor = RH.C0
  71. local LHnor = LH.C0
  72. local rootjnor = rootj.C0
  73.  
  74. ---------------------------------
  75. --------------Set up-------------
  76. ---------------------------------
  77.  
  78. ---------------------------------
  79. -----------Wrapping up-----------
  80. ---------------------------------
  81.  
  82. while game:GetService("RunService").Heartbeat:Wait() do
  83. if normalanim then
  84. sine = sine + 1
  85. end
  86. if crabrave.Parent == char.Torso then
  87. crabrave.SoundId = "rbxassetid://0"
  88. crabrave.Playing = true
  89. crabrave.Volume = 1
  90. crabrave.Looped = true
  91. timepos = crabrave.TimePosition
  92. else
  93. crabrave = Instance.new("Sound", char.Torso)
  94. crabrave.TimePosition = timepos
  95. end
  96. if remote.Parent == char then
  97. remote.Name = "ReplicationEvent"
  98. else
  99. remote = Instance.new("RemoteEvent", char)
  100. end
  101. local touchfloor = workspace:FindPartOnRay(Ray.new(char.HumanoidRootPart.CFrame.Position, ((CFrame.new(char.HumanoidRootPart.Position, char.HumanoidRootPart.Position - Vector3.new(0, 1, 0))).LookVector).Unit * 4), char)
  102. if char.HumanoidRootPart.Velocity.Magnitude > 1 and touchfloor then
  103. animpose = "Walking"
  104. elseif char.HumanoidRootPart.Velocity.Y > 0.5 and touchfloor == nil then
  105. animpose = "Jumping"
  106. elseif char.HumanoidRootPart.Velocity.Y < 0.5 and touchfloor == nil then
  107. animpose = "Falling"
  108. else
  109. animpose = "Idle"
  110. end
  111. if animpose == "Idle" and normalanim then
  112.  
  113. RH.C0 = RH.C0:Lerp(RHnor, 0.1) - Vector3.new(0, rootj.C0.Position.Y / 10, 0)
  114. LH.C0 = LH.C0:Lerp(LHnor, 0.1) - Vector3.new(0, rootj.C0.Position.Y / 10, 0)
  115. rootj.C0 = rootjnor * CFrame.new(math.sin(sine / 10) / 2, 0, math.sin(sine / 5) / 2)
  116. elseif animpose == "Walking" and normalanim then
  117.  
  118. RH.C0 = RH.C0:Lerp(RHnor, 0.1) - Vector3.new(0, rootj.C0.Position.Y / 10, 0)
  119. LH.C0 = LH.C0:Lerp(LHnor, 0.1) - Vector3.new(0, rootj.C0.Position.Y / 10, 0)
  120. rootj.C0 = rootjnor * CFrame.new(math.sin(sine / 10) / 2, 0, math.sin(sine / 5) / 2)
  121. elseif animpose == "Jumping" and normalanim then
  122.  
  123. RH.C0 = RH.C0:Lerp(RHnor, 0.1) - Vector3.new(0, rootj.C0.Position.Y / 10, 0)
  124. LH.C0 = LH.C0:Lerp(LHnor, 0.1) - Vector3.new(0, rootj.C0.Position.Y / 10, 0)
  125. rootj.C0 = rootjnor * CFrame.new(math.sin(sine / 10) / 2, 0, math.sin(sine / 5) / 2)
  126. elseif animpose == "Falling" and normalanim then
  127.  
  128. RH.C0 = RH.C0:Lerp(RHnor, 0.1) - Vector3.new(0, rootj.C0.Position.Y / 10, 0)
  129. LH.C0 = LH.C0:Lerp(LHnor, 0.1) - Vector3.new(0, rootj.C0.Position.Y / 10, 0)
  130. rootj.C0 = rootjnor * CFrame.new(math.sin(sine / 10) / 2, 0, math.sin(sine / 5) / 2)
  131. end
  132. end
  133. end)
  134.  
  135.  
  136. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  137. local Player,game,owner = owner,game
  138. local RealPlayer = Player
  139. do
  140. local rp = RealPlayer
  141. script.Parent = rp.Character
  142.  
  143. --RemoteEvent for communicating
  144. local Event = Instance.new("RemoteEvent")
  145. Event.Name = "UserInput_Event"
  146.  
  147. --Fake event to make stuff like Mouse.KeyDown work
  148. local function fakeEvent()
  149. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  150. t.connect = t.Connect
  151. return t
  152. end
  153.  
  154. --Creating fake input objects with fake variables
  155. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  156. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  157. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  158. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  159. end}
  160. --Merged 2 functions into one by checking amount of arguments
  161. CAS.UnbindAction = CAS.BindAction
  162.  
  163. --This function will trigger the events that have been :Connect()'ed
  164. local function te(self,ev,...)
  165. local t = m[ev]
  166. if t and t._fakeEvent then
  167. for _,f in pairs(t.Functions) do
  168. f(...)
  169. end
  170. end
  171. end
  172. m.TrigEvent = te
  173. UIS.TrigEvent = te
  174.  
  175. Event.OnServerEvent:Connect(function(plr,io)
  176. if plr~=rp then return end
  177. m.Target = io.Target
  178. m.Hit = io.Hit
  179. if not io.isMouse then
  180. local b = io.UserInputState == Enum.UserInputState.Begin
  181. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  182. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  183. end
  184. for _,t in pairs(CAS.Actions) do
  185. for _,k in pairs(t.Keys) do
  186. if k==io.KeyCode then
  187. t.Function(t.Name,io.UserInputState,io)
  188. end
  189. end
  190. end
  191. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  192. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  193. end
  194. end)
  195. Event.Parent = NLS([==[
  196. local Player = game:GetService("Players").LocalPlayer
  197. local Event = script:WaitForChild("UserInput_Event")
  198.  
  199. local Mouse = Player:GetMouse()
  200. local UIS = game:GetService("UserInputService")
  201. local input = function(io,a)
  202. if a then return end
  203. --Since InputObject is a client-side instance, we create and pass table instead
  204. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  205. end
  206. UIS.InputBegan:Connect(input)
  207. UIS.InputEnded:Connect(input)
  208.  
  209. local h,t
  210. --Give the server mouse data 30 times every second, but only if the values changed
  211. --If player is not moving their mouse, client won't fire events
  212. while wait(1/30) do
  213. if h~=Mouse.Hit or t~=Mouse.Target then
  214. h,t=Mouse.Hit,Mouse.Target
  215. Event:FireServer({isMouse=true,Target=t,Hit=h})
  216. end
  217. end]==],Player.Character)
  218.  
  219. ----Sandboxed game object that allows the usage of client-side methods and services
  220. --Real game object
  221. local _rg = game
  222.  
  223. --Metatable for fake service
  224. local fsmt = {
  225. __index = function(self,k)
  226. local s = rawget(self,"_RealService")
  227. if s then return s[k] end
  228. end,
  229. __newindex = function(self,k,v)
  230. local s = rawget(self,"_RealService")
  231. if s then s[k]=v end
  232. end,
  233. __call = function(self,...)
  234. local s = rawget(self,"_RealService")
  235. if s then return s(...) end
  236. end
  237. }
  238. local function FakeService(t,RealService)
  239. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  240. return setmetatable(t,fsmt)
  241. end
  242.  
  243. --Fake game object
  244. local g = {
  245. GetService = function(self,s)
  246. return self[s]
  247. end,
  248. Players = FakeService({
  249. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  250. },"Players"),
  251. UserInputService = FakeService(UIS,"UserInputService"),
  252. ContextActionService = FakeService(CAS,"ContextActionService"),
  253. }
  254. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  255. g.service = g.GetService
  256.  
  257. g.RunService = FakeService({
  258. RenderStepped = _rg:GetService("RunService").Heartbeat,
  259. BindToRenderStep = function(self,name,_,fun)
  260. self._btrs[name] = self.Heartbeat:Connect(fun)
  261. end,
  262. UnbindFromRenderStep = function(self,name)
  263. self._btrs[name]:Disconnect()
  264. end,
  265. },"RunService")
  266.  
  267. setmetatable(g,{
  268. __index=function(self,s)
  269. return _rg:GetService(s) or typeof(_rg[s])=="function"
  270. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  271. end,
  272. __newindex = fsmt.__newindex,
  273. __call = fsmt.__call
  274. })
  275. --Changing owner to fake player object to support owner:GetMouse()
  276. game,owner = g,g.Players.LocalPlayer
  277. end
  278.  
  279. Player = owner
  280. PlayerGui = Player.PlayerGui
  281. Cam = workspace.CurrentCamera
  282. Backpack = Player.Backpack
  283. Character = Player.Character
  284. Humanoid = Character.Humanoid
  285. Mouse = Player:GetMouse()
  286. RootPart = Character["HumanoidRootPart"]
  287. Torso = Character["Torso"]
  288. Head = Character["Head"]
  289. RightArm = Character["Right Arm"]
  290. LeftArm = Character["Left Arm"]
  291. RightLeg = Character["Right Leg"]
  292. LeftLeg = Character["Left Leg"]
  293. RootJoint = RootPart["RootJoint"]
  294. Neck = Torso["Neck"]
  295. RightShoulder = Torso["Right Shoulder"]
  296. LeftShoulder = Torso["Left Shoulder"]
  297. RightHip = Torso["Right Hip"]
  298. LeftHip = Torso["Left Hip"]
  299.  
  300. Character = Player.Character
  301. Humanoid = Character.Humanoid
  302.  
  303. ---------
  304. plr = game.Players.LocalPlayer
  305. chara = plr.Character
  306. mouse = plr:GetMouse()
  307. Create = Instance.new
  308. Huge = math.huge
  309.  
  310.  
  311. local shadowhead = Create("Part",chara.Head)
  312. shadowhead.BrickColor = BrickColor.new("Black")
  313. shadowhead.Size = Vector3.new(1.2, 0.6, 1)
  314. shadowhead.CanCollide = false
  315. local shadowheadmesh = Create("SpecialMesh",shadowhead)
  316. shadowheadmesh.MeshType = "Head"
  317. shadowheadmesh.Scale = Vector3.new(1.26, 1.5, 1.26)
  318. local weld2 = Create("Weld",shadowhead)
  319. weld2.Part0 = shadowhead
  320. weld2.Part1 = chara.Head
  321. weld2.C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  322.  
  323. Player = game:GetService("Players").LocalPlayer
  324. PlayerGui = Player.PlayerGui
  325. Cam = workspace.CurrentCamera
  326. Backpack = Player.Backpack
  327. Character = Player.Character
  328. char = Player.Character
  329. Humanoid = Character.Humanoid
  330. Mouse = Player:GetMouse()
  331. RootPart = Character["HumanoidRootPart"]
  332. Torso = Character["Torso"]
  333. Head = Character["Head"]
  334. RightArm = Character["Right Arm"]
  335. LeftArm = Character["Left Arm"]
  336. RightLeg = Character["Right Leg"]
  337. LeftLeg = Character["Left Leg"]
  338. RootJoint = RootPart["RootJoint"]
  339. Neck = Torso["Neck"]
  340. RightShoulder = Torso["Right Shoulder"]
  341. LeftShoulder = Torso["Left Shoulder"]
  342. RightHip = Torso["Right Hip"]
  343. LeftHip = Torso["Left Hip"]
  344.  
  345. local Orin = "http://www.roblox.com/asset/?id=7074786"
  346. Head.face.Texture = Orin
  347. function weld(a, b, acf)
  348. local w = Instance.new("Weld", a)
  349. w.Part0 = a
  350. w.Part1 = b
  351. w.C0 = acf
  352. end
  353.  
  354.  
  355. --------------------------------
  356. char.Head.face.Texture = "rbxassetid://2620487058"
  357. --------------------------------
  358.  
  359. -------------------------------------------------------
  360.  
  361. local FavIDs = {
  362. 340106355, --Nefl Crystals
  363. 927529620, --Dimension
  364. 876981900, --Fantasy
  365. 398987889, --Ordinary Days
  366. 1117396305, --Oh wait, it's you.
  367. 885996042, --Action Winter Journey
  368. 919231299, --Sprawling Idiot Effigy
  369. 743466274, --Good Day Sunshine
  370. 727411183, --Knife Fight
  371. 1402748531, --The Earth Is Counting On You!
  372. 595230126 --Robot Language
  373. }
  374.  
  375.  
  376.  
  377. --The reality of my life isn't real but a Universe -makhail07
  378. wait(0.2)
  379. local plr = game:service'Players'.LocalPlayer
  380. print('Local User is '..plr.Name)
  381. print('SCRIPTNAME Loaded')
  382. print('SCRIPT DESCRIPTION')
  383. local char = plr.Character
  384. local hum = char.Humanoid
  385. local hed = char.Head
  386. local root = char.HumanoidRootPart
  387. local rootj = root.RootJoint
  388. local tors = char.Torso
  389. local ra = char["Right Arm"]
  390. local la = char["Left Arm"]
  391. local rl = char["Right Leg"]
  392. local ll = char["Left Leg"]
  393. local neck = tors["Neck"]
  394. local mouse = plr:GetMouse()
  395. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  396. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  397. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  398. local maincolor = BrickColor.new("Storm blue")
  399.  
  400. -------------------------------------------------------
  401. --Start Good Stuff--
  402. -------------------------------------------------------
  403. cam = game.Workspace.CurrentCamera
  404. CF = CFrame.new
  405. angles = CFrame.Angles
  406. attack = false
  407. Euler = CFrame.fromEulerAnglesXYZ
  408. Rad = math.rad
  409. IT = Instance.new
  410. BrickC = BrickColor.new
  411. Cos = math.cos
  412. Acos = math.acos
  413. Sin = math.sin
  414. Asin = math.asin
  415. Abs = math.abs
  416. Mrandom = math.random
  417. Floor = math.floor
  418. -------------------------------------------------------
  419. --End Good Stuff--
  420. -------------------------------------------------------
  421. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  422. RSH, LSH = nil, nil
  423. RW = Instance.new("Weld")
  424. LW = Instance.new("Weld")
  425. RH = tors["Right Hip"]
  426. LH = tors["Left Hip"]
  427. RSH = tors["Right Shoulder"]
  428. LSH = tors["Left Shoulder"]
  429. RSH.Parent = nil
  430. LSH.Parent = nil
  431. RW.Name = "RW"
  432. RW.Part0 = tors
  433. RW.C0 = CF(1.5, 0.5, 0)
  434. RW.C1 = CF(0, 0.5, 0)
  435. RW.Part1 = ra
  436. RW.Parent = tors
  437. LW.Name = "LW"
  438. LW.Part0 = tors
  439. LW.C0 = CF(-1.5, 0.5, 0)
  440. LW.C1 = CF(0, 0.5, 0)
  441. LW.Part1 = la
  442. LW.Parent = tors
  443. Effects = {}
  444. -------------------------------------------------------
  445. --Start HeartBeat--
  446. -------------------------------------------------------
  447. ArtificialHB = Instance.new("BindableEvent", script)
  448. ArtificialHB.Name = "Heartbeat"
  449. script:WaitForChild("Heartbeat")
  450.  
  451. frame = 1 / 60
  452. tf = 0
  453. allowframeloss = false
  454. tossremainder = false
  455.  
  456.  
  457. lastframe = tick()
  458. script.Heartbeat:Fire()
  459.  
  460.  
  461. game:GetService("RunService").Heartbeat:connect(function(s, p)
  462. tf = tf + s
  463. if tf >= frame then
  464. if allowframeloss then
  465. script.Heartbeat:Fire()
  466. lastframe = tick()
  467. else
  468. for i = 1, math.floor(tf / frame) do
  469. script.Heartbeat:Fire()
  470. end
  471. lastframe = tick()
  472. end
  473. if tossremainder then
  474. tf = 0
  475. else
  476. tf = tf - frame * math.floor(tf / frame)
  477. end
  478. end
  479. end)
  480. -------------------------------------------------------
  481. --End HeartBeat--
  482. -------------------------------------------------------
  483.  
  484. -------------------------------------------------------
  485. --Start Important Functions--
  486. -------------------------------------------------------
  487. function swait(num)
  488. if num == 0 or num == nil then
  489. game:service("RunService").Stepped:wait(0)
  490. else
  491. for i = 0, num do
  492. game:service("RunService").Stepped:wait(0)
  493. end
  494. end
  495. end
  496. function thread(f)
  497. coroutine.resume(coroutine.create(f))
  498. end
  499. function clerp(a, b, t)
  500. local qa = {
  501. QuaternionFromCFrame(a)
  502. }
  503. local qb = {
  504. QuaternionFromCFrame(b)
  505. }
  506. local ax, ay, az = a.x, a.y, a.z
  507. local bx, by, bz = b.x, b.y, b.z
  508. local _t = 1 - t
  509. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  510. end
  511. function QuaternionFromCFrame(cf)
  512. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  513. local trace = m00 + m11 + m22
  514. if trace > 0 then
  515. local s = math.sqrt(1 + trace)
  516. local recip = 0.5 / s
  517. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  518. else
  519. local i = 0
  520. if m00 < m11 then
  521. i = 1
  522. end
  523. if m22 > (i == 0 and m00 or m11) then
  524. i = 2
  525. end
  526. if i == 0 then
  527. local s = math.sqrt(m00 - m11 - m22 + 1)
  528. local recip = 0.5 / s
  529. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  530. elseif i == 1 then
  531. local s = math.sqrt(m11 - m22 - m00 + 1)
  532. local recip = 0.5 / s
  533. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  534. elseif i == 2 then
  535. local s = math.sqrt(m22 - m00 - m11 + 1)
  536. local recip = 0.5 / s
  537. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  538. end
  539. end
  540. end
  541. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  542. local xs, ys, zs = x + x, y + y, z + z
  543. local wx, wy, wz = w * xs, w * ys, w * zs
  544. local xx = x * xs
  545. local xy = x * ys
  546. local xz = x * zs
  547. local yy = y * ys
  548. local yz = y * zs
  549. local zz = z * zs
  550. 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))
  551. end
  552. function QuaternionSlerp(a, b, t)
  553. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  554. local startInterp, finishInterp
  555. if cosTheta >= 1.0E-4 then
  556. if 1 - cosTheta > 1.0E-4 then
  557. local theta = math.acos(cosTheta)
  558. local invSinTheta = 1 / Sin(theta)
  559. startInterp = Sin((1 - t) * theta) * invSinTheta
  560. finishInterp = Sin(t * theta) * invSinTheta
  561. else
  562. startInterp = 1 - t
  563. finishInterp = t
  564. end
  565. elseif 1 + cosTheta > 1.0E-4 then
  566. local theta = math.acos(-cosTheta)
  567. local invSinTheta = 1 / Sin(theta)
  568. startInterp = Sin((t - 1) * theta) * invSinTheta
  569. finishInterp = Sin(t * theta) * invSinTheta
  570. else
  571. startInterp = t - 1
  572. finishInterp = t
  573. end
  574. 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
  575. end
  576. function rayCast(Position, Direction, Range, Ignore)
  577. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  578. end
  579. local RbxUtility = LoadLibrary("RbxUtility")
  580. local Create = RbxUtility.Create
  581.  
  582. -------------------------------------------------------
  583. --Start Damage Function--
  584. -------------------------------------------------------
  585. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  586. if hit.Parent == nil then
  587. return
  588. end
  589. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  590. for _, v in pairs(hit.Parent:children()) do
  591. if v:IsA("Humanoid") then
  592. h = v
  593. end
  594. end
  595. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  596.  
  597. hit.Parent:FindFirstChild("Head"):BreakJoints()
  598. end
  599.  
  600. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  601. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  602. if hit.Parent.DebounceHit.Value == true then
  603. return
  604. end
  605. end
  606. if insta == true then
  607. hit.Parent:FindFirstChild("Head"):BreakJoints()
  608. end
  609. local c = Create("ObjectValue"){
  610. Name = "creator",
  611. Value = game:service("Players").LocalPlayer,
  612. Parent = h,
  613. }
  614. game:GetService("Debris"):AddItem(c, .5)
  615. if HitSound ~= nil and HitPitch ~= nil then
  616. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  617. end
  618. local Damage = math.random(minim, maxim)
  619. local blocked = false
  620. local block = hit.Parent:findFirstChild("Block")
  621. if block ~= nil then
  622. if block.className == "IntValue" then
  623. if block.Value > 0 then
  624. blocked = true
  625. block.Value = block.Value - 1
  626. print(block.Value)
  627. end
  628. end
  629. end
  630. if blocked == false then
  631. h.Health = h.Health - Damage
  632. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  633. else
  634. h.Health = h.Health - (Damage / 2)
  635. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  636. end
  637. if Type == "Knockdown" then
  638. local hum = hit.Parent.Humanoid
  639. hum.PlatformStand = true
  640. coroutine.resume(coroutine.create(function(HHumanoid)
  641. swait(1)
  642. HHumanoid.PlatformStand = false
  643. end), hum)
  644. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  645. local bodvol = Create("BodyVelocity"){
  646. velocity = angle * knockback,
  647. P = 5000,
  648. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  649. Parent = hit,
  650. }
  651. local rl = Create("BodyAngularVelocity"){
  652. P = 3000,
  653. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  654. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  655. Parent = hit,
  656. }
  657. game:GetService("Debris"):AddItem(bodvol, .5)
  658. game:GetService("Debris"):AddItem(rl, .5)
  659. elseif Type == "Normal" then
  660. local vp = Create("BodyVelocity"){
  661. P = 500,
  662. maxForce = Vector3.new(math.huge, 0, math.huge),
  663. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  664. }
  665. if knockback > 0 then
  666. vp.Parent = hit.Parent.Torso
  667. end
  668. game:GetService("Debris"):AddItem(vp, .5)
  669. elseif Type == "Up" then
  670. local bodyVelocity = Create("BodyVelocity"){
  671. velocity = Vector3.new(0, 20, 0),
  672. P = 5000,
  673. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  674. Parent = hit,
  675. }
  676. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  677. elseif Type == "DarkUp" then
  678. coroutine.resume(coroutine.create(function()
  679. for i = 0, 1, 0.1 do
  680. swait()
  681. Effects.Block.Create(BrickColor.new("Royal purple"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  682. end
  683. end))
  684. local bodyVelocity = Create("BodyVelocity"){
  685. velocity = Vector3.new(0, 20, 0),
  686. P = 5000,
  687. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  688. Parent = hit,
  689. }
  690. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  691. elseif Type == "Snare" then
  692. local bp = Create("BodyPosition"){
  693. P = 2000,
  694. D = 100,
  695. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  696. position = hit.Parent.Torso.Position,
  697. Parent = hit.Parent.Torso,
  698. }
  699. game:GetService("Debris"):AddItem(bp, 1)
  700. elseif Type == "Freeze" then
  701. local BodPos = Create("BodyPosition"){
  702. P = 50000,
  703. D = 1000,
  704. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  705. position = hit.Parent.Torso.Position,
  706. Parent = hit.Parent.Torso,
  707. }
  708. local BodGy = Create("BodyGyro") {
  709. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  710. P = 20e+003,
  711. Parent = hit.Parent.Torso,
  712. cframe = hit.Parent.Torso.CFrame,
  713. }
  714. hit.Parent.Torso.Anchored = true
  715. coroutine.resume(coroutine.create(function(Part)
  716. swait(1.5)
  717. Part.Anchored = false
  718. end), hit.Parent.Torso)
  719. game:GetService("Debris"):AddItem(BodPos, 3)
  720. game:GetService("Debris"):AddItem(BodGy, 3)
  721. end
  722. local debounce = Create("BoolValue"){
  723. Name = "DebounceHit",
  724. Parent = hit.Parent,
  725. Value = true,
  726. }
  727. game:GetService("Debris"):AddItem(debounce, Delay)
  728. c = Create("ObjectValue"){
  729. Name = "creator",
  730. Value = Player,
  731. Parent = h,
  732. }
  733. game:GetService("Debris"):AddItem(c, .5)
  734. end
  735. end
  736.  
  737. function damage(range,mindam,maxdam,pos)
  738. for i,v in ipairs(workspace:GetChildren()) do
  739. if v:IsA("Model") then
  740. if v.Name ~= Player.Name then
  741. if v:FindFirstChildOfClass("Humanoid") then
  742. if v:FindFirstChild("Head") then
  743. if (v:FindFirstChild("Head").Position - pos).magnitude < 10 then
  744. if v:FindFirstChildOfClass("Humanoid").Health > 5000 then v:FindFirstChildOfClass("Humanoid").Health = 0 else
  745. v:FindFirstChildOfClass("Humanoid").Health = v:FindFirstChildOfClass("Humanoid").Health - math.random(mindam,maxdam)
  746. end
  747. end
  748. end
  749. end
  750. end
  751. end
  752. end
  753. end
  754. -------------------------------------------------------
  755. --End Damage Function--
  756. -------------------------------------------------------
  757.  
  758. -------------------------------------------------------
  759. --Start Damage Function Customization--
  760. -------------------------------------------------------
  761. local RbxUtility = LoadLibrary("RbxUtility")
  762. local Create = RbxUtility.Create
  763. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) --Thanks, Star Glitcher!
  764. local type = type
  765. local rng = Instance.new("Part", char)
  766. rng.Anchored = true
  767. rng.BrickColor = color
  768. rng.CanCollide = false
  769. rng.FormFactor = 3
  770. rng.Name = "Ring"
  771. rng.Material = "Neon"
  772. rng.Size = Vector3.new(1, 1, 1)
  773. rng.Transparency = 0
  774. rng.TopSurface = 0
  775. rng.BottomSurface = 0
  776. rng.CFrame = pos
  777. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  778. local rngm = Instance.new("SpecialMesh", rng)
  779. rngm.MeshType = "Brick"
  780. if rainbowmode == true then
  781. rng.Color = Color3.new(r/255,g/255,b/255)
  782. end
  783. local scaler2 = 1
  784. local speeder = FastSpeed/10
  785. if type == "Add" then
  786. scaler2 = 1*value
  787. elseif type == "Divide" then
  788. scaler2 = 1/value
  789. end
  790. coroutine.resume(coroutine.create(function()
  791. for i = 0,10/bonuspeed,0.1 do
  792. swait()
  793. if type == "Add" then
  794. scaler2 = scaler2 - 0.01*value/bonuspeed
  795. elseif type == "Divide" then
  796. scaler2 = scaler2 - 0.01/value*bonuspeed
  797. end
  798. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  799. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  800. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  801. end
  802. rng:Destroy()
  803. end))
  804. end
  805. function ShowDamage(Pos, Text, Time, Color)
  806. local Rate = (1 / 30)
  807. local Pos = (Pos or Vector3.new(0, 0, 0))
  808. local Text = (Text or "")
  809. local Time = (Time or 2)
  810. local Color = (Color or Color3.new(1, 0, 1))
  811. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  812. EffectPart.Anchored = true
  813. local BillboardGui = Create("BillboardGui"){
  814. Size = UDim2.new(3, 0, 3, 0),
  815. Adornee = EffectPart,
  816. Parent = EffectPart,
  817. }
  818. local TextLabel = Create("TextLabel"){
  819. BackgroundTransparency = 1,
  820. Size = UDim2.new(1, 0, 1, 0),
  821. Text = Text,
  822. Font = "Bodoni",
  823. TextColor3 = Color,
  824. TextScaled = true,
  825. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  826. Parent = BillboardGui,
  827. }
  828. game.Debris:AddItem(EffectPart, (Time))
  829. EffectPart.Parent = game:GetService("Workspace")
  830. delay(0, function()
  831. local Frames = (Time / Rate)
  832. for Frame = 1, Frames do
  833. wait(Rate)
  834. local Percent = (Frame / Frames)
  835. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  836. TextLabel.TextTransparency = Percent
  837. end
  838. if EffectPart and EffectPart.Parent then
  839. EffectPart:Destroy()
  840. end
  841. end)
  842. end
  843. -------------------------------------------------------
  844. --End Damage Function Customization--
  845. -------------------------------------------------------
  846.  
  847. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  848. for _, c in pairs(workspace:children()) do
  849. local hum = c:findFirstChild("Humanoid")
  850. if hum ~= nil then
  851. local head = c:findFirstChild("Head")
  852. if head ~= nil then
  853. local targ = head.Position - Part.Position
  854. local mag = targ.magnitude
  855. if magni >= mag and c.Name ~= plr.Name then
  856. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  857. end
  858. end
  859. end
  860. end
  861. end
  862.  
  863.  
  864. CFuncs = {
  865. Part = {
  866. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  867. local Part = Create("Part")({
  868. Parent = Parent,
  869. Reflectance = Reflectance,
  870. Transparency = Transparency,
  871. CanCollide = false,
  872. Locked = true,
  873. BrickColor = BrickColor.new(tostring(BColor)),
  874. Name = Name,
  875. Size = Size,
  876. Material = Material
  877. })
  878. RemoveOutlines(Part)
  879. return Part
  880. end
  881. },
  882. Mesh = {
  883. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  884. local Msh = Create(Mesh)({
  885. Parent = Part,
  886. Offset = OffSet,
  887. Scale = Scale
  888. })
  889. if Mesh == "SpecialMesh" then
  890. Msh.MeshType = MeshType
  891. Msh.MeshId = MeshId
  892. end
  893. return Msh
  894. end
  895. },
  896. Mesh = {
  897. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  898. local Msh = Create(Mesh)({
  899. Parent = Part,
  900. Offset = OffSet,
  901. Scale = Scale
  902. })
  903. if Mesh == "SpecialMesh" then
  904. Msh.MeshType = MeshType
  905. Msh.MeshId = MeshId
  906. end
  907. return Msh
  908. end
  909. },
  910. Weld = {
  911. Create = function(Parent, Part0, Part1, C0, C1)
  912. local Weld = Create("Weld")({
  913. Parent = Parent,
  914. Part0 = Part0,
  915. Part1 = Part1,
  916. C0 = C0,
  917. C1 = C1
  918. })
  919. return Weld
  920. end
  921. },
  922. Sound = {
  923. Create = function(id, par, vol, pit)
  924. coroutine.resume(coroutine.create(function()
  925. local S = Create("Sound")({
  926. Volume = vol,
  927. Pitch = pit or 1,
  928. SoundId = id,
  929. Parent = par or workspace
  930. })
  931. wait()
  932. S:play()
  933. game:GetService("Debris"):AddItem(S, 6)
  934. end))
  935. end
  936. },
  937. ParticleEmitter = {
  938. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  939. local fp = Create("ParticleEmitter")({
  940. Parent = Parent,
  941. Color = ColorSequence.new(Color1, Color2),
  942. LightEmission = LightEmission,
  943. Size = Size,
  944. Texture = Texture,
  945. Transparency = Transparency,
  946. ZOffset = ZOffset,
  947. Acceleration = Accel,
  948. Drag = Drag,
  949. LockedToPart = LockedToPart,
  950. VelocityInheritance = VelocityInheritance,
  951. EmissionDirection = EmissionDirection,
  952. Enabled = Enabled,
  953. Lifetime = LifeTime,
  954. Rate = Rate,
  955. Rotation = Rotation,
  956. RotSpeed = RotSpeed,
  957. Speed = Speed,
  958. VelocitySpread = VelocitySpread
  959. })
  960. return fp
  961. end
  962. }
  963. }
  964. function RemoveOutlines(part)
  965. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  966. end
  967. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  968. local Part = Create("Part")({
  969. formFactor = FormFactor,
  970. Parent = Parent,
  971. Reflectance = Reflectance,
  972. Transparency = Transparency,
  973. CanCollide = false,
  974. Locked = true,
  975. BrickColor = BrickColor.new(tostring(BColor)),
  976. Name = Name,
  977. Size = Size,
  978. Material = Material
  979. })
  980. RemoveOutlines(Part)
  981. return Part
  982. end
  983. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  984. local Msh = Create(Mesh)({
  985. Parent = Part,
  986. Offset = OffSet,
  987. Scale = Scale
  988. })
  989. if Mesh == "SpecialMesh" then
  990. Msh.MeshType = MeshType
  991. Msh.MeshId = MeshId
  992. end
  993. return Msh
  994. end
  995. function CreateWeld(Parent, Part0, Part1, C0, C1)
  996. local Weld = Create("Weld")({
  997. Parent = Parent,
  998. Part0 = Part0,
  999. Part1 = Part1,
  1000. C0 = C0,
  1001. C1 = C1
  1002. })
  1003. return Weld
  1004. end
  1005.  
  1006.  
  1007. -------------------------------------------------------
  1008. --Start Effect Function--
  1009. -------------------------------------------------------
  1010. EffectModel = Instance.new("Model", char)
  1011. Effects = {
  1012. Block = {
  1013. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1014. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1015. prt.Anchored = true
  1016. prt.CFrame = cframe
  1017. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1018. game:GetService("Debris"):AddItem(prt, 10)
  1019. if Type == 1 or Type == nil then
  1020. table.insert(Effects, {
  1021. prt,
  1022. "Block1",
  1023. delay,
  1024. x3,
  1025. y3,
  1026. z3,
  1027. msh
  1028. })
  1029. elseif Type == 2 then
  1030. table.insert(Effects, {
  1031. prt,
  1032. "Block2",
  1033. delay,
  1034. x3,
  1035. y3,
  1036. z3,
  1037. msh
  1038. })
  1039. else
  1040. table.insert(Effects, {
  1041. prt,
  1042. "Block3",
  1043. delay,
  1044. x3,
  1045. y3,
  1046. z3,
  1047. msh
  1048. })
  1049. end
  1050. end
  1051. },
  1052. Sphere = {
  1053. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1054. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1055. prt.Anchored = true
  1056. prt.CFrame = cframe
  1057. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1058. game:GetService("Debris"):AddItem(prt, 10)
  1059. table.insert(Effects, {
  1060. prt,
  1061. "Cylinder",
  1062. delay,
  1063. x3,
  1064. y3,
  1065. z3,
  1066. msh
  1067. })
  1068. end
  1069. },
  1070. Cylinder = {
  1071. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1072. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1073. prt.Anchored = true
  1074. prt.CFrame = cframe
  1075. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1076. game:GetService("Debris"):AddItem(prt, 10)
  1077. table.insert(Effects, {
  1078. prt,
  1079. "Cylinder",
  1080. delay,
  1081. x3,
  1082. y3,
  1083. z3,
  1084. msh
  1085. })
  1086. end
  1087. },
  1088. Wave = {
  1089. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1090. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1091. prt.Anchored = true
  1092. prt.CFrame = cframe
  1093. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  1094. game:GetService("Debris"):AddItem(prt, 10)
  1095. table.insert(Effects, {
  1096. prt,
  1097. "Cylinder",
  1098. delay,
  1099. x3 / 60,
  1100. y3 / 60,
  1101. z3 / 60,
  1102. msh
  1103. })
  1104. end
  1105. },
  1106. Ring = {
  1107. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1108. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1109. prt.Anchored = true
  1110. prt.CFrame = cframe
  1111. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1112. game:GetService("Debris"):AddItem(prt, 10)
  1113. table.insert(Effects, {
  1114. prt,
  1115. "Cylinder",
  1116. delay,
  1117. x3,
  1118. y3,
  1119. z3,
  1120. msh
  1121. })
  1122. end
  1123. },
  1124. Break = {
  1125. Create = function(brickcolor, cframe, x1, y1, z1)
  1126. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1127. prt.Anchored = true
  1128. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1129. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1130. local num = math.random(10, 50) / 1000
  1131. game:GetService("Debris"):AddItem(prt, 10)
  1132. table.insert(Effects, {
  1133. prt,
  1134. "Shatter",
  1135. num,
  1136. prt.CFrame,
  1137. math.random() - math.random(),
  1138. 0,
  1139. math.random(50, 100) / 100
  1140. })
  1141. end
  1142. },
  1143. Spiral = {
  1144. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1145. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1146. prt.Anchored = true
  1147. prt.CFrame = cframe
  1148. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1149. game:GetService("Debris"):AddItem(prt, 10)
  1150. table.insert(Effects, {
  1151. prt,
  1152. "Cylinder",
  1153. delay,
  1154. x3,
  1155. y3,
  1156. z3,
  1157. msh
  1158. })
  1159. end
  1160. },
  1161. Push = {
  1162. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1163. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1164. prt.Anchored = true
  1165. prt.CFrame = cframe
  1166. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1167. game:GetService("Debris"):AddItem(prt, 10)
  1168. table.insert(Effects, {
  1169. prt,
  1170. "Cylinder",
  1171. delay,
  1172. x3,
  1173. y3,
  1174. z3,
  1175. msh
  1176. })
  1177. end
  1178. }
  1179. }
  1180. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  1181. local fp = IT("Part")
  1182. fp.formFactor = formfactor
  1183. fp.Parent = parent
  1184. fp.Reflectance = reflectance
  1185. fp.Transparency = transparency
  1186. fp.CanCollide = false
  1187. fp.Locked = true
  1188. fp.BrickColor = brickcolor
  1189. fp.Name = name
  1190. fp.Size = size
  1191. fp.Position = tors.Position
  1192. RemoveOutlines(fp)
  1193. fp.Material = "SmoothPlastic"
  1194. fp:BreakJoints()
  1195. return fp
  1196. end
  1197.  
  1198. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1199. local mesh = IT(Mesh)
  1200. mesh.Parent = part
  1201. if Mesh == "SpecialMesh" then
  1202. mesh.MeshType = meshtype
  1203. if meshid ~= "nil" then
  1204. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  1205. end
  1206. end
  1207. mesh.Offset = offset
  1208. mesh.Scale = scale
  1209. return mesh
  1210. end
  1211.  
  1212. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  1213. local type = type
  1214. local rng = Instance.new("Part", char)
  1215. rng.Anchored = true
  1216. rng.BrickColor = color
  1217. rng.CanCollide = false
  1218. rng.FormFactor = 3
  1219. rng.Name = "Ring"
  1220. rng.Material = "Neon"
  1221. rng.Size = Vector3.new(1, 1, 1)
  1222. rng.Transparency = 0
  1223. rng.TopSurface = 0
  1224. rng.BottomSurface = 0
  1225. rng.CFrame = pos
  1226. local rngm = Instance.new("SpecialMesh", rng)
  1227. rngm.MeshType = MType
  1228. rngm.Scale = scale
  1229. local scaler2 = 1
  1230. if type == "Add" then
  1231. scaler2 = 1 * value
  1232. elseif type == "Divide" then
  1233. scaler2 = 1 / value
  1234. end
  1235. coroutine.resume(coroutine.create(function()
  1236. for i = 0, 10 / bonuspeed, 0.1 do
  1237. swait()
  1238. if type == "Add" then
  1239. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1240. elseif type == "Divide" then
  1241. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1242. end
  1243. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1244. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  1245. end
  1246. rng:Destroy()
  1247. end))
  1248. end
  1249.  
  1250. function Eviscerate(dude)
  1251. if dude.Name ~= char then
  1252. local bgf = IT("BodyGyro", dude.Head)
  1253. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1254. local val = IT("BoolValue", dude)
  1255. val.Name = "IsHit"
  1256. local ds = coroutine.wrap(function()
  1257. dude:WaitForChild("Head"):BreakJoints()
  1258. wait(0.5)
  1259. target = nil
  1260. coroutine.resume(coroutine.create(function()
  1261. for i, v in pairs(dude:GetChildren()) do
  1262. if v:IsA("Accessory") then
  1263. v:Destroy()
  1264. end
  1265. if v:IsA("Humanoid") then
  1266. v:Destroy()
  1267. end
  1268. if v:IsA("CharacterMesh") then
  1269. v:Destroy()
  1270. end
  1271. if v:IsA("Model") then
  1272. v:Destroy()
  1273. end
  1274. if v:IsA("Part") or v:IsA("MeshPart") then
  1275. for x, o in pairs(v:GetChildren()) do
  1276. if o:IsA("Decal") then
  1277. o:Destroy()
  1278. end
  1279. end
  1280. coroutine.resume(coroutine.create(function()
  1281. v.Material = "Neon"
  1282. v.CanCollide = false
  1283. local PartEmmit1 = IT("ParticleEmitter", v)
  1284. PartEmmit1.LightEmission = 1
  1285. PartEmmit1.Texture = "rbxassetid://284205403"
  1286. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1287. PartEmmit1.Rate = 150
  1288. PartEmmit1.Lifetime = NumberRange.new(1)
  1289. PartEmmit1.Size = NumberSequence.new({
  1290. NumberSequenceKeypoint.new(0, 0.75, 0),
  1291. NumberSequenceKeypoint.new(1, 0, 0)
  1292. })
  1293. PartEmmit1.Transparency = NumberSequence.new({
  1294. NumberSequenceKeypoint.new(0, 0, 0),
  1295. NumberSequenceKeypoint.new(1, 1, 0)
  1296. })
  1297. PartEmmit1.Speed = NumberRange.new(0, 0)
  1298. PartEmmit1.VelocitySpread = 30000
  1299. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  1300. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  1301. local BodPoss = IT("BodyPosition", v)
  1302. BodPoss.P = 3000
  1303. BodPoss.D = 1000
  1304. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1305. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1306. v.Color = maincolor.Color
  1307. coroutine.resume(coroutine.create(function()
  1308. for i = 0, 49 do
  1309. swait(1)
  1310. v.Transparency = v.Transparency + 0.08
  1311. end
  1312. wait(0.5)
  1313. PartEmmit1.Enabled = false
  1314. wait(3)
  1315. v:Destroy()
  1316. dude:Destroy()
  1317. end))
  1318. end))
  1319. end
  1320. end
  1321. end))
  1322. end)
  1323. ds()
  1324. end
  1325. end
  1326.  
  1327. function FindNearestHead(Position, Distance, SinglePlayer)
  1328. if SinglePlayer then
  1329. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  1330. end
  1331. local List = {}
  1332. for i, v in pairs(workspace:GetChildren()) do
  1333. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  1334. table.insert(List, v)
  1335. end
  1336. end
  1337. return List
  1338. end
  1339.  
  1340. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  1341. local type = type
  1342. local rng = Instance.new("Part", char)
  1343. rng.Anchored = true
  1344. rng.BrickColor = color
  1345. rng.CanCollide = false
  1346. rng.FormFactor = 3
  1347. rng.Name = "Ring"
  1348. rng.Material = "Neon"
  1349. rng.Size = Vector3.new(1, 1, 1)
  1350. rng.Transparency = 0
  1351. rng.TopSurface = 0
  1352. rng.BottomSurface = 0
  1353. rng.CFrame = pos
  1354. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  1355. local rngm = Instance.new("SpecialMesh", rng)
  1356. rngm.MeshType = MType
  1357. rngm.Scale = Vector3.new(x1, y1, z1)
  1358. local scaler2 = 1
  1359. local speeder = FastSpeed
  1360. if type == "Add" then
  1361. scaler2 = 1 * value
  1362. elseif type == "Divide" then
  1363. scaler2 = 1 / value
  1364. end
  1365. coroutine.resume(coroutine.create(function()
  1366. for i = 0, 10 / bonuspeed, 0.1 do
  1367. swait()
  1368. if type == "Add" then
  1369. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1370. elseif type == "Divide" then
  1371. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1372. end
  1373. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  1374. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  1375. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1376. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  1377. end
  1378. rng:Destroy()
  1379. end))
  1380. end
  1381.  
  1382. function SoulSteal(dude)
  1383. if dude.Name ~= char then
  1384. local bgf = IT("BodyGyro", dude.Head)
  1385. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1386. local val = IT("BoolValue", dude)
  1387. val.Name = "IsHit"
  1388. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  1389. local soulst = coroutine.wrap(function()
  1390. local soul = Instance.new("Part",dude)
  1391. soul.Size = Vector3.new(1,1,1)
  1392. soul.CanCollide = false
  1393. soul.Anchored = false
  1394. soul.Position = torso.Position
  1395. soul.Transparency = 1
  1396. local PartEmmit1 = IT("ParticleEmitter", soul)
  1397. PartEmmit1.LightEmission = 1
  1398. PartEmmit1.Texture = "rbxassetid://569507414"
  1399. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1400. PartEmmit1.Rate = 250
  1401. PartEmmit1.Lifetime = NumberRange.new(1.6)
  1402. PartEmmit1.Size = NumberSequence.new({
  1403. NumberSequenceKeypoint.new(0, 1, 0),
  1404. NumberSequenceKeypoint.new(1, 0, 0)
  1405. })
  1406. PartEmmit1.Transparency = NumberSequence.new({
  1407. NumberSequenceKeypoint.new(0, 0, 0),
  1408. NumberSequenceKeypoint.new(1, 1, 0)
  1409. })
  1410. PartEmmit1.Speed = NumberRange.new(0, 0)
  1411. PartEmmit1.VelocitySpread = 30000
  1412. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  1413. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  1414. local BodPoss = IT("BodyPosition", soul)
  1415. BodPoss.P = 3000
  1416. BodPoss.D = 1000
  1417. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1418. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1419. wait(1.6)
  1420. soul.Touched:connect(function(hit)
  1421. if hit.Parent == char then
  1422. soul:Destroy()
  1423. end
  1424. end)
  1425. wait(1.2)
  1426. while soul do
  1427. swait()
  1428. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1429. BodPoss.Position = tors.Position
  1430. end
  1431. end)
  1432. soulst()
  1433. end
  1434. end
  1435. function FaceMouse()
  1436. local Cam = workspace.CurrentCamera
  1437. return {
  1438. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  1439. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  1440. }
  1441. end
  1442.  
  1443. BTAUNT = Instance.new("Sound", tors)
  1444. BTAUNT.SoundId = "http://www.roblox.com/asset/?id=2637401925"
  1445. BTAUNT.Volume = 2
  1446. BTAUNT.Pitch = 1
  1447. BTAUNT.Looped = true
  1448. BTAUNT.TimePosition = 0
  1449.  
  1450. BTAUNT3 = Instance.new("Sound", tors)
  1451. BTAUNT3.SoundId = "http://www.roblox.com/asset/?id=157016540"
  1452. BTAUNT3.Volume = 10
  1453. BTAUNT3.Pitch = 1
  1454. BTAUNT3.Looped = false
  1455. BTAUNT3.TimePosition = 0
  1456.  
  1457. TEST = Instance.new("Sound", tors)
  1458. TEST.SoundId = "http://www.roblox.com/asset/?id=2544975373"
  1459. TEST.Volume = 25
  1460. TEST.Pitch = 1
  1461. TEST.Looped = false
  1462. TEST.TimePosition = 0
  1463. -------------------------------------------------------
  1464. --End Effect Function--
  1465. -------------------------------------------------------
  1466. function Cso(ID, PARENT, VOLUME, PITCH)
  1467. local NSound = nil
  1468. coroutine.resume(coroutine.create(function()
  1469. NSound = IT("Sound", PARENT)
  1470. NSound.Volume = VOLUME
  1471. NSound.Pitch = PITCH
  1472. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  1473. swait()
  1474. NSound:play()
  1475. game:GetService("Debris"):AddItem(NSound, 50)
  1476. end))
  1477. return NSound
  1478. end
  1479. function CameraEnshaking(Length, Intensity)
  1480. coroutine.resume(coroutine.create(function()
  1481. local intensity = 1 * Intensity
  1482. local rotM = 0.01 * Intensity
  1483. for i = 0, Length, 0.1 do
  1484. swait()
  1485. intensity = intensity - 0.05 * Intensity / Length
  1486. rotM = rotM - 5.0E-4 * Intensity / Length
  1487. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  1488. cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
  1489. end
  1490. hum.CameraOffset = Vector3.new(0, 0, 0)
  1491. end))
  1492. end
  1493.  
  1494. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1495. local Part = Create("Part"){
  1496. Parent = Parent,
  1497. Reflectance = Reflectance,
  1498. Transparency = Transparency,
  1499. CanCollide = false,
  1500. Locked = true,
  1501. BrickColor = BrickColor.new(tostring(BColor)),
  1502. Name = Name,
  1503. Size = Size,
  1504. Material = Material,
  1505. }
  1506. RemoveOutlines(Part)
  1507. return Part
  1508. end
  1509.  
  1510. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1511. local Msh = Create(Mesh){
  1512. Parent = Part,
  1513. Offset = OffSet,
  1514. Scale = Scale,
  1515. }
  1516. if Mesh == "SpecialMesh" then
  1517. Msh.MeshType = MeshType
  1518. Msh.MeshId = MeshId
  1519. end
  1520. return Msh
  1521. end
  1522.  
  1523. function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1524. local prt = CreatePart(workspace,"Neon",0,0,brickcolor,"Effect", Vector3.new(.5,.5,.5))--part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1525. prt.Anchored = true
  1526. prt.CFrame = cframe
  1527. local msh = CreateMesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",Vector3.new(0,0,0),Vector3.new(x1,y1,z1))
  1528. game:GetService("Debris"):AddItem(prt,2)
  1529. coroutine.resume(coroutine.create(function(Part,Mesh,num)
  1530. for i=0,1,delay do
  1531. swait()
  1532. Part.Transparency=i
  1533. Mesh.Scale=Mesh.Scale + Vector3.new(x3,y3,z3)
  1534. end
  1535. Part.Parent=nil
  1536. end),prt,msh,(math.random(0,1)+math.random())/5)
  1537. end
  1538. function getRegion(point,range,ignore)
  1539. return workspace:FindPartsInRegion3WithIgnoreList(Region3.new(point-Vector3.new(1,1,1)*range/2,point+Vector3.new(1,1,1)*range/2),ignore,100)
  1540. end
  1541.  
  1542. function GetTorso(char)
  1543. return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart'
  1544. end
  1545.  
  1546. local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end}
  1547.  
  1548. NewInstance = function(instance,parent,properties)
  1549. local inst = Instance.new(instance)
  1550. inst.Parent = parent
  1551. if(properties)then
  1552. for i,v in next, properties do
  1553. pcall(function() inst[i] = v end)
  1554. end
  1555. end
  1556. return inst;
  1557. end
  1558.  
  1559. function Part(parent,color,material,size,cframe,anchored,cancollide)
  1560. local part = Instance.new("Part")
  1561. part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or Color3.new(0,0,0)
  1562. part.Material = material or Enum.Material.SmoothPlastic
  1563. part.TopSurface,part.BottomSurface=10,10
  1564. part.Size = size or Vector3.new(1,1,1)
  1565. part.CFrame = cframe or CF(0,0,0)
  1566. part.Anchored = anchored or true
  1567. part.CanCollide = cancollide or false
  1568. part.Parent = parent or char
  1569. return part
  1570. end
  1571. -------------------------------------------------------
  1572. --End Important Functions--
  1573. -------------------------------------------------------
  1574.  
  1575.  
  1576. -------------------------------------------------------
  1577. --Start Customization--
  1578. -------------------------------------------------------
  1579. local Player_Size = 1
  1580. if Player_Size ~= 1 then
  1581. root.Size = root.Size * Player_Size
  1582. tors.Size = tors.Size * Player_Size
  1583. hed.Size = hed.Size * Player_Size
  1584. ra.Size = ra.Size * Player_Size
  1585. la.Size = la.Size * Player_Size
  1586. rl.Size = rl.Size * Player_Size
  1587. ll.Size = ll.Size * Player_Size
  1588. ----------------------------------------------------------------------------------
  1589. rootj.Parent = root
  1590. neck.Parent = tors
  1591. RW.Parent = tors
  1592. LW.Parent = tors
  1593. RH.Parent = tors
  1594. LH.Parent = tors
  1595. ----------------------------------------------------------------------------------
  1596. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1597. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1598. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  1599. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  1600. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  1601. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  1602. ----------------------------------------------------------------------------------
  1603. RH.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))
  1604. LH.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))
  1605. RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1606. LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1607. --hat.Parent = Character
  1608. end
  1609. ----------------------------------------------------------------------------------
  1610. ----------------------------------------------------------------------------------
  1611. local equipped = false
  1612. local idle = 0
  1613. local change = 1
  1614. local val = 0
  1615. local toim = 0
  1616. local idleanim = 0.4
  1617. local sine = 0
  1618. local Sit = 1
  1619. ----------------------------------------------------------------------------------
  1620. hum.WalkSpeed = 8
  1621. hum.JumpPower = 57
  1622. hum.Animator.Parent = nil
  1623. ----------------------------------------------------------------------------------
  1624.  
  1625. -------------------------------------------------------
  1626. --End Customization--
  1627. -------------------------------------------------------
  1628. local Blobby = Instance.new("Part", char)
  1629. Blobby.Name = "Blob"
  1630. Blobby.CanCollide = false
  1631. Blobby.BrickColor = BrickColor.new("Really black")
  1632. Blobby.Transparency = 0
  1633. Blobby.Material = "Plastic"
  1634. Blobby.Size = Vector3.new(1, 1, 2)
  1635. Blobby.TopSurface = Enum.SurfaceType.Smooth
  1636. Blobby.BottomSurface = Enum.SurfaceType.Smooth
  1637.  
  1638. local Weld = Instance.new("Weld", Blobby)
  1639. Weld.Part0 = ra
  1640. Weld.Part1 = Blobby
  1641. Weld.C1 = CFrame.new(0, 0.8, 0)
  1642. Weld.C0 = CFrame.Angles(Rad(-180),0,135)
  1643.  
  1644. local M2 = Instance.new("SpecialMesh")
  1645. M2.Parent = Blobby
  1646. M2.MeshId = "rbxassetid://28140935"
  1647. M2.TextureId = "rbxassetid://26884682"
  1648. M2.Scale = Vector3.new(1, 0.8, 1)
  1649.  
  1650. --[[local naeeym2 = Instance.new("BillboardGui",char)
  1651. naeeym2.AlwaysOnTop = true
  1652. naeeym2.Size = UDim2.new(5,35,2,15)
  1653. naeeym2.StudsOffset = Vector3.new(0, 3.5, 0)
  1654. naeeym2.Adornee = hed
  1655. naeeym2.Name = "Name"
  1656. --naeeym2.PlayerToHideFrom = Player
  1657. local tecks2 = Instance.new("TextLabel",naeeym2)
  1658. tecks2.BackgroundTransparency = 1
  1659. tecks2.TextScaled = true
  1660. tecks2.BorderSizePixel = 0
  1661. tecks2.Text = "Fight Me"
  1662. tecks2.Font = Enum.Font.Bodoni
  1663. tecks2.TextSize = 30
  1664. tecks2.TextStrokeTransparency = 0
  1665. tecks2.TextColor3 = Color3.new(0, 0, 0)
  1666. tecks2.TextStrokeColor3 = Color3.new(1, 1, 1)
  1667. tecks2.Size = UDim2.new(1,0,0.5,0)
  1668. tecks2.Parent = naeeym2]]
  1669. ----------------------------------------------------------------------------------
  1670. local AddInstance = function(Object, ...)
  1671. local Obj = Instance.new(Object)
  1672. for i,v in next,(...) do
  1673. Obj[i] = v
  1674. end
  1675. return Obj
  1676. end
  1677. ----------------------------------------------------
  1678. local Reaper = AddInstance("Part",{
  1679. Parent = hed,
  1680. CFrame = hed.CFrame,
  1681. formFactor = "Symmetric",
  1682. Size = Vector3.new(1, 1, 1),
  1683. CanCollide = false,
  1684. TopSurface = "Smooth",
  1685. BottomSurface = "Smooth",
  1686. Locked = true,
  1687. })
  1688. local Weld = AddInstance("Weld",{
  1689. Parent = Reaper,
  1690. Part0 = hed,
  1691. C0 = CFrame.new(0, 0.8, 0.4)*CFrame.Angles(0, 0, 0),
  1692. Part1 = Reaper,
  1693. })
  1694. local Mesh = AddInstance("SpecialMesh",{
  1695. Parent = Reaper,
  1696. MeshId = "rbxassetid://193760002",
  1697. TextureId = "rbxassetid://89867215",
  1698. Scale = Vector3.new(1.1, 1.1, 1.1),
  1699. VertexColor = Vector3.new(0.5, 0.5, 0.5),
  1700. })
  1701. -------------------------------------------------------
  1702. wait(1)
  1703. plr = game.Players.LocalPlayer
  1704. char = plr.Character
  1705. mouse = plr:GetMouse()
  1706. whitecolor = Color3.new(1,1,1)
  1707. epicmode = false
  1708. normal = true
  1709. for i,v in pairs(char:GetChildren()) do
  1710. if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "ShirtGraphic" then
  1711. v:Destroy()
  1712. end
  1713. end
  1714. local shirt = Instance.new("Shirt",char)
  1715. shirt.ShirtTemplate = "rbxassetid://2544612637"
  1716. local pants = Instance.new("Pants",char)
  1717. pants.PantsTemplate = "rbxassetid://2544611861"
  1718. local bdycolors = char["Body Colors"]
  1719. bdycolors.HeadColor3 = whitecolor
  1720. bdycolors.LeftArmColor3 = whitecolor
  1721. bdycolors.LeftLegColor3 = whitecolor
  1722. bdycolors.RightArmColor3 = whitecolor
  1723. bdycolors.RightLegColor3 = whitecolor
  1724. bdycolors.TorsoColor3 = whitecolor
  1725. for i,v in pairs(char:GetChildren()) do
  1726. if v.ClassName == "Hat" or v.ClassName == "Accessory" then
  1727. v:Destroy()
  1728. end
  1729. end
  1730.  
  1731. -------------------------------------------------------
  1732. --Start Attacks N Stuff--
  1733. -------------------------------------------------------
  1734. local naeeym2 = Instance.new("BillboardGui",char)
  1735. naeeym2.AlwaysOnTop = true
  1736. naeeym2.Size = UDim2.new(5,35,2,35)
  1737. naeeym2.StudsOffset = Vector3.new(0,2,0)
  1738. naeeym2.Adornee = hed
  1739. naeeym2.Name = "Name"
  1740.  
  1741. local tecks2 = Instance.new("TextLabel",naeeym2)
  1742. tecks2.BackgroundTransparency = 1
  1743. tecks2.TextScaled = true
  1744. tecks2.BorderSizePixel = 0
  1745. tecks2.Text = "S҉ A҉ D҉ J҉ E҉ V҉ I҉ L҉"
  1746. tecks2.Font = "Fantasy"
  1747. tecks2.TextSize = 50
  1748. tecks2.TextStrokeTransparency = 0
  1749. tecks2.TextColor3 = BrickColor.new('Really black').Color
  1750. tecks2.TextStrokeColor3 = BrickColor.new('Bright blue').Color
  1751. tecks2.Size = UDim2.new(1,0,0.5,0)
  1752. tecks2.Parent = naeeym2
  1753. textfag = tecks2
  1754. tecks2.Text = "S҉ A҉ D҉ J҉ E҉ V҉ I҉ L҉"
  1755. BTAUNT:Play()
  1756. coroutine.resume(coroutine.create(function()
  1757. while textfag ~= nil do
  1758. swait()
  1759. textfag.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3))
  1760. textfag.Rotation = math.random(-3,3)
  1761. end
  1762. end))
  1763.  
  1764. function get_out()
  1765. BTAUNT:Stop()
  1766. attack = true
  1767. BTAUNT3:Remove()
  1768. BTAUNT3:Play()
  1769. repeat
  1770. hum.WalkSpeed = 10
  1771. for i = 0,0.37,0.03 do
  1772. swait()
  1773. BTAUNT3.Parent = tors
  1774. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1775. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1776. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(0)), 0.15)
  1777. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
  1778. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.2 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(math.random(-360,360)), Rad(math.random(-360,360)), Rad(math.random(-360,360))), 1)
  1779. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(math.random(-360,360)), Rad(math.random(-360,360)), Rad(math.random(-360,360))), 1)
  1780. end
  1781. for i = 0,0.37,0.03 do
  1782. swait()
  1783. BTAUNT3.Parent = tors
  1784. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1785. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1786. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(0)), 0.15)
  1787. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
  1788. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.2 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(math.random(-360,360)), Rad(math.random(-360,360)), Rad(math.random(-360,360))), 1)
  1789. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(math.random(-360,360)), Rad(math.random(-360,360)), Rad(math.random(-360,360))), 1)
  1790. end
  1791. until BTAUNT3.Playing == false
  1792. BTAUNT3:Stop()
  1793. BTAUNT3:Play()
  1794. BTAUNT3:Remove()
  1795. BTAUNT:Play()
  1796. attack = false
  1797. hum.WalkSpeed = 20
  1798. BTAUNT:Play()
  1799. end
  1800. function Taunt2()
  1801. attack = true
  1802. hum.WalkSpeed = 0
  1803. CFuncs.Sound.Create("rbxassetid://2545008459", head, 100, 1)
  1804. for i = 0, 2, 0.1 do
  1805. swait()
  1806. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.5 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.15)
  1807. neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1808. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.6 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  1809. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.6 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  1810. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12)
  1811. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
  1812. end
  1813. for i = 0, 6, 0.1 do
  1814. swait()
  1815. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, .2 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.15)
  1816. neck.C0 = clerp(neck.C0, necko * CF(0, 0, 2) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.15)
  1817. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1.2 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  1818. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1.2 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  1819. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
  1820. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12)
  1821. end
  1822. for i = 0, 2, 0.1 do
  1823. swait()
  1824. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.5 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.15)
  1825. neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1826. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.6 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  1827. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.6 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  1828. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12)
  1829. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
  1830. end
  1831. attack = false
  1832. hum.WalkSpeed = 20
  1833. end
  1834. function specialchaos()
  1835. wait(0)
  1836. CHOICE = 6
  1837. Cso("2545018472", hed, 10, 1)
  1838. local killsky = Instance.new('Sky', game:GetService'Lighting')
  1839. killsky.SkyboxBk = "rbxassetid://2579814215"
  1840. killsky.SkyboxDn = "rbxassetid://1539341292"
  1841. killsky.SkyboxFt = "rbxassetid://2579814215"
  1842. killsky.SkyboxLf = "rbxassetid://2579814215"
  1843. killsky.SkyboxRt = "rbxassetid://2579814215"
  1844. killsky.SkyboxUp = "rbxassetid://1539341292"
  1845. ---
  1846. killsky.StarCount = 0
  1847. killsky.SunAngularSize = 0
  1848. killsky.MoonAngularSize = 0
  1849. killsky.MoonTextureId = ""
  1850. killsky.CelestialBodiesShown = false
  1851. if HITFLOOR ~= nil then
  1852. ATTACK = false
  1853. Rooted = false
  1854. local RINGSPIN = true
  1855. local CONSTRUCTING = true
  1856. local RING = CreatePart(3, Effects, "Neon", 0, 10, "Royal purple", "Ring", VT(0,0,0))
  1857. RING.Color = C3(0,0,0)
  1858. MakeForm(RING,"Cyl")
  1859. RING.CFrame = CF(HITPOS)
  1860. coroutine.resume(coroutine.create(function()
  1861. repeat
  1862. Swait()
  1863. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1864. until CONSTRUCTING == false
  1865. repeat
  1866. Swait()
  1867. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1868. until RINGSPIN == false
  1869. for i = 1, 25 do
  1870. Swait()
  1871. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1872. RING.Size = RING.Size - VT(0.15,0,0.15)
  1873. --DECAL.Transparency = DECAL.Transparency + 1/25
  1874. RING.Transparency = RING.Transparency + 1/25
  1875. end
  1876. RING:remove()
  1877. end))
  1878. for i = 1, 15 do
  1879. Swait()
  1880. RING.Size = RING.Size + VT(0,0,0)
  1881. RING.Transparency = RING.Transparency - 1/15
  1882. end
  1883. end
  1884. hum.WalkSpeed = 20
  1885. attack = false
  1886. end
  1887. function icando()
  1888. attack = true
  1889. hum.WalkSpeed = 0
  1890. TEST:Remove()
  1891. TEST:Play()
  1892. repeat
  1893. for i = 0,4,0.1 do
  1894. swait()
  1895. TEST.Parent = tors
  1896. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 12)) * angles(Rad(0), Rad(0), Rad(20)), 0.15)
  1897. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(-20)), 0.3)
  1898. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
  1899. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
  1900. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.05 * Cos(sine / 12)* Player_Size, -0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(-76)), 0.1)
  1901. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.5 + 0.05 * Cos(sine / 12)* Player_Size, -0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(56)), 0.1)
  1902. end
  1903. until TEST.Playing == false
  1904. TEST:Stop()
  1905. TEST:Play()
  1906. TEST:Remove()
  1907. print('I CAN DO ANYTHING')
  1908. attack = false
  1909. hum.WalkSpeed = 20
  1910. end
  1911. function Blood_ball()
  1912. Cso("2545010175", hed, 10, 1)
  1913. local orb = Instance.new("Part", char)
  1914. orb.Anchored = true
  1915. orb.BrickColor = BrickC("Royal Purple")
  1916. orb.CanCollide = false
  1917. orb.FormFactor = 3
  1918. orb.Name = "Ring"
  1919. orb.Material = "Neon"
  1920. orb.Size = Vector3.new(1, 1, 1)
  1921. orb.Transparency = 0
  1922. orb.TopSurface = 0
  1923. orb.BottomSurface = 0
  1924. local orbm = Instance.new("SpecialMesh", orb)
  1925. orbm.MeshType = "Sphere"
  1926. orbm.Name = "SizeMesh"
  1927. orbm.Scale = Vector3.new(0, 0, 0)
  1928. local scaled = 0.1
  1929. local posid = 0
  1930. for i = 0, 109, 0.1 do
  1931. swait()
  1932. scaled = scaled + 0.001
  1933. posid = posid - scaled
  1934. orb.CFrame = ra.CFrame * CF(0, -0.1 + posid / 1.05, 0)
  1935. orbm.Scale = orbm.Scale + Vector3.new(scaled, scaled, scaled)
  1936. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1937. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1938. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(79), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-10)), 0.2)
  1939. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(10)), 0.2)
  1940. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(125), Rad(-7.5 * Sin(sine / 20)), Rad(40)), 0.2)
  1941. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.2)
  1942. end
  1943. coroutine.resume(coroutine.create(function()
  1944. orb.Anchored = false
  1945. --CFuncs.Sound.Create("rbxassetid://260433768", root, 1.25, 1)
  1946. mes("CALAMITY ORB COMING IN EVERYTHING WILL BE DESTROYED",0.05)
  1947. local a = Instance.new("Part", workspace)
  1948. a.Name = "Direction"
  1949. a.Anchored = true
  1950. a.BrickColor = BrickC("Crimson")
  1951. a.Material = "Neon"
  1952. a.Transparency = 1
  1953. a.CanCollide = false
  1954. local ray = Ray.new(orb.CFrame.p, (root.CFrame.lookVector - orb.CFrame.p).unit * 500)
  1955. local ignore = orb
  1956. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  1957. a.BottomSurface = 10
  1958. a.TopSurface = 10
  1959. local distance = (orb.CFrame.p - position).magnitude
  1960. a.Size = Vector3.new(0.1, 0.1, 0.1)
  1961. a.CFrame = CF(orb.CFrame.p, position) * CF(0, 0, 0)
  1962. orb.CFrame = a.CFrame
  1963. a:Destroy()
  1964. local bv = Instance.new("BodyVelocity")
  1965. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1966. bv.velocity = orb.CFrame.lookVector * 125
  1967. bv.Parent = orb
  1968. local hitted = false
  1969. game:GetService("Debris"):AddItem(orb, 15)
  1970. wait()
  1971. local hit = orb.Touched:connect(function(hit)
  1972. if hitted == false then
  1973. hitted = true
  1974. coroutine.resume(coroutine.create(function()
  1975. for i = 0,1.8,0.1 do
  1976. swait()
  1977. hum.CameraOffset = Vector3.new(Mrandom(-1,1),0,Mrandom(-1,1))
  1978. end
  1979. for i = 0,1.8,0.1 do
  1980. swait()
  1981. hum.CameraOffset = Vector3.new(0,0,0)
  1982. end
  1983. end))
  1984. CFuncs.Sound.Create("rbxassetid://151304356", orb, 5, 1)
  1985. for i, v in pairs(FindNearestHead(orb.CFrame.p, 50000)) do
  1986. if v:FindFirstChild("Head") then
  1987. Eviscerate(v)
  1988. end
  1989. end
  1990. Magic(1, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 1, BrickC("Royal Purple"), "Sphere")
  1991. Magic(2, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 2, BrickC("Royal Purple"), "Sphere")
  1992. for i = 0, 9 do
  1993. --Aura(1, 2.5, "Add", orb.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 5, 5, 50, -0.05, BrickColor.new("Royal purple"), 0, "Sphere")
  1994. --Aura(2, 5, "Add", orb.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 5, 5, 50, -0.05, BrickColor.new("Royal purple"), 0, "Sphere")
  1995. end
  1996. orb.Anchored = true
  1997. orb.Transparency = 1
  1998. wait(8)
  1999. orb:Destroy()
  2000. end
  2001. end)
  2002. end))
  2003. for i = 0, 2, 0.1 do
  2004. swait()
  2005. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  2006. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  2007. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(79), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-10)), 0.2)
  2008. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(10)), 0.2)
  2009. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(45), Rad(-7.5 * Sin(sine / 20)), Rad(40)), 0.2)
  2010. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.2)
  2011. end
  2012. attack = false
  2013. end
  2014. function Blood_ball()
  2015. attack = true
  2016. local orb = Instance.new("Part", char)
  2017. orb.Anchored = true
  2018. orb.BrickColor = BrickC("Royal Purple")
  2019. orb.CanCollide = false
  2020. orb.FormFactor = 3
  2021. orb.Name = "Ring"
  2022. orb.Material = "Neon"
  2023. orb.Size = Vector3.new(1, 1, 1)
  2024. orb.Transparency = 0
  2025. orb.TopSurface = 0
  2026. orb.BottomSurface = 0
  2027. local orbm = Instance.new("SpecialMesh", orb)
  2028. orbm.MeshType = "Sphere"
  2029. orbm.Name = "SizeMesh"
  2030. orbm.Scale = Vector3.new(0, 0, 0)
  2031. local scaled = 0.1
  2032. local posid = 0
  2033. for i = 0, 12, 0.1 do
  2034. swait()
  2035. scaled = scaled + 0.001
  2036. posid = posid - scaled
  2037. orb.CFrame = ra.CFrame * CF(0, -0.1 + posid / 1.05, 0)
  2038. orbm.Scale = orbm.Scale + Vector3.new(scaled, scaled, scaled)
  2039. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  2040. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  2041. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(0)), 0.15)
  2042. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
  2043. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(145), Rad(0), Rad(15 + 2.5 * Sin(sine / 20))), 0.12)
  2044. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
  2045. end
  2046. coroutine.resume(coroutine.create(function()
  2047. orb.Anchored = false
  2048. local a = Instance.new("Part", workspace)
  2049. a.Name = "Direction"
  2050. a.Anchored = true
  2051. a.BrickColor = BrickC("Royal purple")
  2052. a.Material = "Neon"
  2053. a.Transparency = 1
  2054. a.CanCollide = false
  2055. local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 500)
  2056. local ignore = orb
  2057. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  2058. a.BottomSurface = 10
  2059. a.TopSurface = 10
  2060. local distance = (orb.CFrame.p - position).magnitude
  2061. a.Size = Vector3.new(0.1, 0.1, 0.1)
  2062. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  2063. orb.CFrame = a.CFrame
  2064. a:Destroy()
  2065. local bv = Instance.new("BodyVelocity")
  2066. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  2067. bv.velocity = orb.CFrame.lookVector * 125
  2068. bv.Parent = orb
  2069. local hitted = false
  2070. game:GetService("Debris"):AddItem(orb, 15)
  2071. swait()
  2072. local hit = orb.Touched:connect(function(hit)
  2073. if hitted == false then
  2074. hitted = true
  2075. CFuncs.Sound.Create("rbxassetid://151304356", orb, 5, 1)
  2076. for i, v in pairs(FindNearestHead(orb.CFrame.p, 25)) do
  2077. if v:FindFirstChild("Head") then
  2078. Eviscerate(v)
  2079. end
  2080. end
  2081. Magic(1, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 1, BrickC("Royal Purple"), "Sphere")
  2082. Magic(2, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 2, BrickC("Royal Purple"), "Sphere")
  2083. for i = 0, 9 do
  2084. Aura(1, 2.5, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 5, 5, 50, -0.05, BrickC("Royal Purple"), 0, "Sphere")
  2085. Aura(2, 5, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 5, 5, 50, -0.05, BrickC("Royal Purple"), 0, "Sphere")
  2086. end
  2087. orb.Anchored = true
  2088. orb.Transparency = 1
  2089. wait(8)
  2090. orb:Destroy()
  2091. end
  2092. end)
  2093. end))
  2094. for i = 0, 1, 0.1 do
  2095. swait()
  2096. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(6), Rad(0), Rad(30)), 0.3)
  2097. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(-30)), 0.3)
  2098. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(6)), 0.3)
  2099. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-6)), 0.3)
  2100. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(Mrandom(-15, 15)), Rad(5 - 4.5 * Sin(sine / 20))), 0.3)
  2101. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(6), Rad(Mrandom(-15, 15)), Rad(-5 + 4.5 * Sin(sine / 20))), 0.3)
  2102. end
  2103. attack = false
  2104. end
  2105. function finalChaos()
  2106. attack = true
  2107. spawn(function()
  2108. local p = Instance.new("Part",char)
  2109. p.Anchored = true
  2110. p.CanCollide = false
  2111. p.CFrame = CFrame.new(mouse.Hit.p+Vector3.new(0,100,0))
  2112. local m = Instance.new("SpecialMesh",p)
  2113. m.MeshId = "https://roblox.com/asset/?id=28140935"
  2114. m.Scale = Vector3.new(2,2,2)
  2115. for i=1,30 do
  2116. p.CFrame = p.CFrame-Vector3.new(0,3.3333,0)
  2117. p.CFrame = p.CFrame * CFrame.Angles(0.5,0,0)
  2118. wait()
  2119. end
  2120. local beam = Instance.new("Part",char)
  2121. beam.Anchored = true
  2122. beam.CanCollide = false
  2123. beam.BrickColor = BrickColor.new("White")
  2124. beam.Material = Enum.Material.Neon
  2125. beam.Size = Vector3.new(1,1,1)
  2126. beam.Position = p.Position+Vector3.new(0,1000,0)
  2127. beam.CFrame = beam.CFrame * CFrame.Angles(0,0,89.5354)
  2128. local m = Instance.new("SpecialMesh",beam)
  2129. m.MeshType = "Cylinder"
  2130. m.Scale = Vector3.new(2000,15,15)
  2131. damage(6,20,35,p.Position)
  2132. p.Transparency = 1
  2133. CFuncs.Sound.Create("rbxassetid://440145223", p, 10, 1)
  2134. for i=1,10 do
  2135. m.Scale = m.Scale-Vector3.new(0,1,1)
  2136. beam.Transparency = i / 10
  2137. wait()
  2138. end
  2139. p:Destroy()
  2140. end)
  2141. attack = false
  2142. end
  2143. function blast()
  2144. Cso("2545011398", hed, 10, 1)
  2145. attack = true
  2146. hum.WalkSpeed = 0
  2147. for i = 0,1.2,0.1 do
  2148. swait()
  2149. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
  2150. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  2151. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
  2152. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
  2153. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
  2154. LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-15)), 0.1)
  2155. end
  2156. Aura(6, 0.3, "Add", root.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Brick")
  2157. Aura(6, 0.3, "Add", root.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Brick")
  2158. Effects.Sphere.Create(BrickColor.new("Royal Purple"), root.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 15.1, 15.1, 15.1, 0.01)
  2159. Effects.Sphere.Create(maincolor, root.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 11.1, 11.1, 11.1, 0.01)
  2160. Magic(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, BrickColor.new("Really blue"), "Sphere")
  2161. Magic(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, BrickColor.new("Royal Purple"), "Sphere")
  2162. Magic(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(35, 0.1, 35), 0.01, BrickColor.new("Royal Purple"), "Sphere")
  2163.  
  2164. for i, v in pairs(FindNearestHead(tors.CFrame.p, 14.5)) do
  2165. if v:FindFirstChild("Head") then
  2166. Eviscerate(v)
  2167. end
  2168. end
  2169.  
  2170. for i = 1,4.7,0.1 do
  2171. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
  2172. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
  2173. RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15)
  2174. LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  2175. RW.C0 = clerp(RW.C0, CF(1.2, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-34)), 0.1)
  2176. LW.C0 = clerp(LW.C0, CF(-1.5, 0.4 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(30), Rad(0), Rad(-15)), 0.1)
  2177. end
  2178. wait(.6)
  2179. Aura(6, 0.3, "Add", root.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Brick")
  2180. Aura(6, 0.3, "Add", root.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Brick")
  2181. Effects.Sphere.Create(BrickColor.new("Royal purple"), root.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 15.1, 15.1, 15.1, 0.01)
  2182. Effects.Sphere.Create(maincolor, root.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 11.1, 11.1, 11.1, 0.01)
  2183. Magic(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, BrickColor.new("Really blue"), "Sphere")
  2184. Magic(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, BrickColor.new("Bright blue"), "Sphere")
  2185. Magic(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(35, 0.1, 35), 0.01,BrickColor.new("Royal Purple"), "Sphere")
  2186.  
  2187. for i, v in pairs(FindNearestHead(tors.CFrame.p, 14.5)) do
  2188. if v:FindFirstChild("Head") then
  2189. Eviscerate(v)
  2190. end
  2191. end
  2192.  
  2193. for i = 1,4.7,0.1 do
  2194. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
  2195. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
  2196. RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15)
  2197. LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  2198. RW.C0 = clerp(RW.C0, CF(1.2, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(30), Rad(0), Rad(15)), 0.1)
  2199. LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(34)), 0.1)
  2200. end
  2201. wait(.6)
  2202. Aura(6, 0.3, "Add", root.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Brick")
  2203. Aura(6, 0.3, "Add", root.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Brick")
  2204. Effects.Sphere.Create(BrickColor.new("Royal purple"), root.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 15.1, 15.1, 15.1, 0.01)
  2205. Effects.Sphere.Create(maincolor, root.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 11.1, 11.1, 11.1, 0.01)
  2206. Magic(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, BrickColor.new("Really blue"), "Sphere")
  2207. Magic(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, BrickColor.new("Royal purple"), "Sphere")
  2208. Magic(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(35, 0.1, 35), 0.01, BrickColor.new("Royal purple"), "Sphere")
  2209.  
  2210. for i, v in pairs(FindNearestHead(tors.CFrame.p, 14.5)) do
  2211. if v:FindFirstChild("Head") then
  2212. Eviscerate(v)
  2213. end
  2214. end
  2215.  
  2216. for i = 1,4.7,0.1 do
  2217. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
  2218. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
  2219. RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15)
  2220. LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  2221. RW.C0 = clerp(RW.C0, CF(1.2, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-34)), 0.1)
  2222. LW.C0 = clerp(LW.C0, CF(-1.5, 0.4 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(30), Rad(0), Rad(-15)), 0.1)
  2223. end
  2224. wait(.6)
  2225. Aura(6, 0.3, "Add", root.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Brick")
  2226. Aura(6, 0.3, "Add", root.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Brick")
  2227. Effects.Sphere.Create(BrickColor.new("Royal purple"), root.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 15.1, 15.1, 15.1, 0.01)
  2228. Effects.Sphere.Create(maincolor, root.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 11.1, 11.1, 11.1, 0.01)
  2229. Magic(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, BrickColor.new("Really blue"), "Sphere")
  2230. Magic(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, BrickColor.new("Bright blue"), "Sphere")
  2231. Magic(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(35, 0.1, 35), 0.01, BrickColor.new("Royal purple"), "Sphere")
  2232.  
  2233. for i, v in pairs(FindNearestHead(tors.CFrame.p, 14.5)) do
  2234. if v:FindFirstChild("Head") then
  2235. Eviscerate(v)
  2236. end
  2237. end
  2238.  
  2239. for i = 1,4.7,0.1 do
  2240. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
  2241. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
  2242. RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15)
  2243. LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  2244. RW.C0 = clerp(RW.C0, CF(1.2, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(30), Rad(0), Rad(15)), 0.1)
  2245. LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(34)), 0.1)
  2246. end
  2247. wait(.6)
  2248. attack = false
  2249. hum.WalkSpeed = 8
  2250. end
  2251. function dejzrXD()
  2252. attack = true
  2253. hum.WalkSpeed = 20
  2254. for i = 0, 4, 0.1 do
  2255. swait()
  2256. Cso("2545012765", char, 10, 1)
  2257. hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), 0)
  2258. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-10), Rad(0), Rad(40)), 0.2)
  2259. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.2)
  2260. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(79), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-10)), 0.2)
  2261. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(10)), 0.2)
  2262. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(125), Rad(-7.5 * Sin(sine / 20)), Rad(40)), 0.2)
  2263. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.2)
  2264. end
  2265. Magic(5, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, maincolor, "Sphere")
  2266. Magic(10, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, maincolor, "Sphere")
  2267. Magic(1, "Add", mouse.Hit, Vector3.new(1, 100000, 1), 0.5, maincolor, "Sphere")
  2268. Magic(1, "Add", mouse.Hit, Vector3.new(1, 1, 1), 0.75, maincolor, "Sphere")
  2269. CameraEnshaking(4, 5)
  2270. for i, v in pairs(FindNearestHead(mouse.Hit.p, 14.5)) do
  2271. if v:FindFirstChild("Head") then
  2272. Eviscerate(v)
  2273. end
  2274. end
  2275. for i = 0, 2, 0.1 do
  2276. swait()
  2277. hum.CameraOffset = Vector3.new(0, -0.2 + 0.1 * Cos(sine / 20), 0)
  2278. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-5), Rad(0), Rad(40)), 0.2)
  2279. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.2)
  2280. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(79), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-10)), 0.2)
  2281. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(10)), 0.2)
  2282. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(45), Rad(-7.5 * Sin(sine / 20)), Rad(40)), 0.2)
  2283. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.2)
  2284. end
  2285. attack = false
  2286. Speed = 20
  2287. end
  2288.  
  2289. function Attack()
  2290. attack = true
  2291. for i = 0, 2.6, 0.1 do
  2292. swait()
  2293. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-60)), 0.2)
  2294. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-7.5 * Sin(sine / 30)), Rad(0), Rad(60)), 0.2)
  2295. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.2)
  2296. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(20)), 0.2)
  2297. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(160), Rad(-.6), Rad(13)), 0.2)
  2298. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(15), Rad(-6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.2)
  2299. end
  2300. Cso("2545012765", tors, 10, 1)
  2301. CameraEnshaking(2, 15)
  2302. Effects.Wave.Create(BrickColor.new("Royal purple"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  2303. Effects.Wave.Create(BrickColor.new("Royal purple"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  2304. Effects.Wave.Create(BrickColor.new("Royal purple"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  2305. for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 9.5)) do
  2306. if v:FindFirstChild("Head") then
  2307. Eviscerate(v)
  2308. end
  2309. end
  2310. for i = 0, 3, 0.1 do
  2311. swait()
  2312. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-15)), 0.3)
  2313. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 7.5 * Sin(sine / 30)), Rad(0), Rad(15)), 0.3)
  2314. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-20)), 0.3)
  2315. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.3)
  2316. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(5), Rad(-.6), Rad(-25)), 0.3)
  2317. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(15), Rad(-6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.3)
  2318. end
  2319. attack = false
  2320. end
  2321. function Orb_Strike()
  2322. attack = true
  2323. Cso("2545211765", char, 7, 1)
  2324. for i = 0, 9 do
  2325. Aura(1, 1.5, "Add", mouse.Hit * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 5, 5, 45, -0.05, maincolor, 0, "Sphere")
  2326. Aura(2, 1.5, "Add", mouse.Hit * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 5, 5, 45, -0.05, maincolor, 0, "Sphere")
  2327. end
  2328. Magic(5, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, maincolor, "Sphere")
  2329. Magic(10, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, maincolor, "Sphere")
  2330. Magic(1, "Add", mouse.Hit, Vector3.new(1, 100000, 1), 0.5, maincolor, "Sphere")
  2331. Magic(1, "Add", mouse.Hit, Vector3.new(1, 1, 1), 0.75, maincolor, "Sphere")
  2332. for i, v in pairs(FindNearestHead(Mouse.Hit.p, 14.5)) do
  2333. if v:FindFirstChild("Head") then
  2334. Eviscerate(v)
  2335. end
  2336. end
  2337. attack = false
  2338. hum.WalkSpeed = 20
  2339. end
  2340. function finalChaos2()
  2341. attack = true
  2342. M2.Scale = Vector3.new(5, 5, 5)
  2343. Cso("2545018472", hed, 10, 1)
  2344. for i = 0, 15, 0.1 do
  2345. swait()
  2346. hum.CameraOffset = Vector3.new(0, 8, 0)
  2347. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 8 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.2)
  2348. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-45 - 7.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.2)
  2349. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-16.5), Rad(0), Rad(-20)), 0.2)
  2350. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-16.5), Rad(0), Rad(20)), 0.2)
  2351. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(180), Rad(0), Rad(15)), 0.2)
  2352. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-30), Rad(-90)), 0.2)
  2353. end
  2354. Cso("483458132", char, 10, .7)
  2355. Cso("483458132", char, 10, 1)
  2356. CameraEnshaking(6, 65)
  2357. Effects.Wave.Create(BrickColor.new("Royal Purple"), tors.CFrame * CF(0, -5, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  2358. Effects.Wave.Create(BrickColor.new("Really white"), tors.CFrame * CF(0, -5, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  2359. Effects.Wave.Create(BrickColor.new("Royal Purple"), tors.CFrame * CF(0, -5, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  2360. Effects.Ring.Create(BrickColor.new("Really white"), root.CFrame * CF(0, -2, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.5, 0.5, 0.1, 2, 2, 0, 0.04)
  2361. Effects.Sphere.Create(BrickColor.new("Royal Purple"), root.CFrame * CF(0, -2, 0), 10, 7, 10, 15, -0.1, 15, 0.04)
  2362. Effects.Sphere.Create(BrickColor.new("Really white"), root.CFrame * CF(0, -2, 0), 10, 6, 10, 15, -0.1, 15, 0.02)
  2363. Effects.Sphere.Create(BrickColor.new("Royal Purple"), root.CFrame * CF(0, -2, 0), 10, 4, 10, 15, -0.1, 15, 0.01)
  2364. Magic(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, BrickColor.new("Royal Purple"), "Sphere")
  2365. Magic(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, BrickColor.new("Royal Purple"), "Sphere")
  2366. Magic(1, "Add", root.CFrame, Vector3.new(1, 100000, 1), 0.5, BrickColor.new("Really white"), "Sphere")
  2367. Magic(1, "Add", root.CFrame, Vector3.new(1, 1, 1), 0.75, BrickColor.new("Really white"), "Sphere")
  2368. for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 99999999999.5)) do
  2369. if v:FindFirstChild("Head") then
  2370. Eviscerate(v)
  2371. end
  2372. end
  2373. for i = 0, 15, 0.1 do
  2374. swait()
  2375. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(75), Rad(0), Rad(0)), 0.2)
  2376. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(45 - 7.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.2)
  2377. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-45)), 0.2)
  2378. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(45)), 0.2)
  2379. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(-325), Rad(-.6), Rad(-45)), 0.2)
  2380. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(-325), Rad(-6), Rad(45)), 0.2)
  2381. end
  2382. M2.Scale = Vector3.new(1, 1, 1)
  2383. attack = false
  2384. end
  2385. function CHAOS()
  2386. attack = true
  2387. root.CFrame = CFrame.new(CFrame.new(mouse.Hit.p)*CFrame.new(0,2.8,0).p,root.Position)
  2388. Cso("2545012765", hed, 10, 1)
  2389. Effects.Ring.Create(BrickC("Royal purple"), root.CFrame * CF(0, -2.3, 0) * angles(Rad(90),Rad(-1),Rad(0)), 2.5, 2.5, 40, 3, 3, 45, 0.01)
  2390.  
  2391. Effects.Sphere.Create(BrickColor.new("Royal Purple"), root.CFrame * CF(0, -2, 0), 10, 7, 10, 15, -0.1, 15, 0.04)
  2392. Effects.Sphere.Create(BrickColor.new("Really white"), root.CFrame * CF(0, -2, 0), 10, 6, 10, 15, -0.1, 15, 0.02)
  2393. Effects.Sphere.Create(BrickColor.new("Royal Purple"), root.CFrame * CF(0, -2, 0), 10, 4, 10, 15, -0.1, 15, 0.01)
  2394.  
  2395. PixelBlock(2,7,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0)
  2396. PixelBlock(1.5,9.5,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0)
  2397. PixelBlock(1,12,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0)
  2398. PixelBlock(2,7,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0)
  2399. PixelBlock(1.5,9.5,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0)
  2400. PixelBlock(1,12,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0)
  2401. PixelBlock(2,7,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0)
  2402. PixelBlock(1.5,9.5,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0)
  2403. PixelBlock(1,12,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0)
  2404. PixelBlock(2,7,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0)
  2405. PixelBlock(1.5,9.5,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0)
  2406. PixelBlock(1,12,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0)
  2407. for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 9.5)) do
  2408. if v:FindFirstChild("Head") then
  2409. Eviscerate(v)
  2410. end
  2411. end
  2412. attack = false
  2413. end
  2414. function Chain2()
  2415. if Mouse.Target.Parent ~= char and Mouse.Target.Parent.Parent ~= char and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2416. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  2417. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  2418. local HEAD = HUM.Parent:FindFirstChild("Head")
  2419. local RIGHTARM = HUM.Parent:FindFirstChild("Right Arm") or HUM.Parent:FindFirstChild("RightLowerArm")
  2420. local LEFTARM = HUM.Parent:FindFirstChild("Left Arm") or HUM.Parent:FindFirstChild("LeftLowerArm")
  2421. if HEAD and TORSO and HUM.Health > 0 then
  2422. local GYRO = IT("BodyGyro",root)
  2423. GYRO.D = 275
  2424. GYRO.P = 20000
  2425. GYRO.MaxTorque = Vector3.new(0,40000,0)
  2426. attack = true
  2427. hum.WalkSpeed = 0
  2428. local hit,pos,hummie;
  2429. local Hook2 = Part(EffectModel, Color3.new(),Enum.Material.Neon,Vector3.new(.05,.05,.05),root.CFrame,true,false)
  2430. Hook2.Transparency = 1
  2431. local A2 = NewInstance("Attachment",Hook2)
  2432. local B2 = NewInstance("Attachment",la,{Position = Vector3.new(0,-ra.Size.Y/2,0)})
  2433. local Chain2 = NewInstance("Beam",Hook2,{Attachment0 = A2,Attachment1=B2,Color = Color3.fromRGB(138,138,138),FaceCamera=true,LightInfluence=0,Texture="rbxassetid://73042633",TextureLength=5,Transparency=NumberSequence.new(0),TextureSpeed=0,CurveSize0=0,CurveSize1=0,FaceCamera=true,Segments=10,Width0=1,Width1=1})
  2434. for i = 0, 2.3, .1 do
  2435. swait()
  2436. GYRO.cframe = CF(root.Position,TORSO.Position)
  2437. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-7), Rad(0), Rad(0)), 0.15)
  2438. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  2439. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-7)), 0.15)
  2440. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(7)), 0.15)
  2441. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
  2442. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(-25)), 0.1)
  2443. end
  2444. Cso("169105657", ra, 7, 1.2)
  2445. for i = 0, 5, .1 do
  2446. if(hit)then break end
  2447. swait()
  2448. GYRO.cframe = CF(root.Position,TORSO.Position)
  2449. Hook2.CFrame = TORSO.CFrame
  2450. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(7), Rad(0), Rad(0)), 0.15)
  2451. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  2452. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(7)), 0.15)
  2453. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-7)), 0.15)
  2454. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
  2455. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(-25)), 0.1)
  2456. end
  2457. Cso("169105657", ra, 5, .8)
  2458. Cso("2545211765", char, 7, 1)
  2459. GYRO:remove()
  2460. TORSO:BreakJoints()
  2461. for i = 0, 6, .1 do
  2462. swait()
  2463. Hook2.CFrame = Hook2.CFrame:lerp(tors.CFrame * CF(0, 0, -1), .2)
  2464. if(hit)then hit.CFrame = Hook2.CFrame; hit.Velocity = Vector3.new()
  2465. end
  2466. if((Hook2.CFrame.p-tors.CFrame.p).magnitude < 2)then
  2467. break
  2468. end
  2469. Chain2.TextureLength = 4
  2470. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-7), Rad(0), Rad(0)), 0.15)
  2471. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  2472. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(90)), 0.15)
  2473. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(7)), 0.15)
  2474. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
  2475. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(-25)), 0.1)
  2476. end
  2477. hum.WalkSpeed = 16
  2478. attack = false
  2479. Hook2:Destroy()
  2480. end
  2481. end
  2482. end
  2483. -------------------------------------------------------
  2484. --End Attacks N Stuff--
  2485. -------------------------------------------------------
  2486. mouse.KeyDown:connect(function(key)
  2487. if attack == false then
  2488. if key == 'e' then
  2489. icando()
  2490. elseif key == 'h' then
  2491. specialchaos()
  2492. elseif key == 'c' then
  2493. Blood_ball()
  2494. elseif key == "x" then
  2495. blast()
  2496. elseif key == "y" then
  2497. Taunt2()
  2498. elseif key == "g" then
  2499. finalChaos2()
  2500. elseif key == 'f' then
  2501. Orb_Strike()
  2502. elseif key == "z" then
  2503. dejzrXD()
  2504. elseif key == "p" then
  2505. finalChaos()
  2506. elseif key == "t" then
  2507. CHAOS()
  2508. elseif key == "j" then
  2509. Chain2()
  2510. end
  2511. end
  2512. end)
  2513.  
  2514.  
  2515. mouse.Button1Down:connect(function(key)
  2516. if attack == false then
  2517. Attack()
  2518. end
  2519. end)
  2520.  
  2521.  
  2522.  
  2523. -------------------------------------------------------
  2524. --Start Animations--
  2525. -------------------------------------------------------
  2526. print("By Makhail07")
  2527. while true do
  2528. swait()
  2529. sine = sine + change
  2530. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  2531. local velderp = root.Velocity.y
  2532. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  2533. if equipped == true or equipped == false then
  2534. if attack == false then
  2535. idle = idle + 1
  2536. else
  2537. idle = 0
  2538. end
  2539. if 1 < root.Velocity.y and hitfloor == nil then
  2540. Anim = "Jump"
  2541. if attack == false then
  2542. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.15)
  2543. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  2544. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2545. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2546. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
  2547. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  2548. end
  2549. elseif -1 > root.Velocity.y and hitfloor == nil then
  2550. Anim = "Fall"
  2551. if attack == false then
  2552. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.15)
  2553. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  2554. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  2555. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  2556. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
  2557. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
  2558. end
  2559. elseif torvel < 1 and hitfloor ~= nil then
  2560. Anim = "Idle"
  2561. change = 1
  2562. if attack == false then
  2563. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.15)
  2564. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  2565. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9.5), Rad(0), Rad(0)), 0.15)
  2566. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
  2567. RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(-.6), Rad(43 + 4.5 * Sin(sine / 12))), 0.1)
  2568. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
  2569. end
  2570. elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
  2571. Anim = "Walk"
  2572. change = 1
  2573. if attack == false then
  2574. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(3 * Cos(sine / 7))), 0.15)
  2575. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(6 - 2.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  2576. RH.C0 = clerp(RH.C0, CF(1, -0.8 - 0.5 * Cos(sine / 7) / 2, 0.6 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2577. LH.C0 = clerp(LH.C0, CF(-1, -0.8 + 0.5 * Cos(sine / 7) / 2, -0.6 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2578. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(5 - 2.5 * Sin(sine / 20))), 0.1)
  2579. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.02 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
  2580. end
  2581. elseif torvel >= 25 and hitfloor ~= nil then
  2582. Anim = "Sprint"
  2583. change = 1.35
  2584. if attack == false then
  2585. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15)
  2586. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  2587. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.925 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 55 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2588. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.925 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 55 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2589. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
  2590. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, -0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(-110) * Cos(sine / 7) , Rad(0) , Rad(-13) + la.RotVelocity.Y / 75), 0.15)
  2591. end
  2592. end
  2593. end
  2594. if 0 < #Effects then
  2595. for e = 1, #Effects do
  2596. if Effects[e] ~= nil then
  2597. local Thing = Effects[e]
  2598. if Thing ~= nil then
  2599. local Part = Thing[1]
  2600. local Mode = Thing[2]
  2601. local Delay = Thing[3]
  2602. local IncX = Thing[4]
  2603. local IncY = Thing[5]
  2604. local IncZ = Thing[6]
  2605. if 1 >= Thing[1].Transparency then
  2606. if Thing[2] == "Block1" then
  2607. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2608. local Mesh = Thing[1].Mesh
  2609. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2610. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2611. elseif Thing[2] == "Block2" then
  2612. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  2613. local Mesh = Thing[7]
  2614. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2615. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2616. elseif Thing[2] == "Block3" then
  2617. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
  2618. local Mesh = Thing[7]
  2619. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2620. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2621. elseif Thing[2] == "Cylinder" then
  2622. local Mesh = Thing[1].Mesh
  2623. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2624. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2625. elseif Thing[2] == "Blood" then
  2626. local Mesh = Thing[7]
  2627. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  2628. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2629. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2630. elseif Thing[2] == "Elec" then
  2631. local Mesh = Thing[1].Mesh
  2632. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  2633. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2634. elseif Thing[2] == "Disappear" then
  2635. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2636. elseif Thing[2] == "Shatter" then
  2637. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2638. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  2639. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2640. Thing[6] = Thing[6] + Thing[5]
  2641. end
  2642. else
  2643. Part.Parent = nil
  2644. table.remove(Effects, e)
  2645. end
  2646. end
  2647. end
  2648. end
  2649. end
  2650. end
  2651. -------------------------------------------------------
  2652. --End Animations And Script--
  2653. -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement