Advertisement
EnderPlayBro

Untitled

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