Advertisement
DarkScriptZEditors

Its A Secret Okay?

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