Guest User

Untitled

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