Advertisement
XSleepyDemonX_17

Untitled

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