Advertisement
Guest User

VFZUHJISHGIFF

a guest
Jun 24th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 79.88 KB | None | 0 0
  1. -- Created by Nebula_Zorua --
  2. -- The Distorted --
  3. -- Or 13 V2, if you will. I'm officially calling it The Distorted though --
  4. -- Discord: Nebula the Zorua#6969
  5. -- Youtube: https://www.youtube.com/channel/UCo9oU9dCw8jnuVLuy4_SATA
  6.  
  7.  
  8. -- I'm not a mod anymore, so what's the point of holding this unnerfed version back?
  9.  
  10. --// Initializing \\--
  11. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  12. local Plrs = S.Players
  13. local Plr = Plrs.LocalPlayer
  14. local Char = Plr.Character
  15. local Hum = Char:FindFirstChildOfClass'Humanoid'
  16. local RArm = Char["Right Arm"]
  17. local LArm = Char["Left Arm"]
  18. local RLeg = Char["Right Leg"]
  19. local LLeg = Char["Left Leg"]
  20. local Root = Char:FindFirstChild'HumanoidRootPart'
  21. local Torso = Char.Torso
  22. local Head = Char.Head
  23. RW = Instance.new("Weld")
  24. LW = Instance.new("Weld")
  25. local sine = 0
  26. local NeutralAnims = true
  27. local Attack = false
  28. local BloodPuddles = {}
  29. local Debounces = {Debounces={}}
  30. local Mouse = Plr:GetMouse()
  31. local Hit = {}
  32. RH = Torso["Right Hip"]
  33. LH = Torso["Left Hip"]
  34. local LEFTWINGS = {}
  35. local RIGHTWINGS = {}
  36. local Player_Size = 1
  37. local Sine = 0
  38. local Change = 1
  39. local WasAir = false
  40. local InAir = false
  41. local LandTick = 0;
  42. local WalkSpeed = 25
  43. local StepTick = 0;
  44. local Muted = false
  45. local maincolor = BrickColor.new("Really black")
  46. LW.C0 = CFrame.new(-1.5, 0.5, 0)
  47. RW.C0 = CFrame.new(1.5, 0.5, 0)
  48. RH.C0 = CFrame.new(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  49. LH.C0 = CFrame.new(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  50.  
  51.  
  52. local Effects = Instance.new("Folder",Char)
  53. Effects.Name = "Effects"
  54. --// Debounce System \\--
  55.  
  56.  
  57. function Debounces:New(name,cooldown)
  58. local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0}
  59. setmetatable(aaaaa,{__index = Debounces})
  60. Debounces.Debounces[name] = aaaaa
  61. return aaaaa
  62. end
  63.  
  64. function Debounces:Use(overrideUsable)
  65. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  66. if(self.Usable or overrideUsable)then
  67. self.Usable = false
  68. self.CoolingDown = true
  69. local LastUse = time()
  70. self.LastUse = LastUse
  71. delay(self.Cooldown or 2,function()
  72. if(self.LastUse == LastUse)then
  73. self.CoolingDown = false
  74. self.Usable = true
  75. end
  76. end)
  77. end
  78. end
  79.  
  80. function Cso(ID, PARENT, VOLUME, PITCH)
  81. local NSound = nil
  82. coroutine.resume(coroutine.create(function()
  83. NSound = IT("Sound", PARENT)
  84. NSound.Volume = VOLUME
  85. NSound.Pitch = PITCH
  86. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  87. swait()
  88. NSound:play()
  89. game:GetService("Debris"):AddItem(NSound, 10)
  90. end))
  91. return NSound
  92. end
  93.  
  94. function Debounces:Get(name)
  95. assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name)))
  96. for i,v in next, Debounces.Debounces do
  97. if(i == name)then
  98. return v;
  99. end
  100. end
  101. end
  102.  
  103. function Debounces:GetProgressPercentage()
  104. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  105. if(self.CoolingDown and not self.Usable)then
  106. return math.max(
  107. math.floor(
  108. (
  109. (time()-self.LastUse)/self.Cooldown or 2
  110. )*100
  111. )
  112. )
  113. else
  114. return 100
  115. end
  116. end
  117.  
  118. --// Shortcut Variables \\--
  119. local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
  120. local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
  121. local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
  122. local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end}
  123. local R3 = {N=Region3.new}
  124. local De = S.Debris
  125. local WS = workspace
  126. local Lght = S.Lighting
  127. local RepS = S.ReplicatedStorage
  128. local IN = Instance.new
  129. necko = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  130. --// Instance Creation Functions \\--
  131.  
  132. --
  133.  
  134. function Sound(parent,id,pitch,volume,looped,effect,autoPlay)
  135. local Sound = IN("Sound")
  136. Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  137. Sound.Pitch = pitch or 1
  138. Sound.Volume = volume or 1
  139. Sound.Looped = looped or false
  140. if(autoPlay)then
  141. coroutine.wrap(function()
  142. repeat wait() until Sound.IsLoaded
  143. Sound.Playing = autoPlay or false
  144. end)()
  145. end
  146. if(not looped and effect)then
  147. Sound.Stopped:connect(function()
  148. Sound.Volume = 0
  149. Sound:destroy()
  150. end)
  151. elseif(effect)then
  152. warn("Sound can't be looped and a sound effect!")
  153. end
  154. Sound.Parent =parent or Torso
  155. return Sound
  156. end
  157.  
  158. function CameraEnshaking(Length, Intensity)
  159. coroutine.resume(coroutine.create(function()
  160. local intensity = 1 * Intensity
  161. local rotM = 0.01 * Intensity
  162. for i = 0, Length, 0.1 do
  163. swait()
  164. intensity = intensity - 0.05 * Intensity / Length
  165. rotM = rotM - 5.0E-4 * Intensity / Length
  166. Hum.CameraOffset = Vector3.new(math.rad(math.random(-intensity, intensity)), math.rad(math.random(-intensity, intensity)), math.rad(math.random(-intensity, intensity)))
  167. game.Workspace.CurrentCamera.CFrame = game.Workspace.CurrentCamera.CFrame * CF(math.rad(math.random(-intensity, intensity)), math.rad(math.random(-intensity, intensity)), math.rad(math.random(-intensity, intensity))) * CFrame.fromEulerAnglesXYZ(math.rad(math.random(-intensity, intensity)) * rotM, math.rad(math.random(-intensity, intensity)) * rotM, math.rad(math.random(-intensity, intensity)) * rotM)
  168. end
  169. Hum.CameraOffset = Vector3.new(0, 0, 0)
  170. end))
  171. end
  172.  
  173. function Eviscerate(dude)
  174. if dude.Name ~= Char then
  175. local bgf = Instance.new("BodyGyro", dude.Head)
  176. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90), 0, 0)
  177. local val = Instance.new("BoolValue", dude)
  178. val.Name = "IsHit"
  179. local ds = coroutine.wrap(function()
  180. dude:WaitForChild("Head"):BreakJoints()
  181. wait(0.5)
  182. target = nil
  183. coroutine.resume(coroutine.create(function()
  184. for i, v in pairs(dude:GetChildren()) do
  185. if v:IsA("Accessory") then
  186. v:Destroy()
  187. end
  188. if v:IsA("Humanoid") then
  189. v:Destroy()
  190. end
  191. if v:IsA("CharacterMesh") then
  192. v:Destroy()
  193. end
  194. if v:IsA("Model") then
  195. v:Destroy()
  196. end
  197. if v:IsA("Part") or v:IsA("MeshPart") then
  198. for x, o in pairs(v:GetChildren()) do
  199. if o:IsA("Decal") then
  200. o:Destroy()
  201. end
  202. end
  203. coroutine.resume(coroutine.create(function()
  204. v.Material = "Neon"
  205. v.CanCollide = false
  206. local PartEmmit1 = Instance.new("ParticleEmitter", v)
  207. PartEmmit1.LightEmission = 1
  208. PartEmmit1.Texture = "rbxassetid://1523916715"
  209. PartEmmit1.Color = ColorSequence.new(Color3.new(0, 0, 0))
  210. PartEmmit1.Rate = 150
  211. PartEmmit1.Lifetime = NumberRange.new(1)
  212. PartEmmit1.Size = NumberSequence.new({
  213. NumberSequenceKeypoint.new(0, 0.75, 0),
  214. NumberSequenceKeypoint.new(1, 0, 0)
  215. })
  216. PartEmmit1.Transparency = NumberSequence.new({
  217. NumberSequenceKeypoint.new(0, 0, 0),
  218. NumberSequenceKeypoint.new(1, 1, 0)
  219. })
  220. PartEmmit1.Speed = NumberRange.new(0, 0)
  221. PartEmmit1.VelocitySpread = 30000
  222. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  223. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  224. local BodPoss = Instance.new("BodyPosition", v)
  225. BodPoss.P = 3000
  226. BodPoss.D = 1000
  227. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  228. BodPoss.position = v.Position + Vector3.new(math.random(-15, 15), math.random(-15, 15), math.random(-15, 15))
  229. v.Color = maincolor.Color
  230. coroutine.resume(coroutine.create(function()
  231. for i = 0, 49 do
  232. swait(1)
  233. v.Transparency = v.Transparency + 0.08
  234. end
  235. wait(0.5)
  236. PartEmmit1.Enabled = false
  237. wait(3)
  238. v:Destroy()
  239. dude:Destroy()
  240. end))
  241. end))
  242. end
  243. end
  244. end))
  245. end)
  246. ds()
  247. end
  248. end
  249.  
  250. function SoundPart(id,pitch,volume,looped,effect,autoPlay,cf)
  251. local soundPart = NewInstance("Part",Effects,{Transparency=1,CFrame=cf or Torso.CFrame,Anchored=true,CanCollide=false,Size=V3.N()})
  252. local Sound = IN("Sound")
  253. Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  254. Sound.Pitch = pitch or 1
  255. Sound.Volume = volume or 1
  256. Sound.Looped = looped or false
  257. if(autoPlay)then
  258. coroutine.wrap(function()
  259. repeat wait() until Sound.IsLoaded
  260. Sound.Playing = autoPlay or false
  261. end)()
  262. end
  263. if(not looped and effect)then
  264. Sound.Stopped:connect(function()
  265. Sound.Volume = 0
  266. soundPart:destroy()
  267. end)
  268. elseif(effect)then
  269. warn("Sound can't be looped and a sound effect!")
  270. end
  271. Sound.Parent = soundPart
  272. return Sound
  273. end
  274.  
  275. function Part(parent,color,material,size,cframe,anchored,cancollide)
  276. local part = IN("Part")
  277. part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0)
  278. part.Material = material or Enum.Material.SmoothPlastic
  279. part.TopSurface,part.BottomSurface=10,10
  280. part.Size = size or V3.N(1,1,1)
  281. part.CFrame = cframe or CF.N(0,0,0)
  282. part.Anchored = anchored or true
  283. part.CanCollide = cancollide or false
  284. part.Parent = parent or Char
  285. return part
  286. end
  287. function Mesh(parent,meshtype,meshid,textid,scale,offset)
  288. local part = IN("SpecialMesh")
  289. part.MeshId = meshid or ""
  290. part.TextureId = textid or ""
  291. part.Scale = scale or V3.N(1,1,1)
  292. part.Offset = offset or V3.N(0,0,0)
  293. part.MeshType = meshtype or Enum.MeshType.Sphere
  294. part.Parent = parent
  295. return part
  296. end
  297.  
  298. NewInstance = function(instance,parent,properties)
  299. local inst = Instance.new(instance)
  300. inst.Parent = parent
  301. if(properties)then
  302. for i,v in next, properties do
  303. pcall(function() inst[i] = v end)
  304. end
  305. end
  306. return inst;
  307. end
  308.  
  309. function Clone(instance,parent,properties)
  310. local inst = instance:Clone()
  311. inst.Parent = parent
  312. if(properties)then
  313. for i,v in next, properties do
  314. pcall(function() inst[i] = v end)
  315. end
  316. end
  317. return inst;
  318. end
  319.  
  320. -- thanks shack im lazy lol
  321. local Prtcl = IN("ParticleEmitter",nil)
  322. Prtcl.Enabled = false
  323. Prtcl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  324. Prtcl.LightEmission = 0.5
  325. Prtcl.Rate = 350
  326. Prtcl.ZOffset = 1
  327. Prtcl.Rotation = NumberRange.new(-180, 180)
  328. Prtcl.RotSpeed = NumberRange.new(-180, 180)
  329. Prtcl.Texture = "rbxassetid://304437537"
  330. Prtcl.Color = ColorSequence.new(C3.RGB(64,64,64),C3.N(1,1,1))
  331.  
  332. local RbxUtility = LoadLibrary("RbxUtility")
  333. local Create = RbxUtility.Create
  334.  
  335. ParticleEmitter = {
  336. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  337. local fp = Create("ParticleEmitter")({
  338. Parent = Parent,
  339. Color = ColorSequence.new(Color1, Color2),
  340. LightEmission = LightEmission,
  341. Size = Size,
  342. Texture = Texture,
  343. Transparency = Transparency,
  344. ZOffset = ZOffset,
  345. Acceleration = Accel,
  346. Drag = Drag,
  347. LockedToPart = LockedToPart,
  348. VelocityInheritance = VelocityInheritance,
  349. EmissionDirection = EmissionDirection,
  350. Enabled = Enabled,
  351. Lifetime = LifeTime,
  352. Rate = Rate,
  353. Rotation = Rotation,
  354. RotSpeed = RotSpeed,
  355. Speed = Speed,
  356. VelocitySpread = VelocitySpread
  357. })
  358. return fp
  359. end
  360. }
  361.  
  362. function Particle(Table) -- thanks shack im STILL lazy
  363. local PRTCL = Prtcl:Clone()
  364. local Speed = Table.Speed or 5
  365. local Drag = Table.Drag or 0
  366. local Size1 = Table.Size1 or 1
  367. local Size2 = Table.Size2 or 5
  368. local Lifetime1 = Table.Lifetime1 or 1
  369. local Lifetime2 = Table.Lifetime2 or 1.5
  370. local Parent = Table.Parent or Torso
  371. local Emit = Table.Emit or 100
  372. local Offset = Table.Offset or 360
  373. local Acel = Table.Acel or V3.N(0,0,0)
  374. local Enabled = Table.Enabled or false
  375. local Texture = Table.Texture or "rbxasset://textures/particles/fire_main.dds"
  376. local Locked = Table.Locked or false
  377. PRTCL.Parent = Parent
  378. PRTCL.LockedToPart = Locked
  379. PRTCL.Size = NumberSequence.new(Size1,Size2)
  380. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  381. PRTCL.Speed = NumberRange.new(Speed)
  382. PRTCL.VelocitySpread = Offset
  383. PRTCL.Drag = Drag
  384. PRTCL.Acceleration = Acel
  385. PRTCL.Texture = Texture
  386. PRTCL.Rate = Emit
  387. if Enabled == false then
  388. PRTCL:Emit(Emit)
  389. S.Debris:AddItem(PRTCL,Lifetime2)
  390. else
  391. PRTCL.Enabled = true
  392. end
  393. return PRTCL
  394. end
  395.  
  396. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  397. local NEWPART = Instance.new("Part")
  398. NEWPART.formFactor = FORMFACTOR
  399. NEWPART.Reflectance = REFLECTANCE
  400. NEWPART.Transparency = TRANSPARENCY
  401. NEWPART.CanCollide = false
  402. NEWPART.Locked = true
  403. NEWPART.Anchored = true
  404. if ANCHOR == false then
  405. NEWPART.Anchored = false
  406. end
  407. NEWPART.BrickColor = BrickColor.new(tostring(BRICKCOLOR))
  408. NEWPART.Name = NAME
  409. NEWPART.Size = SIZE
  410. NEWPART.Position = Torso.Position
  411. NEWPART.Material = MATERIAL
  412. NEWPART:BreakJoints()
  413. NEWPART.Parent = PARENT
  414. return NEWPART
  415. end
  416.  
  417. local function weldBetween(a, b)
  418. local weldd = Instance.new("ManualWeld")
  419. weldd.Part0 = a
  420. weldd.Part1 = b
  421. weldd.C0 = CFrame.new()
  422. weldd.C1 = b.CFrame:inverse() * a.CFrame
  423. weldd.Parent = a
  424. return weldd
  425. end
  426.  
  427. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  428. local NEWWELD = Instance.new(TYPE)
  429. NEWWELD.Part0 = PART0
  430. NEWWELD.Part1 = PART1
  431. NEWWELD.C0 = C0
  432. NEWWELD.C1 = C1
  433. NEWWELD.Parent = PARENT
  434. return NEWWELD
  435. end
  436.  
  437. --// Extended ROBLOX tables \\--
  438. local Instance = setmetatable({ClearChildrenOfClass = function(where,class,recursive) local children = (recursive and where:GetDescendants() or where:GetChildren()) for _,v in next, children do if(v:IsA(class))then v:destroy();end;end;end},{__index = Instance})
  439. --// Customization \\--
  440.  
  441. local Frame_Speed = 60 -- The frame speed for swait. 1 is automatically divided by this
  442. local Remove_Hats = false
  443. local Remove_Clothing = false
  444. local PlayerSize = 1
  445. local DamageColor = BrickColor.new'Really black'
  446. local MusicID = 1564523997
  447.  
  448. --// Weapon and GUI creation, and Character Customization \\--
  449.  
  450. local Back = CreatePart(3, Char, "Neon", 0, 0, "Really black", "Wing", V3.N(1,1,0.35),false)
  451. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Back, CFrame.new(0, 0.5, 1.2) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(45)), CFrame.new(0, 0, 0))
  452.  
  453. local ANGLE = 35
  454. for i = 1, 5 do
  455. local Wing = CreatePart(3, Char, "Neon", 0, 0, "Really black", "Wing", Vector3.new(0.15,2+(i/2),0.15),false)
  456. local WingWeld = CreateWeldOrSnapOrMotor("Weld", Wing, Torso, Wing, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) * CFrame.new(0,1,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) * CFrame.Angles(math.rad(ANGLE), math.rad(0), math.rad(0)) * CFrame.new(0,3+(i/10),0) , CFrame.new(0, 0, 0))
  457. local Wing2 = CreatePart(3, Char, "Neon", 0, 0, "Really black", "Wing", Vector3.new(0.25,1,0.25),false)
  458. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing2, CFrame.new(0, 2+(i/2), 0) * CFrame.Angles(math.rad(25), math.rad(0), math.rad(0)), CFrame.new(0, 1, 0))
  459. ANGLE = ANGLE - 15
  460. table.insert(LEFTWINGS,WingWeld)
  461. end
  462. ANGLE = 35
  463. for i = 1, 5 do
  464. local Wing = CreatePart(3, Char, "Neon", 0, 0, "Really black", "Wing", Vector3.new(0.15,2+(i/2),0.15),false)
  465. local WingWeld = CreateWeldOrSnapOrMotor("Weld", Wing, Torso, Wing, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) * CFrame.new(0,1,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)) * CFrame.Angles(math.rad(ANGLE), math.rad(0), math.rad(0)) * CFrame.new(0,3+(i/10),0) , CFrame.new(0, 0, 0))
  466. local Wing2 = CreatePart(3, Char, "Neon", 0, 0, "Really black", "Wing", Vector3.new(0.25,1,0.25),false)
  467. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing2, CFrame.new(0, 2+(i/2), 0) * CFrame.Angles(math.rad(25), math.rad(0), math.rad(0)), CFrame.new(0, 1, 0))
  468. ANGLE = ANGLE - 15
  469. table.insert(RIGHTWINGS,WingWeld)
  470. end
  471.  
  472. if(Remove_Hats)then Instance.ClearChildrenOfClass(Char,"Accessory",true) end
  473. if(Remove_Clothing)then Instance.ClearChildrenOfClass(Char,"Clothing",true) Instance.ClearChildrenOfClass(Char,"ShirtGraphic",true) end
  474.  
  475. Hum.DisplayDistanceType = 'None'
  476.  
  477. local naeeym2 = IN("BillboardGui",Char)
  478. naeeym2.AlwaysOnTop = true
  479. naeeym2.Size = UDim2.new(5,35,2,15)
  480. naeeym2.StudsOffset = V3.N(0,2.5,0)
  481. naeeym2.Adornee = Char.Head
  482. naeeym2.Name = "Name"
  483. naeeym2.PlayerToHideFrom = Plr
  484. local tecks2 = IN("TextLabel",naeeym2)
  485. tecks2.BackgroundTransparency = 1
  486. tecks2.TextScaled = true
  487. tecks2.BorderSizePixel = 0
  488. tecks2.Text = "Disorter"
  489. tecks2.Font = Enum.Font.Bodoni
  490. tecks2.TextSize = 30
  491. tecks2.TextStrokeTransparency = 0
  492. tecks2.TextColor3 = C3.N(.5,.5,.5)
  493. tecks2.TextStrokeColor3 = C3.N(1,1,1)
  494. tecks2.Size = UDim2.new(1,0,0.5,0)
  495. tecks2.Parent = naeeym2
  496.  
  497.  
  498.  
  499.  
  500.  
  501. New = function(Object, Parent, Name, Data)
  502. local Object = Instance.new(Object)
  503. for Index, Value in pairs(Data or {}) do
  504. Object[Index] = Value
  505. end
  506. Object.Parent = Parent
  507. Object.Name = Name
  508. return Object
  509. end
  510.  
  511. Bone = New("Part",Char,"Bone",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.099999994, 0.440000236, 0.0799999982),CFrame = CFrame.new(-67.9992447, 1.09667599, 92.827446, 0.618669689, -0.778135777, -0.108409032, 0.328475863, 0.381534815, -0.864022493, 0.713688612, 0.498934716, 0.491642892),Color = Color3.new(0.972549, 0.972549, 0.972549),})
  512. mot = New("Motor",Bone,"mot",{Part0 = Bone,Part1 = LLeg,C0 = CFrame.new(0, 0, 0, 0.618669689, 0.328475863, 0.713688612, -0.778135777, 0.381534815, 0.498934716, -0.108409032, -0.864022493, 0.491642892),C1 = CFrame.new(-0.142066956, 0.0965499878, 0.817428589, 0, 0, 1, 0, 1, 0, -1, 0, 0),})
  513. Bone = New("Part",Char,"Bone",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.099999994, 0.220000222, 0.0799999982),CFrame = CFrame.new(-67.7482147, 0.980813861, 92.6753845, 0.654389918, -0.668738604, 0.352934062, 0.754363894, 0.545237362, -0.365583509, 0.0520469919, 0.505474925, 0.86127007),Color = Color3.new(0.972549, 0.972549, 0.972549),})
  514. mot = New("Motor",Bone,"mot",{Part0 = Bone,Part1 = LLeg,C0 = CFrame.new(0, 0, 0, 0.654389918, 0.754363894, 0.0520469919, -0.668738604, 0.545237362, 0.505474925, 0.352934062, -0.365583509, 0.86127007),C1 = CFrame.new(-0.294128418, -0.0193121433, 0.566398621, 0, 0, 1, 0, 1, 0, -1, 0, 0),})
  515. Blood = New("Part",Char,"Blood",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.282499969, 0.0766666532, 0.189999968),CFrame = CFrame.new(-67.6550522, 0.932102025, 92.6624374, -0.00266400119, -0.996861994, -0.079115279, 0.999996483, -0.00267234421, -4.24469931e-07, -0.000211000108, -0.0791150033, 0.996865511),Color = Color3.new(0.458824, 0, 0),})
  516. mot = New("Motor",Blood,"mot",{Part0 = Blood,Part1 = LLeg,C0 = CFrame.new(0, 0, 0, -0.00266400119, 0.999996483, -0.000211000108, -0.996861994, -0.00267234421, -0.0791150033, -0.079115279, -4.24469931e-07, 0.996865511),C1 = CFrame.new(-0.3070755, -0.0680239797, 0.473236084, 0, 0, 1, 0, 1, 0, -1, 0, 0),})
  517. Corruption = New("Part",Char,"Corruption",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.56000042, 0.660000384, 0.0500000007),CFrame = CFrame.new(-67.6787415, 1.05639434, 93.0375519, 0, 0, -1, 0, 1, 0, 1, 0, 0),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  518. mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = LLeg,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.0680389404, 0.0562683344, 0.496925354, 0, 0, 1, 0, 1, 0, -1, 0, 0),})
  519. Blood = New("Part",Char,"Blood",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.282499969, 0.0766666532, 0.280000001),CFrame = CFrame.new(-67.3698196, 0.932102203, 92.4828796, 0, 0, -1, 0.999996424, -0.00266899844, 0, -0.00266899844, -0.999996424, 0),Color = Color3.new(0.458824, 0, 0),})
  520. mot = New("Motor",Blood,"mot",{Part0 = Blood,Part1 = LLeg,C0 = CFrame.new(0, 0, 0, 0, 0.999996424, -0.00266899844, 0, -0.00266899844, -0.999996424, -1, 0, 0),C1 = CFrame.new(-0.486633301, -0.0680238008, 0.18800354, 0, 0, 1, 0, 1, 0, -1, 0, 0),})
  521. Bone = New("Part",Char,"Bone",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.150000006, 0.660000384, 0.11999999),CFrame = CFrame.new(-67.3659668, 1.09374464, 92.2612991, 0, 0, -1, 0.747014165, 0.664808154, 0, 0.664808154, -0.747014165, 0),Color = Color3.new(0.972549, 0.972549, 0.972549),})
  522. mot = New("Motor",Bone,"mot",{Part0 = Bone,Part1 = LLeg,C0 = CFrame.new(0, 0, 0, 0, 0.747014165, 0.664808154, 0, 0.664808154, -0.747014165, -1, 0, 0),C1 = CFrame.new(-0.708213806, 0.0936186314, 0.184150696, 0, 0, 1, 0, 1, 0, -1, 0, 0),})
  523.  
  524. Corruption = New("Part",Char,"Corruption",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.330000252, 0.660000384, 0.0500000007),CFrame = CFrame.new(-67.6787415, 1.33912802, 93.9772263, 0, 0, -1, 0, 1, 0, 1, 0, 0),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  525. mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = RLeg,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.0127105713, 0.339127064, 0.487541199, 0, 0, 1, 0, 1, 0, -1, 0, 0),})
  526. Corruption = New("Part",Char,"Corruption",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.330000252, 0.660000384, 0.0500000007),CFrame = CFrame.new(-66.6787415, 1.33912802, 93.9772263, 0, 0, -1, 0, 1, 0, 1, 0, 0),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  527. mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = RLeg,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.0127105713, 0.339127064, -0.512458801, 0, 0, 1, 0, 1, 0, -1, 0, 0),})
  528.  
  529. Corruption = New("Part",Char,"Corruption",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.740000069, 0.140000015, 0.0500000007),CFrame = CFrame.new(-67.6787415, 3.12643075, 92.6921463, -9.31322575e-10, -1.86264515e-09, -0.999999285, 0.777135551, 0.629333496, 9.31322575e-10, 0.6293329, -0.777134895, 0),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  530. mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0.777135491, 0.629333377, 0, 0.629333377, -0.777135491, -1, 0, 0),C1 = CFrame.new(-0.766067505, 0.138611317, 0.515716553, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
  531. Corruption = New("Part",Char,"Corruption",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.12999988, 1.12000012, 0.0500000007),CFrame = CFrame.new(-67.6951752, 3.43133378, 93.991272, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  532. mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.533157349, 0.443484068, 0.50994873, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
  533. Corruption = New("Part",Char,"Corruption",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.450000018, 0.590000272, 0.0500000007),CFrame = CFrame.new(-67.6951752, 2.60608268, 94.3512573, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  534. mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.893096924, -0.381786108, 0.509513855, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
  535. Corruption = New("Part",Char,"Corruption",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.330000013, 0.590000272, 0.0500000007),CFrame = CFrame.new(-66.6951752, 2.60608268, 94.2912598, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  536. mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.817497253, -0.388065577, -0.489402771, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
  537. Corruption = New("Part",Char,"Corruption",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.220000237, 0.660000384, 0.0500000007),CFrame = CFrame.new(-66.6787338, 2.57395577, 93.9222183, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  538. mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.448242188, -0.420258999, -0.49987793, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
  539. Corruption = New("Part",Char,"Corruption",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.07999992, 1.12000012, 0.0500000007),CFrame = CFrame.new(-66.6951752, 3.43133354, 93.9662704, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  540. mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.492546082, 0.437201023, -0.489517212, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
  541. Corruption = New("Part",Char,"Corruption",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.740000069, 0.340000302, 0.0500000007),CFrame = CFrame.new(-66.6787415, 3.2281816, 93.1287689, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  542. mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(-0.345108032, 0.234031916, -0.491600037, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
  543. Corruption = New("Part",Char,"Corruption",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.0999999, 0.0500000007, 1.00999975),CFrame = CFrame.new(-67.1759109, 3.99574399, 93.9762726, 0, -0.0260759834, -0.999659359, 0, 0.999660075, -0.0260760002, 0.999999225, -2.91038305e-11, -9.31322575e-10),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  544. mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, -0.0260760002, 0.999660015, 0, -0.999660015, -0.0260760002, 0),C1 = CFrame.new(0.510047913, 1.00462079, -0.0125579834, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
  545.  
  546. Corruption = New("Part",Char,"Corruption",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.740000069, 0.419999987, 0.870000064),CFrame = CFrame.new(-67.0815201, 2.81366396, 91.9528885, 0, 0, -1, 0.777135491, 0.629333377, 0, 0.629333377, -0.777135491, 0),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  547. mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = LArm,C0 = CFrame.new(0, 0, 0, 0, 0.777135491, 0.629333377, 0, 0.629333377, -0.777135491, -1, 0, 0),C1 = CFrame.new(-0.00936126709, -0.184385061, -0.0693511963, 0, 0, 1, 0, 1, 0, -1, 0, 0),})
  548.  
  549. Corruption = New("Part",Char,"Corruption",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1,2,1),CFrame = CFrame.new(-67.0815201, 2.81366396, 91.9528885, 0, 0, -1, 0.777135491, 0.629333377, 0, 0.629333377, -0.777135491, 0),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  550. mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = RArm,C0 = CFrame.new(0, 0, 0),})
  551.  
  552. for _,v in next, Char:children() do
  553. if(v.Name == 'Corruption')then
  554. Particle{Texture="rbxassetid://304437537",Locked=false,Speed=0.1,Drag=3,Size1=.1,Size2=.3,Lifetime1=.2,Lifetime2=.5,Parent=v,Emit=350,Offset=360,Enabled=true}
  555. end
  556. end
  557.  
  558. RArm.Transparency = 1
  559.  
  560. local Music = Sound(Char,MusicID,1,3,true,false,true)
  561. Music.Name = 'Music'
  562.  
  563. --// Stop animations \\--
  564. for _,v in next, Hum:GetPlayingAnimationTracks() do
  565. v:Stop();
  566. end
  567.  
  568. pcall(game.Destroy,Char:FindFirstChild'Animate')
  569. pcall(game.Destroy,Hum:FindFirstChild'Animator')
  570.  
  571. --// Joints \\--
  572.  
  573. local LS = NewInstance('Motor',Char,{Part0=Torso,Part1=LArm,C0 = CF.N(-1.5 * PlayerSize,0.5 * PlayerSize,0),C1 = CF.N(0,.5 * PlayerSize,0)})
  574. local RS = NewInstance('Motor',Char,{Part0=Torso,Part1=RArm,C0 = CF.N(1.5 * PlayerSize,0.5 * PlayerSize,0),C1 = CF.N(0,.5 * PlayerSize,0)})
  575. local NK = NewInstance('Motor',Char,{Part0=Torso,Part1=Head,C0 = CF.N(0,1.5 * PlayerSize,0)})
  576. local LH = NewInstance('Motor',Char,{Part0=Torso,Part1=LLeg,C0 = CF.N(-.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  577. local RH = NewInstance('Motor',Char,{Part0=Torso,Part1=RLeg,C0 = CF.N(.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  578. local RJ = NewInstance('Motor',Char,{Part0=Root,Part1=Torso})
  579.  
  580. local LSC0 = LS.C0
  581. local RSC0 = RS.C0
  582. local NKC0 = NK.C0
  583. local LHC0 = LH.C0
  584. local RHC0 = RH.C0
  585. local RJC0 = RJ.C0
  586.  
  587. --// Artificial HB \\--
  588.  
  589. local ArtificialHB = IN("BindableEvent", script)
  590. ArtificialHB.Name = "Heartbeat"
  591.  
  592. script:WaitForChild("Heartbeat")
  593.  
  594. local tf = 0
  595. local allowframeloss = false
  596. local tossremainder = false
  597. local lastframe = tick()
  598. local frame = 1/Frame_Speed
  599. ArtificialHB:Fire()
  600.  
  601. game:GetService("RunService").Heartbeat:connect(function(s, p)
  602. tf = tf + s
  603. if tf >= frame then
  604. if allowframeloss then
  605. script.Heartbeat:Fire()
  606. lastframe = tick()
  607. else
  608. for i = 1, math.floor(tf / frame) do
  609. ArtificialHB:Fire()
  610. end
  611. lastframe = tick()
  612. end
  613. if tossremainder then
  614. tf = 0
  615. else
  616. tf = tf - frame * math.floor(tf / frame)
  617. end
  618. end
  619. end)
  620.  
  621. function swait(num)
  622. if num == 0 or num == nil then
  623. ArtificialHB.Event:wait()
  624. else
  625. for i = 0, num do
  626. ArtificialHB.Event:wait()
  627. end
  628. end
  629. end
  630.  
  631.  
  632. --// Effect Function(s) \\--
  633.  
  634. function Bezier(startpos, pos2, pos3, endpos, t)
  635. local A = startpos:lerp(pos2, t)
  636. local B = pos2:lerp(pos3, t)
  637. local C = pos3:lerp(endpos, t)
  638. local lerp1 = A:lerp(B, t)
  639. local lerp2 = B:lerp(C, t)
  640. local cubic = lerp1:lerp(lerp2, t)
  641. return cubic
  642. end
  643.  
  644. function Zap(data)
  645. local sCF,eCF = data.StartCFrame,data.EndCFrame
  646. assert(sCF,"You need a start CFrame!")
  647. assert(eCF,"You need an end CFrame!")
  648. local parts = data.PartCount or 15
  649. local zapRot = data.ZapRotation or {-5,5}
  650. local startThick = data.StartSize or 3;
  651. local endThick = data.EndSize or startThick/2;
  652. local color = data.Color or BrickColor.new'Electric blue'
  653. local delay = data.Delay or 35
  654. local delayInc = data.DelayInc or 0
  655. local lastLightning;
  656. local MagZ = (sCF.p - eCF.p).magnitude
  657. local thick = startThick
  658. local inc = (startThick/parts)-(endThick/parts)
  659.  
  660. for i = 1, parts do
  661. local pos = sCF.p
  662. if(lastLightning)then
  663. pos = lastLightning.CFrame*CF.N(0,0,MagZ/parts/2).p
  664. end
  665. delay = delay + delayInc
  666. local zapPart = Part(Effects,color,Enum.Material.Neon,V3.N(thick,thick,MagZ/parts),CF.N(pos),true,false)
  667. local posie = CF.N(pos,eCF.p)*CF.N(0,0,MagZ/parts).p+V3.N(M.RNG(unpack(zapRot)),M.RNG(unpack(zapRot)),M.RNG(unpack(zapRot)))
  668. if(parts == i)then
  669. local MagZ = (pos-eCF.p).magnitude
  670. zapPart.Size = V3.N(endThick,endThick,MagZ)
  671. zapPart.CFrame = CF.N(pos, eCF.p)*CF.N(0,0,-MagZ/2)
  672. Effect{Effect='ResizeAndFade',Size=V3.N(thick,thick,thick),CFrame=eCF*CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180)),Color=color,Frames=delay*2,FXSettings={EndSize=V3.N(thick*8,thick*8,thick*8)}}
  673. else
  674. zapPart.CFrame = CF.N(pos,posie)*CF.N(0,0,MagZ/parts/2)
  675. end
  676.  
  677. lastLightning = zapPart
  678. Effect{Effect='Fade',Manual=zapPart,Frames=delay}
  679.  
  680. thick=thick-inc
  681.  
  682. end
  683. end
  684.  
  685. function Tween(obj,props,time,easing,direction,repeats,backwards)
  686. local info = TweenInfo.new(time or .5, easing or Enum.EasingStyle.Quad, direction or Enum.EasingDirection.Out, repeats or 0, backwards or false)
  687. local tween = S.TweenService:Create(obj, info, props)
  688.  
  689. tween:Play()
  690. end
  691.  
  692. function Effect(data)
  693. local FX = data.Effect or 'ResizeAndFade'
  694. local Parent = data.Parent or Effects
  695. local Color = data.Color or C3.N(0,0,0)
  696. local Size = data.Size or V3.N(1,1,1)
  697. local MoveDir = data.MoveDirection or nil
  698. local MeshData = data.Mesh or nil
  699. local SndData = data.Sound or nil
  700. local Frames = data.Frames or 45
  701. local Manual = data.Manual or nil
  702. local Material = data.Material or nil
  703. local CFra = data.CFrame or Torso.CFrame
  704. local Settings = data.FXSettings or {}
  705. local Shape = data.Shape or Enum.PartType.Block
  706. local Snd,Prt,Msh;
  707. coroutine.wrap(function()
  708. if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then
  709. Prt = Manual
  710. else
  711. Prt = Part(Parent,Color,Material,Size,CFra,true,false)
  712. Prt.Shape = Shape
  713. end
  714. if(typeof(MeshData) == 'table')then
  715. Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset)
  716. elseif(typeof(MeshData) == 'Instance')then
  717. Msh = MeshData:Clone()
  718. Msh.Parent = Prt
  719. elseif(Shape == Enum.PartType.Block)then
  720. Msh = Mesh(Prt,Enum.MeshType.Brick)
  721. end
  722. if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then
  723. Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true)
  724. end
  725. if(Snd)then
  726. repeat swait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0
  727. Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch
  728. end
  729. Size = (Msh and Msh.Scale or Size)
  730. local grow = Size-(Settings.EndSize or (Msh and Msh.Scale or Size)/2)
  731.  
  732. local MoveSpeed = nil;
  733. if(MoveDir)then
  734. MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
  735. end
  736. if(FX ~= 'Arc')then
  737. for Frame = 1, Frames do
  738. if(FX == "Fade")then
  739. Prt.Transparency = (Frame/Frames)
  740. elseif(FX == "Resize")then
  741. if(not Settings.EndSize)then
  742. Settings.EndSize = V3.N(0,0,0)
  743. end
  744. if(Settings.EndIsIncrement)then
  745. if(Msh)then
  746. Msh.Scale = Msh.Scale + Settings.EndSize
  747. else
  748. Prt.Size = Prt.Size + Settings.EndSize
  749. end
  750. else
  751. if(Msh)then
  752. Msh.Scale = Msh.Scale - grow/Frames
  753. else
  754. Prt.Size = Prt.Size - grow/Frames
  755. end
  756. end
  757. elseif(FX == "ResizeAndFade")then
  758. if(not Settings.EndSize)then
  759. Settings.EndSize = V3.N(0,0,0)
  760. end
  761. if(Settings.EndIsIncrement)then
  762. if(Msh)then
  763. Msh.Scale = Msh.Scale + Settings.EndSize
  764. else
  765. Prt.Size = Prt.Size + Settings.EndSize
  766. end
  767. else
  768. if(Msh)then
  769. Msh.Scale = Msh.Scale - grow/Frames
  770. else
  771. Prt.Size = Prt.Size - grow/Frames
  772. end
  773. end
  774. Prt.Transparency = (Frame/Frames)
  775. end
  776. if(Settings.RandomizeCFrame)then
  777. Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
  778. end
  779. if(MoveDir and MoveSpeed)then
  780. local Orientation = Prt.Orientation
  781. Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
  782. Prt.Orientation = Orientation
  783. end
  784. swait()
  785. end
  786. Prt:destroy()
  787. else
  788. local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
  789. if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
  790. if(start and endP)then
  791. local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  792. local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  793. for Frame = 0, 1, (Settings.Speed or 0.01) do
  794. if(Settings.Home)then
  795. endP = Settings.Home.CFrame
  796. end
  797. Prt.CFrame = Bezier(start, quarter, threequarter, endP, Frame)
  798. end
  799. if(Settings.RemoveOnGoal)then
  800. Prt:destroy()
  801. end
  802. else
  803. Prt:destroy()
  804. assert(start,"You need a start position!")
  805. assert(endP,"You need a start position!")
  806. end
  807. end
  808. end)()
  809. return Prt,Msh,Snd
  810. end
  811. function SoulSteal(whom)
  812. local torso = (whom:FindFirstChild'Head' or whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso' or whom:FindFirstChild'LowerTorso' or whom:FindFirstChild'HumanoidRootPart')
  813. print(torso)
  814. if(torso and torso:IsA'BasePart')then
  815. local Model = Instance.new("Model",Effects)
  816. Model.Name = whom.Name.."'s Soul"
  817. whom:BreakJoints()
  818. local Soul = Part(Model,BrickColor.new'Really red','Glass',V3.N(.5,.5,.5),torso.CFrame,true,false)
  819. Soul.Name = 'Head'
  820. NewInstance("Humanoid",Model,{Health=0,MaxHealth=0})
  821. Effect{
  822. Effect="Arc",
  823. Manual = Soul,
  824. FXSettings={
  825. Start=torso.CFrame,
  826. Home = Torso,
  827. RemoveOnGoal = true,
  828. }
  829. }
  830. local lastPoint = Soul.CFrame.p
  831.  
  832. for i = 0, 1, 0.01 do
  833. local point = CFrame.new(lastPoint, Soul.Position) * CFrame.Angles(-math.pi/2, 0, 0)
  834. local mag = (lastPoint - Soul.Position).magnitude
  835. Effect{
  836. Effect = "Fade",
  837. CFrame = point * CF.N(0, mag/2, 0),
  838. Size = V3.N(.5,mag+.5,.5),
  839. Color = Soul.BrickColor
  840. }
  841. lastPoint = Soul.CFrame.p
  842. swait()
  843. end
  844. for i = 1, 5 do
  845. Effect{
  846. Effect="Fade",
  847. Color = BrickColor.new'Really red',
  848. MoveDirection = (Torso.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p
  849. }
  850. end
  851. end
  852. end
  853.  
  854. --// Other Functions \\ --
  855.  
  856. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  857. local type = type
  858. local rng = Instance.new("Part", char)
  859. rng.Anchored = true
  860. rng.BrickColor = color
  861. rng.CanCollide = false
  862. rng.FormFactor = 3
  863. rng.Name = "Ring"
  864. rng.Material = "Neon"
  865. rng.Size = Vector3.new(1, 1, 1)
  866. rng.Transparency = 0
  867. rng.TopSurface = 0
  868. rng.BottomSurface = 0
  869. rng.CFrame = pos
  870. local rngm = Instance.new("SpecialMesh", rng)
  871. rngm.MeshType = MType
  872. rngm.Scale = scale
  873. local scaler2 = 1
  874. if type == "Add" then
  875. scaler2 = 1 * value
  876. elseif type == "Divide" then
  877. scaler2 = 1 / value
  878. end
  879. coroutine.resume(coroutine.create(function()
  880. for i = 0, 10 / bonuspeed, 0.1 do
  881. swait()
  882. if type == "Add" then
  883. scaler2 = scaler2 - 0.01 * value / bonuspeed
  884. elseif type == "Divide" then
  885. scaler2 = scaler2 - 0.01 / value * bonuspeed
  886. end
  887. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  888. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  889. end
  890. rng:Destroy()
  891. end))
  892. end
  893.  
  894. function Chat(text)
  895. coroutine.wrap(function()
  896. if(Char:FindFirstChild'ChatGUI')then Char.ChatGUI:destroy() end
  897. local BBG = NewInstance("BillboardGui",Char,{Name='ChatGUI',Size=UDim2.new(0,100,0,40),StudsOffset=V3.N(0,3,0),Adornee=Head})
  898. local offset = 0;
  899. local xsize = 0;
  900. for i = 1, #text do
  901. offset = offset - 16
  902. xsize = xsize + 32
  903. delay(i/25, function()
  904. local val = M.RNG(0,255)/255
  905. local Txt = NewInstance("TextLabel",BBG,{Text = text:sub(i,i),Position=UDim2.new(0,offset,-1,0),BackgroundTransparency=1,TextColor3=C3.N(val,val,val),BorderSizePixel=0,Font=Enum.Font.Garamond,TextSize=40,TextStrokeTransparency=1,Size=UDim2.new(1,0,.5,0)})
  906. Tween(Txt,{Position=UDim2.new(0,offset,0,0)},.75,Enum.EasingStyle.Elastic,Enum.EasingDirection.Out)
  907. offset = offset + 32
  908. while Txt and Txt.Parent do
  909. Txt.Rotation = M.RNG(-15,15)
  910. swait()
  911. end
  912. end)
  913. end
  914. BBG.Size = UDim2.new(0,xsize,0,40)
  915. delay((#text/25)+3, function()
  916. for _,v in next, BBG:children() do
  917. pcall(function() v.Text = string.char(M.RNG(0,126)) end)
  918. end
  919. end)
  920. delay((#text/25)+4, function()
  921. BBG:destroy()
  922. end)
  923. end)()
  924. end
  925.  
  926. function CastRay(startPos,endPos,range,ignoreList)
  927. local ray = Ray.new(startPos,(endPos-startPos).unit*range)
  928. local part,pos,norm = workspace:FindPartOnRayWithIgnoreList(ray,ignoreList or {Char},false,true)
  929. return part,pos,norm,(pos and (startPos-pos).magnitude)
  930. end
  931.  
  932. function getRegion(point,range,ignore)
  933. return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100)
  934. end
  935.  
  936. function clerp(startCF,endCF,alpha)
  937. return startCF:lerp(endCF, alpha)
  938. end
  939.  
  940. function GetTorso(char)
  941. return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart'
  942. end
  943.  
  944. function FindNearestHead(Position, Distance, SinglePlayer)
  945. if SinglePlayer then
  946. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  947. end
  948. local List = {}
  949. for i, v in pairs(workspace:GetChildren()) do
  950. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  951. table.insert(List, v)
  952. end
  953. end
  954. return List
  955. end
  956.  
  957. function ShowDamage(Pos, Text, Time, Color)
  958. coroutine.wrap(function()
  959. local Rate = (1 / 30)
  960. local Pos = (Pos or Vector3.new(0, 0, 0))
  961. local Text = (Text or "")
  962. local Time = (Time or 2)
  963. local Color = (Color or Color3.new(1, 0, 1))
  964. local EffectPart = NewInstance("Part",Effects,{
  965. Material=Enum.Material.SmoothPlastic,
  966. Reflectance = 0,
  967. Transparency = 1,
  968. BrickColor = BrickColor.new(Color),
  969. Name = "Effect",
  970. Size = Vector3.new(0,0,0),
  971. Anchored = true
  972. })
  973. local BillboardGui = NewInstance("BillboardGui",EffectPart,{
  974. Size = UDim2.new(1.25, 0, 1.25, 0),
  975. Adornee = EffectPart,
  976. })
  977. local TextLabel = NewInstance("TextLabel",BillboardGui,{
  978. BackgroundTransparency = 1,
  979. Size = UDim2.new(1, 0, 1, 0),
  980. Text = Text,
  981. Font = "Arial",
  982. TextColor3 = Color,
  983. TextStrokeColor3 = Color3.new(0,0,0),
  984. TextStrokeTransparency=0,
  985. TextScaled = true,
  986. })
  987. game.Debris:AddItem(EffectPart, (Time))
  988. EffectPart.Parent = game:GetService("Workspace")
  989. delay(0, function()
  990. local Frames = (Time / Rate)
  991. for Frame = 1, Frames do
  992. wait(Rate)
  993. local Percent = (Frame / Frames)
  994. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  995. TextLabel.TextTransparency = Percent
  996. TextLabel.TextStrokeTransparency = Percent
  997. end
  998. if EffectPart and EffectPart.Parent then
  999. EffectPart:Destroy()
  1000. end
  1001. end) end)()
  1002. end
  1003.  
  1004.  
  1005. function DealDamage(who,minDam,maxDam,Knock,Type,critChance,critMult)
  1006. if(who)then
  1007. local hum = who:FindFirstChildOfClass'Humanoid'
  1008. local Damage = M.RNG(minDam,maxDam)
  1009. local canHit = true
  1010. if(hum)then
  1011. for _, p in pairs(Hit) do
  1012. if p[1] == hum then
  1013. if(time() - p[2] < 0.1) then
  1014. canHit = false
  1015. else
  1016. Hit[_] = nil
  1017. end
  1018. end
  1019. end
  1020. if(canHit)then
  1021. table.insert(Hit,{hum,time()})
  1022. if(hum.Health >= math.huge)then
  1023. who:BreakJoints()
  1024. if(who:FindFirstChild'Head' and hum.Health > 0)then
  1025. ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), "INSTANT", 1.5, C3.N(1,0,0))
  1026. end
  1027. else
  1028. local player = S.Players:GetPlayerFromCharacter(who)
  1029. if(Type == "Fire")then
  1030. --idk..
  1031. else
  1032. local c = Instance.new("ObjectValue",hum)
  1033. c.Name = "creator"
  1034. c.Value = Plr
  1035. game:service'Debris':AddItem(c,0.35)
  1036. if(M.RNG(1,100) <= (critChance or 0) and critMult > 1)then
  1037. if(who:FindFirstChild'Head' and hum.Health > 0)then
  1038. ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), "[CRIT] "..Damage*(critMult or 2), 1.5, BrickColor.new'New Yeller'.Color)
  1039. end
  1040. hum.Health = hum.Health - Damage*(critMult or 2)
  1041. else
  1042. if(who:FindFirstChild'Head' and hum.Health > 0)then
  1043. ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), Damage, 1.5, DamageColor.Color)
  1044. end
  1045. hum.Health = hum.Health - Damage
  1046. end
  1047. if(Type == 'Knockback' and GetTorso(who))then
  1048. local angle = GetTorso(who).Position - Root.Position + Vector3.new(0, 0, 0).unit
  1049. local body = NewInstance('BodyVelocity',GetTorso(who),{
  1050. P = 500,
  1051. maxForce = V3.N(math.huge,0,math.huge),
  1052. velocity = Root.CFrame.lookVector * Knock + Root.Velocity / 1.05
  1053. })
  1054. game:service'Debris':AddItem(body,.5)
  1055. elseif(Type == "Electric")then
  1056. if(M.RNG(1,100) >= critChance)then
  1057. if(who:FindFirstChild'Head' and hum.Health > 0)then
  1058. ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), "[PARALYZED]", 1.5, BrickColor.new"New Yeller".Color)
  1059. end
  1060. local asd = hum.WalkSpeed/2
  1061. hum.WalkSpeed = asd
  1062. local paralyzed = true
  1063. coroutine.wrap(function()
  1064. while paralyzed do
  1065. swait(25)
  1066. if(M.RNG(1,25) == 1)then
  1067. if(who:FindFirstChild'Head' and hum.Health > 0)then
  1068. ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), "[STATIC]", 1.5, BrickColor.new"New Yeller".Color)
  1069. end
  1070. hum.PlatformStand = true
  1071. end
  1072. end
  1073. end)()
  1074. delay(4, function()
  1075. paralyzed = false
  1076. hum.WalkSpeed = hum.WalkSpeed + asd
  1077. end)
  1078. end
  1079.  
  1080. elseif(Type == 'Knockdown' and GetTorso(who))then
  1081. local rek = GetTorso(who)
  1082. hum.PlatformStand = true
  1083. delay(1,function()
  1084. hum.PlatformStand = false
  1085. end)
  1086. local angle = (GetTorso(who).Position - (Root.Position + Vector3.new(0, 0, 0))).unit
  1087. local bodvol = NewInstance("BodyVelocity",rek,{
  1088. velocity = angle * Knock,
  1089. P = 5000,
  1090. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1091. })
  1092. local rl = NewInstance("BodyAngularVelocity",rek,{
  1093. P = 3000,
  1094. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1095. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1096. })
  1097. game:GetService("Debris"):AddItem(bodvol, .5)
  1098. game:GetService("Debris"):AddItem(rl, .5)
  1099. end
  1100. end
  1101. end
  1102. end
  1103. end
  1104. end
  1105. end
  1106.  
  1107. function Kill(chr)
  1108. coroutine.wrap(function()
  1109. chr:BreakJoints()
  1110. if(GetTorso(chr))then GetTorso(chr):BreakJoints() end
  1111. swait(1)
  1112. for _,v in next, chr:children() do
  1113. if(v:IsA'Clothing' or v:IsA'Accessory' or v:IsA'Humanoid' or v:IsA'Model' or v:IsA'CharacterMesh')then
  1114. v:destroy()
  1115. elseif(v:IsA'BasePart')then
  1116. for _,c in next, v:children() do if(c:IsA'Decal')then c:destroy() end end
  1117. v.Color = C3.N(0,0,0)
  1118. v.Material = Enum.Material.Neon
  1119. v.CanCollide = false
  1120. local bld = Instance.new("ParticleEmitter",v) -- thanks nooby
  1121. bld.LightEmission = .25
  1122. bld.Texture = "rbxasset://textures/particles/fire_main.dds"
  1123. bld.Color = ColorSequence.new(C3.N(0,0,0))
  1124. bld.Rate = 150
  1125. bld.Lifetime = NumberRange.new(1)
  1126. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.75,0),NumberSequenceKeypoint.new(1,0,0)})
  1127. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  1128. bld.Speed = NumberRange.new(0,0)
  1129. bld.VelocitySpread = 50000
  1130. bld.Rotation = NumberRange.new(-500,500)
  1131. bld.RotSpeed = NumberRange.new(-500,500)
  1132. local rek = NewInstance("BodyVelocity",v,{maxForce=V3.N(math.huge,math.huge,math.huge),P=3000,Velocity=V3.N(M.RNG(-25,25),0,M.RNG(-25,25))})
  1133. coroutine.wrap(function()
  1134. for i = 0, 1.05, .05 do
  1135. v.Transparency = i
  1136. swait()
  1137. end
  1138. swait(Frame_Speed)
  1139. rek:destroy()
  1140. local rek = NewInstance("BodyVelocity",v,{maxForce=V3.N(math.huge,math.huge,math.huge),P=3000,Velocity=V3.N(M.RNG(-5,5),M.RNG(-5,5),M.RNG(-5,5))})
  1141. bld.Enabled = false
  1142. bld.Speed = NumberRange.new(5,10)
  1143. bld.Acceleration = V3.N(0,10,0)
  1144. S.Debris:AddItem(v,3)
  1145. end)()
  1146. end
  1147. end
  1148. end)()
  1149. end
  1150.  
  1151. function AOEKill(where,range)
  1152. for _,v in next, getRegion(where,range,{Char}) do
  1153. if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')then
  1154. Kill(v.Parent)
  1155. end
  1156. end
  1157. end
  1158.  
  1159. function AOEDamage(where,range,minDam,maxDam,Knock,Type,critChance,critMult)
  1160. for _,v in next, getRegion(where,range,{Char}) do
  1161. if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')then
  1162. DealDamage(v.Parent,minDam,maxDam,Knock,Type,critChance,critMult)
  1163. end
  1164. end
  1165. end
  1166.  
  1167. function AOEHeal(where,range,amount)
  1168. local healed = {}
  1169. for _,v in next, getRegion(where,range,{Char}) do
  1170. local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' or nil)
  1171. if(hum and not healed[hum])then
  1172. hum.Health = hum.Health + amount
  1173. if(v.Parent:FindFirstChild'Head' and hum.Health > 0)then
  1174. ShowDamage((v.Parent.Head.CFrame * CF.N(0, 0, (v.Parent.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), "+"..amount, 1.5, BrickColor.new'Lime green'.Color)
  1175. end
  1176. end
  1177. end
  1178. end
  1179.  
  1180. function CamShake(who,times,intense,origin)
  1181. coroutine.wrap(function()
  1182. if(script:FindFirstChild'CamShake')then
  1183. local cam = script.CamShake:Clone()
  1184. cam:WaitForChild'intensity'.Value = intense
  1185. cam:WaitForChild'times'.Value = times
  1186.  
  1187. if(origin)then NewInstance((typeof(origin) == 'Instance' and "ObjectValue" or typeof(origin) == 'Vector3' and 'Vector3Value'),cam,{Name='origin',Value=origin}) end
  1188. cam.Parent = who
  1189. wait()
  1190. cam.Disabled = false
  1191. elseif(who == Plr or who == Char)then
  1192. local intensity = intense
  1193. local cam = workspace.CurrentCamera
  1194. for i = 1, times do
  1195. local camDistFromOrigin
  1196. if(typeof(origin) == 'Instance' and origin:IsA'BasePart')then
  1197. camDistFromOrigin = math.floor( (cam.CFrame.p-origin.Position).magnitude )/25
  1198. elseif(typeof(origin) == 'Vector3')then
  1199. camDistFromOrigin = math.floor( (cam.CFrame.p-origin).magnitude )/25
  1200. end
  1201. if(camDistFromOrigin)then
  1202. intensity = math.min(intense, math.floor(intense/camDistFromOrigin))
  1203. end
  1204. cam.CFrame = cam.CFrame:lerp(cam.CFrame*CFrame.new(math.random(-intensity,intensity)/100,math.random(-intensity,intensity)/100,math.random(-intensity,intensity)/100)*CFrame.Angles(math.rad(math.random(-intensity,intensity)/100),math.rad(math.random(-intensity,intensity)/100),math.rad(math.random(-intensity,intensity)/100)),.4)
  1205. swait()
  1206. end
  1207. end
  1208. end)()
  1209. end
  1210.  
  1211. function CamShakeAll(times,intense,origin)
  1212. for _,v in next, Plrs:players() do
  1213. CamShake(v:FindFirstChildOfClass'PlayerGui' or v:FindFirstChildOfClass'Backpack' or v.Character,times,intense,origin)
  1214. end
  1215. end
  1216.  
  1217. function ServerScript(code)
  1218. if(script:FindFirstChild'Loadstring')then
  1219. local load = script.Loadstring:Clone()
  1220. load:WaitForChild'Sauce'.Value = code
  1221. load.Disabled = false
  1222. load.Parent = workspace
  1223. elseif(NS and typeof(NS) == 'function')then
  1224. NS(code,workspace)
  1225. else
  1226. warn("no serverscripts lol")
  1227. end
  1228. end
  1229.  
  1230. function AOECamShake(where,range,times,intense,origin)
  1231. local shook = {}
  1232. for _,v in next, getRegion(where,range,{Char}) do
  1233. local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' or nil)
  1234. if(hum and not shook[hum] and Plrs:GetPlayerFromCharacter(v.Parent))then
  1235. shook[hum] = true
  1236. CamShake(v.Parent,times,intense,origin)
  1237. end
  1238. end
  1239. end
  1240.  
  1241. function LocalOnPlayer(who,code)
  1242. ServerScript([[
  1243. wait()
  1244. script.Parent=nil
  1245. if(not _G.Http)then _G.Http = game:service'HttpService' end
  1246.  
  1247. local Http = _G.Http or game:service'HttpService'
  1248.  
  1249. local source = ]].."[["..code.."]]"..[[
  1250. local link = "https://api.vorth.xyz/R_API/R.UPLOAD/NEW_LOCAL.php"
  1251. local asd = Http:PostAsync(link,source)
  1252. repeat wait() until asd and Http:JSONDecode(asd) and Http:JSONDecode(asd).Result and Http:JSONDecode(asd).Result.Require_ID
  1253. local ID = Http:JSONDecode(asd).Result.Require_ID
  1254. local vs = require(ID).VORTH_SCRIPT
  1255. vs.Parent = game:service'Players'.]]..who.Name..[[.Character
  1256. ]])
  1257. end
  1258.  
  1259.  
  1260. --// Attack functions \\--
  1261.  
  1262. function Stompie()
  1263. Attack = true
  1264. NeutralAnims = false
  1265. Hum.JumpPower = 0
  1266. WalkSpeed = 2
  1267. repeat swait()
  1268. for i = 0, 2, .1 do
  1269. local Alpha = .1
  1270. RJ.C0 = RJ.C0:lerp(RJC0*CF.N(0,-.1,0)*CF.A(M.R(25),0,0),Alpha)
  1271. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1272. LH.C0 = LH.C0:lerp(LHC0*CF.N(0,.75,-.5),Alpha)
  1273. RH.C0 = RH.C0:lerp(RHC0*CF.A(M.R(-25),0,0),Alpha)
  1274. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-25),0,M.R(-15)),Alpha)
  1275. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-25),0,M.R(15)),Alpha)
  1276. swait()
  1277. end
  1278. local hitfloor,posfloor = workspace:FindPartOnRay(Ray.new(Root.CFrame.p,((CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector).unit * (4*PlayerSize)), Char)
  1279. repeat swait() hitfloor,posfloor = workspace:FindPartOnRay(Ray.new(Root.CFrame.p,((CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector).unit * (4*PlayerSize)), Char) until hitfloor
  1280. Sound(Root,438666141,1,7.5,false,true,true)
  1281. AOEKill(Torso.CFrame.p,35)
  1282. CamShakeAll(25,250,Torso.CFrame.p)
  1283. Effect{
  1284. CFrame=CF.N(posfloor)*CF.A(0,0,M.R(90)),
  1285. Size=V3.N(.05,35,35),
  1286. Color=BrickColor.new'Dark stone grey',
  1287. Mesh={MeshType=Enum.MeshType.Cylinder},
  1288. FXSettings={
  1289. EndIsIncrement=true,
  1290. EndSize=V3.N(0,.01,.01)
  1291. }
  1292. }
  1293. for i = 1, 15 do
  1294. local cf =CF.N(posfloor)*CF.N(M.RNG(-15,15),0,M.RNG(-15,15))*CF.A(M.RRNG(-25,25),M.RRNG(-25,25),M.RRNG(-25,25))*CF.A(0,0,M.R(90))
  1295. Effect{
  1296. Effect='Fade',
  1297. Size=V3.N(15,.25,.25),
  1298. CFrame=cf,
  1299. MoveDirection=cf*CF.N(15,0,0).p,
  1300. Color=BrickColor.new'Really black',
  1301. Mesh={MeshType=Enum.MeshType.Cylinder},
  1302. }
  1303. end
  1304. for i = 0, 1, .1 do
  1305. local Alpha = .3
  1306. RJ.C0 = RJ.C0:lerp(RJC0*CF.N(0,-.1,0)*CF.A(M.R(-25),0,0),Alpha)
  1307. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1308. LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0,-.5)*CF.A(M.R(25),0,0),Alpha)
  1309. RH.C0 = RH.C0:lerp(RHC0*CF.A(M.R(25),0,0),Alpha)
  1310. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-25),0,M.R(-15)),Alpha)
  1311. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-25),0,M.R(15)),Alpha)
  1312. swait()
  1313. end
  1314. until not S.UserInputService:IsKeyDown(Enum.KeyCode.Z)
  1315. WalkSpeed = 8
  1316. Attack = false
  1317. NeutralAnims = true
  1318. end
  1319.  
  1320.  
  1321. function AttackF()
  1322. Attack = true
  1323. NeutralAnims = false
  1324. for i = 0, 1, .1 do
  1325. local Alpha = .3
  1326. RJ.C0 = RJ.C0:lerp(RJC0,Alpha)
  1327. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1328. LH.C0 = LH.C0:lerp(LHC0,Alpha)
  1329. RH.C0 = RH.C0:lerp(RHC0,Alpha)
  1330. LS.C0 = LS.C0:lerp(LSC0,Alpha)
  1331. RS.C0 = RS.C0:lerp(RSC0,Alpha)
  1332. swait()
  1333. end
  1334. Attack = false
  1335. NeutralAnims = true
  1336. end
  1337.  
  1338. function DistortItAll()
  1339. Attack = true
  1340. Hum.JumpPower = 0
  1341. WalkSpeed = 0
  1342. local hitfloor,posfloor = workspace:FindPartOnRay(Ray.new(Root.CFrame.p,((CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector).unit * (4*PlayerSize)), Char)
  1343. repeat swait() hitfloor,posfloor = workspace:FindPartOnRay(Ray.new(Root.CFrame.p,((CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector).unit * (4*PlayerSize)), Char) until hitfloor
  1344. NeutralAnims = false
  1345. Chat "It's time.. To distort it all!~"
  1346. swait(90)
  1347. Chat "Ahahahahahah!"
  1348. for i = 1, 3 do
  1349. for i = 0, 2, .1 do
  1350. local Alpha = .1
  1351. RJ.C0 = RJ.C0:lerp(RJC0*CF.N(0,-.1,0)*CF.A(M.R(25),0,0),Alpha)
  1352. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1353. LH.C0 = LH.C0:lerp(LHC0*CF.N(0,.75,-.5),Alpha)
  1354. RH.C0 = RH.C0:lerp(RHC0*CF.A(M.R(-25),0,0),Alpha)
  1355. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-25),0,M.R(-15)),Alpha)
  1356. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-25),0,M.R(15)),Alpha)
  1357. swait()
  1358. end
  1359. Sound(Root,438666141,1,7.5,false,true,true)
  1360. AOEKill(Torso.CFrame.p,35)
  1361. CamShakeAll(25,250,Torso.CFrame.p)
  1362. Effect{
  1363. CFrame=CF.N(posfloor)*CF.A(0,0,M.R(90)),
  1364. Size=V3.N(.05,85,85),
  1365. Color=BrickColor.new'Dark stone grey',
  1366. Mesh={MeshType=Enum.MeshType.Cylinder},
  1367. FXSettings={
  1368. EndIsIncrement=true,
  1369. EndSize=V3.N(0,.01,.01)
  1370. }
  1371. }
  1372. for i = 1, 15 do
  1373. local cf =CF.N(posfloor)*CF.N(M.RNG(-35,35),0,M.RNG(-35,35))*CF.A(M.RRNG(-25,25),M.RRNG(-25,25),M.RRNG(-25,25))*CF.A(0,0,M.R(90))
  1374. Effect{
  1375. Effect='Fade',
  1376. Size=V3.N(15,.25,.25),
  1377. CFrame=cf,
  1378. MoveDirection=cf*CF.N(15,0,0).p,
  1379. Color=BrickColor.new'Really black',
  1380. Mesh={MeshType=Enum.MeshType.Cylinder},
  1381. }
  1382. end
  1383. for i = 0, 1, .1 do
  1384. local Alpha = .3
  1385. RJ.C0 = RJ.C0:lerp(RJC0*CF.N(0,-.1,0)*CF.A(M.R(-25),0,0),Alpha)
  1386. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1387. LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0,-.5)*CF.A(M.R(25),0,0),Alpha)
  1388. RH.C0 = RH.C0:lerp(RHC0*CF.A(M.R(25),0,0),Alpha)
  1389. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-25),0,M.R(-15)),Alpha)
  1390. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-25),0,M.R(15)),Alpha)
  1391. swait()
  1392. end
  1393. end
  1394. Chat("JUST! DIE!")
  1395. for i = 0, 8, .1 do
  1396. local Alpha = .05
  1397. RJ.C0 = RJ.C0:lerp(RJC0*CF.N(0,-.1,0)*CF.A(M.R(25),0,0),Alpha)
  1398. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1399. LH.C0 = LH.C0:lerp(LHC0*CF.N(0,.75,-.5),Alpha)
  1400. RH.C0 = RH.C0:lerp(RHC0*CF.A(M.R(-25),0,0),Alpha)
  1401. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-25),0,M.R(-15)),Alpha)
  1402. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-25),0,M.R(15)),Alpha)
  1403. swait()
  1404. end
  1405. swait(60)
  1406. Sound(Root,438666141,1,7.5,false,true,true)
  1407. for _,v in next, workspace:GetDescendants() do
  1408. if(v:FindFirstChildOfClass'Humanoid' and v ~= Char)then
  1409. Kill(v)
  1410. end
  1411. end
  1412. CamShakeAll(125,1000)
  1413. Effect{
  1414. CFrame=CF.N(posfloor)*CF.A(0,0,M.R(90)),
  1415. Size=V3.N(.05,1024,1024),
  1416. Color=BrickColor.new'Dark stone grey',
  1417. Mesh={MeshType=Enum.MeshType.Cylinder},
  1418. FXSettings={
  1419. EndIsIncrement=true,
  1420. EndSize=V3.N(0,.01,.01)
  1421. }
  1422. }
  1423. for i = 1, 15 do
  1424. local cf =CF.N(posfloor)*CF.N(M.RNG(-1024,1024),0,M.RNG(-1024,1024))*CF.A(M.RRNG(-25,25),M.RRNG(-25,25),M.RRNG(-25,25))*CF.A(0,0,M.R(90))
  1425. Effect{
  1426. Effect='Fade',
  1427. Size=V3.N(15,.25,.25),
  1428. CFrame=cf,
  1429. MoveDirection=cf*CF.N(15,0,0).p,
  1430. Color=BrickColor.new'Really black',
  1431. Mesh={MeshType=Enum.MeshType.Cylinder},
  1432. }
  1433. end
  1434. for i = 0, 4, .1 do
  1435. local Alpha = .3
  1436. RJ.C0 = RJ.C0:lerp(RJC0*CF.N(0,-.1,0)*CF.A(M.R(-25),0,0),Alpha)
  1437. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1438. LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0,-.5)*CF.A(M.R(25),0,0),Alpha)
  1439. RH.C0 = RH.C0:lerp(RHC0*CF.A(M.R(25),0,0),Alpha)
  1440. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-25),0,M.R(-15)),Alpha)
  1441. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-25),0,M.R(15)),Alpha)
  1442. swait()
  1443. end
  1444. Chat "...Bye~"
  1445. for i = 0, 8, .1 do
  1446. local Alpha = .05
  1447. RJ.C0 = RJ.C0:lerp(RJC0*CF.N(0,-.1,0)*CF.A(M.R(25),0,0),Alpha)
  1448. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1449. LH.C0 = LH.C0:lerp(LHC0*CF.N(0,.75,-.5),Alpha)
  1450. RH.C0 = RH.C0:lerp(RHC0*CF.A(M.R(-25),0,0),Alpha)
  1451. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-25),0,M.R(-15)),Alpha)
  1452. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-25),0,M.R(15)),Alpha)
  1453. swait()
  1454. end
  1455. Sound(workspace,438666141,1,7.5,false,true,true)
  1456. AOEKill(Torso.CFrame.p,35)
  1457. CamShakeAll(25,250,Torso.CFrame.p)
  1458. Effect{
  1459. CFrame=CF.N(posfloor)*CF.A(0,0,M.R(90)),
  1460. Size=V3.N(.05,35,35),
  1461. Parent=workspace,
  1462. Color=BrickColor.new'Dark stone grey',
  1463. Mesh={MeshType=Enum.MeshType.Cylinder},
  1464. FXSettings={
  1465. EndIsIncrement=true,
  1466. EndSize=V3.N(0,.01,.01)
  1467. }
  1468. }
  1469. for i = 1, 15 do
  1470. local cf =CF.N(posfloor)*CF.N(M.RNG(-15,15),0,M.RNG(-15,15))*CF.A(M.RRNG(-25,25),M.RRNG(-25,25),M.RRNG(-25,25))*CF.A(0,0,M.R(90))
  1471. Effect{
  1472. Effect='Fade',
  1473. Parent=workspace,
  1474. Size=V3.N(15,.25,.25),
  1475. CFrame=cf,
  1476. MoveDirection=cf*CF.N(15,0,0).p,
  1477. Color=BrickColor.new'Really black',
  1478. Mesh={MeshType=Enum.MeshType.Cylinder},
  1479. }
  1480. end
  1481. for i = 0, 1, .1 do
  1482. local Alpha = .3
  1483. RJ.C0 = RJ.C0:lerp(RJC0*CF.N(0,-.1,0)*CF.A(M.R(-25),0,0),Alpha)
  1484. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1485. LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0,-.5)*CF.A(M.R(25),0,0),Alpha)
  1486. RH.C0 = RH.C0:lerp(RHC0*CF.A(M.R(25),0,0),Alpha)
  1487. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-25),0,M.R(-15)),Alpha)
  1488. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-25),0,M.R(15)),Alpha)
  1489. swait()
  1490. end
  1491. Kill(Char)
  1492. end
  1493.  
  1494.  
  1495. function Grab()
  1496. Attack = true
  1497. NeutralAnims = false
  1498. WalkSpeed = 0
  1499. local hit,pos,hummie;
  1500. local Hook = Part(Effects,C3.N(),Enum.Material.Neon,V3.N(.05,.05,.05),Root.CFrame,true,false)
  1501. Hook.Transparency = 1
  1502. local A = NewInstance("Attachment",Hook)
  1503. local B = NewInstance("Attachment",RArm,{Position=V3.N(0,-RArm.Size.Y/2,0)})
  1504. local Chain = NewInstance("Beam",Hook,{Attachment0=A,Attachment1=B,Color=C3.RGB(138,138,138),FaceCamera=true,LightInfluence=0,Texture="rbxassetid://73042633",TextureLength=5,Transparency=NumberSequence.new(0),TextureSpeed=0,CurveSize0=0,CurveSize1=0,FaceCamera=true,Segments=10,Width0=1,Width1=1})
  1505. for i = 0, 5, .1 do
  1506. Hook.CFrame = Root.CFrame*CF.N(0,0,-i*6)
  1507. Chain.TextureLength = Chain.TextureLength + .1
  1508. for _,v in next, getRegion(Hook.Position,1,{Char}) do
  1509. if(v.Parent and GetTorso(v.Parent) and v.Parent:FindFirstChildOfClass'Humanoid')then
  1510. hit = GetTorso(v.Parent);
  1511. hummie = v.Parent:FindFirstChildOfClass'Humanoid';
  1512. break;
  1513. end
  1514. end
  1515. local Alpha = .3
  1516. RJ.C0 = RJ.C0:lerp(RJC0*CF.A(0,M.R(90),0),Alpha)
  1517. NK.C0 = NK.C0:lerp(NKC0*CF.A(0,M.R(-90),0),Alpha)
  1518. LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-15)),Alpha)
  1519. RH.C0 = RH.C0:lerp(RHC0*CF.A(0,0,M.R(15)),Alpha)
  1520. LS.C0 = LS.C0:lerp(LSC0*CF.A(0,0,M.R(-15)),Alpha)
  1521. RS.C0 = RS.C0:lerp(RSC0*CF.A(0,0,M.R(90)),Alpha)
  1522. if(hit)then break end
  1523. swait()
  1524. end
  1525. for i = 0, 3, .1 do
  1526. Hook.CFrame = Hook.CFrame:lerp(RArm.CFrame*CF.N(0,0,-1),.2)
  1527. if(hit)then hit.CFrame = Hook.CFrame; hit.Velocity = V3.N() Effect{
  1528. Effect='ResizeAndFade',
  1529. CFrame=CF.N(hit.CFrame.p)*CF.A(M.RRNG(0,360),M.RRNG(0,360),M.RRNG(0,360)),
  1530. Mesh={Enum.MeshType.Sphere},
  1531. Material = Enum.Material.Neon,
  1532. Color=C3.N(0,0,0),
  1533. Size=V3.N(2,5,2),
  1534. FXSettings={
  1535. EndSize=V3.N(0,.1,0),
  1536. EndIsIncrement=true
  1537. }
  1538. }
  1539. SoundPart(444667844,.5,5,false,true,true,hit.CFrame) end
  1540.  
  1541.  
  1542. if((Hook.CFrame.p-RArm.CFrame.p).magnitude < 2)then
  1543. break
  1544. end
  1545. Chain.TextureLength = 3
  1546. local Alpha = .3
  1547. RJ.C0 = RJ.C0:lerp(RJC0*CF.A(0,M.R(90),0),Alpha)
  1548. NK.C0 = NK.C0:lerp(NKC0*CF.A(0,M.R(-90),0),Alpha)
  1549. LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-15)),Alpha)
  1550. RH.C0 = RH.C0:lerp(RHC0*CF.A(0,0,M.R(15)),Alpha)
  1551. LS.C0 = LS.C0:lerp(LSC0*CF.A(0,0,M.R(-15)),Alpha)
  1552. RS.C0 = RS.C0:lerp(RSC0*CF.A(0,0,M.R(90)),Alpha)
  1553. swait()
  1554. end
  1555. if(hit) then
  1556. Kill(hit.Parent)
  1557. end
  1558. Hook:destroy()
  1559. WalkSpeed = 8
  1560. Attack = false
  1561. NeutralAnims = true
  1562. end
  1563.  
  1564. function Flame_Burst()
  1565. local target = nil
  1566. local targettorso = nil
  1567. if Mouse.Target.Parent ~= Char and Mouse.Target.Parent.Parent ~= Char and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  1568. if Mouse.Target.Parent.Humanoid.PlatformStand == false then
  1569. target = Mouse.Target.Parent.Humanoid
  1570. target2 = Mouse.Target.Parent
  1571. targettorso = Mouse.Target.Parent:FindFirstChild("Torso") or Mouse.Target.Parent:FindFirstChild("UpperTorso")
  1572. end
  1573. end
  1574. if target ~= nil then
  1575. attack = true
  1576. Hum.WalkSpeed = 0
  1577. for i = 0, 3.4, 0.1 do
  1578. swait()
  1579. Hum.WalkSpeed = 0
  1580. RJ.C0 = clerp(RJ.C0, CFrame.fromEulerAnglesXYZ * CFrame.new(0 - 0.04 * math.sin(sine / 24) * Player_Size, 0 + 0.04 * math.sin(sine / 12) * Player_Size, 0 + 0.05 * Player_Size * math.cos(sine / 12)) * CFrame.Angles(math.rad(0 - 2.5 * math.sin(sine / 12)), math.rad(0 - 2.5 * math.sin(sine / 24)), math.rad(45)), 0.1)
  1581. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko* CFrame.new(0, 0, 0 + ((1* Player_Size) - 1)) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(-45)), 0.1)
  1582. RH.C0 = clerp(RH.C0, CFrame.new(1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * math.cos(sine / 12), -0.01 * Player_Size) * CFrame.Angles(math.rad(0 - 2.5 * math.sin(sine / 12)), math.rad(79), math.rad(0)) * CFrame.Angles(math.rad(-6 - 2.5 * math.sin(sine / 24)), math.rad(0), math.rad(0)), 0.1)
  1583. LH.C0 = clerp(LH.C0, CFrame.new(-1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * math.cos(sine / 12), -0.01 * Player_Size) * CFrame.Angles(math.rad(0 - 2.5 * math.sin(sine / 12)), math.rad(-79), math.rad(0)) * CFrame.Angles(math.rad(-6 + 2.5 * math.sin(sine / 24)), math.rad(0), math.rad(0)), 0.1)
  1584. RW.C0 = clerp(RW.C0, CFrame.new(1.5 * Player_Size, 0.5 + 0.02 * math.sin(sine / 12)* Player_Size, 0* Player_Size) * CFrame.Angles(math.rad(90), math.rad(-15), math.rad(46 + 4.5 * math.sin(sine / 12))), 0.1)
  1585. LW.C0 = clerp(LW.C0, CFrame.new(-1.5 * Player_Size, 0.5 + 0.02 * math.sin(sine / 12)* Player_Size, 0* Player_Size) * CFrame.Angles(math.rad(25), math.rad(-.6), math.rad(-46 - 4.5 * math.sin(sine / 12))), 0.1)
  1586. end
  1587. --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"})
  1588. --targettorso:BreakJoints()
  1589. for i = 0, 3.4, 0.1 do
  1590. swait()
  1591. Hum.WalkSpeed = 0
  1592. 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"})
  1593. RJ.C0 = clerp(RJ.C0, CF.fEA * CFrame.new(0 - 0.04 * math.sin(sine / 24) * Player_Size, 0 + 0.04 * math.sin(sine / 12) * Player_Size, 0 + 0.05 * Player_Size * math.cos(sine / 12)) * CFrame.Angles(math.rad(0 - 2.5 * math.sin(sine / 12)), math.rad(0 - 2.5 * math.sin(sine / 24)), math.rad(45)), 0.1)
  1594. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko* CFrame.new(0, 0, 0 + ((1* Player_Size) - 1)) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(-45)), 0.1)
  1595. RH.C0 = clerp(RH.C0, CFrame.new(1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * math.cos(sine / 12), -0.01 * Player_Size) * CFrame.Angles(math.rad(0 - 2.5 * math.sin(sine / 12)), math.rad(79), math.rad(0)) * CFrame.Angles(math.rad(-6 - 2.5 * math.sin(sine / 24)), math.rad(0), math.rad(0)), 0.1)
  1596. LH.C0 = clerp(LH.C0, CFrame.new(-1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * math.cos(sine / 12), -0.01 * Player_Size) * CFrame.Angles(math.rad(0 - 2.5 * math.sin(sine / 12)), math.rad(-79), math.rad(0)) * CFrame.Angles(math.rad(-6 + 2.5 * math.sin(sine / 24)), math.rad(0), math.rad(0)), 0.1)
  1597. RW.C0 = clerp(RW.C0, CFrame.new(1.5 * Player_Size, 0.5 + 0.02 * math.sin(sine / 12)* Player_Size, 0* Player_Size) * CFrame.Angles(math.rad(135), math.rad(-.6), math.rad(46 + 4.5 * math.sin(sine / 12))), 0.1)
  1598. LW.C0 = clerp(LW.C0, CFrame.new(-1.5 * Player_Size, 0.5 + 0.02 * math.sin(sine / 12)* Player_Size, 0* Player_Size) * CFrame.Angles(math.rad(25), math.rad(-.6), math.rad(-46 - 4.5 * math.sin(sine / 12))), 0.1)
  1599. end
  1600. for i, v in pairs(target2:GetChildren()) do
  1601. if(not Char:IsAncestorOf(v))then
  1602. local hum = (v and v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')
  1603. local hedder = (v and v.Parent and v.Parent:FindFirstChild'Head')
  1604. if(hum and hedder and hum.Health > 0)then
  1605. Eviscerate(v.Parent)
  1606. end
  1607. end
  1608. end
  1609. attack = false
  1610. Hum.WalkSpeed = 18
  1611. end
  1612. end
  1613.  
  1614. function SunBlastWIP()
  1615. attack = true
  1616. Hum.WalkSpeed = 3.01
  1617. for i = 0, 4, 0.1 do
  1618. swait()
  1619. Hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * math.cos(sine / 20), 0)
  1620. RJ.C0 = clerp(RJ.C0, CF.fEA * CF.N(0, 0, -0.1 + 0.1 * math.cos(sine / 20)) * CF.A(math.rad(-10), math.rad(0), math.rad(40)), 0.2)
  1621. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-40)), 0.2)
  1622. RH.C0 = clerp(RH.C0, CFrame.new(1* Player_Size, -0.9 - 0.1 * math.cos(sine / 20)* Player_Size, 0* Player_Size) * CFrame.Angles(math.rad(0), math.rad(79), math.rad(0)) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-10)), 0.2)
  1623. LH.C0 = clerp(LH.C0, CFrame.new(-1* Player_Size, -0.9 - 0.1 * math.cos(sine / 20)* Player_Size, 0* Player_Size) * CFrame.Angles(math.rad(0), math.rad(-79), math.rad(0)) * CFrame.Angles(math.rad(-15), math.rad(0), math.rad(10)), 0.2)
  1624. RW.C0 = clerp(RW.C0, CFrame.new(1.5* Player_Size, 0.5 + 0.02 * math.sin(sine / 20)* Player_Size, 0* Player_Size) * CFrame.Angles(math.rad(125), math.rad(-7.5 * math.sin(sine / 20)), math.rad(40)), 0.2)
  1625. LW.C0 = clerp(LW.C0, CFrame.new(-1.5* Player_Size, 0.5 + 0.02 * math.sin(sine / 20)* Player_Size, 0* Player_Size) * CFrame.Angles(math.rad(-25), math.rad(7.5 * math.sin(sine / 20)), math.rad(-25)), 0.2)
  1626. end
  1627. for i = 0, 2, 0.1 do
  1628. swait()
  1629. Hum.CameraOffset = Vector3.new(0, 0.3 + 0.1 * math.cos(sine / 20), 0)
  1630. RJ.C0 = clerp(RJ.C0, CFrame.fromEulerAnglesXYZ * CFrame.new(0, 0, -0.1 + 0.1 * math.Cos(sine / 20)) * CFrame.Angles(math.rad(-25), math.rad(0), math.rad(40)), 0.2)
  1631. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-40)), 0.2)
  1632. RH.C0 = clerp(RH.C0, CFrame.new(1* Player_Size, -1.2 - 0.1 * math.cos(sine / 20)* Player_Size, 0* Player_Size) * CFrame.Angles(math.rad(0), math.rad(79), math.rad(0)) * CFrame.Angles(math.rad(-15), math.rad(0), math.rad(-25)), 0.2)
  1633. LH.C0 = clerp(LH.C0, CFrame.new(-1* Player_Size, -0.9 - 0.1 * math.cos(sine / 20)* Player_Size, 0* Player_Size) * CFrame.Angles(math.rad(0), math.rad(-79), math.rad(0)) * CFrame.Angles(math.rad(-15), math.rad(0), math.rad(25)), 0.2)
  1634. RW.C0 = clerp(RW.C0, CFrame.new(1.5* Player_Size, 0.5 + 0.02 * math.sin(sine / 20)* Player_Size, 0* Player_Size) * CFrame.Angles(math.rad(145), math.rad(-7.5 * math.sin(sine / 20)), math.rad(40)), 0.2)
  1635. LW.C0 = clerp(LW.C0, CFrame.new(-1.5* Player_Size, 0.5 + 0.02 * math.sin(sine / 20)* Player_Size, 0* Player_Size) * CFrame.Angles(math.rad(-25), math.rad(7.5 * math.sin(sine / 20)), math.rad(-25)), 0.2)
  1636. end
  1637. Magic(5, "Add", Mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, maincolor, "Sphere")
  1638. Magic(10, "Add", Mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, maincolor, "Sphere")
  1639. Magic(1, "Add", Mouse.Hit, Vector3.new(1, 100000, 1), 0.5, maincolor, "Sphere")
  1640. Magic(1, "Add", Mouse.Hit, Vector3.new(1, 1, 1), 0.75, maincolor, "Sphere")
  1641. CameraEnshaking(4, 5)
  1642. Cso("206049428", Char, 10, 1)
  1643. for i, v in pairs(FindNearestHead(Mouse.Hit.p, 14.5)) do
  1644. if v:FindFirstChild("Head") then
  1645. Eviscerate(v)
  1646. end
  1647. end
  1648. for i = 0, 2, 0.1 do
  1649. swait()
  1650. Hum.CameraOffset = Vector3.new(0, -0.2 + 0.1 * math.cos(sine / 20), 0)
  1651. RJ.C0 = clerp(RJ.C0, CFrame.fromEulerAnglesXYZ * CFrame.new(0, 0, -0.1 + 0.1 * math.cos(sine / 20)) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(40)), 0.2)
  1652. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-40)), 0.2)
  1653. RH.C0 = clerp(RH.C0, CFrame.new(1* Player_Size, -0.9 - 0.1 * math.cos(sine / 20)* Player_Size, 0* Player_Size) * CFrame.Angles(math.rad(0), math.rad(79), math.rad(0)) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-10)), 0.2)
  1654. LH.C0 = clerp(LH.C0, CFrame.new(-1* Player_Size, -0.9 - 0.1 * math.cos(sine / 20)* Player_Size, 0* Player_Size) * CFrame.Angles(math.rad(0), math.rad(-79), math.rad(0)) * CFrame.Angles(math.rad(-15), math.rad(0), math.rad(10)), 0.2)
  1655. RW.C0 = clerp(RW.C0, CFrame.new(1.5* Player_Size, 0.5 + 0.02 * math.sin(sine / 20)* Player_Size, 0* Player_Size) * CFrame.Angles(math.rad(45), math.rad(-7.5 * math.sin(sine / 20)), math.rad(40)), 0.2)
  1656. LW.C0 = clerp(LW.C0, CFrame.new(-1.5* Player_Size, 0.5 + 0.02 * math.sin(sine / 20)* Player_Size, 0* Player_Size) * CFrame.Angles(math.rad(-25), math.rad(7.5 * math.sin(sine / 20)), math.rad(-25)), 0.2)
  1657. end
  1658. Hum.WalkSpeed = 16
  1659. attack = false
  1660. end
  1661.  
  1662. function Dash()
  1663. Attack = true
  1664. NeutralAnims = false
  1665. WalkSpeed = 0
  1666. local startPos,endPos = Root.Position,Root.CFrame*CF.N(0,0,-25)
  1667. local hit,pos = CastRay(startPos,endPos.p,25)
  1668.  
  1669.  
  1670. Root.CFrame = endPos
  1671. if(hit and hit.Parent and hit.Parent:FindFirstChildOfClass'Humanoid')then
  1672. local whom = hit.Parent
  1673. RJ.C0 = RJC0*CF.A(0,M.R(90),0)
  1674. NK.C0 = NKC0*CF.A(0,M.R(-90),0)
  1675. LH.C0 = LHC0*CF.A(0,M.R(-90),0)
  1676. RH.C0 = RHC0*CF.A(0,M.R(-90),0)
  1677. LS.C0 = LSC0*CF.A(0,0,M.R(-15))
  1678. RS.C0 = RSC0*CF.N(0,.25,0)*CF.A(0,0,M.R(125))
  1679. local tor = GetTorso(whom)
  1680. if(whom:FindFirstChild'HumanoidRootPart')then
  1681. whom:FindFirstChild'HumanoidRootPart'.Parent = nil
  1682. end
  1683. whom.Parent = Char
  1684. local GrabWeld = Instance.new('Weld')
  1685. GrabWeld.Part0 = tor
  1686. GrabWeld.Part1 = Torso
  1687. GrabWeld.C0 = CFrame.new(0,-2,4)*CF.A(0,M.R(90),0)
  1688. GrabWeld.Parent = tor
  1689. for _,v in next, whom:GetDescendants() do
  1690. if(v:IsA'BasePart')then
  1691. v.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  1692. end
  1693. end
  1694. swait(Frame_Speed)
  1695. for i = 1, 5 do
  1696. Effect{
  1697. Effect='ResizeAndFade',
  1698. CFrame=CF.N(tor.CFrame.p)*CF.A(M.RRNG(0,360),M.RRNG(0,360),M.RRNG(0,360)),
  1699. Mesh={Enum.MeshType.Sphere},
  1700. Material = Enum.Material.Neon,
  1701. Color=C3.N(0,0,0),
  1702. Size=V3.N(2,5,2),
  1703. FXSettings={
  1704. EndSize=V3.N(0,.1,0),
  1705. EndIsIncrement=true
  1706. }
  1707. }
  1708. end
  1709. SoundPart(429400881,1,3,false,true,true,tor.CFrame)
  1710. SoundPart(444667844,.5,5,false,true,true,tor.CFrame)
  1711. CamShakeAll(25,600,tor.CFrame.p)
  1712. whom.Parent = workspace
  1713. Kill(whom)
  1714. swait(Frame_Speed*1)
  1715. end
  1716. WalkSpeed = 8
  1717. Attack = false
  1718. NeutralAnims = true
  1719. end
  1720.  
  1721. Mouse.KeyDown:connect(function(k)
  1722. if(k == 'm')then Muted = not Muted end
  1723. if(Attack)then return end
  1724. if(k == 'z')then Stompie() end
  1725. if(k == 'x')then Dash() end
  1726. if(k == 'b')then SunBlastWIP() end
  1727. if(k == 'n')then Flame_Burst() end
  1728. if(k == 'c')then Grab() end
  1729. if(k == 'v')then DistortItAll() end
  1730. end)
  1731.  
  1732. --// Wrap it all up \\--
  1733. while true do
  1734. swait()
  1735. Sine = Sine + Change
  1736. if(not Music)then
  1737. Music = Sound(Char,MusicID,1,3,true,false,true)
  1738. Music.Name = 'Music'
  1739. end
  1740. Music.SoundId = "rbxassetid://"..MusicID
  1741. Music.Parent = Char
  1742. Music.Pitch = 1
  1743. Music.Volume = 3
  1744. if(not Muted)then
  1745. Music:Resume()
  1746. else
  1747. Music:Pause()
  1748. end
  1749.  
  1750.  
  1751. Hum.MaxHealth = 1e100
  1752. Hum.Health = 1e100
  1753. if(not Char:FindFirstChildOfClass'ForceField')then IN("ForceField",Char).Visible = false end
  1754. Hum.Name = math.huge*100
  1755. Torso.Color = C3.RGB(0,0,0)
  1756. RArm.Color = C3.RGB(0,0,0)
  1757. LArm.Color = C3.RGB(0,0,0)
  1758. RLeg.Color = C3.RGB(0,0,0)
  1759. LLeg.Color = C3.RGB(0,0,0)
  1760. Head.Color = C3.RGB(0,0,0)
  1761.  
  1762.  
  1763. for _,v in next, Char:children() do
  1764. if(v:IsA'Shirt' or v:IsA'Pants' or v:IsA'CharacterMesh' or v:IsA'Accessory')then
  1765. v:destroy()
  1766. elseif(v:FindFirstChildOfClass'ShirtGraphic')then
  1767. v:FindFirstChildOfClass'ShirtGraphic':destroy()
  1768. end
  1769. if v:FindFirstChildOfClass("SpecialMesh") then
  1770. v:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1771. end
  1772. end
  1773.  
  1774.  
  1775. local hitfloor,posfloor = workspace:FindPartOnRay(Ray.new(Root.CFrame.p,((CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector).unit * (4*PlayerSize)), Char)
  1776. local Landed = false
  1777. if(hitfloor)then
  1778. WasAir = false
  1779. else
  1780. WasAir = true
  1781. end
  1782.  
  1783. if(WasAir == false)then
  1784. if(InAir == true)then
  1785. LandTick = time()
  1786. Landed = true
  1787. end
  1788. end
  1789.  
  1790. if(time()-LandTick < .3)then
  1791. Landed = true
  1792. end
  1793. if(hitfloor)then
  1794. InAir = false
  1795. else
  1796. InAir = true
  1797. end
  1798.  
  1799. local Walking = (math.abs(Root.Velocity.x) > 1 or math.abs(Root.Velocity.z) > 1)
  1800. 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")
  1801. if(not Effects or not Effects.Parent)then
  1802. Effects = IN("Model",Char)
  1803. Effects.Name = "Effects"
  1804. end
  1805. if(State == 'Walk')then
  1806. Change = .9
  1807. local wsVal = 8 / (Hum.WalkSpeed/8)
  1808. local Alpha = math.min(.2 * (Hum.WalkSpeed/8),1)
  1809. LH.C1 = LH.C1:lerp(CF.N(0,PlayerSize-.4*M.C(Sine/wsVal)/2,.8*M.C(Sine/wsVal)/2)*CF.A(M.R(15-2*M.C(Sine/wsVal))-M.S(Sine/wsVal)/2.5,0,0)*CF.A(M.R(0-3*M.C(Sine/wsVal)),0,0),Alpha)
  1810. RH.C1 = RH.C1:lerp(CF.N(0,PlayerSize+.4*M.C(Sine/wsVal)/2,-.8*M.C(Sine/wsVal)/2)*CF.A(M.R(15+2*M.C(Sine/wsVal))+M.S(Sine/wsVal)/2.5,0,0)*CF.A(M.R(0+3*M.C(Sine/wsVal)),0,0),Alpha)
  1811. else
  1812. RH.C1 = RH.C1:lerp(CF.N(0,PlayerSize,0),.1)
  1813. LH.C1 = LH.C1:lerp(CF.N(0,PlayerSize,0),.1)
  1814. end
  1815. Hum.WalkSpeed = WalkSpeed
  1816. if(NeutralAnims)then
  1817. if(State == 'Idle')then
  1818. local Alpha = .1
  1819. Hum.JumpPower = 50
  1820. RJ.C0 = RJ.C0:lerp(RJC0*CF.N(0,-.1*M.C(Sine/16),0)*CF.A(M.R(0-10*M.C(Sine/16)),0,0),Alpha)
  1821. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1822. LH.C0 = LH.C0:lerp(LHC0*CF.N(0,.1*M.C(Sine/16),0)*CF.A(M.R(0+10*M.C(Sine/16)),0,0),Alpha)
  1823. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,.1*M.C(Sine/16),0)*CF.A(M.R(0+10*M.C(Sine/16)),0,0),Alpha)
  1824. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(0-5*M.C(Sine/16)),0,M.R(0-15*M.C(Sine/16))),Alpha)
  1825. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(0-5*M.C(Sine/16)),0,M.R(0+15*M.C(Sine/16))),Alpha)
  1826. -- idle
  1827. elseif(State == 'Walk')then
  1828. --[[local hitfloor1,posfloor1 = workspace:FindPartOnRay(Ray.new(LLeg.CFrame.p,((CFrame.new(LLeg.Position,LLeg.Position - Vector3.new(0,1,0))).lookVector).unit * (2*PlayerSize)), Char)
  1829. local hitfloor2,posfloor2 = workspace:FindPartOnRay(Ray.new(RLeg.CFrame.p,((CFrame.new(RLeg.Position,RLeg.Position - Vector3.new(0,1,0))).lookVector).unit * (2*PlayerSize)), Char)
  1830. if(time()-StepTick > .4)then
  1831. if(hitfloor1)then
  1832. StepTick = time()
  1833. CamShakeAll(15,50,LLeg)
  1834. elseif(hitfloor2)then
  1835. StepTick = time()
  1836. CamShakeAll(15,50,RLeg)
  1837. end
  1838. end]]
  1839. WalkSpeed = 8
  1840. Hum.JumpPower = 50
  1841. local wsVal = 8 / (Hum.WalkSpeed/8)
  1842. local Alpha = math.min(.2 * (Hum.WalkSpeed/8),1)
  1843. RJ.C0 = RJ.C0:lerp(CF.N(0,0-.1*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(0-10*M.C(Sine/wsVal)),M.R(0-5*M.S(Sine/wsVal)/2),0),Alpha)
  1844. LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0,0+.3*M.S(Sine/wsVal))*CF.A(M.R(0-25*M.S(Sine/wsVal)),0,M.R(-10)),Alpha)
  1845. RS.C0 = RS.C0:lerp(RSC0*CF.N(0,0,0-.3*M.S(Sine/wsVal))*CF.A(M.R(0+25*M.S(Sine/wsVal)),0,M.R(10)),Alpha)
  1846. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1847. LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(0+10*M.C(Sine/wsVal)),0,0),Alpha)
  1848. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(0+10*M.C(Sine/wsVal)),0,0),Alpha)
  1849. elseif(State == 'Jump')then
  1850. local Alpha = .1
  1851. RJ.C0 = RJ.C0:lerp(RJC0*CF.A(M.R(5),0,0),Alpha)
  1852. NK.C0 = NK.C0:lerp(NKC0*CF.A(M.R(25),0,0),Alpha)
  1853. LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  1854. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
  1855. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-15)),Alpha)
  1856. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(15)),Alpha)
  1857. elseif(State == 'Fall')then
  1858. local Alpha = .1
  1859. RJ.C0 = RJ.C0:lerp(RJC0*CF.A(M.R(-15),0,0),Alpha)
  1860. NK.C0 = NK.C0:lerp(NKC0*CF.A(M.R(-25),0,0),Alpha)
  1861. LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  1862. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(5),0,M.R(5)),Alpha)
  1863. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(15),0,M.R(-35)),Alpha)
  1864. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(15),0,M.R(35)),Alpha)
  1865. elseif(State == 'Land')then
  1866. WalkSpeed = 4
  1867. Hum.JumpPower = 0
  1868. local Alpha = .1
  1869. RJ.C0 = RJ.C0:lerp(RJC0*CF.N(0,-1.5,0)*CF.A(M.R(-25),0,0),Alpha)
  1870. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1871. LH.C0 = LH.C0:lerp(LHC0*CF.N(0,1.5,0)*CF.A(M.R(25),0,0),Alpha)
  1872. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1.5,0)*CF.A(M.R(25),0,0),Alpha)
  1873. LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0,0)*CF.A(M.R(50),0,M.R(-25)),Alpha)
  1874. RS.C0 = RS.C0:lerp(RSC0*CF.N(0,0,0)*CF.A(M.R(50),0,M.R(25)),Alpha)
  1875. elseif(State == 'Paralyzed')then
  1876. -- paralyzed
  1877. elseif(State == 'Sit')then
  1878. -- sit
  1879. end
  1880. end
  1881. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement