yabagaba

Untitled

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