Advertisement
Insanity_Mark

929

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