Advertisement
PasterXIV

Untitled

Sep 28th, 2019
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 69.43 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.  
  231.  
  232. --//=================================\\
  233. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  234. --\\=================================//
  235.  
  236. ArtificialHB = Instance.new("BindableEvent", script)
  237. ArtificialHB.Name = "ArtificialHB"
  238.  
  239. script:WaitForChild("ArtificialHB")
  240.  
  241. frame = Frame_Speed
  242. tf = 0
  243. allowframeloss = false
  244. tossremainder = false
  245. lastframe = tick()
  246. script.ArtificialHB:Fire()
  247.  
  248. game:GetService("RunService").Heartbeat:connect(function(s, p)
  249. tf = tf + s
  250. if tf >= frame then
  251. if allowframeloss then
  252. script.ArtificialHB:Fire()
  253. lastframe = tick()
  254. else
  255. for i = 1, math.floor(tf / frame) do
  256. script.ArtificialHB:Fire()
  257. end
  258. lastframe = tick()
  259. end
  260. if tossremainder then
  261. tf = 0
  262. else
  263. tf = tf - frame * math.floor(tf / frame)
  264. end
  265. end
  266. end)
  267.  
  268. --//=================================\\
  269. --\\=================================//
  270.  
  271. local plr = game:service'Players'.LocalPlayer
  272. print('Local User is '..plr.Name)
  273. print('...')
  274. print('Q Speed')
  275. print('E')
  276. print('R')
  277. print('T')
  278. print('F')
  279. print('G')
  280. local char = plr.Character
  281. local hum = char.Humanoid
  282. local hed = char.Head
  283. local root = char.HumanoidRootPart
  284. local rootj = root.RootJoint
  285. local tors = char.Torso
  286. local ra = char["Right Arm"]
  287. local la = char["Left Arm"]
  288. local rl = char["Right Leg"]
  289. local ll = char["Left Leg"]
  290. local neck = tors["Neck"]
  291. local mouse = plr:GetMouse()
  292. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  293. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  294. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  295. local maincolor = BrickColor.new("Institutional white")
  296.  
  297. -------------------------------------------------------
  298. --Start Good Stuff--
  299. -------------------------------------------------------
  300. cam = game.Workspace.CurrentCamera
  301. CF = CFrame.new
  302. angles = CFrame.Angles
  303. attack = false
  304. Euler = CFrame.fromEulerAnglesXYZ
  305. Rad = math.rad
  306. IT = Instance.new
  307. BrickC = BrickColor.new
  308. Cos = math.cos
  309. Acos = math.acos
  310. Sin = math.sin
  311. Asin = math.asin
  312. Abs = math.abs
  313. Mrandom = math.random
  314. Floor = math.floor
  315. -------------------------------------------------------
  316. --End Good Stuff--
  317. -------------------------------------------------------
  318. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  319. RSH, LSH = nil, nil
  320. RW = Instance.new("Weld")
  321. LW = Instance.new("Weld")
  322. RH = tors["Right Hip"]
  323. LH = tors["Left Hip"]
  324. RSH = tors["Right Shoulder"]
  325. LSH = tors["Left Shoulder"]
  326. RSH.Parent = nil
  327. LSH.Parent = nil
  328. RW.Name = "RW"
  329. RW.Part0 = tors
  330. RW.C0 = CF(1.5, 0.5, 0)
  331. RW.C1 = CF(0, 0.5, 0)
  332. RW.Part1 = ra
  333. RW.Parent = tors
  334. LW.Name = "LW"
  335. LW.Part0 = tors
  336. LW.C0 = CF(-1.5, 0.5, 0)
  337. LW.C1 = CF(0, 0.5, 0)
  338. LW.Part1 = la
  339. LW.Parent = tors
  340. Effects = {}
  341. -------------------------------------------------------
  342. --Start HeartBeat--
  343. -------------------------------------------------------
  344. ArtificialHB = Instance.new("BindableEvent", script)
  345. ArtificialHB.Name = "Heartbeat"
  346. script:WaitForChild("Heartbeat")
  347.  
  348. frame = 1 / 60
  349. tf = 0
  350. allowframeloss = false
  351. tossremainder = false
  352.  
  353.  
  354. lastframe = tick()
  355. script.Heartbeat:Fire()
  356.  
  357.  
  358. game:GetService("RunService").Heartbeat:connect(function(s, p)
  359. tf = tf + s
  360. if tf >= frame then
  361. if allowframeloss then
  362. script.Heartbeat:Fire()
  363. lastframe = tick()
  364. else
  365. for i = 1, math.floor(tf / frame) do
  366. script.Heartbeat:Fire()
  367. end
  368. lastframe = tick()
  369. end
  370. if tossremainder then
  371. tf = 0
  372. else
  373. tf = tf - frame * math.floor(tf / frame)
  374. end
  375. end
  376. end)
  377. -------------------------------------------------------
  378. --End HeartBeat--
  379. -------------------------------------------------------
  380.  
  381. -------------------------------------------------------
  382. --Start Important Functions--
  383. -------------------------------------------------------
  384. function swait(num)
  385. if num == 0 or num == nil then
  386. game:service("RunService").Stepped:wait(0)
  387. else
  388. for i = 0, num do
  389. game:service("RunService").Stepped:wait(0)
  390. end
  391. end
  392. end
  393. function thread(f)
  394. coroutine.resume(coroutine.create(f))
  395. end
  396. function clerp(a, b, t)
  397. local qa = {
  398. QuaternionFromCFrame(a)
  399. }
  400. local qb = {
  401. QuaternionFromCFrame(b)
  402. }
  403. local ax, ay, az = a.x, a.y, a.z
  404. local bx, by, bz = b.x, b.y, b.z
  405. local _t = 1 - t
  406. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  407. end
  408. function QuaternionFromCFrame(cf)
  409. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  410. local trace = m00 + m11 + m22
  411. if trace > 0 then
  412. local s = math.sqrt(1 + trace)
  413. local recip = 0.5 / s
  414. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  415. else
  416. local i = 0
  417. if m00 < m11 then
  418. i = 1
  419. end
  420. if m22 > (i == 0 and m00 or m11) then
  421. i = 2
  422. end
  423. if i == 0 then
  424. local s = math.sqrt(m00 - m11 - m22 + 1)
  425. local recip = 0.5 / s
  426. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  427. elseif i == 1 then
  428. local s = math.sqrt(m11 - m22 - m00 + 1)
  429. local recip = 0.5 / s
  430. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  431. elseif i == 2 then
  432. local s = math.sqrt(m22 - m00 - m11 + 1)
  433. local recip = 0.5 / s
  434. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  435. end
  436. end
  437. end
  438. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  439. local xs, ys, zs = x + x, y + y, z + z
  440. local wx, wy, wz = w * xs, w * ys, w * zs
  441. local xx = x * xs
  442. local xy = x * ys
  443. local xz = x * zs
  444. local yy = y * ys
  445. local yz = y * zs
  446. local zz = z * zs
  447. 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))
  448. end
  449. function QuaternionSlerp(a, b, t)
  450. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  451. local startInterp, finishInterp
  452. if cosTheta >= 1.0E-4 then
  453. if 1 - cosTheta > 1.0E-4 then
  454. local theta = math.acos(cosTheta)
  455. local invSinTheta = 1 / Sin(theta)
  456. startInterp = Sin((1 - t) * theta) * invSinTheta
  457. finishInterp = Sin(t * theta) * invSinTheta
  458. else
  459. startInterp = 1 - t
  460. finishInterp = t
  461. end
  462. elseif 1 + cosTheta > 1.0E-4 then
  463. local theta = math.acos(-cosTheta)
  464. local invSinTheta = 1 / Sin(theta)
  465. startInterp = Sin((t - 1) * theta) * invSinTheta
  466. finishInterp = Sin(t * theta) * invSinTheta
  467. else
  468. startInterp = t - 1
  469. finishInterp = t
  470. end
  471. 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
  472. end
  473. function rayCast(Position, Direction, Range, Ignore)
  474. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  475. end
  476. local RbxUtility = LoadLibrary("RbxUtility")
  477. local Create = RbxUtility.Create
  478.  
  479. -------------------------------------------------------
  480. --Start Damage Function--
  481. -------------------------------------------------------
  482. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  483. if hit.Parent == nil then
  484. return
  485. end
  486. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  487. for _, v in pairs(hit.Parent:children()) do
  488. if v:IsA("Humanoid") then
  489. h = v
  490. end
  491. end
  492. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  493.  
  494. hit.Parent:FindFirstChild("Head"):BreakJoints()
  495. end
  496.  
  497. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  498. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  499. if hit.Parent.DebounceHit.Value == true then
  500. return
  501. end
  502. end
  503. if insta == true then
  504. hit.Parent:FindFirstChild("Head"):BreakJoints()
  505. end
  506. local c = Create("ObjectValue"){
  507. Name = "creator",
  508. Value = game:service("Players").LocalPlayer,
  509. Parent = h,
  510. }
  511. game:GetService("Debris"):AddItem(c, .5)
  512. if HitSound ~= nil and HitPitch ~= nil then
  513. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  514. end
  515. local Damage = math.random(minim, maxim)
  516. local blocked = false
  517. local block = hit.Parent:findFirstChild("Block")
  518. if block ~= nil then
  519. if block.className == "IntValue" then
  520. if block.Value > 0 then
  521. blocked = true
  522. block.Value = block.Value - 1
  523. print(block.Value)
  524. end
  525. end
  526. end
  527. if blocked == false then
  528. h.Health = h.Health - Damage
  529. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  530. else
  531. h.Health = h.Health - (Damage / 2)
  532. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  533. end
  534. if Type == "Knockdown" then
  535. local hum = hit.Parent.Humanoid
  536. hum.PlatformStand = true
  537. coroutine.resume(coroutine.create(function(HHumanoid)
  538. swait(1)
  539. HHumanoid.PlatformStand = false
  540. end), hum)
  541. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  542. local bodvol = Create("BodyVelocity"){
  543. velocity = angle * knockback,
  544. P = 5000,
  545. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  546. Parent = hit,
  547. }
  548. local rl = Create("BodyAngularVelocity"){
  549. P = 3000,
  550. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  551. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  552. Parent = hit,
  553. }
  554. game:GetService("Debris"):AddItem(bodvol, .5)
  555. game:GetService("Debris"):AddItem(rl, .5)
  556. elseif Type == "Normal" then
  557. local vp = Create("BodyVelocity"){
  558. P = 500,
  559. maxForce = Vector3.new(math.huge, 0, math.huge),
  560. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  561. }
  562. if knockback > 0 then
  563. vp.Parent = hit.Parent.Torso
  564. end
  565. game:GetService("Debris"):AddItem(vp, .5)
  566. elseif Type == "Up" then
  567. local bodyVelocity = Create("BodyVelocity"){
  568. velocity = Vector3.new(0, 20, 0),
  569. P = 5000,
  570. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  571. Parent = hit,
  572. }
  573. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  574. elseif Type == "DarkUp" then
  575. coroutine.resume(coroutine.create(function()
  576. for i = 0, 1, 0.1 do
  577. swait()
  578. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  579. end
  580. end))
  581. local bodyVelocity = Create("BodyVelocity"){
  582. velocity = Vector3.new(0, 20, 0),
  583. P = 5000,
  584. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  585. Parent = hit,
  586. }
  587. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  588. elseif Type == "Snare" then
  589. local bp = Create("BodyPosition"){
  590. P = 2000,
  591. D = 100,
  592. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  593. position = hit.Parent.Torso.Position,
  594. Parent = hit.Parent.Torso,
  595. }
  596. game:GetService("Debris"):AddItem(bp, 1)
  597. elseif Type == "Freeze" then
  598. local BodPos = Create("BodyPosition"){
  599. P = 50000,
  600. D = 1000,
  601. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  602. position = hit.Parent.Torso.Position,
  603. Parent = hit.Parent.Torso,
  604. }
  605. local BodGy = Create("BodyGyro") {
  606. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  607. P = 20e+003,
  608. Parent = hit.Parent.Torso,
  609. cframe = hit.Parent.Torso.CFrame,
  610. }
  611. hit.Parent.Torso.Anchored = true
  612. coroutine.resume(coroutine.create(function(Part)
  613. swait(1.5)
  614. Part.Anchored = false
  615. end), hit.Parent.Torso)
  616. game:GetService("Debris"):AddItem(BodPos, 3)
  617. game:GetService("Debris"):AddItem(BodGy, 3)
  618. end
  619. local debounce = Create("BoolValue"){
  620. Name = "DebounceHit",
  621. Parent = hit.Parent,
  622. Value = true,
  623. }
  624. game:GetService("Debris"):AddItem(debounce, Delay)
  625. c = Create("ObjectValue"){
  626. Name = "creator",
  627. Value = Player,
  628. Parent = h,
  629. }
  630. game:GetService("Debris"):AddItem(c, .5)
  631. end
  632. end
  633. -------------------------------------------------------
  634. --End Damage Function--
  635. -------------------------------------------------------
  636.  
  637. -------------------------------------------------------
  638. --Start Damage Function Customization--
  639. -------------------------------------------------------
  640. function ShowDamage(Pos, Text, Time, Color)
  641. local Rate = (1 / 30)
  642. local Pos = (Pos or Vector3.new(0, 0, 0))
  643. local Text = (Text or "")
  644. local Time = (Time or 2)
  645. local Color = (Color or Color3.new(1, 0, 1))
  646. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  647. EffectPart.Anchored = true
  648. local BillboardGui = Create("BillboardGui"){
  649. Size = UDim2.new(3, 0, 3, 0),
  650. Adornee = EffectPart,
  651. Parent = EffectPart,
  652. }
  653. local TextLabel = Create("TextLabel"){
  654. BackgroundTransparency = 1,
  655. Size = UDim2.new(1, 0, 1, 0),
  656. Text = Text,
  657. Font = "Bodoni",
  658. TextColor3 = Color,
  659. TextScaled = true,
  660. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  661. Parent = BillboardGui,
  662. }
  663. game.Debris:AddItem(EffectPart, (Time))
  664. EffectPart.Parent = game:GetService("Workspace")
  665. delay(0, function()
  666. local Frames = (Time / Rate)
  667. for Frame = 1, Frames do
  668. wait(Rate)
  669. local Percent = (Frame / Frames)
  670. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  671. TextLabel.TextTransparency = Percent
  672. end
  673. if EffectPart and EffectPart.Parent then
  674. EffectPart:Destroy()
  675. end
  676. end)
  677. end
  678. -------------------------------------------------------
  679. --End Damage Function Customization--
  680. -------------------------------------------------------
  681.  
  682. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  683. for _, c in pairs(workspace:children()) do
  684. local hum = c:findFirstChild("Humanoid")
  685. if hum ~= nil then
  686. local head = c:findFirstChild("Head")
  687. if head ~= nil then
  688. local targ = head.Position - Part.Position
  689. local mag = targ.magnitude
  690. if magni >= mag and c.Name ~= plr.Name then
  691. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  692. end
  693. end
  694. end
  695. end
  696. end
  697.  
  698.  
  699. CFuncs = {
  700. Part = {
  701. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  702. local Part = Create("Part")({
  703. Parent = Parent,
  704. Reflectance = Reflectance,
  705. Transparency = Transparency,
  706. CanCollide = false,
  707. Locked = true,
  708. BrickColor = BrickColor.new(tostring(BColor)),
  709. Name = Name,
  710. Size = Size,
  711. Material = Material
  712. })
  713. RemoveOutlines(Part)
  714. return Part
  715. end
  716. },
  717. Mesh = {
  718. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  719. local Msh = Create(Mesh)({
  720. Parent = Part,
  721. Offset = OffSet,
  722. Scale = Scale
  723. })
  724. if Mesh == "SpecialMesh" then
  725. Msh.MeshType = MeshType
  726. Msh.MeshId = MeshId
  727. end
  728. return Msh
  729. end
  730. },
  731. Mesh = {
  732. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  733. local Msh = Create(Mesh)({
  734. Parent = Part,
  735. Offset = OffSet,
  736. Scale = Scale
  737. })
  738. if Mesh == "SpecialMesh" then
  739. Msh.MeshType = MeshType
  740. Msh.MeshId = MeshId
  741. end
  742. return Msh
  743. end
  744. },
  745. Weld = {
  746. Create = function(Parent, Part0, Part1, C0, C1)
  747. local Weld = Create("Weld")({
  748. Parent = Parent,
  749. Part0 = Part0,
  750. Part1 = Part1,
  751. C0 = C0,
  752. C1 = C1
  753. })
  754. return Weld
  755. end
  756. },
  757. Sound = {
  758. Create = function(id, par, vol, pit)
  759. coroutine.resume(coroutine.create(function()
  760. local S = Create("Sound")({
  761. Volume = vol,
  762. Pitch = pit or 1,
  763. SoundId = id,
  764. Parent = par or workspace
  765. })
  766. wait()
  767. S:play()
  768. game:GetService("Debris"):AddItem(S, 6)
  769. end))
  770. end
  771. -------------------------------------------------------
  772. --Start Effect Function--
  773. -------------------------------------------------------
  774. EffectModel = Instance.new("Model", char)
  775. Effects = {
  776. Block = {
  777. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  778. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  779. prt.Anchored = true
  780. prt.CFrame = cframe
  781. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  782. game:GetService("Debris"):AddItem(prt, 10)
  783. if Type == 1 or Type == nil then
  784. table.insert(Effects, {
  785. prt,
  786. "Block1",
  787. delay,
  788. x3,
  789. y3,
  790. z3,
  791. msh
  792. })
  793. elseif Type == 2 then
  794. table.insert(Effects, {
  795. prt,
  796. "Block2",
  797. delay,
  798. x3,
  799. y3,
  800. z3,
  801. msh
  802. })
  803. else
  804. table.insert(Effects, {
  805. prt,
  806. "Block3",
  807. delay,
  808. x3,
  809. y3,
  810. z3,
  811. msh
  812. })
  813. end
  814. end
  815. },
  816. Sphere = {
  817. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  818. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  819. prt.Anchored = true
  820. prt.CFrame = cframe
  821. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  822. game:GetService("Debris"):AddItem(prt, 10)
  823. table.insert(Effects, {
  824. prt,
  825. "Cylinder",
  826. delay,
  827. x3,
  828. y3,
  829. z3,
  830. msh
  831. })
  832. end
  833. },
  834. Cylinder = {
  835. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  836. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  837. prt.Anchored = true
  838. prt.CFrame = cframe
  839. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  840. game:GetService("Debris"):AddItem(prt, 10)
  841. table.insert(Effects, {
  842. prt,
  843. "Cylinder",
  844. delay,
  845. x3,
  846. y3,
  847. z3,
  848. msh
  849. })
  850. end
  851. },
  852. Wave = {
  853. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  854. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  855. prt.Anchored = true
  856. prt.CFrame = cframe
  857. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  858. game:GetService("Debris"):AddItem(prt, 10)
  859. table.insert(Effects, {
  860. prt,
  861. "Cylinder",
  862. delay,
  863. x3 / 60,
  864. y3 / 60,
  865. z3 / 60,
  866. msh
  867. })
  868. end
  869. },
  870. Ring = {
  871. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  872. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  873. prt.Anchored = true
  874. prt.CFrame = cframe
  875. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  876. game:GetService("Debris"):AddItem(prt, 10)
  877. table.insert(Effects, {
  878. prt,
  879. "Cylinder",
  880. delay,
  881. x3,
  882. y3,
  883. z3,
  884. msh
  885. })
  886. end
  887. },
  888. Break = {
  889. Create = function(brickcolor, cframe, x1, y1, z1)
  890. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  891. prt.Anchored = true
  892. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  893. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  894. local num = math.random(10, 50) / 1000
  895. game:GetService("Debris"):AddItem(prt, 10)
  896. table.insert(Effects, {
  897. prt,
  898. "Shatter",
  899. num,
  900. prt.CFrame,
  901. math.random() - math.random(),
  902. 0,
  903. math.random(50, 100) / 100
  904. })
  905. end
  906. },
  907. Spiral = {
  908. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  909. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  910. prt.Anchored = true
  911. prt.CFrame = cframe
  912. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  913. game:GetService("Debris"):AddItem(prt, 10)
  914. table.insert(Effects, {
  915. prt,
  916. "Cylinder",
  917. delay,
  918. x3,
  919. y3,
  920. z3,
  921. msh
  922. })
  923. end
  924. },
  925. Push = {
  926. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  927. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  928. prt.Anchored = true
  929. prt.CFrame = cframe
  930. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  931. game:GetService("Debris"):AddItem(prt, 10)
  932. table.insert(Effects, {
  933. prt,
  934. "Cylinder",
  935. delay,
  936. x3,
  937. y3,
  938. z3,
  939. msh
  940. })
  941. end
  942. }
  943. }
  944. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  945. local fp = IT("Part")
  946. fp.formFactor = formfactor
  947. fp.Parent = parent
  948. fp.Reflectance = reflectance
  949. fp.Transparency = transparency
  950. fp.CanCollide = false
  951. fp.Locked = true
  952. fp.BrickColor = brickcolor
  953. fp.Name = name
  954. fp.Size = size
  955. fp.Position = tors.Position
  956. RemoveOutlines(fp)
  957. fp.Material = "SmoothPlastic"
  958. fp:BreakJoints()
  959. return fp
  960. end
  961.  
  962. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  963. local mesh = IT(Mesh)
  964. mesh.Parent = part
  965. if Mesh == "SpecialMesh" then
  966. mesh.MeshType = meshtype
  967. if meshid ~= "nil" then
  968. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  969. end
  970. end
  971. mesh.Offset = offset
  972. mesh.Scale = scale
  973. return mesh
  974. end
  975.  
  976. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  977. local type = type
  978. local rng = Instance.new("Part", char)
  979. rng.Anchored = true
  980. rng.BrickColor = color
  981. rng.CanCollide = false
  982. rng.FormFactor = 3
  983. rng.Name = "Ring"
  984. rng.Material = "Neon"
  985. rng.Size = Vector3.new(1, 1, 1)
  986. rng.Transparency = 0
  987. rng.TopSurface = 0
  988. rng.BottomSurface = 0
  989. rng.CFrame = pos
  990. local rngm = Instance.new("SpecialMesh", rng)
  991. rngm.MeshType = MType
  992. rngm.Scale = scale
  993. local scaler2 = 1
  994. if type == "Add" then
  995. scaler2 = 1 * value
  996. elseif type == "Divide" then
  997. scaler2 = 1 / value
  998. end
  999. coroutine.resume(coroutine.create(function()
  1000. for i = 0, 10 / bonuspeed, 0.1 do
  1001. swait()
  1002. if type == "Add" then
  1003. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1004. elseif type == "Divide" then
  1005. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1006. end
  1007. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1008. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  1009. end
  1010. rng:Destroy()
  1011. end))
  1012. end
  1013.  
  1014. function Eviscerate(dude)
  1015. if dude.Name ~= char then
  1016. local bgf = IT("BodyGyro", dude.Head)
  1017. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1018. local val = IT("BoolValue", dude)
  1019. val.Name = "IsHit"
  1020. local ds = coroutine.wrap(function()
  1021. dude:WaitForChild("Head"):BreakJoints()
  1022. wait(0.5)
  1023. target = nil
  1024. coroutine.resume(coroutine.create(function()
  1025. for i, v in pairs(dude:GetChildren()) do
  1026. if v:IsA("Accessory") then
  1027. v:Destroy()
  1028. end
  1029. if v:IsA("Humanoid") then
  1030. v:Destroy()
  1031. end
  1032. if v:IsA("CharacterMesh") then
  1033. v:Destroy()
  1034. end
  1035. if v:IsA("Model") then
  1036. v:Destroy()
  1037. end
  1038. if v:IsA("Part") or v:IsA("MeshPart") then
  1039. for x, o in pairs(v:GetChildren()) do
  1040. if o:IsA("Decal") then
  1041. o:Destroy()
  1042. end
  1043. end
  1044. coroutine.resume(coroutine.create(function()
  1045. v.Material = "Neon"
  1046. v.CanCollide = false
  1047. end
  1048.  
  1049. function FindNearestHead(Position, Distance, SinglePlayer)
  1050. if SinglePlayer then
  1051. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  1052. end
  1053. local List = {}
  1054. for i, v in pairs(workspace:GetChildren()) do
  1055. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  1056. table.insert(List, v)
  1057. end
  1058. end
  1059. return List
  1060. end
  1061.  
  1062. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  1063. local type = type
  1064. local rng = Instance.new("Part", char)
  1065. rng.Anchored = true
  1066. rng.BrickColor = color
  1067. rng.CanCollide = false
  1068. rng.FormFactor = 3
  1069. rng.Name = "Ring"
  1070. rng.Material = "Neon"
  1071. rng.Size = Vector3.new(1, 1, 1)
  1072. rng.Transparency = 0
  1073. rng.TopSurface = 0
  1074. rng.BottomSurface = 0
  1075. rng.CFrame = pos
  1076. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  1077. local rngm = Instance.new("SpecialMesh", rng)
  1078. rngm.MeshType = MType
  1079. rngm.Scale = Vector3.new(x1, y1, z1)
  1080. local scaler2 = 1
  1081. local speeder = FastSpeed
  1082. if type == "Add" then
  1083. scaler2 = 1 * value
  1084. elseif type == "Divide" then
  1085. scaler2 = 1 / value
  1086. end
  1087. coroutine.resume(coroutine.create(function()
  1088. for i = 0, 10 / bonuspeed, 0.1 do
  1089. swait()
  1090. if type == "Add" then
  1091. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1092. elseif type == "Divide" then
  1093. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1094. end
  1095. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  1096. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  1097. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1098. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  1099. end
  1100. rng:Destroy()
  1101. end))
  1102. end
  1103.  
  1104. function SoulSteal(dude)
  1105. if dude.Name ~= char then
  1106. local bgf = IT("BodyGyro", dude.Head)
  1107. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1108. local val = IT("BoolValue", dude)
  1109. val.Name = "IsHit"
  1110. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  1111. local soulst = coroutine.wrap(function()
  1112. local soul = Instance.new("Part",dude)
  1113. soul.Size = Vector3.new(1,1,1)
  1114. soul.CanCollide = false
  1115. soul.Anchored = false
  1116. soul.Position = torso.Position
  1117. soul.Transparency = 1
  1118. end
  1119. -------------------------------------------------------
  1120. --End Effect Function--
  1121. -------------------------------------------------------
  1122. function Cso(ID, PARENT, VOLUME, PITCH)
  1123. local NSound = nil
  1124. coroutine.resume(coroutine.create(function()
  1125. NSound = IT("Sound", PARENT)
  1126. NSound.Volume = VOLUME
  1127. NSound.Pitch = PITCH
  1128. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  1129. swait()
  1130. NSound:play()
  1131. game:GetService("Debris"):AddItem(NSound, 10)
  1132. end))
  1133. return NSound
  1134. end
  1135. function CameraEnshaking(Length, Intensity)
  1136. coroutine.resume(coroutine.create(function()
  1137. local intensity = 1 * Intensity
  1138. local rotM = 0.01 * Intensity
  1139. for i = 0, Length, 0.1 do
  1140. swait()
  1141. intensity = intensity - 0.05 * Intensity / Length
  1142. rotM = rotM - 5.0E-4 * Intensity / Length
  1143. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  1144. 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)
  1145. end
  1146. hum.CameraOffset = Vector3.new(0, 0, 0)
  1147. end))
  1148. end
  1149. function chatfunc(text, color)
  1150. local chat = coroutine.wrap(function()
  1151. if char:FindFirstChild("TalkingBillBoard") ~= nil then
  1152. char:FindFirstChild("TalkingBillBoard"):destroy()
  1153. end
  1154. local naeeym2 = Instance.new("BillboardGui", char)
  1155. naeeym2.Size = UDim2.new(0, 100, 0, 40)
  1156. naeeym2.StudsOffset = Vector3.new(0, 5, 0)
  1157. naeeym2.Adornee = hed
  1158. naeeym2.Name = "TalkingBillBoard"
  1159. local tecks2 = Instance.new("TextLabel", naeeym2)
  1160. tecks2.BackgroundTransparency = 1
  1161. tecks2.BorderSizePixel = 0
  1162. tecks2.Text = ""
  1163. tecks2.Font = "SciFi"
  1164. tecks2.TextSize = 30
  1165. tecks2.TextStrokeTransparency = 0
  1166. tecks2.TextColor3 = color
  1167. tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
  1168. tecks2.Size = UDim2.new(1, 0, 0.5, 0)
  1169. coroutine.resume(coroutine.create(function()
  1170. while true do
  1171. swait(1)
  1172. tecks2.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5))
  1173. tecks2.Rotation = math.random(-5, 5)
  1174. end
  1175. end))
  1176. for i = 1, string.len(text) do
  1177. CFuncs.Sound.Create("rbxassetid://274118116", hed, 5.25, 0.115)
  1178. tecks2.Text = string.sub(text, 1, i)
  1179. swait(1)
  1180. end
  1181. wait(1)
  1182. naeeym2:Destroy()
  1183. end)
  1184. chat()
  1185. end
  1186. -------------------------------------------------------
  1187. --End Important Functions--
  1188. -------------------------------------------------------
  1189.  
  1190. -------------------------------------------------------
  1191. --Start Customization--
  1192. -------------------------------------------------------
  1193. local Player_Size = 1
  1194. if Player_Size ~= 1 then
  1195. root.Size = root.Size * Player_Size
  1196. tors.Size = tors.Size * Player_Size
  1197. hed.Size = hed.Size * Player_Size
  1198. ra.Size = ra.Size * Player_Size
  1199. la.Size = la.Size * Player_Size
  1200. rl.Size = rl.Size * Player_Size
  1201. ll.Size = ll.Size * Player_Size
  1202. ----------------------------------------------------------------------------------
  1203. rootj.Parent = root
  1204. neck.Parent = tors
  1205. RW.Parent = tors
  1206. LW.Parent = tors
  1207. RH.Parent = tors
  1208. LH.Parent = tors
  1209. ----------------------------------------------------------------------------------
  1210. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1211. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1212. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  1213. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  1214. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  1215. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  1216. ----------------------------------------------------------------------------------
  1217. 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))
  1218. 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))
  1219. 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))
  1220. 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))
  1221. --hat.Parent = Character
  1222. end
  1223. ----------------------------------------------------------------------------------
  1224. local equipped = false
  1225. local idle = 0
  1226. local change = 1
  1227. local val = 0
  1228. local toim = 0
  1229. local idleanim = 0.4
  1230. local sine = 0
  1231. local Sit = 1
  1232. ----------------------------------------------------------------------------------
  1233. local SONG = 1256391355
  1234. local SONG2 = 0
  1235. local Music = Instance.new("Sound",tors)
  1236. Music.Volume = 2.5
  1237. Music.Looped = true
  1238. Music.Pitch = 1 --Pitcher
  1239. ----------------------------------------------------------------------------------
  1240. function weld(a, b, acf)
  1241. local w = Instance.new("Weld", a)
  1242. w.Part0 = a
  1243. w.Part1 = b
  1244. w.C0 = acf
  1245. end
  1246. hum.WalkSpeed = 16
  1247. hum.JumpPower = 70
  1248. hum.MaxHealth = 999999999999999999999999999999999999999999999999999999999999999999
  1249. hum.Health = 999999999999999999999999999999999999999999999999999999999999999999
  1250. hum.Animator.Parent = nil
  1251. ----------------------------------------------------------------------------------
  1252. local naeeym2 = Instance.new("BillboardGui",char)
  1253. naeeym2.AlwaysOnTop = true
  1254. naeeym2.Size = UDim2.new(5,35,2,15)
  1255. naeeym2.StudsOffset = Vector3.new(0, 3.5, 0)
  1256. naeeym2.Adornee = hed
  1257. naeeym2.Name = "Name"
  1258. --naeeym2.PlayerToHideFrom = Player
  1259. local tecks2 = Instance.new("TextLabel",naeeym2)
  1260. tecks2.BackgroundTransparency = 1
  1261. tecks2.TextScaled = true
  1262. tecks2.BorderSizePixel = 0
  1263. tecks2.Text = "???"
  1264. tecks2.Font = Enum.Font.Antique
  1265. tecks2.TextSize = 30
  1266. tecks2.TextStrokeTransparency = 0
  1267. tecks2.TextColor3 = Color3.new(255, 0, 0)
  1268. tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
  1269. tecks2.Size = UDim2.new(1,0,0.5,0)
  1270. tecks2.Parent = naeeym2
  1271. wait(1)
  1272. tecks2.Text = "...?"
  1273. wait(2)
  1274. tecks2.Text = "..."
  1275. wait(3)
  1276. tecks2.Text = "???"
  1277. --------------------------------------------------------
  1278. local EyeSizes={
  1279. NumberSequenceKeypoint.new(0,0.65,0),
  1280. NumberSequenceKeypoint.new(0.5,0.7,0),
  1281. NumberSequenceKeypoint.new(1,0,0)
  1282. }
  1283. local EyeTrans={
  1284. NumberSequenceKeypoint.new(0,0,0),
  1285. NumberSequenceKeypoint.new(0.5,0,0),
  1286. NumberSequenceKeypoint.new(1,1,0)
  1287. }
  1288. -------------------------------------------------------
  1289. --End Customization--
  1290. -------------------------------------------------------
  1291.  
  1292.  
  1293. -------------------------------------------------------
  1294. --Start Attacks N Stuff--
  1295. -------------------------------------------------------
  1296. function attackone()
  1297. attack = true
  1298. hum.WalkSpeed = 3.01
  1299. for i = 0, 1.7, 0.1 do
  1300. swait()
  1301. 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)
  1302. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(40)), 0.3)
  1303. 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)
  1304. 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)
  1305. 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)
  1306. 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)
  1307. end
  1308. Cso("203426541", ra, 10, 1)
  1309. for i = 0, 1.4, 0.1 do
  1310. swait()
  1311. 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)
  1312. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(-55)), 0.3)
  1313. 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)
  1314. 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)
  1315. 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)
  1316. 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)
  1317. end
  1318. for i = 0, 1.4, 0.1 do
  1319. swait()
  1320. 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)
  1321. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(-55)), 0.3)
  1322. 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)
  1323. 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)
  1324. 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)
  1325. 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)
  1326. for i, v in pairs(FindNearestHead(tors.CFrame.p, 4)) do
  1327. if v:FindFirstChild("Head") then
  1328. Eviscerate(v)
  1329. end
  1330. end
  1331. end
  1332. attack = false
  1333. hum.WalkSpeed = 16
  1334. end
  1335. function attacktwo()
  1336. attack = true
  1337. hum.WalkSpeed = 3.01
  1338. for i = 0, 1.7, 0.1 do
  1339. swait()
  1340. 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)
  1341. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3)
  1342. 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)
  1343. 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)
  1344. 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)
  1345. 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)
  1346. end
  1347. Cso("203426541", rl, 10, 1)
  1348. CameraEnshaking(2, 3)
  1349. for i = 0, 1.4, 0.1 do
  1350. swait()
  1351. 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)
  1352. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(5), Rad(0), Rad(0)), 0.3)
  1353. 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)
  1354. 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)
  1355. 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)
  1356. 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)
  1357. for i, v in pairs(FindNearestHead(tors.CFrame.p, 5)) do
  1358. if v:FindFirstChild("Head") then
  1359. Eviscerate(v)
  1360. end
  1361. end
  1362. end
  1363. attack = false
  1364. hum.WalkSpeed = 16
  1365. end
  1366. function attackthree()
  1367. attack = true
  1368. hum.WalkSpeed = 3.01
  1369. for i = 0, 1.4, 0.1 do
  1370. swait()
  1371. 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)
  1372. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1373. 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)
  1374. 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)
  1375. 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)
  1376. 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)
  1377. end
  1378. Cso("203426541", hed, 10, 1)
  1379. for i = 0, 1.7, 0.1 do
  1380. swait()
  1381. 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)
  1382. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1383. 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)
  1384. 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)
  1385. 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)
  1386. 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)
  1387. for i, v in pairs(FindNearestHead(tors.CFrame.p, 6)) do
  1388. if v:FindFirstChild("Head") then
  1389. Eviscerate(v)
  1390. end
  1391. end
  1392. end
  1393. attack = false
  1394. hum.WalkSpeed = 16
  1395. end
  1396.  
  1397. function Distort()
  1398. attack = true
  1399. hum.WalkSpeed = 0
  1400. local pos = root.Position
  1401. root.CFrame = CF(mouse.Hit.p+Vector3.new(0,3,0),pos)
  1402. Cso("847061203", char, 10, 0.85)
  1403. for i = 1,2.5,0.1 do
  1404. swait()
  1405. 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)
  1406. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
  1407. 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)
  1408. 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)
  1409. 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)
  1410. 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)
  1411. end
  1412. attack = false
  1413. hum.WalkSpeed = 8
  1414. end
  1415. function Ancient_Rage()
  1416. attack = true
  1417. hum.WalkSpeed = 0
  1418. Cso("135017578", tors, 10, 1.05)
  1419. for i = 1,14,0.1 do
  1420. swait()
  1421. 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)
  1422. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
  1423. 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)
  1424. 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)
  1425. 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)
  1426. 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)
  1427. for i, v in pairs(FindNearestHead(tors.CFrame.p, 20)) do
  1428. if v:FindFirstChild("Head") then
  1429. Eviscerate(v)
  1430. end
  1431. end
  1432. end
  1433. attack = false
  1434. hum.WalkSpeed = 16
  1435. end
  1436. function Technobeam()
  1437. attack = true
  1438. hum.WalkSpeed = 3.01
  1439. for i = 0, 4, 0.1 do
  1440. swait()
  1441. hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), 0)
  1442. 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)
  1443. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.2)
  1444. 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)
  1445. 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)
  1446. 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)
  1447. 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)
  1448. end
  1449. for i = 0, 2, 0.1 do
  1450. swait()
  1451. hum.CameraOffset = Vector3.new(0, 0.3 + 0.1 * Cos(sine / 20), 0)
  1452. 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)
  1453. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(-40)), 0.2)
  1454. 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)
  1455. 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)
  1456. 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)
  1457. 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)
  1458. end
  1459. Magic(5, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, maincolor, "Sphere")
  1460. Magic(10, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, maincolor, "Sphere")
  1461. Magic(1, "Add", mouse.Hit, Vector3.new(1, 100000, 1), 0.5, maincolor, "Sphere")
  1462. Magic(1, "Add", mouse.Hit, Vector3.new(1, 1, 1), 0.75, maincolor, "Sphere")
  1463. CameraEnshaking(4, 5)
  1464. Cso("206049428", char, 10, 1)
  1465. for i, v in pairs(FindNearestHead(mouse.Hit.p, 14.5)) do
  1466. if v:FindFirstChild("Head") then
  1467. Eviscerate(v)
  1468. end
  1469. end
  1470. for i = 0, 2, 0.1 do
  1471. swait()
  1472. hum.CameraOffset = Vector3.new(0, -0.2 + 0.1 * Cos(sine / 20), 0)
  1473. 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)
  1474. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.2)
  1475. 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)
  1476. 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)
  1477. 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)
  1478. 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)
  1479. end
  1480. hum.WalkSpeed = 16
  1481. attack = false
  1482. end
  1483. function Taunt10000()
  1484. attack = true
  1485. Cso("333446256", char, 10, 1)
  1486. for i = 0, 15, 0.1 do
  1487. swait()
  1488. 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)
  1489. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 3.5)), Rad(0), Rad(-30)), 0.1)
  1490. 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)
  1491. 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)
  1492. 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)
  1493. 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)
  1494. end
  1495. for i = 0, 15, 0.1 do
  1496. swait()
  1497. 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)
  1498. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 3.5)), Rad(0), Rad(-30)), 0.1)
  1499. 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)
  1500. 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)
  1501. 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)
  1502. 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)
  1503. end
  1504. for i = 0, 20, 0.1 do
  1505. swait()
  1506. 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)
  1507. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 3.5)), Rad(0), Rad(-30)), 0.1)
  1508. 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)
  1509. 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)
  1510. 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)
  1511. 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)
  1512. end
  1513. attack = false
  1514. end
  1515. function OP9999()
  1516. attack = true
  1517. hum.WalkSpeed = 3.01
  1518. Cso("1690476035",char, 10, 1)
  1519. for i = 0,5.2,0.1 do
  1520. swait()
  1521. Effects.Block.Create(BrickC("Really black"), ll.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  1522. 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)
  1523. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1524. 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)
  1525. 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)
  1526. 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)
  1527. 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)
  1528. end
  1529. Cso("824687369", char, 10, 1)
  1530. for i = 0,3.7,0.1 do
  1531. swait()
  1532. 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)
  1533. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1534. 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)
  1535. 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)
  1536. 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)
  1537. 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)
  1538. CameraEnshaking(2, 8)
  1539. Effects.Sphere.Create(BrickColor.new("Really black"), root.CFrame * CF(0, -3, 0), 10, 4, 10, 9999999, -0.1, 9999999, 0.01)
  1540. for i, v in pairs(FindNearestHead(tors.CFrame.p, 9999999)) do
  1541. if v:FindFirstChild("Head") then
  1542. Eviscerate(v)
  1543. end
  1544. end
  1545. end
  1546. attack = false
  1547. hum.WalkSpeed = 16
  1548. end
  1549. -------------------------------------------------------
  1550. --End Attacks N Stuff--
  1551. -------------------------------------------------------
  1552. mouse.KeyDown:connect(function(key)
  1553. if key == 'q' then
  1554. Swing = 2
  1555. hum.WalkSpeed = 40
  1556. end
  1557. end)
  1558. mouse.KeyUp:connect(function(key)
  1559. if key == 'q' then
  1560. Swing = 1
  1561. hum.WalkSpeed = 16
  1562. end
  1563. end)
  1564.  
  1565. mouse.KeyDown:connect(function(key)
  1566. if attack == false then
  1567. if key == 'e' then
  1568. Ancient_Rage()
  1569. elseif key == 'r' then
  1570. Distort()
  1571. elseif key == 't' then
  1572. Taunt10000()
  1573. elseif key == 'f' then
  1574. Technobeam()
  1575. elseif key == 'g' then
  1576. OP9999()
  1577. elseif key == 'h' then
  1578.  
  1579. end
  1580. end
  1581. end)
  1582. local Combo = 1
  1583. mouse.Button1Down:connect(function(key)
  1584. if attack == false then
  1585. if Combo == 1 then
  1586. Combo = 2
  1587. attackone()
  1588. elseif Combo == 2 then
  1589. Combo = 3
  1590. attacktwo()
  1591. elseif Combo == 3 then
  1592. Combo = 1
  1593. attackthree()
  1594. end
  1595. end
  1596. end)
  1597. -------------------------------------------------------
  1598. --Start Animations--
  1599. -------------------------------------------------------
  1600. while true do
  1601. swait()
  1602. sine = sine + change
  1603. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  1604. local velderp = root.Velocity.y
  1605. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  1606. if equipped == true or equipped == false then
  1607. if attack == false then
  1608. idle = idle + 1
  1609. else
  1610. idle = 0
  1611. end
  1612. --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")
  1613. if 1 < root.Velocity.y and hitfloor == nil then
  1614. Anim = "Jump"
  1615. if attack == false then
  1616. 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)
  1617. 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)
  1618. 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)
  1619. 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)
  1620. 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)
  1621. 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)
  1622. end
  1623. elseif -1 > root.Velocity.y and hitfloor == nil then
  1624. Anim = "Fall"
  1625. if attack == false then
  1626. 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)
  1627. 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)
  1628. 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)
  1629. 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)
  1630. 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)
  1631. 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)
  1632. end
  1633. elseif torvel < 1 and hitfloor ~= nil then
  1634. Anim = "Idle"
  1635. change = 1
  1636. if attack == false then
  1637. 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)
  1638. 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)
  1639. 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)
  1640. 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)
  1641. 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)
  1642. 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)
  1643. end
  1644. elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
  1645. Anim = "Walk"
  1646. change = 1
  1647. if attack == false then
  1648. 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)
  1649. 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)
  1650. 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)
  1651. 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)
  1652. 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)
  1653. 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)
  1654. end
  1655. elseif torvel >= 25 and hitfloor ~= nil then
  1656. Anim = "Sprint"
  1657. change = 1.35
  1658. if attack == false then
  1659. 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)
  1660. 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)
  1661. 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)
  1662. 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)
  1663. 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)
  1664. 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)
  1665. end
  1666. end
  1667. end
  1668. Music.SoundId = "rbxassetid://"..SONG
  1669. Music.Looped = true
  1670. Music.Pitch = 1
  1671. Music.Volume = 1
  1672. Music.Parent = tors
  1673. Music:Resume()
  1674. if 0 < #Effects then
  1675. for e = 1, #Effects do
  1676. if Effects[e] ~= nil then
  1677. local Thing = Effects[e]
  1678. if Thing ~= nil then
  1679. local Part = Thing[1]
  1680. local Mode = Thing[2]
  1681. local Delay = Thing[3]
  1682. local IncX = Thing[4]
  1683. local IncY = Thing[5]
  1684. local IncZ = Thing[6]
  1685. if 1 >= Thing[1].Transparency then
  1686. if Thing[2] == "Block1" then
  1687. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1688. local Mesh = Thing[1].Mesh
  1689. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1690. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1691. elseif Thing[2] == "Block2" then
  1692. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  1693. local Mesh = Thing[7]
  1694. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1695. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1696. elseif Thing[2] == "Block3" then
  1697. 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)
  1698. local Mesh = Thing[7]
  1699. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1700. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1701. elseif Thing[2] == "Cylinder" then
  1702. local Mesh = Thing[1].Mesh
  1703. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1704. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1705. elseif Thing[2] == "Blood" then
  1706. local Mesh = Thing[7]
  1707. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1708. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1709. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1710. elseif Thing[2] == "Elec" then
  1711. local Mesh = Thing[1].Mesh
  1712. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1713. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1714. elseif Thing[2] == "Disappear" then
  1715. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1716. elseif Thing[2] == "Shatter" then
  1717. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1718. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1719. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1720. Thing[6] = Thing[6] + Thing[5]
  1721. end
  1722. else
  1723. Part.Parent = nil
  1724. table.remove(Effects, e)
  1725. end
  1726. end
  1727. end
  1728. end
  1729. end
  1730. end
  1731. -------------------------------------------------------
  1732. --End Animations And Script--
  1733. -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement