Advertisement
TinkerElsa44

Rusty

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