Advertisement
MysteriousL

Myrlosruin

Apr 6th, 2018
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 149.12 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,game,owner = owner,game
  4. local RealPlayer = Player
  5. do print("FE Compatibility code V2 by Mokiros")local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer end
  6. -----------------------
  7. --Myrlos--
  8. -------------------------------------------------------
  9. --A script By makhail07
  10. --Probably my most brutal script yet :joy:
  11. --Edit and extra cancer by [L]
  12. --Big thanks to Shackluster for helping me out ([L]) with the color changing sections
  13. -------------------------------------------------------
  14.  
  15. print("This is an old awful edit, never gonna finish it so I decided to just make it public")
  16. maincolor = BrickColor.new("Grey")
  17. local Mode = 1
  18. Player_Size = 1
  19. wait()
  20. local plr = game:service'Players'.LocalPlayer
  21. print('Local User is '..plr.Name)
  22. local char = plr.Character
  23. local hum = char.Humanoid
  24. local ra = char["Right Arm"]
  25. local la= char["Left Arm"]
  26. local rl= char["Right Leg"]
  27. local ll = char["Left Leg"]
  28. local hed = char.Head
  29. local Head = char.Head
  30. local root = char.HumanoidRootPart
  31. local rootj = root.RootJoint
  32. local tors = char.Torso
  33. local neck = tors["Neck"]
  34. local mouse = plr:GetMouse()
  35. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  36. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  37. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  38. cf = CFrame.new
  39.  
  40. -------------------------------------------------------
  41. --Start Good Stuff--
  42. -------------------------------------------------------
  43. CF = CFrame.new
  44. angles = CFrame.Angles
  45. attack = false
  46. Euler = CFrame.fromEulerAnglesXYZ
  47. Rad = math.rad
  48. IT = Instance.new
  49. BrickC = BrickColor.new
  50. Cos = math.cos
  51. Acos = math.acos
  52. Sin = math.sin
  53. Asin = math.asin
  54. Abs = math.abs
  55. Mrandom = math.random
  56. Floor = math.floor
  57. IT = Instance.new
  58. CF = CFrame.new
  59. VT = Vector3.new
  60. RAD = math.rad
  61. C3 = Color3.new
  62. UD2 = UDim2.new
  63. BRICKC = BrickColor.new
  64. ANGLES = CFrame.Angles
  65. EULER = CFrame.fromEulerAnglesXYZ
  66. COS = math.cos
  67. ACOS = math.acos
  68. SIN = math.sin
  69. ASIN = math.asin
  70. ABS = math.abs
  71. MRANDOM = math.random
  72. FLOOR = math.floor
  73. CF = CFrame.new
  74. angles = CFrame.Angles
  75. attack = false
  76. Euler = CFrame.fromEulerAnglesXYZ
  77. Rad = math.rad
  78. IT = Instance.new
  79. BrickC = BrickColor.new
  80. Cos = math.cos
  81. Acos = math.acos
  82. Sin = math.sin
  83. Asin = math.asin
  84. Abs = math.abs
  85. Mrandom = math.random
  86. Floor = math.floor
  87. -------------------------------------------------------
  88. --End Good Stuff--
  89. -------------------------------------------------------
  90. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  91. RSH, LSH = nil, nil
  92. RW = Instance.new("Weld")
  93. LW = Instance.new("Weld")
  94. RH = tors["Right Hip"]
  95. LH = tors["Left Hip"]
  96. RSH = tors["Right Shoulder"]
  97. LSH = tors["Left Shoulder"]
  98. RSH.Parent = nil
  99. LSH.Parent = nil
  100. RW.Name = "RW"
  101. RW.Part0 = tors
  102. RW.C0 = CF(1.5, 0.5, 0)
  103. RW.C1 = CF(0, 0.5, 0)
  104. RW.Part1 = ra
  105. RW.Parent = tors
  106. LW.Name = "LW"
  107. LW.Part0 = tors
  108. LW.C0 = CF(-1.5, 0.5, 0)
  109. LW.C1 = CF(0, 0.5, 0)
  110. LW.Part1 = la
  111. LW.Parent = tors
  112. Effects = {}
  113.  
  114. -------------------------------------------------------
  115. --Start HeartBeat--
  116. -------------------------------------------------------
  117. ArtificialHB = Instance.new("BindableEvent", script)
  118. ArtificialHB.Name = "Heartbeat"
  119. script:WaitForChild("Heartbeat")
  120.  
  121. frame = 1 / 60
  122. tf = 0
  123. allowframeloss = false
  124. tossremainder = false
  125.  
  126.  
  127. lastframe = tick()
  128. script.Heartbeat:Fire()
  129.  
  130.  
  131. game:GetService("RunService").Heartbeat:connect(function(s, p)
  132. tf = tf + s
  133. if tf >= frame then
  134. if allowframeloss then
  135. script.Heartbeat:Fire()
  136. lastframe = tick()
  137. else
  138. for i = 1, math.floor(tf / frame) do
  139. script.Heartbeat:Fire()
  140. end
  141. lastframe = tick()
  142. end
  143. if tossremainder then
  144. tf = 0
  145. else
  146. tf = tf - frame * math.floor(tf / frame)
  147. end
  148. end
  149. end)
  150. -------------------------------------------------------
  151. --End HeartBeat--
  152. -------------------------------------------------------
  153.  
  154. -------------------------------------------------------
  155. --Start Important Functions--
  156. -------------------------------------------------------
  157. function swait(num)
  158. if num == 0 or num == nil then
  159. game:service("RunService").Stepped:wait(0)
  160. else
  161. for i = 0, num do
  162. game:service("RunService").Stepped:wait(0)
  163. end
  164. end
  165. end
  166. function thread(f)
  167. coroutine.resume(coroutine.create(f))
  168. end
  169. function clerp(a, b, t)
  170. local qa = {
  171. QuaternionFromCFrame(a)
  172. }
  173. local qb = {
  174. QuaternionFromCFrame(b)
  175. }
  176. local ax, ay, az = a.x, a.y, a.z
  177. local bx, by, bz = b.x, b.y, b.z
  178. local _t = 1 - t
  179. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  180. end
  181. function QuaternionFromCFrame(cf)
  182. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  183. local trace = m00 + m11 + m22
  184. if trace > 0 then
  185. local s = math.sqrt(1 + trace)
  186. local recip = 0.5 / s
  187. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  188. else
  189. local i = 0
  190. if m00 < m11 then
  191. i = 1
  192. end
  193. if m22 > (i == 0 and m00 or m11) then
  194. i = 2
  195. end
  196. if i == 0 then
  197. local s = math.sqrt(m00 - m11 - m22 + 1)
  198. local recip = 0.5 / s
  199. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  200. elseif i == 1 then
  201. local s = math.sqrt(m11 - m22 - m00 + 1)
  202. local recip = 0.5 / s
  203. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  204. elseif i == 2 then
  205. local s = math.sqrt(m22 - m00 - m11 + 1)
  206. local recip = 0.5 / s
  207. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  208. end
  209. end
  210. end
  211. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  212. local xs, ys, zs = x + x, y + y, z + z
  213. local wx, wy, wz = w * xs, w * ys, w * zs
  214. local xx = x * xs
  215. local xy = x * ys
  216. local xz = x * zs
  217. local yy = y * ys
  218. local yz = y * zs
  219. local zz = z * zs
  220. 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))
  221. end
  222. function QuaternionSlerp(a, b, t)
  223. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  224. local startInterp, finishInterp
  225. if cosTheta >= 1.0E-4 then
  226. if 1 - cosTheta > 1.0E-4 then
  227. local theta = math.acos(cosTheta)
  228. local invSinTheta = 1 / Sin(theta)
  229. startInterp = Sin((1 - t) * theta) * invSinTheta
  230. finishInterp = Sin(t * theta) * invSinTheta
  231. else
  232. startInterp = 1 - t
  233. finishInterp = t
  234. end
  235. elseif 1 + cosTheta > 1.0E-4 then
  236. local theta = math.acos(-cosTheta)
  237. local invSinTheta = 1 / Sin(theta)
  238. startInterp = Sin((t - 1) * theta) * invSinTheta
  239. finishInterp = Sin(t * theta) * invSinTheta
  240. else
  241. startInterp = t - 1
  242. finishInterp = t
  243. end
  244. 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
  245. end
  246. function rayCast(Position, Direction, Range, Ignore)
  247. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  248. end
  249. local RbxUtility = LoadLibrary("RbxUtility")
  250. local Create = RbxUtility.Create
  251.  
  252. -------------------------------------------------------
  253. --Start Damage Function--
  254. -------------------------------------------------------
  255. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  256. if hit.Parent == nil then
  257. return
  258. end
  259. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  260. for _, v in pairs(hit.Parent:children()) do
  261. if v:IsA("Humanoid") then
  262. h = v
  263. end
  264. end
  265. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  266.  
  267. hit.Parent:FindFirstChild("Head"):BreakJoints()
  268. end
  269.  
  270. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  271. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  272. if hit.Parent.DebounceHit.Value == true then
  273. return
  274. end
  275. end
  276. if insta == true then
  277. hit.Parent:FindFirstChild("Head"):BreakJoints()
  278. end
  279. local c = Create("ObjectValue"){
  280. Name = "creator",
  281. Value = game:service("Players").LocalPlayer,
  282. Parent = h,
  283. }
  284. game:GetService("Debris"):AddItem(c, .5)
  285. if HitSound ~= nil and HitPitch ~= nil then
  286. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  287. end
  288. local Damage = math.random(minim, maxim)
  289. local blocked = false
  290. local block = hit.Parent:findFirstChild("Block")
  291. if block ~= nil then
  292. if block.className == "IntValue" then
  293. if block.Value > 0 then
  294. blocked = true
  295. block.Value = block.Value - 1
  296. print(block.Value)
  297. end
  298. end
  299. end
  300. if blocked == false then
  301. h.Health = h.Health - Damage
  302. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  303. else
  304. h.Health = h.Health - (Damage / 2)
  305. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  306. end
  307. if Type == "Knockdown" then
  308. local hum = hit.Parent.Humanoid
  309. hum.PlatformStand = true
  310. coroutine.resume(coroutine.create(function(HHumanoid)
  311. swait(1)
  312. HHumanoid.PlatformStand = false
  313. end), hum)
  314. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  315. local bodvol = Create("BodyVelocity"){
  316. velocity = angle * knockback,
  317. P = 5000,
  318. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  319. Parent = hit,
  320. }
  321. local rl = Create("BodyAngularVelocity"){
  322. P = 3000,
  323. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  324. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  325. Parent = hit,
  326. }
  327. game:GetService("Debris"):AddItem(bodvol, .5)
  328. game:GetService("Debris"):AddItem(rl, .5)
  329. elseif Type == "Normal" then
  330. local vp = Create("BodyVelocity"){
  331. P = 500,
  332. maxForce = Vector3.new(math.huge, 0, math.huge),
  333. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  334. }
  335. if knockback > 0 then
  336. vp.Parent = hit.Parent.Torso
  337. end
  338. game:GetService("Debris"):AddItem(vp, .5)
  339. elseif Type == "Up" then
  340. local bodyVelocity = Create("BodyVelocity"){
  341. velocity = Vector3.new(0, 20, 0),
  342. P = 5000,
  343. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  344. Parent = hit,
  345. }
  346. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  347. elseif Type == "DarkUp" then
  348. coroutine.resume(coroutine.create(function()
  349. for i = 0, 1, 0.1 do
  350. swait()
  351. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  352. end
  353. end))
  354. local bodyVelocity = Create("BodyVelocity"){
  355. velocity = Vector3.new(0, 20, 0),
  356. P = 5000,
  357. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  358. Parent = hit,
  359. }
  360. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  361. elseif Type == "Snare" then
  362. local bp = Create("BodyPosition"){
  363. P = 2000,
  364. D = 100,
  365. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  366. position = hit.Parent.Torso.Position,
  367. Parent = hit.Parent.Torso,
  368. }
  369. game:GetService("Debris"):AddItem(bp, 1)
  370. elseif Type == "Freeze" then
  371. local BodPos = Create("BodyPosition"){
  372. P = 50000,
  373. D = 1000,
  374. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  375. position = hit.Parent.Torso.Position,
  376. Parent = hit.Parent.Torso,
  377. }
  378. local BodGy = Create("BodyGyro") {
  379. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  380. P = 20e+003,
  381. Parent = hit.Parent.Torso,
  382. cframe = hit.Parent.Torso.CFrame,
  383. }
  384. hit.Parent.Torso.Anchored = true
  385. coroutine.resume(coroutine.create(function(Part)
  386. swait(1.5)
  387. Part.Anchored = false
  388. end), hit.Parent.Torso)
  389. game:GetService("Debris"):AddItem(BodPos, 3)
  390. game:GetService("Debris"):AddItem(BodGy, 3)
  391. end
  392. local debounce = Create("BoolValue"){
  393. Name = "DebounceHit",
  394. Parent = hit.Parent,
  395. Value = true,
  396. }
  397. game:GetService("Debris"):AddItem(debounce, Delay)
  398. c = Create("ObjectValue"){
  399. Name = "creator",
  400. Value = Player,
  401. Parent = h,
  402. }
  403. game:GetService("Debris"):AddItem(c, .5)
  404. end
  405. end
  406. -------------------------------------------------------
  407. --End Damage Function--
  408. -------------------------------------------------------
  409.  
  410. -------------------------------------------------------
  411. --Start Damage Function Customization--
  412. -------------------------------------------------------
  413. function ShowDamage(Pos, Text, Time, Color)
  414. local Rate = (1 / 30)
  415. local Pos = (Pos or Vector3.new(0, 0, 0))
  416. local Text = (Text or "")
  417. local Time = (Time or 2)
  418. local Color = (Color or Color3.new(1, 0, 1))
  419. local EffectPart = CFuncs.Part.Create(workspace, "Glass", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  420. EffectPart.Anchored = true
  421. local BillboardGui = Create("BillboardGui"){
  422. Size = UDim2.new(3, 0, 3, 0),
  423. Adornee = EffectPart,
  424. Parent = EffectPart,
  425. }
  426. local TextLabel = Create("TextLabel"){
  427. BackgroundTransparency = 1,
  428. Size = UDim2.new(1, 0, 1, 0),
  429. Text = Text,
  430. Font = "Bodoni",
  431. TextColor3 = Color,
  432. TextScaled = true,
  433. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  434. Parent = BillboardGui,
  435. }
  436. game.Debris:AddItem(EffectPart, (Time))
  437. EffectPart.Parent = game:GetService("Workspace")
  438. delay(0, function()
  439. local Frames = (Time / Rate)
  440. for Frame = 1, Frames do
  441. wait(Rate)
  442. local Percent = (Frame / Frames)
  443. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  444. TextLabel.TextTransparency = Percent
  445. end
  446. if EffectPart and EffectPart.Parent then
  447. EffectPart:Destroy()
  448. end
  449. end)
  450. end
  451. -------------------------------------------------------
  452. --End Damage Function Customization--
  453. -------------------------------------------------------
  454.  
  455. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  456. for _, c in pairs(workspace:children()) do
  457. local hum = c:findFirstChild("Humanoid")
  458. if hum ~= nil then
  459. local head = c:findFirstChild("Head")
  460. if head ~= nil then
  461. local targ = head.Position - Part.Position
  462. local mag = targ.magnitude
  463. if magni >= mag and c.Name ~= plr.Name then
  464. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  465. end
  466. end
  467. end
  468. end
  469. end
  470.  
  471.  
  472. CFuncs = {
  473. Part = {
  474. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  475. local Part = Create("Part")({
  476. Parent = Parent,
  477. Reflectance = Reflectance,
  478. Transparency = Transparency,
  479. CanCollide = false,
  480. Locked = true,
  481. BrickColor = BrickColor.new(tostring(BColor)),
  482. Name = Name,
  483. Size = Size,
  484. Material = Material
  485. })
  486. RemoveOutlines(Part)
  487. return Part
  488. end
  489. },
  490. Mesh = {
  491. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  492. local Msh = Create(Mesh)({
  493. Parent = Part,
  494. Offset = OffSet,
  495. Scale = Scale
  496. })
  497. if Mesh == "SpecialMesh" then
  498. Msh.MeshType = MeshType
  499. Msh.MeshId = MeshId
  500. end
  501. return Msh
  502. end
  503. },
  504. Mesh = {
  505. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  506. local Msh = Create(Mesh)({
  507. Parent = Part,
  508. Offset = OffSet,
  509. Scale = Scale
  510. })
  511. if Mesh == "SpecialMesh" then
  512. Msh.MeshType = MeshType
  513. Msh.MeshId = MeshId
  514. end
  515. return Msh
  516. end
  517. },
  518. Weld = {
  519. Create = function(Parent, Part0, Part1, C0, C1)
  520. local Weld = Create("Weld")({
  521. Parent = Parent,
  522. Part0 = Part0,
  523. Part1 = Part1,
  524. C0 = C0,
  525. C1 = C1
  526. })
  527. return Weld
  528. end
  529. },
  530. Sound = {
  531. Create = function(id, par, vol, pit)
  532. coroutine.resume(coroutine.create(function()
  533. local S = Create("Sound")({
  534. Volume = vol,
  535. Pitch = pit or 1,
  536. SoundId = id,
  537. Parent = par or workspace
  538. })
  539. wait()
  540. S:play()
  541. game:GetService("Debris"):AddItem(S, 6)
  542. end))
  543. end
  544. },
  545. ParticleEmitter = {
  546. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  547. local fp = Create("ParticleEmitter")({
  548. Parent = Parent,
  549. Color = ColorSequence.new(Color1, Color2),
  550. LightEmission = LightEmission,
  551. Size = Size,
  552. Texture = Texture,
  553. Transparency = Transparency,
  554. ZOffset = ZOffset,
  555. Acceleration = Accel,
  556. Drag = Drag,
  557. LockedToPart = LockedToPart,
  558. VelocityInheritance = VelocityInheritance,
  559. EmissionDirection = EmissionDirection,
  560. Enabled = Enabled,
  561. Lifetime = LifeTime,
  562. Rate = Rate,
  563. Rotation = Rotation,
  564. RotSpeed = RotSpeed,
  565. Speed = Speed,
  566. VelocitySpread = VelocitySpread
  567. })
  568. return fp
  569. end
  570. }
  571. }
  572. function RemoveOutlines(part)
  573. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  574. end
  575. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  576. local Part = Create("Part")({
  577. formFactor = FormFactor,
  578. Parent = Parent,
  579. Reflectance = Reflectance,
  580. Transparency = Transparency,
  581. CanCollide = false,
  582. Locked = true,
  583. BrickColor = BrickColor.new(tostring(BColor)),
  584. Name = Name,
  585. Size = Size,
  586. Material = Material
  587. })
  588. RemoveOutlines(Part)
  589. return Part
  590. end
  591. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  592. local Msh = Create(Mesh)({
  593. Parent = Part,
  594. Offset = OffSet,
  595. Scale = Scale
  596. })
  597. if Mesh == "SpecialMesh" then
  598. Msh.MeshType = MeshType
  599. Msh.MeshId = MeshId
  600. end
  601. return Msh
  602. end
  603. function CreateWeld(Parent, Part0, Part1, C0, C1)
  604. local Weld = Create("Weld")({
  605. Parent = Parent,
  606. Part0 = Part0,
  607. Part1 = Part1,
  608. C0 = C0,
  609. C1 = C1
  610. })
  611. return Weld
  612. end
  613. --------effects 2
  614. EffectModel = Instance.new("Model", char)
  615. Effects = {
  616. Block = {
  617. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  618. local prt = CFuncs.Part.Create(EffectModel, "Glass", 0, 0, brickcolor, "Effect", Vector3.new())
  619. prt.Anchored = true
  620. prt.CFrame = cframe
  621. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  622. game:GetService("Debris"):AddItem(prt, 10)
  623. if Type == 1 or Type == nil then
  624. table.insert(Effects, {
  625. prt,
  626. "Block1",
  627. delay,
  628. x3,
  629. y3,
  630. z3,
  631. msh
  632. })
  633. elseif Type == 2 then
  634. table.insert(Effects, {
  635. prt,
  636. "Block2",
  637. delay,
  638. x3,
  639. y3,
  640. z3,
  641. msh
  642. })
  643. else
  644. table.insert(Effects, {
  645. prt,
  646. "Block3",
  647. delay,
  648. x3,
  649. y3,
  650. z3,
  651. msh
  652. })
  653. end
  654. end
  655. },
  656. Sphere = {
  657. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  658. local prt = CFuncs.Part.Create(EffectModel, "Glass", 0, 0, brickcolor, "Effect", Vector3.new())
  659. prt.Anchored = true
  660. prt.CFrame = cframe
  661. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  662. game:GetService("Debris"):AddItem(prt, 10)
  663. table.insert(Effects, {
  664. prt,
  665. "Cylinder",
  666. delay,
  667. x3,
  668. y3,
  669. z3,
  670. msh
  671. })
  672. end
  673. },
  674. Cylinder = {
  675. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  676. local prt = CFuncs.Part.Create(EffectModel, "Glass", 0, 0, brickcolor, "Effect", Vector3.new())
  677. prt.Anchored = true
  678. prt.CFrame = cframe
  679. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  680. game:GetService("Debris"):AddItem(prt, 10)
  681. table.insert(Effects, {
  682. prt,
  683. "Cylinder",
  684. delay,
  685. x3,
  686. y3,
  687. z3,
  688. msh
  689. })
  690. end
  691. },
  692. Wave = {
  693. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  694. local prt = CFuncs.Part.Create(EffectModel, "Glass", 0, 0, brickcolor, "Effect", Vector3.new())
  695. prt.Anchored = true
  696. prt.CFrame = cframe
  697. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  698. game:GetService("Debris"):AddItem(prt, 10)
  699. table.insert(Effects, {
  700. prt,
  701. "Cylinder",
  702. delay,
  703. x3 / 60,
  704. y3 / 60,
  705. z3 / 60,
  706. msh
  707. })
  708. end
  709. },
  710. Ring = {
  711. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  712. local prt = CFuncs.Part.Create(EffectModel, "Glass", 0, 0, brickcolor, "Effect", Vector3.new())
  713. prt.Anchored = true
  714. prt.CFrame = cframe
  715. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  716. game:GetService("Debris"):AddItem(prt, 10)
  717. table.insert(Effects, {
  718. prt,
  719. "Cylinder",
  720. delay,
  721. x3,
  722. y3,
  723. z3,
  724. msh
  725. })
  726. end
  727. },
  728. Break = {
  729. Create = function(brickcolor, cframe, x1, y1, z1)
  730. local prt = CFuncs.Part.Create(EffectModel, "Glass", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  731. prt.Anchored = true
  732. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  733. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  734. local num = math.random(10, 50) / 1000
  735. game:GetService("Debris"):AddItem(prt, 10)
  736. table.insert(Effects, {
  737. prt,
  738. "Shatter",
  739. num,
  740. prt.CFrame,
  741. math.random() - math.random(),
  742. 0,
  743. math.random(50, 100) / 100
  744. })
  745. end
  746. },
  747. Spiral = {
  748. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  749. local prt = CFuncs.Part.Create(EffectModel, "Glass", 0, 0, brickcolor, "Effect", Vector3.new())
  750. prt.Anchored = true
  751. prt.CFrame = cframe
  752. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  753. game:GetService("Debris"):AddItem(prt, 10)
  754. table.insert(Effects, {
  755. prt,
  756. "Cylinder",
  757. delay,
  758. x3,
  759. y3,
  760. z3,
  761. msh
  762. })
  763. end
  764. },
  765. Push = {
  766. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  767. local prt = CFuncs.Part.Create(EffectModel, "Glass", 0, 0, brickcolor, "Effect", Vector3.new())
  768. prt.Anchored = true
  769. prt.CFrame = cframe
  770. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  771. game:GetService("Debris"):AddItem(prt, 10)
  772. table.insert(Effects, {
  773. prt,
  774. "Cylinder",
  775. delay,
  776. x3,
  777. y3,
  778. z3,
  779. msh
  780. })
  781. end
  782. }
  783. }
  784. -------------------------------------------------------
  785. --Start Effect Function--
  786. -------------------------------------------------------
  787. EffectModel = Instance.new("Model", char)
  788. Effects = {
  789. Block = {
  790. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  791. local prt = CFuncs.Part.Create(EffectModel, "Glass", 0, 0, brickcolor, "Effect", Vector3.new())
  792. prt.Anchored = true
  793. prt.CFrame = cframe
  794. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  795. game:GetService("Debris"):AddItem(prt, 10)
  796. if Type == 1 or Type == nil then
  797. table.insert(Effects, {
  798. prt,
  799. "Block1",
  800. delay,
  801. x3,
  802. y3,
  803. z3,
  804. msh
  805. })
  806. elseif Type == 2 then
  807. table.insert(Effects, {
  808. prt,
  809. "Block2",
  810. delay,
  811. x3,
  812. y3,
  813. z3,
  814. msh
  815. })
  816. else
  817. table.insert(Effects, {
  818. prt,
  819. "Block3",
  820. delay,
  821. x3,
  822. y3,
  823. z3,
  824. msh
  825. })
  826. end
  827. end
  828. },
  829. Sphere = {
  830. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  831. local prt = CFuncs.Part.Create(EffectModel, "Glass", 0, 0, brickcolor, "Effect", Vector3.new())
  832. prt.Anchored = true
  833. prt.CFrame = cframe
  834. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  835. game:GetService("Debris"):AddItem(prt, 10)
  836. table.insert(Effects, {
  837. prt,
  838. "Cylinder",
  839. delay,
  840. x3,
  841. y3,
  842. z3,
  843. msh
  844. })
  845. end
  846. },
  847. Cylinder = {
  848. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  849. local prt = CFuncs.Part.Create(EffectModel, "Glass", 0, 0, brickcolor, "Effect", Vector3.new())
  850. prt.Anchored = true
  851. prt.CFrame = cframe
  852. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  853. game:GetService("Debris"):AddItem(prt, 10)
  854. table.insert(Effects, {
  855. prt,
  856. "Cylinder",
  857. delay,
  858. x3,
  859. y3,
  860. z3,
  861. msh
  862. })
  863. end
  864. },
  865. Wave = {
  866. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  867. local prt = CFuncs.Part.Create(EffectModel, "Glass", 0, 0, brickcolor, "Effect", Vector3.new())
  868. prt.Anchored = true
  869. prt.CFrame = cframe
  870. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  871. game:GetService("Debris"):AddItem(prt, 10)
  872. table.insert(Effects, {
  873. prt,
  874. "Cylinder",
  875. delay,
  876. x3 / 60,
  877. y3 / 60,
  878. z3 / 60,
  879. msh
  880. })
  881. end
  882. },
  883. Ring = {
  884. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  885. local prt = CFuncs.Part.Create(EffectModel, "Glass", 0, 0, brickcolor, "Effect", Vector3.new())
  886. prt.Anchored = true
  887. prt.CFrame = cframe
  888. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  889. game:GetService("Debris"):AddItem(prt, 10)
  890. table.insert(Effects, {
  891. prt,
  892. "Cylinder",
  893. delay,
  894. x3,
  895. y3,
  896. z3,
  897. msh
  898. })
  899. end
  900. },
  901. Break = {
  902. Create = function(brickcolor, cframe, x1, y1, z1)
  903. local prt = CFuncs.Part.Create(EffectModel, "Glass", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  904. prt.Anchored = true
  905. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  906. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  907. local num = math.random(10, 50) / 1000
  908. game:GetService("Debris"):AddItem(prt, 10)
  909. table.insert(Effects, {
  910. prt,
  911. "Shatter",
  912. num,
  913. prt.CFrame,
  914. math.random() - math.random(),
  915. 0,
  916. math.random(50, 100) / 100
  917. })
  918. end
  919. },
  920. Spiral = {
  921. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  922. local prt = CFuncs.Part.Create(EffectModel, "Glass", 0, 0, brickcolor, "Effect", Vector3.new())
  923. prt.Anchored = true
  924. prt.CFrame = cframe
  925. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  926. game:GetService("Debris"):AddItem(prt, 10)
  927. table.insert(Effects, {
  928. prt,
  929. "Cylinder",
  930. delay,
  931. x3,
  932. y3,
  933. z3,
  934. msh
  935. })
  936. end
  937. },
  938. Push = {
  939. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  940. local prt = CFuncs.Part.Create(EffectModel, "Glass", 0, 0, brickcolor, "Effect", Vector3.new())
  941. prt.Anchored = true
  942. prt.CFrame = cframe
  943. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  944. game:GetService("Debris"):AddItem(prt, 10)
  945. table.insert(Effects, {
  946. prt,
  947. "Cylinder",
  948. delay,
  949. x3,
  950. y3,
  951. z3,
  952. msh
  953. })
  954. end
  955. }
  956. }
  957. Player=game:GetService("Players").LocalPlayer
  958. Character=Player.Character
  959. p = game.Players.LocalPlayer
  960. char = p.Character
  961.  
  962.  
  963. for i,v in pairs(Character:GetChildren()) do
  964. if v.ClassName == "Accessory" or v:IsA("ShirtGraphic") then
  965. v:Destroy()
  966. end
  967. end
  968.  
  969. if Character:findFirstChild("Shirt") and Character:findFirstChild("Pants") then
  970. char.Shirt.ShirtTemplate = "rbxassetid://414719349"
  971. char.Pants.PantsTemplate = "rbxassetid://173190424"
  972. end
  973.  
  974. ---------------Extra
  975. local bc = BrickColor.new
  976. for i,v in pairs(Character:GetChildren()) do
  977. if v:IsA("BodyColors") then
  978. v.HeadColor = bc("Pastel orange")
  979. v.RightArmColor = bc("Pastel orange")
  980. v.LeftArmColor=bc("Pastel orange")
  981. v.TorsoColor=bc("Pastel orange")
  982. v.RightLegColor = bc("Pastel orange")
  983. v.LeftLegColor=bc("Pastel orange")
  984. end
  985. end
  986. Head.face.Texture = "rbxassetid://405705854"
  987. local sine=0
  988.  
  989.  
  990. function Cso(ID, PARENT, VOLUME, PITCH)
  991. local NSound = nil
  992. coroutine.resume(coroutine.create(function()
  993. NSound = IT("Sound", PARENT)
  994. NSound.Volume = VOLUME
  995. NSound.Pitch = PITCH
  996. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  997. swait()
  998. NSound:play()
  999. game:GetService("Debris"):AddItem(NSound, 10)
  1000. end))
  1001. return NSound
  1002. end
  1003. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  1004. local type = type
  1005. local rng = Instance.new("Part", char)
  1006. rng.Anchored = true
  1007. rng.BrickColor = color
  1008. rng.CanCollide = false
  1009. rng.FormFactor = 3
  1010. rng.Name = "Ring"
  1011. rng.Material = "Glass"
  1012. rng.Size = Vector3.new(1, 1, 1)
  1013. rng.Transparency = 0
  1014. rng.TopSurface = 0
  1015. rng.BottomSurface = 0
  1016. rng.CFrame = pos
  1017. local rngm = Instance.new("SpecialMesh", rng)
  1018. rngm.MeshType = MType
  1019. rngm.Scale = scale
  1020. local scaler2 = 1
  1021. if type == "Add" then
  1022. scaler2 = 1 * value
  1023. elseif type == "Divide" then
  1024. scaler2 = 1 / value
  1025. end
  1026. coroutine.resume(coroutine.create(function()
  1027. for i = 0, 10 / bonuspeed, 0.1 do
  1028. swait()
  1029. if type == "Add" then
  1030. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1031. elseif type == "Divide" then
  1032. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1033. end
  1034. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1035. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  1036. end
  1037. rng:Destroy()
  1038. end))
  1039. end
  1040.  
  1041. function Eviscerate(dude)
  1042. if dude.Name ~= char then
  1043. local bgf = IT("BodyGyro", dude.Head)
  1044. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1045. local val = IT("BoolValue", dude)
  1046. val.Name = "IsHit"
  1047. local ds = coroutine.wrap(function()
  1048. dude:WaitForChild("Head"):BreakJoints()
  1049. wait(0.5)
  1050. target = nil
  1051. coroutine.resume(coroutine.create(function()
  1052. for i, v in pairs(dude:GetChildren()) do
  1053. if v:IsA("Accessory") then
  1054. v:Destroy()
  1055. end
  1056. if v:IsA("Humanoid") then
  1057. v:Destroy()
  1058. end
  1059. if v:IsA("CharacterMesh") then
  1060. v:Destroy()
  1061. end
  1062. if v:IsA("Model") then
  1063. v:Destroy()
  1064. end
  1065. if v:IsA("Part") or v:IsA("MeshPart") then
  1066. for x, o in pairs(v:GetChildren()) do
  1067. if o:IsA("Decal") then
  1068. o:Destroy()
  1069. end
  1070. end
  1071. coroutine.resume(coroutine.create(function()
  1072. v.Material = "Glass"
  1073. v.CanCollide = false
  1074. local PartEmmit1 = IT("ParticleEmitter", v)
  1075. PartEmmit1.LightEmission = 1
  1076. PartEmmit1.Texture = "rbxassetid://284205403"
  1077. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1078. PartEmmit1.Rate = 150
  1079. PartEmmit1.Lifetime = NumberRange.new(1)
  1080. PartEmmit1.Size = NumberSequence.new({
  1081. NumberSequenceKeypoint.new(0, 0.75, 0),
  1082. NumberSequenceKeypoint.new(1, 0, 0)
  1083. })
  1084. PartEmmit1.Transparency = NumberSequence.new({
  1085. NumberSequenceKeypoint.new(0, 0, 0),
  1086. NumberSequenceKeypoint.new(1, 1, 0)
  1087. })
  1088. PartEmmit1.Speed = NumberRange.new(0, 0)
  1089. PartEmmit1.VelocitySpread = 30000
  1090. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  1091. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  1092. local BodPoss = IT("BodyPosition", v)
  1093. BodPoss.P = 3000
  1094. BodPoss.D = 1000
  1095. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1096. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1097. v.Color = maincolor.Color
  1098. coroutine.resume(coroutine.create(function()
  1099. for i = 0, 49 do
  1100. swait(1)
  1101. v.Transparency = v.Transparency + 0.08
  1102. end
  1103. wait(0.5)
  1104. PartEmmit1.Enabled = false
  1105. wait(3)
  1106. v:Destroy()
  1107. dude:Destroy()
  1108. end))
  1109. end))
  1110. end
  1111. end
  1112. end))
  1113. end)
  1114. ds()
  1115. end
  1116. end
  1117.  
  1118. function FindNearestHead(Position, Distance, SinglePlayer)
  1119. if SinglePlayer then
  1120. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  1121. end
  1122. local List = {}
  1123. for i, v in pairs(workspace:GetChildren()) do
  1124. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  1125. table.insert(List, v)
  1126. end
  1127. end
  1128. return List
  1129. end
  1130.  
  1131. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  1132. local type = type
  1133. local rng = Instance.new("Part", char)
  1134. rng.Anchored = true
  1135. rng.BrickColor = color
  1136. rng.CanCollide = false
  1137. rng.FormFactor = 3
  1138. rng.Name = "Ring"
  1139. rng.Material = "Glass"
  1140. rng.Size = Vector3.new(1, 1, 1)
  1141. rng.Transparency = 0
  1142. rng.TopSurface = 0
  1143. rng.BottomSurface = 0
  1144. rng.CFrame = pos
  1145. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  1146. local rngm = Instance.new("SpecialMesh", rng)
  1147. rngm.MeshType = MType
  1148. rngm.Scale = Vector3.new(x1, y1, z1)
  1149. local scaler2 = 1
  1150. local speeder = FastSpeed
  1151. if type == "Add" then
  1152. scaler2 = 1 * value
  1153. elseif type == "Divide" then
  1154. scaler2 = 1 / value
  1155. end
  1156. coroutine.resume(coroutine.create(function()
  1157. for i = 0, 10 / bonuspeed, 0.1 do
  1158. swait()
  1159. if type == "Add" then
  1160. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1161. elseif type == "Divide" then
  1162. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1163. end
  1164. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  1165. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  1166. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1167. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  1168. end
  1169. rng:Destroy()
  1170. end))
  1171. end
  1172. --------INTRO
  1173. function CreateSound(ID, PARENT, VOLUME, PITCH)
  1174. local NSound = nil
  1175. coroutine.resume(coroutine.create(function()
  1176. NSound = Instance.new("Sound", PARENT)
  1177. NSound.Volume = VOLUME
  1178. NSound.Pitch = PITCH
  1179. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  1180. swait()
  1181. NSound:play()
  1182. game:GetService("Debris"):AddItem(NSound, 10)
  1183. end))
  1184. return NSound
  1185. end
  1186. local plr = game:service'Players'.LocalPlayer
  1187. local char = plr.Character
  1188. local hum = char.Humanoid
  1189. torso = char.Torso
  1190. hed = char.Head
  1191. larm = char["Left Arm"]
  1192. rarm = char["Right Arm"]
  1193. lleg = char["Left Leg"]
  1194. rleg = char["Right Leg"]
  1195. New = function(Object, Parent, Name, Data)
  1196. local Object = Instance.new(Object)
  1197. for Index, Value in pairs(Data or {}) do
  1198. Object[Index] = Value
  1199. end
  1200. Object.Parent = Parent
  1201. Object.Name = Name
  1202. return Object
  1203. end
  1204. larm.Transparency = 1
  1205. rarm.Transparency = 1
  1206. lleg.Transparency = 1
  1207. rleg.Transparency = 1
  1208. torso.Transparency = 0.99
  1209. hed.Transparency = 0.99
  1210. MOD = Instance.new("Model",Character)
  1211. New("Part", MOD, "flarm", {CanCollide=false,Position=larm.Position,BrickColor=BrickColor.new("Grey"),Material="Glass",Transparency = 0.4,Size=Vector3.new(1,2,1)})
  1212. New("Weld", larm, "Weld", {Part0=larm,Part1=MOD.flarm})
  1213. New("Part", MOD, "frarm", {CanCollide=false,Position=rarm.Position,BrickColor=BrickColor.new("Grey"),Material="Glass",Transparency = 0.4,Size=Vector3.new(1,2,1)})
  1214. New("Weld", rarm, "Weld", {Part0=rarm,Part1=MOD.frarm})
  1215. New("Part", MOD, "ftorso", {CanCollide=false,Position=torso.Position,BrickColor=BrickColor.new("Grey"),Material="Glass",Transparency = 0.4,Size=Vector3.new(2.01,2.01,1.01)})
  1216. New("Weld", torso, "Weld", {Part0=torso,Part1=MOD.ftorso})
  1217. New("Part", MOD, "frleg", {CanCollide=false,Position=rleg.Position,BrickColor=BrickColor.new("Grey"),Material="Glass",Transparency = 0.4,Size=Vector3.new(1,2,1)})
  1218. New("Weld", rleg, "Weld", {Part0=rleg,Part1=MOD.frleg})
  1219. New("Part", MOD, "flleg", {CanCollide=false,Position=lleg.Position,BrickColor=BrickColor.new("Grey"),Material="Glass",Transparency = 0.4,Size=Vector3.new(1,2,1)})
  1220. New("Weld", lleg, "Weld", {Part0=lleg,Part1=MOD.flleg})
  1221. New("Part", MOD, "fhed", {CanCollide=false,Position=hed.Position,BrickColor=BrickColor.new("Grey"),Material="Glass",Transparency = 0.4,Size=Vector3.new(1.5,1.5,1.5),Shape="Ball"})
  1222. New("Weld", hed, "Weld", {Part0=hed,Part1=MOD.fhed})
  1223.  
  1224.  
  1225. -------------------------------------------------------
  1226. --Start Effect Function--
  1227. -------------------------------------------------------
  1228. EffectModel = Instance.new("Model", char)
  1229. Effects = {
  1230. Block = {
  1231. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1232. local prt = CFuncs.Part.Create(EffectModel, "Glass", 0, 0, brickcolor, "Effect", Vector3.new())
  1233. prt.Anchored = true
  1234. prt.CFrame = cframe
  1235. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1236. game:GetService("Debris"):AddItem(prt, 10)
  1237. if Type == 1 or Type == nil then
  1238. table.insert(Effects, {
  1239. prt,
  1240. "Block1",
  1241. delay,
  1242. x3,
  1243. y3,
  1244. z3,
  1245. msh
  1246. })
  1247. elseif Type == 2 then
  1248. table.insert(Effects, {
  1249. prt,
  1250. "Block2",
  1251. delay,
  1252. x3,
  1253. y3,
  1254. z3,
  1255. msh
  1256. })
  1257. else
  1258. table.insert(Effects, {
  1259. prt,
  1260. "Block3",
  1261. delay,
  1262. x3,
  1263. y3,
  1264. z3,
  1265. msh
  1266. })
  1267. end
  1268. end
  1269. },
  1270. Sphere = {
  1271. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1272. local prt = CFuncs.Part.Create(EffectModel, "Glass", 0, 0, brickcolor, "Effect", Vector3.new())
  1273. prt.Anchored = true
  1274. prt.CFrame = cframe
  1275. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1276. game:GetService("Debris"):AddItem(prt, 10)
  1277. table.insert(Effects, {
  1278. prt,
  1279. "Cylinder",
  1280. delay,
  1281. x3,
  1282. y3,
  1283. z3,
  1284. msh
  1285. })
  1286. end
  1287. },
  1288. Cylinder = {
  1289. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1290. local prt = CFuncs.Part.Create(EffectModel, "Glass", 0, 0, brickcolor, "Effect", Vector3.new())
  1291. prt.Anchored = true
  1292. prt.CFrame = cframe
  1293. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1294. game:GetService("Debris"):AddItem(prt, 10)
  1295. table.insert(Effects, {
  1296. prt,
  1297. "Cylinder",
  1298. delay,
  1299. x3,
  1300. y3,
  1301. z3,
  1302. msh
  1303. })
  1304. end
  1305. },
  1306. Wave = {
  1307. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1308. local prt = CFuncs.Part.Create(EffectModel, "Glass", 0, 0, brickcolor, "Effect", Vector3.new())
  1309. prt.Anchored = true
  1310. prt.CFrame = cframe
  1311. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  1312. game:GetService("Debris"):AddItem(prt, 10)
  1313. table.insert(Effects, {
  1314. prt,
  1315. "Cylinder",
  1316. delay,
  1317. x3 / 60,
  1318. y3 / 60,
  1319. z3 / 60,
  1320. msh
  1321. })
  1322. end
  1323. },
  1324. Ring = {
  1325. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1326. local prt = CFuncs.Part.Create(EffectModel, "Glass", 0, 0, brickcolor, "Effect", Vector3.new())
  1327. prt.Anchored = true
  1328. prt.CFrame = cframe
  1329. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1330. game:GetService("Debris"):AddItem(prt, 10)
  1331. table.insert(Effects, {
  1332. prt,
  1333. "Cylinder",
  1334. delay,
  1335. x3,
  1336. y3,
  1337. z3,
  1338. msh
  1339. })
  1340. end
  1341. },
  1342. Break = {
  1343. Create = function(brickcolor, cframe, x1, y1, z1)
  1344. local prt = CFuncs.Part.Create(EffectModel, "Glass", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1345. prt.Anchored = true
  1346. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1347. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1348. local num = math.random(10, 50) / 1000
  1349. game:GetService("Debris"):AddItem(prt, 10)
  1350. table.insert(Effects, {
  1351. prt,
  1352. "Shatter",
  1353. num,
  1354. prt.CFrame,
  1355. math.random() - math.random(),
  1356. 0,
  1357. math.random(50, 100) / 100
  1358. })
  1359. end
  1360. },
  1361. Spiral = {
  1362. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1363. local prt = CFuncs.Part.Create(EffectModel, "Glass", 0, 0, brickcolor, "Effect", Vector3.new())
  1364. prt.Anchored = true
  1365. prt.CFrame = cframe
  1366. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1367. game:GetService("Debris"):AddItem(prt, 10)
  1368. table.insert(Effects, {
  1369. prt,
  1370. "Cylinder",
  1371. delay,
  1372. x3,
  1373. y3,
  1374. z3,
  1375. msh
  1376. })
  1377. end
  1378. },
  1379. Push = {
  1380. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1381. local prt = CFuncs.Part.Create(EffectModel, "Glass", 0, 0, brickcolor, "Effect", Vector3.new())
  1382. prt.Anchored = true
  1383. prt.CFrame = cframe
  1384. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1385. game:GetService("Debris"):AddItem(prt, 10)
  1386. table.insert(Effects, {
  1387. prt,
  1388. "Cylinder",
  1389. delay,
  1390. x3,
  1391. y3,
  1392. z3,
  1393. msh
  1394. })
  1395. end
  1396. }
  1397. }
  1398. -------------------------------------------------------
  1399. --End Effect Function--
  1400. -------------------------------------------------------
  1401.  
  1402.  
  1403. -------------------------------------------------------
  1404. --Start Kyu's shitty stuff--
  1405. -------------------------------------------------------
  1406.  
  1407. function ragdoll(model)
  1408. local char = model
  1409. torso = char.HumanoidRootPart
  1410. torso2 = char.Torso
  1411. LW.Parent = nil
  1412. RW.Parent = nil
  1413. LH.Parent = nil
  1414. RH.Parent = nil
  1415. if hum ~= nil then
  1416. hum.PlatformStand = true
  1417. end
  1418.  
  1419. local Head = char:FindFirstChild("Head")
  1420. if Head then
  1421. local Neck = Instance.new("Weld")
  1422. Neck.Name = "Neck"
  1423. Neck.Part0 = torso
  1424. Neck.Part1 = Head
  1425. Neck.C0 = CFrame.new(0, 1.5, 0)
  1426. Neck.C1 = CFrame.new()
  1427. Neck.Parent = torso
  1428. end
  1429. local Limb = char:FindFirstChild("Right Arm")
  1430. if Limb then
  1431.  
  1432. Limb.CFrame = torso.CFrame * CFrame.new(1.5, 0, 0)
  1433. local Joint = Instance.new("Glue")
  1434. Joint.Name = "RightShoulder"
  1435. Joint.Part0 = torso
  1436. Joint.Part1 = Limb
  1437. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1438. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1439. Joint.Parent = torso
  1440.  
  1441. local B = Instance.new("Part")
  1442. B.TopSurface = 0
  1443. B.BottomSurface = 0
  1444. B.formFactor = "Symmetric"
  1445. B.Size = Vector3.new(1, 1, 1)
  1446. B.Transparency = 1
  1447. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1448. B.Parent = char
  1449. local W = Instance.new("Weld")
  1450. W.Part0 = Limb
  1451. W.Part1 = B
  1452. W.C0 = CFrame.new(0, -0.5, 0)
  1453. W.Parent = Limb
  1454.  
  1455. end
  1456. local Limb = char:FindFirstChild("Left Arm")
  1457. if Limb then
  1458.  
  1459. Limb.CFrame = torso.CFrame * CFrame.new(-1.5, 0, 0)
  1460. local Joint = Instance.new("Glue")
  1461. Joint.Name = "LeftShoulder"
  1462. Joint.Part0 = torso
  1463. Joint.Part1 = Limb
  1464. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1465. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1466. Joint.Parent = torso
  1467.  
  1468. local B = Instance.new("Part")
  1469. B.TopSurface = 0
  1470. B.BottomSurface = 0
  1471. B.formFactor = "Symmetric"
  1472. B.Size = Vector3.new(1, 1, 1)
  1473. B.Transparency = 1
  1474. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1475. B.Parent = char
  1476. local W = Instance.new("Weld")
  1477. W.Part0 = Limb
  1478. W.Part1 = B
  1479. W.C0 = CFrame.new(0, -0.5, 0)
  1480. W.Parent = Limb
  1481.  
  1482. end
  1483. local Limb = char:FindFirstChild("Right Leg")
  1484. if Limb then
  1485.  
  1486. Limb.CFrame = torso.CFrame * CFrame.new(0.5, -2, 0)
  1487. local Joint = Instance.new("Glue")
  1488. Joint.Name = "RightHip"
  1489. Joint.Part0 = torso
  1490. Joint.Part1 = Limb
  1491. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1492. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1493. Joint.Parent = torso
  1494.  
  1495. local B = Instance.new("Part")
  1496. B.TopSurface = 0
  1497. B.BottomSurface = 0
  1498. B.formFactor = "Symmetric"
  1499. B.Size = Vector3.new(1, 1, 1)
  1500. B.Transparency = 1
  1501. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1502. B.Parent = char
  1503. local W = Instance.new("Weld")
  1504. W.Part0 = Limb
  1505. W.Part1 = B
  1506. W.C0 = CFrame.new(0, -0.5, 0)
  1507. W.Parent = Limb
  1508.  
  1509. end
  1510. local Limb = char:FindFirstChild("Left Leg")
  1511. if Limb then
  1512.  
  1513. Limb.CFrame = torso.CFrame * CFrame.new(-0.5, -2, 0)
  1514. local Joint = Instance.new("Glue")
  1515. Joint.Name = "LeftHip"
  1516. Joint.Part0 = torso
  1517. Joint.Part1 = Limb
  1518. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1519. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1520. Joint.Parent = torso
  1521.  
  1522. local B = Instance.new("Part")
  1523. B.TopSurface = 0
  1524. B.BottomSurface = 0
  1525. B.formFactor = "Symmetric"
  1526. B.Size = Vector3.new(1, 1, 1)
  1527. B.Transparency = 1
  1528. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1529. B.Parent = char
  1530. local W = Instance.new("Weld")
  1531. W.Part0 = Limb
  1532. W.Part1 = B
  1533. W.C0 = CFrame.new(0, -0.5, 0)
  1534. W.Parent = Limb
  1535.  
  1536. end
  1537. --[
  1538. local Bar = Instance.new("Part")
  1539. Bar.TopSurface = 0
  1540. Bar.BottomSurface = 0
  1541. Bar.formFactor = "Symmetric"
  1542. Bar.Size = Vector3.new(1, 1, 1)
  1543. Bar.Transparency = 1
  1544. Bar.CFrame = torso.CFrame * CFrame.new(0, 0.5, 0)
  1545. Bar.Parent = char
  1546. local Weld = Instance.new("Weld")
  1547. Weld.Part0 = torso
  1548. Weld.Part1 = Bar
  1549. Weld.C0 = CFrame.new(0, 0.5, 0)
  1550. Weld.Parent = torso
  1551. --]]
  1552.  
  1553. torso.CFrame = CFrame.new(torso.Position)*CFrame.Angles(math.rad(20),math.rad(torso.Orientation.Y),math.rad(torso.Orientation.Z))
  1554.  
  1555. end
  1556.  
  1557. -------------------------------------------------------
  1558. --End Kyu's shitty stuff--
  1559. -------------------------------------------------------
  1560.  
  1561. function New(Object, Parent, Name, Data)
  1562. local Object = Instance.new(Object)
  1563. for Index, Value in pairs(Data or {}) do
  1564. Object[Index] = Value
  1565. end
  1566. Object.Parent = Parent
  1567. Object.Name = Name
  1568. return Object
  1569. end
  1570.  
  1571. local Blood1 = Create("ParticleEmitter")({
  1572. Color = ColorSequence.new(Color3.new(0.7, 0, 0), Color3.new(0.1, 0, 0)),
  1573. Transparency = NumberSequence.new(0.1, 1),
  1574. Size = NumberSequence.new(0.5, 0),
  1575. Texture = "rbxassetid://602578593",
  1576. Lifetime = NumberRange.new(0.8),
  1577. Rate = 255,
  1578. VelocitySpread = 40,
  1579. Rotation = NumberRange.new(100),
  1580. Speed = NumberRange.new(5),
  1581. LightEmission = 0,
  1582. LockedToPart = false,
  1583. Acceleration = Vector3.new(0, -10, 0),
  1584. EmissionDirection = "Bottom"
  1585. })
  1586.  
  1587.  
  1588. -------------------------------------------------------
  1589. --End Important Functions--
  1590. -------------------------------------------------------
  1591.  
  1592.  
  1593. -------------------------------------------------------
  1594. --Start Music Option--
  1595. -------------------------------------------------------
  1596. z = Instance.new("Sound",tors)
  1597. z.Name = "musiccc"
  1598. z.Looped = true
  1599. z.SoundId = "rbxassetid://639558149"
  1600. z.TimePosition = 1
  1601. z.Volume = 2.5
  1602. z:Play()
  1603.  
  1604.  
  1605.  
  1606. -------------------------------------------------------
  1607. --End Music Option--
  1608. -------------------------------------------------------
  1609.  
  1610.  
  1611. -------------------------------------------------------
  1612. --Start Attacks N Stuff--
  1613. -------------------------------------------------------
  1614.  
  1615.  
  1616.  
  1617.  
  1618. local sine=0
  1619. function ByeBye()
  1620. local target = nil
  1621. local targettorso = nil
  1622. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  1623. if mouse.Target.Parent.Humanoid.PlatformStand == false then
  1624. target = mouse.Target.Parent.Humanoid
  1625. targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
  1626. targethead = mouse.Target.Parent:FindFirstChild("Head")
  1627. end
  1628. end
  1629. if target ~= nil then
  1630. targettorso.Anchored = true
  1631. attack = true
  1632. hum.WalkSpeed = 0
  1633. root.CFrame = targettorso.CFrame * CF(0,0,2)
  1634. for i = 0,4.2,0.1 do
  1635. swait()
  1636. 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)
  1637. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1638. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  1639. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  1640. RW.C0 = clerp(RW.C0, CF(1.1, 0.7 + 0.05 * Sin(sine / 30), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(115), Rad(0), Rad(-15)), 0.1)
  1641. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(-25)), 0.1)
  1642. end
  1643. Effects.Ring.Create(BrickColor.new("Really black"), tors.CFrame, 2, 2, 2, 7.6, 7.6, 7.6, 0.03)
  1644. targethead:Remove()
  1645. CreateSound("429400881", targettorso, 5, .8)
  1646. CreateSound("1093102664", targettorso, 10, 1)
  1647. for i = 0,6.2,0.1 do
  1648. swait()
  1649. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(110)), 0.15)
  1650. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-110)), 0.3)
  1651. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  1652. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  1653. RW.C0 = clerp(RW.C0, CF(1.3, 0.7 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(100), Rad(0), Rad(-15)), 0.1)
  1654. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  1655. end
  1656. targettorso.Anchored = false
  1657. attack = false
  1658. hum.WalkSpeed = 16
  1659. root.CFrame = targettorso.CFrame * CF(0,0,3)
  1660. end
  1661. end
  1662. function smashing()
  1663. attack = true
  1664. for i = 0, 2, 0.1 do
  1665. swait()
  1666. RH.C0=clerp(RH.C0,cf(1,-.5,-.7)*RHCF*angles(math.rad(-4.5),math.rad(-2.5),math.rad(0)),0.15)
  1667. LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1,0)*LHCF*angles(math.rad(-4.5),math.rad(-2.5),math.rad(10)),0.15)
  1668. rootj.C0 = clerp(rootj.C0,RootCF*cf(0,0,0)* angles(math.rad(-15),math.rad(0),math.rad(0)),.3)
  1669. tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1670. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-180), math.rad(0), math.rad(15)), 0.3)
  1671. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-180), math.rad(0), math.rad(-15)), 0.3)
  1672. end
  1673. for i = 0,2,0.1 do
  1674. swait()
  1675. RH.C0=clerp(RH.C0,cf(1,-.9,-.7)*RHCF*angles(math.rad(-4.5),math.rad(-2.5),math.rad(0)),0.15)
  1676. LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1,0)*LHCF*angles(math.rad(-4.5),math.rad(-2.5),math.rad(10)),0.15)
  1677. rootj.C0 = clerp(rootj.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1678. tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1679. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-0), math.rad(0), math.rad(2.5)), 0.3)
  1680. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-0), math.rad(0), math.rad(-2.5)), 0.3)
  1681. end
  1682. Effects.Ring.Create(BrickColor.new("White"), root.CFrame * CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(90), 0, 0), 3, 3, 1, 4, 4, 0, .06)
  1683. for i = 1, 5 do
  1684. local pa = New("Part",char,"Hit"..i,{Anchored=true,CanCollide = false,CFrame = (root.CFrame * CFrame.new(0,-4.04159951,-(i*5))),Size=Vector3.new(3,7,3)})
  1685. local startpos = (root.CFrame * CFrame.new(0,-2.04159951,-(i*5))).p;
  1686. local endpos = (root.CFrame * CFrame.new(0,-2.04159951,-(i*5))).p + Vector3.new(0,-1,0);
  1687. local length = 200;
  1688.  
  1689. local ray = Ray.new(startpos, (endpos - startpos).unit*length)
  1690. local hit, hitpos = workspace:FindPartOnRay( ray, char )
  1691. local size = (startpos-hitpos).magnitude
  1692. if hit and hit.CanCollide then
  1693. pa.BrickColor = hit.BrickColor;
  1694. pa.Material = hit.Material;
  1695. pa.Transparency = hit.Transparency
  1696. pa.Reflectance = hit.Reflectance
  1697. pa.TopSurface,pa.BottomSurface,pa.BackSurface,pa.LeftSurface,pa.RightSurface,pa.FrontSurface = hit.TopSurface,hit.BottomSurface,hit.BackSurface,hit.LeftSurface,hit.RightSurface,hit.FrontSurface
  1698. pa.CFrame = CFrame.new(hitpos)*CFrame.new(0,-0.5,0)
  1699. for i = 3, 15 do
  1700. local aa = pa:Clone()
  1701. aa.Parent = workspace
  1702. aa.Name = pa.Name.."Fly"..i
  1703. aa.CanCollide = false
  1704. aa.Anchored = false
  1705. aa.CFrame = CFrame.new(hitpos)*CFrame.new(0,-2,0)
  1706. aa.Size = Vector3.new(.75,.75,.75)
  1707. aa.Velocity = Vector3.new(math.random(-25,25),65,math.random(-25,25))
  1708. game:service'Debris':AddItem(aa,2)
  1709. end
  1710.  
  1711. else
  1712. pa:remove()
  1713. end
  1714. coroutine.wrap(function()
  1715. for i = 1,5,.3 do
  1716. pa.CFrame = pa.CFrame*CFrame.new(0,.3,0)
  1717. swait()
  1718. end
  1719. end)()
  1720. local Dealt = {}
  1721. for i,v in next, workspace:children() do
  1722. local h = v:FindFirstChildOfClass"Humanoid"
  1723. if h and v ~= char then
  1724. for _,p in next, v:children() do
  1725. if p and p:IsA"BasePart" and not Dealt[h] then
  1726. if (p.CFrame.p - pa.CFrame.p).magnitude <= 5 then
  1727. MagniDamage(tors, 25, 20, 40, 1, "Knockdown", "", 1)
  1728. Dealt[h] = true
  1729. end
  1730. end
  1731. end
  1732. end
  1733. end
  1734. coroutine.wrap(function()
  1735. wait(1)
  1736. pa.Anchored = false
  1737. pa.Velocity = Vector3.new(math.random(-25,25),math.random(25,50),math.random(-25,25))
  1738. for i = 0, 1, .1 do
  1739. pa.Transparency = i
  1740. wait()
  1741. end
  1742. pa:destroy()
  1743. end)()
  1744. wait(.1)
  1745. end
  1746. attack = false
  1747. end
  1748. sine = 0
  1749. function DropTest()
  1750. local target = nil
  1751. local targettorso = nil
  1752. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  1753. if mouse.Target.Parent.Humanoid.PlatformStand == false then
  1754. target = mouse.Target.Parent.Humanoid
  1755. targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
  1756. targethead = mouse.Target.Parent:FindFirstChild("Head")
  1757. targetrightarm = mouse.Target.Parent:FindFirstChild("Right Arm")
  1758. targetleftarm = mouse.Target.Parent:FindFirstChild("Left Arm")
  1759. end
  1760. end
  1761. if target ~= nil then
  1762. targettorso.Anchored = true
  1763. attack = true
  1764. hum.WalkSpeed = 0
  1765. root.CFrame = targettorso.CFrame * CF(0,0,2.4)
  1766. attack = true
  1767. local bodyVelocity = Create("BodyVelocity")({
  1768. velocity = Vector3.new(0, 100, 0) + root.CFrame.lookVector * 40,
  1769. P = 5000,
  1770. maxForce = Vector3.new(50000, 50000, 50000),
  1771. Parent = root
  1772. })
  1773. game:GetService("Debris"):AddItem(bodyVelocity, 0.2)
  1774. CreateSound("429400881", ra, 5, .8)
  1775. targethead:Remove()
  1776. for i = 0, 2, 0.1 do
  1777. swait()
  1778. Effects.Block.Create(BrickColor.new("Royal purple"), ra.CFrame, 2, 2, 2, 2, 2, 2, 0.05)
  1779. Effects.Block.Create(BrickColor.new("Royal purple"), ra.CFrame, 2, 2, 2, 2, 2, 2, 0.05)
  1780. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, 0 + 0.1 * math.cos(sine / 25)) * angles(math.rad(0 + 360 * i), math.rad(0), math.rad(0)), 0.5)
  1781. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(45), math.rad(0), math.rad(0)), 0.1)
  1782. RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.4) * angles(math.rad(80), math.rad(0 * math.cos(sine / 25)), math.rad(-45)), 0.2)
  1783. LW.C0 = clerp(LW.C0, CFrame.new(-1.1, 0.5, -0.4) * angles(math.rad(70), math.rad(0), math.rad(55)), 0.2)
  1784. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-1 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-20 - 2 * math.cos(sine / 25))), 0.2)
  1785. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.1 - 0.1 * math.cos(sine / 25), -0.6) * LHCF * angles(math.rad(-1 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(20 + 2 * math.cos(sine / 25))), 0.2)
  1786. end
  1787.  
  1788. while inair == true do
  1789. swait()
  1790. Effects.Block.Create(BrickColor.new("Royal purple"), targethead.CFrame, 2, 2, 2, 2, 2, 2, 0.05)
  1791. Effects.Block.Create(BrickColor.new("Royal purple"), targethead.CFrame, 2, 2, 2, 2, 2, 2, 0.05)
  1792. RH.C0=clerp(RH.C0,cf(1,-.5,-.7)*RHCF*angles(math.rad(-4.5),math.rad(-2.5),math.rad(0)),0.15)
  1793. LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1,0)*LHCF*angles(math.rad(-4.5),math.rad(-2.5),math.rad(10)),0.15)
  1794. rootj.C0 = clerp(rootj.C0,RootCF*cf(0,0,0)* angles(math.rad(-15),math.rad(0),math.rad(0)),.3)
  1795. tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1796. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-180), math.rad(0), math.rad(15)), 0.3)
  1797. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-180), math.rad(0), math.rad(-15)), 0.3)
  1798. end
  1799.  
  1800. for i = 0, 1, 0.1 do
  1801. swait()
  1802. RH.C0=clerp(RH.C0,cf(1,-.9,-.7)*RHCF*angles(math.rad(-4.5),math.rad(-2.5),math.rad(0)),0.15)
  1803. LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1,0)*LHCF*angles(math.rad(-4.5),math.rad(-2.5),math.rad(10)),0.15)
  1804. rootj.C0 = clerp(rootj.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1805. tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1806. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-0), math.rad(0), math.rad(2.5)), 0.3)
  1807. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-0), math.rad(0), math.rad(-2.5)), 0.3)
  1808. end
  1809.  
  1810.  
  1811. attack = false
  1812. hum.WalkSpeed = 16
  1813. end
  1814. end
  1815.  
  1816. function stompyboi()
  1817. attack = true
  1818. local bodyVelocity = Create("BodyVelocity")({
  1819. velocity = Vector3.new(0, 100, 0) + root.CFrame.lookVector * 40,
  1820. P = 5000,
  1821. maxForce = Vector3.new(50000, 50000, 50000),
  1822. Parent = root
  1823. })
  1824. game:GetService("Debris"):AddItem(bodyVelocity, 0.2)
  1825. for i = 0, 2, 0.1 do
  1826. swait()
  1827. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, 0 + 0.1 * math.cos(sine / 25)) * angles(math.rad(0 + 360 * i), math.rad(0), math.rad(0)), 0.5)
  1828. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(45), math.rad(0), math.rad(0)), 0.1)
  1829. RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.4) * angles(math.rad(80), math.rad(0 * math.cos(sine / 25)), math.rad(-45)), 0.2)
  1830. LW.C0 = clerp(LW.C0, CFrame.new(-1.1, 0.5, -0.4) * angles(math.rad(70), math.rad(0), math.rad(55)), 0.2)
  1831. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-1 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-20 - 2 * math.cos(sine / 25))), 0.2)
  1832. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.1 - 0.1 * math.cos(sine / 25), -0.6) * LHCF * angles(math.rad(-1 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(20 + 2 * math.cos(sine / 25))), 0.2)
  1833. end
  1834. while inair == true do
  1835. swait()
  1836. RH.C0=clerp(RH.C0,cf(1,-.5,-.7)*RHCF*angles(math.rad(-4.5),math.rad(-2.5),math.rad(0)),0.15)
  1837. LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1,0)*LHCF*angles(math.rad(-4.5),math.rad(-2.5),math.rad(10)),0.15)
  1838. rootj.C0 = clerp(rootj.C0,RootCF*cf(0,0,0)* angles(math.rad(-15),math.rad(0),math.rad(0)),.3)
  1839. tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1840. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-180), math.rad(0), math.rad(15)), 0.3)
  1841. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-180), math.rad(0), math.rad(-15)), 0.3)
  1842. end
  1843. for i = 0, 1, 0.1 do
  1844. swait()
  1845. RH.C0=clerp(RH.C0,cf(1,-.9,-.7)*RHCF*angles(math.rad(-4.5),math.rad(-2.5),math.rad(0)),0.15)
  1846. LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1,0)*LHCF*angles(math.rad(-4.5),math.rad(-2.5),math.rad(10)),0.15)
  1847. rootj.C0 = clerp(rootj.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1848. tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1849. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-0), math.rad(0), math.rad(2.5)), 0.3)
  1850. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-0), math.rad(0), math.rad(-2.5)), 0.3)
  1851. end
  1852.  
  1853. attack = false
  1854. end
  1855.  
  1856. function Purity_Slam()
  1857. attack = true
  1858. for i = 0,5.2,0.1 do
  1859. swait()
  1860. 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)
  1861. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1862. 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)
  1863. 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)
  1864. 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)
  1865. LW.C0 = clerp(LW.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)
  1866. end
  1867. CreateSound("331666100", tors, 10, 1)
  1868. Effects.Ring.Create(BrickC("Really black"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 3.6, 3.6, 3.6, 0.03)
  1869. Effects.Ring.Create(BrickC("Royal purple"), root.CFrame * CF(0, -2.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 5.6, 5.6, 5.6, 0.03)
  1870. Effects.Ring.Create(BrickC("Really black"), root.CFrame * CF(0, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 8.6, 8.6, 8.6, 0.03)
  1871. Effects.Ring.Create(BrickC("Royal purple"), root.CFrame * CF(0, -1.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 10.6, 10, 10, 0.03)
  1872. MagniDamage(tors, 12, 40, 60, 10, "Normal")
  1873. coroutine.resume(coroutine.create(function()
  1874. for i = 0,1.8,0.1 do
  1875. swait()
  1876. hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
  1877. end
  1878. for i = 0,1.8,0.1 do
  1879. swait()
  1880. hum.CameraOffset = Vector3.new(0,0,0)
  1881. end
  1882. end))
  1883. for i = 1,4.7,0.1 do
  1884. 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)
  1885. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
  1886. 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)
  1887. 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)
  1888. RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.1)
  1889. 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(-25)), 0.1)
  1890. end
  1891. wait(.6)
  1892. attack = false
  1893. end
  1894. function Ending()
  1895. local target = nil
  1896. local targettorso = nil
  1897. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  1898. if mouse.Target.Parent.Humanoid.PlatformStand == false then
  1899. target = mouse.Target.Parent.Humanoid
  1900. targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
  1901. targethead = mouse.Target.Parent:FindFirstChild("Head")
  1902. end
  1903. end
  1904. if target ~= nil then
  1905. targettorso.Anchored = true
  1906. attack = true
  1907. hum.WalkSpeed = 0
  1908. root.CFrame = targettorso.CFrame * CF(0,0,2.6)
  1909. for i = 0,1.8,0.1 do
  1910. swait()
  1911. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-65)), 0.15)
  1912. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(65)), 0.3)
  1913. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15)
  1914. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15)
  1915. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(35)), 0.1)
  1916. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
  1917. end
  1918. targettorso:BreakJoints()
  1919. targettorso:Remove()
  1920. CreateSound("331666100", ra, 4, 1)
  1921. CreateSound("180083286", targettorso, 10, 1)
  1922. coroutine.resume(coroutine.create(function()
  1923. for i = 0,1.8,0.1 do
  1924. swait()
  1925. hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
  1926. end
  1927. for i = 0,1.8,0.1 do
  1928. swait()
  1929. hum.CameraOffset = Vector3.new(0,0,0)
  1930. end
  1931. end))
  1932. for i = 0,4.6,0.1 do
  1933. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15)
  1934. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
  1935. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15)
  1936. LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15)
  1937. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1)
  1938. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
  1939. end
  1940. wait(.6)
  1941. root.CFrame = targettorso.CFrame * CF(0,0,5.6)
  1942. attack = false
  1943. hum.WalkSpeed = 8
  1944. end
  1945. end
  1946. function blastyboi()
  1947. attack = true
  1948. hum.WalkSpeed = 0
  1949. for i = 0,4.5, 0.1 do
  1950. swait()
  1951. Effects.Block.Create(maincolor, ra.CFrame * CFrame.new(0, -1.5, 0), 23, 23, 23, .6, .6, .6, .1)
  1952.  
  1953. RH.C0=clerp(RH.C0,cf(1,-.9,-0)*RHCF*angles(math.rad(-4.5),math.rad(-2.5),math.rad(0)),0.15)
  1954. LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1,0)*LHCF*angles(math.rad(-4.5),math.rad(-2.5),math.rad(10)),0.15)
  1955. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-65)),.3)
  1956. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.05, 0) * angles(math.rad(0), math.rad(0), math.rad(-35)), 0.1)
  1957. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1)*angles(math.rad(0),math.rad(0),math.rad(90)),0.15)
  1958. RW.C0=clerp(RW.C0,CFrame.new(1.5,0.5+0.05,0)*angles(math.rad(90),math.rad(0),math.rad(90)),0.15)
  1959. end
  1960.  
  1961. ref = New("Part",hed,"ref",{Anchored = true, CanCollide = false,Transparency = 1,Size = Vector3.new(0.200000018, 0.299999923, 0.2),CFrame = root.CFrame,Color = Color3.new(0, 1, 0),})
  1962. coroutine.resume(coroutine.create(function()
  1963. for i = 1, 60 do
  1964. swait()
  1965. ref.CFrame = ref.CFrame * CFrame.new(0,0,-2)
  1966. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=166038742", ref, 5, 1.1)
  1967. Effects.Break.Create (maincolor, ref.CFrame , 5, 5, 5, 0, 0, 0, .1)
  1968.  
  1969. MagniDamage(ref, 12, 10, 20, -10, "Normal", "179515215", 1.5)
  1970. end
  1971. ref:Remove()
  1972. end))
  1973. for i = 0, 1, 0.1 do
  1974. swait()
  1975. RH.C0=clerp(RH.C0,cf(1,-.9,-0)*RHCF*angles(math.rad(-4.5),math.rad(-2.5),math.rad(0)),0.15)
  1976. LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1,0)*LHCF*angles(math.rad(-4.5),math.rad(-2.5),math.rad(10)),0.15)
  1977. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-65)),.3)
  1978. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.05, 0) * angles(math.rad(0), math.rad(0), math.rad(-35)), 0.1)
  1979. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1)*angles(math.rad(0),math.rad(0),math.rad(90)),0.15)
  1980. RW.C0=clerp(RW.C0,CFrame.new(1.5,0.5+0.05,0)*angles(math.rad(90),math.rad(0),math.rad(90)),0.15)
  1981. end
  1982. attack = false
  1983. hum.WalkSpeed = 16
  1984. end
  1985. function Sayonara()
  1986. local target = nil
  1987. local targettorso = nil
  1988. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  1989. if mouse.Target.Parent.Humanoid.PlatformStand == false then
  1990. target = mouse.Target.Parent.Humanoid
  1991. targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
  1992. targethead = mouse.Target.Parent:FindFirstChild("Head")
  1993. targetrightarm = mouse.Target.Parent:FindFirstChild("Right Arm")
  1994. targetleftarm = mouse.Target.Parent:FindFirstChild("Left Arm")
  1995. end
  1996. end
  1997. if target ~= nil then
  1998. targettorso.Anchored = true
  1999. attack = true
  2000. hum.WalkSpeed = 0
  2001. root.CFrame = targettorso.CFrame * CF(0,0,2.4)
  2002.  
  2003. for i = 0,3.2,0.1 do
  2004. swait()
  2005. Effects.Block.Create(BrickColor.new("Royal purple"), ra.CFrame, 2, 2, 2, 2, 2, 2, 0.05)
  2006. Effects.Block.Create(BrickColor.new("Royal purple"), ra.CFrame, 2, 2, 2, 2, 2, 2, 0.05)
  2007. Effects.Block.Create(BrickColor.new("Royal purple"), la.CFrame, 2, 2, 2, 2, 2, 2, 0.05)
  2008. Effects.Block.Create(BrickColor.new("Royal purple"), la.CFrame, 2, 2, 2, 2, 2, 2, 0.05)
  2009. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  2010. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(10), Rad(0)), 0.3)
  2011. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(10)), 0.15)
  2012. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-10)), 0.15)
  2013. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(10)), 0.1)
  2014. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-10)), 0.1)
  2015. end
  2016. do
  2017. CreateSound("429400881", targettorso, 5, 1)
  2018. local ModelArm02 = New("Model", char, "Arm", {})
  2019. local ModelArm03 = New("Model", char, "Arm", {})
  2020. local Humanoid02 = New("Humanoid", ModelArm02, "Humanoid", {})
  2021. local Humanoid03 = New("Humanoid", ModelArm03, "Humanoid", {})
  2022. local Arm02 = targetleftarm:Clone()
  2023. local Arm03 = targetrightarm:Clone()
  2024. targetleftarm.Transparency = 1
  2025. targetrightarm.Transparency = 1
  2026. Arm02.Parent = ModelArm02
  2027. Arm03.Parent = ModelArm03
  2028. for i, v in pairs(Arm02:GetChildren()) do
  2029. v:Destroy()
  2030. end
  2031. for i, v in pairs(Arm03:GetChildren()) do
  2032. v:Destroy()
  2033. end
  2034. local weldArm02 = Instance.new("Weld")
  2035. weldArm02.Parent = Arm02
  2036. weldArm02.Part0 = targetleftarm
  2037. weldArm02.Part1 = Arm02
  2038. weldArm02.C1 = CFrame.new(0, 0, 0)
  2039. local weldArm03 = Instance.new("Weld")
  2040. weldArm03.Parent = Arm03
  2041. weldArm03.Part0 = targetrightarm
  2042. weldArm03.Part1 = Arm03
  2043. weldArm03.C1 = CFrame.new(0, 0, 0)
  2044. for i, v in pairs(target:GetChildren()) do
  2045. if v:IsA("Shirt") then
  2046. v:clone().Parent = ModelArm02
  2047. end
  2048. end
  2049. for i, v in pairs(target:GetChildren()) do
  2050. if v:IsA("Shirt") then
  2051. v:clone().Parent = ModelArm03
  2052. end
  2053. end
  2054. weldArm02.Part0 = la
  2055. weldArm02.C1 = CFrame.new(0, 0, 1.2) * angles(math.rad(90), math.rad(0), math.rad(0))
  2056. weldArm03.Part0 = ra
  2057. weldArm03.C1 = CFrame.new(0, 0, 1.2) * angles(math.rad(90), math.rad(0), math.rad(0))
  2058. local BE1 = Blood1:Clone()
  2059. BE1.Parent = targetleftarm
  2060. game:GetService("Debris"):AddItem(BE1, 3)
  2061. BE1.Rate = 255
  2062. local BE2 = Blood1:Clone()
  2063. BE2.Parent = targetrightarm
  2064. game:GetService("Debris"):AddItem(BE2, 3)
  2065. BE2.Rate = 255
  2066. for i = 0,4.2,0.1 do
  2067. swait()
  2068. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-10), Rad(0), Rad(0)), 0.15)
  2069. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  2070. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(-10)), 0.15)
  2071. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(10)), 0.15)
  2072. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), .6 + 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(15)), 0.1)
  2073. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), .6 + 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1)
  2074. end
  2075. for i = 0,6.2,0.1 do
  2076. swait()
  2077. 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)
  2078. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  2079. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(-20)), 0.15)
  2080. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(20)), 0.15)
  2081. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(0), Rad(15)), 0.1)
  2082. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(0), Rad(-15)), 0.1)
  2083. end
  2084. CreateSound("541909763", targettorso, 5, .8)
  2085. weldArm02:Destroy()
  2086. Arm02.CanCollide = true
  2087. weldArm03:Destroy()
  2088. Arm03.CanCollide = true
  2089. local bodyVelocity2 = Create("BodyVelocity")({
  2090. velocity = Vector3.new(0, 10, 0) + root.CFrame.lookVector * 50,
  2091. P = 5000,
  2092. maxForce = Vector3.new(8000, 8000, 8000),
  2093. Parent = Arm02
  2094. })
  2095. local bodyVelocity3 = Create("BodyVelocity")({
  2096. velocity = Vector3.new(0, 10, 0) + root.CFrame.lookVector * 50,
  2097. P = 5000,
  2098. maxForce = Vector3.new(8000, 8000, 8000),
  2099. Parent = Arm03
  2100. })
  2101. game:GetService("Debris"):AddItem(bodyVelocity2, 0.05)
  2102. game:GetService("Debris"):AddItem(bodyVelocity3, 0.05)
  2103. for i = 0,6.2,0.1 do
  2104. swait()
  2105. 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)
  2106. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  2107. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(35)), 0.15)
  2108. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-20)), 0.15)
  2109. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(95), Rad(0), Rad(15)), 0.1)
  2110. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(95), Rad(0), Rad(-15)), 0.1)
  2111. end
  2112. for i = 0,6.2,0.1 do
  2113. swait()
  2114. Effects.Block.Create(BrickColor.new("Royal purple"), rl.CFrame, 2, 2, 2, 2, 2, 2, 0.05)
  2115. Effects.Block.Create(BrickColor.new("Royal purple"), rl.CFrame, 2, 2, 2, 2, 2, 2, 0.05)
  2116. 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)
  2117. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  2118. RH.C0 = clerp(RH.C0, CF(1, -0.3 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(90)), 0.15)
  2119. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(20)), 0.15)
  2120. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(0), Rad(15)), 0.1)
  2121. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(0), Rad(-15)), 0.1)
  2122.  
  2123. end
  2124. CreateSound("514867425", rl, 5, .8)
  2125. Effects.Ring.Create(BrickColor.new("Really black"), tors.CFrame, 2, 2, 2, 7.6, 7.6, 7.6, 0.03)
  2126. targettorso:Remove()
  2127. for i = 0,6.2,0.1 do
  2128. swait()
  2129.  
  2130. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -2.5, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(35), Rad(0), Rad(0)), 0.15)
  2131. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  2132. RH.C0 = clerp(RH.C0, CF(1, -0.2 - 0.1 * Cos(sine / 20), -.5 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(90)), 0.15)
  2133. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-35)), 0.15)
  2134. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-55), Rad(0), Rad(15)), 0.1)
  2135. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-55), Rad(0), Rad(-15)), 0.1)
  2136. end
  2137. end
  2138. targettorso.Anchored = false
  2139. attack = false
  2140. hum.WalkSpeed = 16
  2141. root.CFrame = targettorso.CFrame * CF(0,0,3.4)
  2142. end
  2143. end
  2144.  
  2145. function SayonaraSerious()
  2146. local target = nil
  2147. local targettorso = nil
  2148. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  2149. if mouse.Target.Parent.Humanoid.PlatformStand == false then
  2150. target = mouse.Target.Parent.Humanoid
  2151. targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
  2152. targethead = mouse.Target.Parent:FindFirstChild("Head")
  2153. targetrightarm = mouse.Target.Parent:FindFirstChild("Right Arm")
  2154. targetleftarm = mouse.Target.Parent:FindFirstChild("Left Arm")
  2155. end
  2156. end
  2157. if target ~= nil then
  2158. targettorso.Anchored = true
  2159. attack = true
  2160. hum.WalkSpeed = 0
  2161. root.CFrame = targettorso.CFrame * CF(0,0,2.4)
  2162.  
  2163. for i = 0,1.2,0.1 do
  2164. swait()
  2165. Effects.Block.Create(BrickColor.new("Royal purple"), ra.CFrame, 2, 2, 2, 2, 2, 2, 0.05)
  2166. Effects.Block.Create(BrickColor.new("Royal purple"), ra.CFrame, 2, 2, 2, 2, 2, 2, 0.05)
  2167. Effects.Block.Create(BrickColor.new("Royal purple"), la.CFrame, 2, 2, 2, 2, 2, 2, 0.05)
  2168. Effects.Block.Create(BrickColor.new("Royal purple"), la.CFrame, 2, 2, 2, 2, 2, 2, 0.05)
  2169. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  2170. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(10), Rad(0)), 0.3)
  2171. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(10)), 0.15)
  2172. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-10)), 0.15)
  2173. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(10)), 0.1)
  2174. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-10)), 0.1)
  2175. end
  2176. do
  2177. CreateSound("429400881", targettorso, 5, 1)
  2178. local ModelArm02 = New("Model", char, "Arm", {})
  2179. local ModelArm03 = New("Model", char, "Arm", {})
  2180. local Humanoid02 = New("Humanoid", ModelArm02, "Humanoid", {})
  2181. local Humanoid03 = New("Humanoid", ModelArm03, "Humanoid", {})
  2182. local Arm02 = targetleftarm:Clone()
  2183. local Arm03 = targetrightarm:Clone()
  2184. targetleftarm.Transparency = 1
  2185. targetrightarm.Transparency = 1
  2186. Arm02.Parent = ModelArm02
  2187. Arm03.Parent = ModelArm03
  2188. for i, v in pairs(Arm02:GetChildren()) do
  2189. v:Destroy()
  2190. end
  2191. for i, v in pairs(Arm03:GetChildren()) do
  2192. v:Destroy()
  2193. end
  2194. local weldArm02 = Instance.new("Weld")
  2195. weldArm02.Parent = Arm02
  2196. weldArm02.Part0 = targetleftarm
  2197. weldArm02.Part1 = Arm02
  2198. weldArm02.C1 = CFrame.new(0, 0, 0)
  2199. local weldArm03 = Instance.new("Weld")
  2200. weldArm03.Parent = Arm03
  2201. weldArm03.Part0 = targetrightarm
  2202. weldArm03.Part1 = Arm03
  2203. weldArm03.C1 = CFrame.new(0, 0, 0)
  2204. for i, v in pairs(target:GetChildren()) do
  2205. if v:IsA("Shirt") then
  2206. v:clone().Parent = ModelArm02
  2207. end
  2208. end
  2209. for i, v in pairs(target:GetChildren()) do
  2210. if v:IsA("Shirt") then
  2211. v:clone().Parent = ModelArm03
  2212. end
  2213. end
  2214. weldArm02.Part0 = la
  2215. weldArm02.C1 = CFrame.new(0, 0, 1.2) * angles(math.rad(90), math.rad(0), math.rad(0))
  2216. weldArm03.Part0 = ra
  2217. weldArm03.C1 = CFrame.new(0, 0, 1.2) * angles(math.rad(90), math.rad(0), math.rad(0))
  2218. local BE1 = Blood1:Clone()
  2219. BE1.Parent = targetleftarm
  2220. game:GetService("Debris"):AddItem(BE1, 3)
  2221. BE1.Rate = 255
  2222. local BE2 = Blood1:Clone()
  2223. BE2.Parent = targetrightarm
  2224. game:GetService("Debris"):AddItem(BE2, 3)
  2225. BE2.Rate = 255
  2226. for i = 0,2.2,0.1 do
  2227. swait()
  2228. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-10), Rad(0), Rad(0)), 0.15)
  2229. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  2230. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(-10)), 0.15)
  2231. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(10)), 0.15)
  2232. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), .6 + 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(15)), 0.1)
  2233. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), .6 + 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1)
  2234. end
  2235. for i = 0,2,0.1 do
  2236. swait()
  2237. 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)
  2238. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  2239. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(-20)), 0.15)
  2240. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(20)), 0.15)
  2241. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(0), Rad(15)), 0.1)
  2242. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(0), Rad(-15)), 0.1)
  2243. end
  2244. CreateSound("541909763", targettorso, 5, .8)
  2245. weldArm02:Destroy()
  2246. Arm02.CanCollide = true
  2247. weldArm03:Destroy()
  2248. Arm03.CanCollide = true
  2249. local bodyVelocity2 = Create("BodyVelocity")({
  2250. velocity = Vector3.new(0, 10, 0) + root.CFrame.lookVector * 50,
  2251. P = 5000,
  2252. maxForce = Vector3.new(8000, 8000, 8000),
  2253. Parent = Arm02
  2254. })
  2255. local bodyVelocity3 = Create("BodyVelocity")({
  2256. velocity = Vector3.new(0, 10, 0) + root.CFrame.lookVector * 50,
  2257. P = 5000,
  2258. maxForce = Vector3.new(8000, 8000, 8000),
  2259. Parent = Arm03
  2260. })
  2261. game:GetService("Debris"):AddItem(bodyVelocity2, 0.05)
  2262. game:GetService("Debris"):AddItem(bodyVelocity3, 0.05)
  2263. for i = 0,1.5,0.1 do
  2264. swait()
  2265. 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)
  2266. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  2267. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(35)), 0.15)
  2268. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-20)), 0.15)
  2269. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(95), Rad(0), Rad(15)), 0.1)
  2270. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(95), Rad(0), Rad(-15)), 0.1)
  2271. end
  2272. for i = 0,6.2,0.1 do
  2273. swait()
  2274. Effects.Block.Create(BrickColor.new("Royal purple"), rl.CFrame, 2, 2, 2, 2, 2, 2, 0.05)
  2275. Effects.Block.Create(BrickColor.new("Royal purple"), rl.CFrame, 2, 2, 2, 2, 2, 2, 0.05)
  2276. 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)
  2277. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  2278. RH.C0 = clerp(RH.C0, CF(1, -0.3 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(90)), 0.15)
  2279. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(20)), 0.15)
  2280. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(0), Rad(15)), 0.1)
  2281. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(0), Rad(-15)), 0.1)
  2282.  
  2283. end
  2284. CreateSound("514867425", rl, 5, .8)
  2285. Effects.Ring.Create(BrickColor.new("Really black"), tors.CFrame, 2, 2, 2, 7.6, 7.6, 7.6, 0.03)
  2286. targettorso:Remove()
  2287. for i = 0,6.2,0.1 do
  2288. swait()
  2289.  
  2290. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -2.5, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(35), Rad(0), Rad(0)), 0.15)
  2291. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  2292. RH.C0 = clerp(RH.C0, CF(1, -0.2 - 0.1 * Cos(sine / 20), -.5 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(90)), 0.15)
  2293. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-35)), 0.15)
  2294. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-55), Rad(0), Rad(15)), 0.1)
  2295. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-55), Rad(0), Rad(-15)), 0.1)
  2296. end
  2297. end
  2298. targettorso.Anchored = false
  2299. attack = false
  2300. hum.WalkSpeed = 16
  2301. root.CFrame = targettorso.CFrame * CF(0,0,3.4)
  2302. end
  2303. end
  2304.  
  2305. function AlohaMyFriend()
  2306. local target = nil
  2307. local targettorso = nil
  2308. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  2309. if mouse.Target.Parent.Humanoid.PlatformStand == false then
  2310. target = mouse.Target.Parent.Humanoid
  2311. targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
  2312. targethead = mouse.Target.Parent:FindFirstChild("Head")
  2313. end
  2314. end
  2315. if target ~= nil then
  2316. targettorso.Anchored = true
  2317. attack = true
  2318. hum.WalkSpeed = 0
  2319. root.CFrame = targettorso.CFrame * CF(0,0,2.6)
  2320. for i = 0,6.2,0.1 do
  2321. swait()
  2322. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(20)), 0.15)
  2323. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-20)), 0.3)
  2324. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  2325. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  2326. RW.C0 = clerp(RW.C0, CF(1.1, 0.7 + 0.05 * Sin(sine / 30), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(115), Rad(0), Rad(-15)), 0.1)
  2327. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
  2328. end
  2329. local ModelHead01 = New("Model", char, "Head of Decapitated", {})
  2330. local Humanoid01 = New("Humanoid", ModelHead01, "Humanoid", {})
  2331. local Head01 = targethead:Clone()
  2332. targethead.Transparency = 1
  2333. Head01.Parent = ModelHead01
  2334. local weldHead01 = Instance.new("Weld")
  2335. weldHead01.Parent = Head01
  2336. weldHead01.Part0 = targethead
  2337. weldHead01.Part1 = Head01
  2338. weldHead01.C1 = CFrame.new(0, 0, 0)
  2339. targethead.face:Remove()
  2340. weldHead01.Part0 = ra
  2341. weldHead01.C1 = CFrame.new(0, 0, 1.2) * angles(math.rad(90), math.rad(0), math.rad(0))
  2342. local BE1 = Blood1:Clone()
  2343. BE1.Parent = targethead
  2344. game:GetService("Debris"):AddItem(BE1, 3)
  2345. BE1.Rate = 255
  2346. targettorso:BreakJoints()
  2347. CreateSound("314390675", targettorso, 5, .7)
  2348. for i = 0,4.2,0.1 do
  2349. swait()
  2350. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(20)), 0.15)
  2351. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-20)), 0.3)
  2352. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  2353. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  2354. RW.C0 = clerp(RW.C0, CF(1.1, 0.7 + 0.05 * Sin(sine / 30), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(145), Rad(0), Rad(-15)), 0.1)
  2355. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
  2356. end
  2357. for i = 0,6.2,0.1 do
  2358. swait()
  2359. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-40)), 0.15)
  2360. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(40)), 0.3)
  2361. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  2362. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  2363. RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(185), Rad(0), Rad(15)), 0.1)
  2364. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(-15)), 0.1)
  2365. end
  2366. CreateSound("541909763", targettorso, 5, .8)
  2367. weldHead01:Destroy()
  2368. Head01.CanCollide = true
  2369. local bodyVelocity2 = Create("BodyVelocity")({
  2370. velocity = Vector3.new(0, 10, 0) + root.CFrame.lookVector * 50,
  2371. P = 5000,
  2372. maxForce = Vector3.new(8000, 8000, 8000),
  2373. Parent = Head01
  2374. })
  2375. game:GetService("Debris"):AddItem(bodyVelocity2, 0.05)
  2376. for i = 0,6.2,0.1 do
  2377. swait()
  2378. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(40)), 0.15)
  2379. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.3)
  2380. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  2381. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  2382. RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-15)), 0.1)
  2383. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(-15)), 0.1)
  2384. end
  2385. targettorso.Anchored = false
  2386. attack = false
  2387. hum.WalkSpeed = 16
  2388. root.CFrame = targettorso.CFrame * CF(0,0,3.4)
  2389. end
  2390. end
  2391.  
  2392. function Good_Bye()
  2393. local target = nil
  2394. local targettorso = nil
  2395. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  2396. if mouse.Target.Parent.Humanoid.PlatformStand == false then
  2397. target = mouse.Target.Parent.Humanoid
  2398. targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
  2399. targethead = mouse.Target.Parent:FindFirstChild("Head")
  2400. end
  2401. end
  2402. if target ~= nil then
  2403. targettorso.Anchored = true
  2404. attack = true
  2405. hum.WalkSpeed = 0
  2406. root.CFrame = targettorso.CFrame * CF(0,0,3)
  2407. for i = 0,6.2,0.1 do
  2408. swait()
  2409. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-45)), 0.15)
  2410. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(45)), 0.3)
  2411. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  2412. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  2413. RW.C0 = clerp(RW.C0, CF(1.3, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(25)), 0.1)
  2414. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
  2415. end
  2416. local BloodColor = Color3.new(1, 0, 0)
  2417. local PE1 = Blood1:Clone()
  2418. local PE2 = Blood1:Clone()
  2419. local Heart = Instance.new("Part")
  2420. Heart.Parent = workspace
  2421. Heart.Size = Vector3.new(1, 1, 1)
  2422. Heart.Archivable = true
  2423. Heart.Transparency = 0
  2424. Heart.CanCollide = false
  2425. Heart.BrickColor = BrickColor.new("Really red")
  2426. Heart.Material = "Granite"
  2427. Heart.CanCollide = true
  2428. local weld1Heart = Instance.new("Weld")
  2429. weld1Heart.Parent = ra
  2430. weld1Heart.Part0 = ra
  2431. weld1Heart.Part1 = Heart
  2432. weld1Heart.C1 = CFrame.new(0, 1.3, 0)
  2433. CreateSound("429400881", targettorso, 5, 1)
  2434. CreateSound("131038747", targettorso, 7, 1)
  2435. PE1.Parent = ra
  2436. PE2.Parent = Heart
  2437. game:GetService("Debris"):AddItem(PE1, 3)
  2438. game:GetService("Debris"):AddItem(weld1Heart, 1.5)
  2439. game:GetService("Debris"):AddItem(Heart, 8)
  2440. for i = 0,8,0.1 do
  2441. swait()
  2442. rootj.C0 = clerp(rootj.C0, RootCF * CF(1.2, -2.5, -0.2) * angles(Rad(0), Rad(0), Rad(40)), 0.15)
  2443. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(10), Rad(-45)), 0.3)
  2444. RH.C0 = clerp(RH.C0, CF(1, -0.8, -0.4) * RHCF * angles(Rad(-5), Rad(0), Rad(-20)), 0.15)
  2445. LH.C0 = clerp(LH.C0, CF(-1, -0.8, -0.2) * LHCF * angles(Rad(-5), Rad(0), Rad(56)), 0.15)
  2446. RW.C0 = clerp(RW.C0, CF(1.5, 0.51 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(40)), 0.1)
  2447. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
  2448. end
  2449. targettorso:BreakJoints()
  2450. for i = 0,9,0.1 do
  2451. swait()
  2452. 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)
  2453. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(-20)), 0.3)
  2454. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  2455. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  2456. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(15)), 0.1)
  2457. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
  2458. end
  2459. targettorso.Anchored = false
  2460. attack = false
  2461. hum.WalkSpeed = 16
  2462. root.CFrame = targettorso.CFrame * CF(0,0,3.4)
  2463. end
  2464. end
  2465.  
  2466. function Taunt()
  2467. attack = true
  2468. hum.WalkSpeed = 0
  2469. CreateSound("290084602", tors, 10, 1)
  2470. for i = 0,6.2,0.1 do
  2471. swait()
  2472. 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)
  2473. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-30), Rad(0), Rad(0)), 0.3)
  2474. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  2475. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  2476. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-0), Rad(0), Rad(145)), 0.1)
  2477. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-0), Rad(0), Rad(-145)), 0.1)
  2478. end
  2479. for i = 0,6.2,0.1 do
  2480. swait()
  2481. 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)
  2482. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  2483. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(20)), 0.15)
  2484. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-20)), 0.15)
  2485. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(0), Rad(15)), 0.1)
  2486. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(0), Rad(-15)), 0.1)
  2487. end
  2488. attack = false
  2489. hum.WalkSpeed = 16
  2490. end
  2491.  
  2492. function Evolution()
  2493. attack = true
  2494. Form = 3
  2495.  
  2496.  
  2497. Effects.Sphere.Create(maincolor, root.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 15.1, 15.1, 15.1, 0.01)
  2498. Effects.Sphere.Create(maincolor, root.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 11.1, 11.1, 11.1, 0.01)
  2499. Magic(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, maincolor, "Sphere")
  2500. Magic(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, maincolor, "Sphere")
  2501.  
  2502.  
  2503. for i = 0,.2,0.1 do
  2504. swait()
  2505. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 0) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  2506. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3)
  2507. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2508. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2509. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), -0.65 + 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-55)), 0.1)
  2510. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -0.65 + 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(35)), 0.1)
  2511. end
  2512. for i = 0,4,0.1 do
  2513. swait()
  2514. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 0) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  2515. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3)
  2516. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2517. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2518. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-55)), 0.1)
  2519. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(15)), 0.1)
  2520. end
  2521.  
  2522. z:Stop()
  2523. z2:Play()
  2524.  
  2525. particles(tors)
  2526. particles(ra)
  2527. particles(la)
  2528. particles(rl)
  2529. particles(ll)
  2530. particles(hed)
  2531.  
  2532.  
  2533. attack = false
  2534. end
  2535. function particles(art)
  2536. local EyeSizes={
  2537. NumberSequenceKeypoint.new(0,1,0),
  2538. NumberSequenceKeypoint.new(1,1,0)
  2539. }
  2540. local EyeTrans={
  2541. NumberSequenceKeypoint.new(0,0.8,0),
  2542. NumberSequenceKeypoint.new(1,1,0)
  2543. }
  2544. local PE=Instance.new("ParticleEmitter",art)
  2545. PE.LightEmission=.4
  2546. PE.Size=NumberSequence.new(EyeSizes)
  2547. PE.Transparency=NumberSequence.new(EyeTrans)
  2548. PE.Lifetime=NumberRange.new(0.35,0.35,0.35)
  2549. PE.Rotation=NumberRange.new(0,360)
  2550. PE.Rate=999
  2551. PE.Acceleration = Vector3.new(0,75,0)
  2552. PE.Drag = 5
  2553. PE.Speed = NumberRange.new(0,0,0)
  2554. PE.Texture="http://www.roblox.com/asset/?id=1179557490"
  2555. PE.ZOffset = -1.5
  2556. PE.Name = "PE"
  2557. hum.WalkSpeed = 35
  2558. end
  2559.  
  2560. function Beamo()
  2561. attack = true
  2562. local Ring1 = Instance.new("Part", char)
  2563. Ring1.Anchored = true
  2564. Ring1.BrickColor = maincolor
  2565. Ring1.CanCollide = false
  2566. Ring1.FormFactor = 3
  2567. Ring1.Name = "Ring"
  2568. Ring1.Material = "Glass"
  2569. Ring1.Size = Vector3.new(1, 0.05, 1)
  2570. Ring1.Transparency = 1
  2571. Ring1.TopSurface = 0
  2572. Ring1.BottomSurface = 0
  2573. local Ring1Mesh = Instance.new("SpecialMesh", Ring1)
  2574. Ring1Mesh.MeshType = "Brick"
  2575. Ring1Mesh.Name = "SizeMesh"
  2576. Ring1Mesh.Scale = Vector3.new(0, 1, 0)
  2577. local InnerRing1 = Ring1:Clone()
  2578. InnerRing1.Parent = char
  2579. InnerRing1.Transparency = 0
  2580. InnerRing1.BrickColor = BrickColor.new("New Yeller")
  2581. InnerRing1.Size = Vector3.new(1, 1, 1)
  2582. local InnerRing1Mesh = InnerRing1.SizeMesh
  2583. InnerRing1Mesh.Scale = Vector3.new(0, 0, 0)
  2584. InnerRing1Mesh.MeshType = "Sphere"
  2585. Ring1:Destroy()
  2586. for i = 0, 8, 0.1 do
  2587. swait()
  2588. Aura(7, 0.12, "Add", ra.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, "Sphere")
  2589. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 - 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15)
  2590. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35 - 4.5 * Sin(sine / 30)), Rad(0), Rad(-90)), 0.3)
  2591. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15)
  2592. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15)
  2593. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0) * angles(Rad(-3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1)
  2594. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0) * angles(Rad(4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-3 + 2.5 * Sin(sine / 20))), 0.1)
  2595. end
  2596. InnerRing1.Transparency = 1
  2597. InnerRing1.CFrame = root.CFrame * CF(0, 0.5, 0) + root.CFrame.lookVector * 5
  2598. Cso("294188875", char, 2.3, 1)
  2599. local a = IT("Part", char)
  2600. a.Name = "Direction"
  2601. a.Anchored = true
  2602. a.BrickColor = BrickC("Moss green")
  2603. a.Material = "Glass"
  2604. a.Transparency = 0
  2605. a.Shape = "Cylinder"
  2606. a.CanCollide = false
  2607. local a2 = IT("Part", char)
  2608. a2.Name = "Direction"
  2609. a2.Anchored = true
  2610. a2.BrickColor = BrickC("New Yeller")
  2611. a2.Color = maincolor.Color
  2612. a2.Material = "Glass"
  2613. a2.Transparency = 0.5
  2614. a2.Shape = "Cylinder"
  2615. a2.CanCollide = false
  2616. local ba = IT("Part", char)
  2617. ba.Name = "HitDirect"
  2618. ba.Anchored = true
  2619. ba.BrickColor = BrickC("Really black")
  2620. ba.Material = "Glass"
  2621. ba.Transparency = 1
  2622. ba.CanCollide = false
  2623. local ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000)
  2624. local ignore = char
  2625. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  2626. a.BottomSurface = 10
  2627. a.TopSurface = 10
  2628. a2.BottomSurface = 10
  2629. a2.TopSurface = 10
  2630. local distance = (InnerRing1.CFrame.p - position).magnitude
  2631. a.Size = Vector3.new(distance, 1, 1)
  2632. a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
  2633. a2.Size = Vector3.new(distance, 1, 1)
  2634. a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
  2635. ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance)
  2636. a.CFrame = a.CFrame * angles(0, Rad(90), 0)
  2637. a2.CFrame = a2.CFrame * angles(0, Rad(90), 0)
  2638. game:GetService("Debris"):AddItem(a, 20)
  2639. game:GetService("Debris"):AddItem(a2, 20)
  2640. game:GetService("Debris"):AddItem(ba, 20)
  2641. local msh = Instance.new("SpecialMesh", a)
  2642. msh.MeshType = "Cylinder"
  2643. msh.Scale = Vector3.new(1, 15, 15)
  2644. local msh2 = Instance.new("SpecialMesh", a2)
  2645. msh2.MeshType = "Cylinder"
  2646. msh2.Scale = Vector3.new(1, 25, 25)
  2647. for z = 0, 1 do
  2648. for i = 0, 4, 0.1 do
  2649. swait()
  2650. hum.CameraOffset = Vector3.new(Mrandom(-1,1),0,Mrandom(-1,1))
  2651. a2.Color = maincolor.Color
  2652. root.CFrame = FaceMouse()[1]
  2653. InnerRing1.CFrame = root.CFrame * CF(0, 0.5, 0) + root.CFrame.lookVector * 4
  2654. ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000)
  2655. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  2656. distance = (InnerRing1.CFrame.p - position).magnitude
  2657. a.Size = Vector3.new(distance, 1, 1)
  2658. a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
  2659. a2.Size = Vector3.new(distance, 1, 1)
  2660. a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
  2661. ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance)
  2662. a.CFrame = a.CFrame * angles(0, Rad(90), 0)
  2663. a2.CFrame = a2.CFrame * angles(0, Rad(90), 0)
  2664. msh.Scale = msh.Scale - Vector3.new(0, 0.25, 0.25)
  2665. msh2.Scale = msh2.Scale - Vector3.new(0, 0.3, 0.3)
  2666. Aura(5, 0.15, "Add", ba.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 15, 15, 25, -0.15, maincolor, 0, "Sphere")
  2667. Aura(5, 0.15, "Add", ba.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 15, 15, 25, -0.15, maincolor, 0, "Brick")
  2668. for i, v in pairs(FindNearestHead(ba.CFrame.p, 14.5)) do
  2669. if v:FindFirstChild("Head") then
  2670. Eviscerate(v)
  2671. end
  2672. end
  2673. end
  2674. for i = 0, 4, 0.1 do
  2675. swait()
  2676. hum.CameraOffset = Vector3.new(Mrandom(-1,1),0,Mrandom(-1,1))
  2677. a2.Color = maincolor.Color
  2678. root.CFrame = FaceMouse()[1]
  2679. InnerRing1.CFrame = root.CFrame * CF(0, 0.5, 0) + root.CFrame.lookVector * 4
  2680. ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000)
  2681. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  2682. distance = (InnerRing1.CFrame.p - position).magnitude
  2683. a.Size = Vector3.new(distance, 1, 1)
  2684. a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
  2685. a2.Size = Vector3.new(distance, 1, 1)
  2686. a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
  2687. ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance)
  2688. a.CFrame = a.CFrame * angles(0, Rad(90), 0)
  2689. a2.CFrame = a2.CFrame * angles(0, Rad(90), 0)
  2690. msh.Scale = msh.Scale + Vector3.new(0, 0.25, 0.25)
  2691. msh2.Scale = msh2.Scale + Vector3.new(0, 0.3, 0.3)
  2692. Aura(5, 0.15, "Add", ba.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 15, 15, 25, -0.15, maincolor, 0, "Sphere")
  2693. Aura(5, 0.15, "Add", ba.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 15, 15, 25, -0.15, maincolor, 0, "Brick")
  2694. for i, v in pairs(FindNearestHead(ba.CFrame.p, 14.5)) do
  2695. if v:FindFirstChild("Head") then
  2696. Eviscerate(v)
  2697. end
  2698. end
  2699. end
  2700. end
  2701. for i = 0, 10, 0.1 do
  2702. swait()
  2703. hum.CameraOffset = Vector3.new(Mrandom(-1,1),0,Mrandom(-1,1))
  2704. a2.Color = maincolor.Color
  2705. root.CFrame = FaceMouse()[1]
  2706. InnerRing1.CFrame = root.CFrame * CF(0, 0.5, 0) + root.CFrame.lookVector * 4
  2707. ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000)
  2708. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  2709. distance = (InnerRing1.CFrame.p - position).magnitude
  2710. a.Size = Vector3.new(distance, 1, 1)
  2711. a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
  2712. a2.Size = Vector3.new(distance, 1, 1)
  2713. a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
  2714. ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance)
  2715. a.CFrame = a.CFrame * angles(0, Rad(90), 0)
  2716. a2.CFrame = a2.CFrame * angles(0, Rad(90), 0)
  2717. msh.Scale = msh.Scale - Vector3.new(0, 0.15, 0.15)
  2718. msh2.Scale = msh2.Scale - Vector3.new(0, 0.2, 0.2)
  2719. Aura(5, 0.15, "Add", ba.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 15, 15, 25, -0.15, maincolor, 0, "Sphere")
  2720. Aura(5, 0.15, "Add", ba.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 15, 15, 25, -0.15, maincolor, 0, "Brick")
  2721. for i, v in pairs(FindNearestHead(ba.CFrame.p, 14.5)) do
  2722. if v:FindFirstChild("Head") then
  2723. Eviscerate(v)
  2724. end
  2725. end
  2726. end
  2727. a:Destroy()
  2728. a2:Destroy()
  2729. ba:Destroy()
  2730. InnerRing1:Destroy()
  2731. attack = false
  2732. hum.CameraOffset = Vector3.new(0,0,0)
  2733.  
  2734. end
  2735.  
  2736. ----raINBow
  2737. if Mode == 5 then
  2738. for i, v in pairs(MOD:GetChildren()) do
  2739. v.Color = Color3.new(r / 255, g / 255, b / 255)
  2740. v.Material = "Glass"
  2741. v.Transparency = 0.5
  2742. end
  2743. end
  2744.  
  2745. function Edgy()
  2746. Mode = 6
  2747. z.SoundId ="rbxassetid://244941588"
  2748. z:Play()
  2749. maincolor = BrickColor.new("Really black")
  2750. for i, v in pairs(MOD:GetChildren()) do
  2751. v.BrickColor = BrickColor.new("Really black")
  2752. v.Material = "Glass"
  2753. v.Transparency = 0.3
  2754. end
  2755. end
  2756.  
  2757. function Unstable()
  2758. Mode = 5
  2759. z.SoundId ="rbxassetid://214437887"
  2760. z:Play()
  2761. end
  2762.  
  2763. function Corruption()
  2764. Mode = 4
  2765. z.SoundId = "rbxassetid://1050856048"
  2766. z:Play()
  2767. maincolor = BrickColor.new("Royal purple")
  2768. for i, v in pairs(MOD:GetChildren()) do
  2769. v.BrickColor = BrickColor.new("Royal purple")
  2770. v.Material = "Glass"
  2771. v.Transparency = 0.5
  2772. end
  2773. end
  2774.  
  2775. function Stealth()
  2776. Mode = 3
  2777. z.SoundId = "rbxassetid://146083552"
  2778. z.Volume = 0.3
  2779. z:Play()
  2780.  
  2781. for i, v in pairs(MOD:GetChildren()) do
  2782. v.BrickColor = BrickColor.new("Institutional white")
  2783. v.Material = "Glass"
  2784. v.Transparency = 0.6
  2785. end
  2786. end
  2787.  
  2788. function Rage()
  2789. Mode = 2
  2790. maincolor = BrickColor.new("Crimson")
  2791. z.SoundId = "rbxassetid://1050871013"
  2792. z:Play()
  2793.  
  2794. for i, v in pairs(MOD:GetChildren()) do
  2795. v.BrickColor = BrickColor.new("Crimson")
  2796. v.Material = "Glass"
  2797. v.Transparency = 0.5
  2798. end
  2799. end
  2800.  
  2801. function Neutral()
  2802. Mode = 1
  2803. maincolor = BrickColor.new("Grey")
  2804. z.SoundId = "rbxassetid://639558149"
  2805. z.Volume = 2.5
  2806. z:Play()
  2807.  
  2808.  
  2809. for i, v in pairs(MOD:GetChildren()) do
  2810. v.BrickColor = BrickColor.new("Grey")
  2811. v.Material = "Glass"
  2812. v.Transparency = 0.5
  2813. end
  2814. end
  2815.  
  2816. function Hell_From_Above()
  2817. local UhhhhThing = New("Part",EffectModel,"ref",{Transparency = 1,Size = Vector3.new(.2,.2,.2),CFrame = tors.CFrame,Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  2818. attack = true
  2819. hum.WalkSpeed = 3.01
  2820. for i = 0,6.3,0.1 do
  2821. swait()
  2822. Effects.Block.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  2823. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  2824. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  2825. RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
  2826. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
  2827. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(-10 * Cos(sine / 20)), Rad(15 - 2.5 * Sin(sine / 20))), 0.1)
  2828. LW.C0 = clerp(LW.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(-15 + 2.5 * Sin(sine / 20))), 0.1)
  2829. end
  2830. CreateSound("142070127", tors, 10, 1)
  2831. Effects.Sphere.Create(BrickC("Really black"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
  2832. Effects.Sphere.Create(BrickC("Royal purple"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
  2833. Effects.Sphere.Create(BrickC("Really black"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
  2834. Effects.Sphere.Create(BrickC("Royal purple"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
  2835. for i = 0,3.8,0.1 do
  2836. swait()
  2837. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  2838. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  2839. RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
  2840. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
  2841. RW.C0 = clerp(RW.C0, CF(1.5, .2 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(-10 * Cos(sine / 20)), Rad(15 - 2.5 * Sin(sine / 20))), 0.1)
  2842. LW.C0 = clerp(LW.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(-15 + 2.5 * Sin(sine / 20))), 0.1)
  2843. end
  2844. CreateSound("224339201", tors, 10, 0.5)
  2845. for i = 1, 3 do
  2846. MagniDamage(UhhhhThing, 12, 34, 54, 10, "DarkUp")
  2847. UhhhhThing.CFrame = mouse.Hit
  2848. Effects.Cylinder.Create(BrickColor.new("Really black"), UhhhhThing.CFrame, .5, 9999, .5, 10, 0, 10, 0.05)
  2849. Effects.Block.Create(BrickColor.new("Royal purple"), UhhhhThing.CFrame, 1, 1, 1, 10, 10, 10, 0.05)
  2850. end
  2851. UhhhhThing:Destroy()
  2852. attack = false
  2853. hum.WalkSpeed = 8
  2854. end
  2855. function WARCRY()
  2856. --Create sound
  2857. for i = 0,4,0.2 do
  2858. swait()
  2859. Effects.Sphere.Create(maincolor, tors.CFrame, 2, 2, 2, 17.6, 17.6, 17.6, 0.02)
  2860. Effects.Sphere.Create(BrickColor.new("Really black"), tors.CFrame, 2, 2, 2, 10.6, 10.6, 10.6, 0.02)
  2861. end
  2862. end
  2863. function Blast_Of_God()
  2864. attack = true
  2865. hum.WalkSpeed = 3.01
  2866. for i = 0,6.3,0.1 do
  2867. swait()
  2868. Effects.Sphere.Create(BrickC("Royal purple"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  2869. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(90)), 0.15)
  2870. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-90)), 0.3)
  2871. RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
  2872. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15)
  2873. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1)
  2874. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-13 + 2.5 * Sin(sine / 20))), 0.1)
  2875. end
  2876. Effects.Block.Create(BrickC("Really black"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
  2877. Effects.Block.Create(BrickC("Royal purple"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.03)
  2878. Effects.Block.Create(BrickC("Really black"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
  2879. Effects.Block.Create(BrickC("Royal purple"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
  2880. Effects.Block.Create(BrickC("Really black"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 10.5, 10.5, 10.5, 0.05)
  2881. Effects.Ring.Create(BrickC("Royal purple"), ra.CFrame * angles(Rad(90),0,0) * CF(0, -1, 0), 2, 2, 2, 7.6, 7.6, 7.6, 0.03)
  2882. CreateSound("142070127", tors, 10, 1)
  2883. MagniDamage(ra, 12, 40, 60, 10, "Normal")
  2884. for i = 0,2.6,0.1 do
  2885. swait()
  2886. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(90)), 0.15)
  2887. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-90)), 0.3)
  2888. RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-16 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 2.5 * Sin(sine / 20))), 0.15)
  2889. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-25 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15)
  2890. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(195 - 2.5 * Sin(sine / 20))), 0.1)
  2891. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-35 + 2.5 * Sin(sine / 20))), 0.1)
  2892. end
  2893. attack = false
  2894. hum.WalkSpeed = 8
  2895. end
  2896. function Diablo_Explosion()
  2897. attack = true
  2898. hum.WalkSpeed = 3.01
  2899. for i = 0,6.3,0.1 do
  2900. swait()
  2901. Effects.Block.Create(BrickC("Really black"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  2902. Effects.Block.Create(BrickC("Royal purple"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  2903. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  2904. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  2905. RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
  2906. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 3 * Sin(sine / 20))), 0.15)
  2907. 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(90 - 2.5 * Sin(sine / 20))), 0.1)
  2908. LW.C0 = clerp(LW.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(-90 + 2.5 * Sin(sine / 20))), 0.1)
  2909. end
  2910. Effects.Sphere.Create(BrickC("Really black"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 14, 14, 14, 0.05)
  2911. Effects.Sphere.Create(BrickC("Royal purple"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 11, 11, 11, 0.03)
  2912. Effects.Sphere.Create(BrickC("Really black"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 8, 8, 8, 0.05)
  2913. Effects.Sphere.Create(BrickC("Royal purple"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 6, 6, 6, 0.05)
  2914. Effects.Sphere.Create(BrickC("Really black"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 10.5, 10.5, 10.5, 0.05)
  2915. Effects.Ring.Create(BrickC("Royal purple"), root.CFrame * CF(0, 0, -4), 2, 2, 2, 3.6, 3.6, 3.6, 0.03)
  2916. CreateSound("142070127", tors, 10, 1)
  2917. MagniDamage(tors, 12, 34, 54, 10, "DarkUp")
  2918. for i = 0,4.6,0.1 do
  2919. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  2920. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  2921. RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
  2922. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
  2923. RW.C0 = clerp(RW.C0, CF(1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(-10 * Cos(sine / 20)), Rad(-35 - 2.5 * Sin(sine / 20))), 0.1)
  2924. LW.C0 = clerp(LW.C0, CF(-1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(10 * Cos(sine / 20)), Rad(35 + 2.5 * Sin(sine / 20))), 0.1)
  2925. end
  2926. wait(.6)
  2927. attack = false
  2928. hum.WalkSpeed = 8
  2929. end
  2930. function TEST1()
  2931. for i = 0,2,0.1 do
  2932. swait()
  2933. Effects.Block.Create(BrickColor.new("Really black"), tors.CFrame, 2, 2, 2, 3.6, 3.6, 3.6, 0.05)
  2934. Effects.Block.Create(BrickColor.new("Royal purple"), tors.CFrame, 2, 2, 2, 3.4, 3.4, 3.4, 0.03)
  2935. Effects.Block.Create(BrickColor.new("Royal purple"), tors.CFrame, 2, 2, 2, 6.6, 6.6, 6.6, 0.05)
  2936. Effects.Block.Create(BrickColor.new("Really black"), tors.CFrame, 2, 2, 2, 6.4, 6.4, 6.4, 0.05)
  2937. Effects.Block.Create(BrickColor.new("Royal purple"), tors.CFrame, 2, 2, 2, 10.5, 10.5, 10.5, 0.05)
  2938.  
  2939. Effects.Ring.Create(BrickColor.new("Really black"), tors.CFrame, 2, 2, 2, 7.6, 7.6, 7.6, 0.03)
  2940.  
  2941. Effects.Sphere.Create(maincolor, tors.CFrame, 2, 2, 2, 17.6, 17.6, 17.6, 0.02)
  2942. Effects.Sphere.Create(BrickColor.new("Really black"), tors.CFrame, 2, 2, 2, 10.6, 10.6, 10.6, 0.02)
  2943. Effects.Sphere.Create(BrickColor.new("Really black"), tors.CFrame, 2, 2, 2, 14.6, 14.6, 14.6, 0.02)
  2944. Effects.Sphere.Create(BrickColor.new("Really black"), tors.CFrame, 2, 2, 2, 16.6, 16.6, 16.6, 0.02)
  2945. Effects.Sphere.Create(BrickColor.new("Really black"), tors.CFrame, 2, 2, 2, 5.6, 5.6, 5.6, 0.02)
  2946. end
  2947. end
  2948. function sacredwords()
  2949. attack = true
  2950. hum.WalkSpeed = 0
  2951. for i=0,4,0.1 do
  2952. swait()
  2953. hum.Health = hum.Health + 2
  2954. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-1.25)*angles(math.rad(0),math.rad(0),math.rad(0)),0.15)
  2955. tors.Neck.C0=clerp(tors.Neck.C0,necko*cf(0,0,0)*angles(math.rad(30),math.rad(0),math.rad(0)),0.15)
  2956. RW.C0 = clerp(RW.C0, CFrame.new(.7, 0.5+0.04*math.sin(sine/25), -0.35) * angles(math.rad(85 - 1 * math.cos(sine / 25)), math.rad(0), math.rad(-40)), 0.1)
  2957. LW.C0=clerp(LW.C0,CFrame.new(-1.5,0.3,0)*angles(math.rad(0),math.rad(0),math.rad(-4.5)),0.15)
  2958. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-60),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),0.15)
  2959. LH.C0=clerp(LH.C0,cf(-0.75,0.25,-1)*angles(math.rad(-15),math.rad(-90),math.rad(0))*angles(math.rad(-15),math.rad(0),math.rad(0)),0.15)
  2960. end
  2961. Effects.Ring.Create(maincolor, ra.CFrame, 10, 10, 10, 3, 3, 3, .1, 2)
  2962. Effects.Ring.Create(maincolor, root.CFrame * CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(90), 0, 0), 3, 3, 1, 4, 4, 0, .06)
  2963. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=199145477", tors, 1, 1)
  2964. MagniDamage(ra, 12, 10, 20, -10, "Normal", "179515215", 1.5)
  2965. attack = false
  2966. hum.WalkSpeed = 16
  2967. end
  2968. hum.Health = "inf"
  2969. hum.MaxHealth = "inf"
  2970. -------------------------------------------------------
  2971. --End Attacks N Stuff--
  2972. -------------------------------------------------------
  2973. mouse.KeyDown:connect(function(key)
  2974. if attack == false then
  2975. if key == 'e' then
  2976. ByeBye()
  2977. elseif key == 'q' then
  2978. Sayonara()
  2979. elseif key == 'r' and Form == 3 then
  2980. AlohaMyFriend()
  2981. elseif key == 'f' then
  2982. Good_Bye()
  2983. elseif key == 't' then
  2984. Taunt()
  2985. elseif key == 'p' and Form == 1 then
  2986. Evolution()
  2987. elseif key == 'n' then
  2988. SayonaraSerious()
  2989. elseif key == '[' then
  2990. TEST1()
  2991. elseif key == "z" then
  2992. blastyboi()
  2993. elseif key == 'x' then
  2994. stompyboi()
  2995. elseif key == 'c' then
  2996. smashing()
  2997.  
  2998. elseif key == 'b' and Form == 3 then
  2999. DropTest()
  3000.  
  3001. elseif key == 'g' then
  3002. Ending()
  3003. elseif key == 'h' then
  3004. Purity_Slam()
  3005. elseif key == 'j' and Form == 3 then
  3006. Diablo_Explosion()
  3007. elseif key == 'k' and Form == 3 then
  3008. Blast_Of_God()
  3009. elseif key == 'y' and Form == 3 then
  3010. Hell_From_Above()
  3011. elseif key == 'v' and Mode == 2 then
  3012. Beamo()
  3013. end
  3014. end
  3015. end)
  3016.  
  3017.  
  3018. --Modes
  3019. mouse.KeyDown:connect(function(key)
  3020. if attack == false then
  3021. if key == '1' and Mode == 1 then
  3022. Rage()
  3023. elseif key == '1' and Mode == 2 then
  3024. Neutral()
  3025. end
  3026. end
  3027. end)
  3028. mouse.KeyDown:connect(function(key)
  3029. if attack == false then
  3030. if key == '2' and Mode == 1 then
  3031. Stealth()
  3032. elseif key == '2' and Mode == 3 then
  3033. Neutral()
  3034. end
  3035. end
  3036. end)
  3037. mouse.KeyDown:connect(function(key)
  3038. if attack == false then
  3039. if key == '3' and Mode == 1 then
  3040. Corruption()
  3041. elseif key == '3' and Mode == 4 then
  3042. Neutral()
  3043. end
  3044. end
  3045. end)
  3046. mouse.KeyDown:connect(function(key)
  3047. if attack == false then
  3048. if key == '4' and Mode == 1 then
  3049. Unstable()
  3050. elseif key == '4' and Mode == 5 then
  3051. Neutral()
  3052. end
  3053. end
  3054. end)
  3055. mouse.KeyDown:connect(function(key)
  3056. if attack == false then
  3057. if key == '5' and Mode == 1 then
  3058. Edgy()
  3059. elseif key == '5' and Mode == 6 then
  3060. Neutral()
  3061. end
  3062. end
  3063. end)
  3064. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  3065. local type = type
  3066. local rng = Instance.new("Part", char)
  3067. rng.Anchored = true
  3068. rng.BrickColor = color
  3069. rng.CanCollide = false
  3070. rng.FormFactor = 3
  3071. rng.Name = "Ring"
  3072. rng.Material = "Glass"
  3073. rng.Size = Vector3.new(1, 1, 1)
  3074. rng.Transparency = 0
  3075. rng.TopSurface = 0
  3076. rng.BottomSurface = 0
  3077. rng.CFrame = pos
  3078. local rngm = Instance.new("SpecialMesh", rng)
  3079. rngm.MeshType = MType
  3080. rngm.Scale = scale
  3081. local scaler2 = 1
  3082. if type == "Add" then
  3083. scaler2 = 1 * value
  3084. elseif type == "Divide" then
  3085. scaler2 = 1 / value
  3086. end
  3087. coroutine.resume(coroutine.create(function()
  3088. for i = 0, 10 / bonuspeed, 0.1 do
  3089. swait()
  3090. if type == "Add" then
  3091. scaler2 = scaler2 - 0.01 * value / bonuspeed
  3092. elseif type == "Divide" then
  3093. scaler2 = scaler2 - 0.01 / value * bonuspeed
  3094. end
  3095. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  3096. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  3097. end
  3098. rng:Destroy()
  3099. end))
  3100. end
  3101.  
  3102.  
  3103. function FindNearestHead(Position, Distance, SinglePlayer)
  3104. if SinglePlayer then
  3105. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  3106. end
  3107. local List = {}
  3108. for i, v in pairs(workspace:GetChildren()) do
  3109. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  3110. table.insert(List, v)
  3111. end
  3112. end
  3113. return List
  3114. end
  3115.  
  3116. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  3117. local type = type
  3118. local rng = Instance.new("Part", char)
  3119. rng.Anchored = true
  3120. rng.BrickColor = color
  3121. rng.CanCollide = false
  3122. rng.FormFactor = 3
  3123. rng.Name = "Ring"
  3124. rng.Material = "Glass"
  3125. rng.Size = Vector3.new(1, 1, 1)
  3126. rng.Transparency = 0
  3127. rng.TopSurface = 0
  3128. rng.BottomSurface = 0
  3129. rng.CFrame = pos
  3130. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  3131. local rngm = Instance.new("SpecialMesh", rng)
  3132. rngm.MeshType = MType
  3133. rngm.Scale = Vector3.new(x1, y1, z1)
  3134. local scaler2 = 1
  3135. local speeder = FastSpeed
  3136. if type == "Add" then
  3137. scaler2 = 1 * value
  3138. elseif type == "Divide" then
  3139. scaler2 = 1 / value
  3140. end
  3141. coroutine.resume(coroutine.create(function()
  3142. for i = 0, 10 / bonuspeed, 0.1 do
  3143. swait()
  3144. if type == "Add" then
  3145. scaler2 = scaler2 - 0.01 * value / bonuspeed
  3146. elseif type == "Divide" then
  3147. scaler2 = scaler2 - 0.01 / value * bonuspeed
  3148. end
  3149. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  3150. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  3151. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  3152. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  3153. end
  3154. rng:Destroy()
  3155. end))
  3156. end
  3157.  
  3158. local sine=0
  3159. mouse.Button1Down:connect(function(key)
  3160. if attack == false then
  3161.  
  3162. attack = true
  3163. hum.WalkSpeed = 3.01
  3164. for i = 0, 1.2, 0.1 do
  3165. swait()
  3166. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -.5, 0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-5), Rad(0), Rad(-35)), 0.3)
  3167. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(0)), 0.1)
  3168. RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(Rad(0), Rad(0), Rad(10)), 0.1)
  3169. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0.8) * angles(Rad(90), Rad(0), Rad(-20)), 0.3)
  3170. RH.C0 = clerp(RH.C0, CF(1, -1, -0.2) * RHCF * angles(Rad(-2.5), Rad(15), Rad(-20)), 0.3)
  3171. LH.C0 = clerp(LH.C0, CF(-1, -1, 0) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.3)
  3172. end
  3173. Cso("138097048", ra, 3, .8)
  3174. for i = 0, 1.2, 0.1 do
  3175. swait()
  3176. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -.5, 0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-87)), 0.3)
  3177. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10), Rad(0), Rad(87)), 0.1)
  3178. RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(Rad(0), Rad(0), Rad(10)), 0.1)
  3179. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
  3180. RH.C0 = clerp(RH.C0, CF(1, -1, 0) * RHCF * angles(Rad(-2.5), Rad(-0), Rad(-0)), 0.3)
  3181. LH.C0 = clerp(LH.C0, CF(-1, -1, 0) * LHCF * angles(Rad(-2.5), Rad(-25), Rad(0)), 0.3)
  3182. end
  3183. local distlook = 5
  3184. for i = 0, 4 do
  3185. swait(2)
  3186. hum.CameraOffset = Vector3.new(Mrandom(-3,3),0,Mrandom(-3,3))
  3187. local hite = Instance.new("Part", char)
  3188. hite.Anchored = true
  3189. hite.CanCollide = false
  3190. hite.FormFactor = 3
  3191. hite.Name = "Ring"
  3192. hite.Material = "Glass"
  3193. hite.Size = Vector3.new(1, 1, 1)
  3194. hite.Transparency = 1
  3195. hite.TopSurface = 0
  3196. hite.BottomSurface = 0
  3197. hite.CFrame = root.CFrame + root.CFrame.lookVector * distlook
  3198. Magic(3, "Add", hite.CFrame, Vector3.new(0, 0, 0), 0.15, maincolor, "Sphere")
  3199. Magic(6, "Add", hite.CFrame, Vector3.new(0, 0, 0), 0.3, maincolor, "Sphere")
  3200. MagniDamage(hite, 10, 500, 1000, 0, "Normal")
  3201. for i = 0, 2 do
  3202. Aura(2, 0.2, "Add", ra.CFrame * CFrame.Angles(math.rad(-90 + math.random(-20, 20)), math.rad(math.random(-20, 20)), math.rad(math.random(-20, 20))), 0.5, 0.5, 5, -0.005, maincolor, 0,"Brick")
  3203. Aura(3, 0.2, "Add", hite.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0,"Brick")
  3204. Aura(6, 0.35, "Add", hite.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0,"Brick")
  3205. end
  3206. --CFuncs.Sound.Create("rbxassetid://183763506", hite, 2.5, 1)
  3207. CFuncs.Sound.Create("rbxassetid://178452221", hite, 0.25, 0.6)
  3208. game:GetService("Debris"):AddItem(hite, 5)
  3209. distlook = distlook + 17
  3210. end
  3211. hum.CameraOffset = Vector3.new(0,0,0)
  3212. end
  3213. hum.WalkSpeed = 8
  3214. attack = false
  3215.  
  3216. end)
  3217. local r = 255
  3218. local g = 0
  3219. local b = 0
  3220. coroutine.resume(coroutine.create(function()
  3221. while wait() do
  3222. for i = 0, 50.8 do
  3223. swait()
  3224. g = g + 5
  3225. end
  3226. for i = 0, 50.8 do
  3227. swait()
  3228. r = r - 5
  3229. end
  3230. for i = 0, 50.8 do
  3231. swait()
  3232. b = b + 5
  3233. end
  3234. for i = 0, 50.8 do
  3235. swait()
  3236. g = g - 5
  3237. end
  3238. for i = 0, 50.8 do
  3239. swait()
  3240. r = r + 5
  3241. end
  3242. for i = 0, 50.8 do
  3243. swait()
  3244. b = b - 5
  3245. end
  3246. end
  3247. end))
  3248.  
  3249.  
  3250. -------------------------------------------------------
  3251. --Start Animations--
  3252. -------------------------------------------------------
  3253. local equipped = false
  3254. local idle = 0
  3255. local change = 1
  3256. local val = 0
  3257. local toim = 0
  3258. local idleanim = 0.4
  3259. hum.Animator.Parent = nil
  3260. while true do
  3261. swait()
  3262. sine = sine + change
  3263. if Mode == 5 then
  3264. for i, v in pairs(MOD:GetChildren()) do
  3265. v.Color = Color3.new(r / 255, g / 255, b / 255)
  3266. v.Material = "Glass"
  3267. v.Transparency = 0.5
  3268. end
  3269. end
  3270. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  3271. local velderp = root.Velocity.y
  3272. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4, char)
  3273. if equipped == true or equipped == false then
  3274. if attack == false then
  3275. idle = idle + 1
  3276. else
  3277. idle = 0
  3278. end
  3279. if 1 < root.Velocity.y and hitfloor == nil then
  3280. Anim = "Jump"
  3281. if attack == false then
  3282.  
  3283.  
  3284. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-10), Rad(0), Rad(0)), 0.3)
  3285. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(0)), 0.3)
  3286. RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(Rad(30), Rad(0), Rad(20)), 0.3)
  3287. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(-20), Rad(0), Rad(-30)), 0.3)
  3288. LH.C0=clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15)
  3289. RH.C0=clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3)
  3290.  
  3291.  
  3292. end
  3293. elseif -1 > root.Velocity.y and hitfloor == nil then
  3294. Anim = "Fall"
  3295. if attack == false then
  3296.  
  3297. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(0)), 0.3)
  3298. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10), Rad(0), Rad(0)), 0.3)
  3299. RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(Rad(30), Rad(0), Rad(20)), 0.3)
  3300. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(-20), Rad(0), Rad(-30)), 0.3)
  3301. LH.C0 = clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15)
  3302. RH.C0 = clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3)
  3303.  
  3304. end
  3305.  
  3306. elseif torvel < 1 and hitfloor ~= nil then
  3307. Anim = "Idle"
  3308. change = 1
  3309. if attack == false then
  3310. if Mode == 1 then
  3311. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(0)), 0.15)
  3312. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(-10 - 2.5 * Sin(sine/ 20)), Rad(20 * Cos(sine / 20))), 0.3)
  3313. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-3.5), Rad(0), Rad(5)), 0.15)
  3314. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-7), Rad(0), Rad(-5)), 0.15)
  3315. RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.10 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(10 + 5 * Sin(sine/ 20))), 0.1)
  3316. LW.C0 = clerp(LW.C0, CF(-1.4, 0.5 + 0.10 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-10 - 5 * Sin(sine/ 20))), 0.1)
  3317. elseif Mode == 2 then
  3318. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(10)), 0.15)
  3319. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  3320. 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(-10)), 0.15)
  3321. 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(6)), 0.15)
  3322. RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(21), Rad(11), Rad(-90 - 2.5 * Sin(sine / 20))), 0.1)
  3323. LW.C0 = clerp(LW.C0, CF(-.8, 0.3 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(8), Rad(5), Rad(90 + 2.5 * Sin(sine / 20))), 0.1)
  3324. elseif Mode == 3 then
  3325. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(0),math.rad(10)),0.15)
  3326. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-10)),.3)
  3327. RH.C0=clerp(RH.C0,cf(1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*RHCF*angles(math.rad(-2.5),math.rad(0),math.rad(0)),0.15)
  3328. LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*LHCF*angles(math.rad(-2.5),math.rad(0),math.rad(0)),0.15)
  3329. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.04*math.sin(sine/25), 0) * angles(math.rad(0), math.rad(0), math.rad(4.5)), 0.3)
  3330. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(-4.5)), 0.1)
  3331. elseif Mode == 4 then
  3332. rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04* Player_Size, 0 + 0.04* Player_Size, -0.4 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(0), Rad(0), Rad(-20)), 0.15)
  3333. neck.C0 = clerp(neck.C0, necko * CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 4.5 * Sin(sine / 30)), Rad(0), Rad(20)), 0.3)
  3334. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * ANGLES(RAD(0 - 2.5 * Sin(sine / 20)), Rad(75), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  3335. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  3336. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.02 * Sin(sine / 20)* Player_Size, 0.6* Player_Size) * angles(Rad(-35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12)
  3337. 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(-.6), Rad(-8 - 4.5 * Sin(sine / 20))), 0.12)
  3338. elseif Mode == 5 then
  3339. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(0)), 0.15)
  3340. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-15 * Cos(sine / 20)), Rad(-15), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  3341. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-10), Rad(0), Rad(10)), 0.15)
  3342. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-10), Rad(0), Rad(0)), 0.15)
  3343. RW.C0 = clerp(RW.C0, CF(1.3, 0.5 + 0.05 * Sin(sine / 30), 0.2 + 0.025 * Cos(sine / 20)) * angles(Rad(-15), Rad(0), Rad(-20 - 5 * Cos(sine / 20))), 0.1)
  3344. LW.C0 = clerp(LW.C0, CF(-1.3, 0.5 + 0.05 * Sin(sine / 30), 0.2 + 0.025 * Cos(sine / 20)) * angles(Rad(-15), Rad(0), Rad(20 + 5 * Cos(sine / 20))), 0.1)
  3345. elseif Mode == 6 then
  3346. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(0),math.rad(0)),0.15)
  3347. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(25),math.rad(0),math.rad(0)),.3)
  3348. RH.C0=clerp(RH.C0,cf(1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*RHCF*angles(math.rad(-3),math.rad(-0),math.rad(-0)),0.15)
  3349. LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*LHCF*angles(math.rad(-3),math.rad(-0),math.rad(-0)),0.15)
  3350. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.04*math.sin(sine/25), 0) * angles(math.rad(0 - 1 * math.cos(sine / 25)), math.rad(-7), math.rad(5)), 0.1)
  3351. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.04*math.sin(sine/25),0) * angles(math.rad(0 - 1 * math.cos(sine / 25)), math.rad(-5), math.rad(-13)), 0.1)
  3352. end
  3353.  
  3354. end
  3355. elseif tors.Velocity.magnitude < 50 and hitfloor ~= nil then
  3356. Anim = "Walk"
  3357. change = 1
  3358. if attack == false then
  3359. if Mode == 1 or Mode == 3 or Mode == 5 then
  3360. hum.WalkSpeed = 16
  3361. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.175+0.025*math.cos(sine/3.5)+ -math.sin(sine/3.5)/7)*angles(math.rad(5-2.5*math.cos(sine/3.5)),math.rad(0),math.rad(5*math.cos(sine/7))),0.15)
  3362. tors.Neck.C0 = clerp(tors.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  3363. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(35) * math.cos(sine / 7), math.rad(0), math.rad(5)), 0.3)
  3364. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-35) * math.cos(sine / 7), math.rad(0), math.rad(-5)), 0.3)
  3365. RH.C0=clerp(RH.C0,cf(1,-0.925-0.5*math.cos(sine/7)/2,0.5*math.cos(sine/7)/1.5)*angles(math.rad(-5+15*math.cos(sine/7))+ -math.sin(sine/7)/1.5,math.rad(90-10*math.cos(sine/7)),math.rad(0)),0.15)
  3366. LH.C0=clerp(LH.C0,cf(-1,-0.925+0.5*math.cos(sine/7)/2,-0.5*math.cos(sine/7)/1.5)*angles(math.rad(-5-15*math.cos(sine/7))+ math.sin(sine/7)/1.5,math.rad(-90-10*math.cos(sine/7)),math.rad(0)),0.15)
  3367. elseif Mode == 2 then
  3368. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(4-2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(5 * Cos(sine / 7))), 0.15)
  3369. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  3370. RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * 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)
  3371. LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * 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)
  3372. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0.15 * Cos(sine / 7)) * angles(Rad(45) * Cos(sine / 7) , Rad(0), Rad(5) - ra.RotVelocity.Y / 75), 0.1)
  3373. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), -0.15 * Cos(sine / 7)) * angles(Rad(-45) * Cos(sine / 7) , Rad(0) , Rad(-5) + la.RotVelocity.Y / 75), 0.1)
  3374. elseif Mode == 3 then
  3375.  
  3376. elseif Mode == 4 then
  3377. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.375 + 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)
  3378. neck.C0 = clerp(neck.C0, necko * CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(6 - 2.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  3379. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 7) / 2* Player_Size, 0* Player_Size) * RHCF * angles(Rad(-1.5), Rad(0), Rad(-56) * Cos(sine / 7)), 0.15)
  3380. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1 + 0.1 * Cos(sine / 7) / 2* Player_Size, 0* Player_Size) * LHCF * angles(Rad(-1.5), Rad(0), Rad(-56) * Cos(sine / 7)), 0.15)
  3381. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.02 * Sin(sine / 20)* Player_Size, 0.6* Player_Size) * angles(Rad(-35), Rad(-25 + 2.5 * Sin(sine / 12)), Rad(-55 + 2.5 * Sin(sine / 12))), 0.12)
  3382. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(-48) * Cos(sine / 7) , Rad(0) , Rad(-3) + la.RotVelocity.Y / 75), 0.12)
  3383. elseif Mode == 5 then
  3384.  
  3385. elseif Mode == 6 then
  3386. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.175+0.025*math.cos(sine/3.5)+ -math.sin(sine/3.5)/7)*angles(math.rad(5-2.5*math.cos(sine/3.5)),math.rad(0),math.rad(10*math.cos(sine/7))),0.15)
  3387. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(25),math.rad(0),math.rad(0)),.3)
  3388. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(40) * math.cos(sine / 7), math.rad(0), math.rad(5)), 0.3)
  3389. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.05, 0) * angles(math.rad(115 + 4), math.rad(45), math.rad(50)), 0.1)
  3390. RH.C0=clerp(RH.C0,cf(1,-0.925-0.5*math.cos(sine/7)/2,0.5*math.cos(sine/7)/2)*angles(math.rad(-5-15*math.cos(sine/7))+ -math.sin(sine/7)/1.5,math.rad(90-10*math.cos(sine/7)),math.rad(0)),0.15)
  3391. LH.C0=clerp(LH.C0,cf(-1,-0.925+0.5*math.cos(sine/7)/2,-0.5*math.cos(sine/7)/2)*angles(math.rad(-5+15*math.cos(sine/7))+ math.sin(sine/7)/1.5,math.rad(-90-10*math.cos(sine/7)),math.rad(0)),0.15)
  3392. end
  3393. end
  3394. end
  3395. end
  3396.  
  3397.  
  3398. if 0 < #Effects then
  3399. for e = 1, #Effects do
  3400. if Effects[e] ~= nil then
  3401. local Thing = Effects[e]
  3402. if Thing ~= nil then
  3403. local Part = Thing[1]
  3404. local Mode = Thing[2]
  3405. local Delay = Thing[3]
  3406. local IncX = Thing[4]
  3407. local IncY = Thing[5]
  3408. local IncZ = Thing[6]
  3409. if 1 >= Thing[1].Transparency then
  3410. if Thing[2] == "Block1" then
  3411. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3412. local Mesh = Thing[1].Mesh
  3413. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3414. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3415. elseif Thing[2] == "Block2" then
  3416. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  3417. local Mesh = Thing[7]
  3418. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3419. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3420. elseif Thing[2] == "Block3" then
  3421. 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)
  3422. local Mesh = Thing[7]
  3423. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3424. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3425. elseif Thing[2] == "Cylinder" then
  3426. local Mesh = Thing[1].Mesh
  3427. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3428. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3429. elseif Thing[2] == "Blood" then
  3430. local Mesh = Thing[7]
  3431. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  3432. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3433. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3434. elseif Thing[2] == "Elec" then
  3435. local Mesh = Thing[1].Mesh
  3436. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  3437. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3438. elseif Thing[2] == "Disappear" then
  3439. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3440. elseif Thing[2] == "Shatter" then
  3441. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3442. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  3443. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  3444. Thing[6] = Thing[6] + Thing[5]
  3445. end
  3446. else
  3447. Part.Parent = nil
  3448. table.remove(Effects, e)
  3449. end
  3450. end
  3451. end
  3452. end
  3453. end
  3454. end
  3455. -------------------------------------------------------
  3456. --End Animations And Script--
  3457. -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement