Advertisement
Insanity_Mark

YEARFGBFB

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