Advertisement
ItzPartapika

Soviet Officer Angela (Chara Edit)

May 7th, 2018
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 50.71 KB | None | 0 0
  1. --// Initializing \\--
  2. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  3. local Plrs = S.Players
  4. local Plr = Plrs.LocalPlayer
  5. local Char = Plr.Character
  6. local Hum = Char:FindFirstChildOfClass'Humanoid'
  7. local RArm = Char["Right Arm"]
  8. local LArm = Char["Left Arm"]
  9. local RLeg = Char["Right Leg"]
  10. local LLeg = Char["Left Leg"]
  11. local Root = Char:FindFirstChild'HumanoidRootPart'
  12. local RootPart = Char:FindFirstChild'HumanoidRootPart'
  13. local rootj = Root.RootJoint
  14. local Torso = Char.Torso
  15. local Tors = Char.Torso
  16. local Head = Char.Head
  17. local NeutralAnims = true
  18. local Attack = false
  19. local BloodPuddles = {}
  20. local Effects = {}
  21. local Debounces = {Debounces={}}
  22. local Mouse = Plr:GetMouse()
  23. local Hit = {}
  24. local Sine = 0
  25. local sine = 0
  26. local Change = 1
  27. local Souls = 0
  28. local IT = Instance.new
  29. Cos = math.cos
  30. local Rooted = false
  31. local PlayMusic = true
  32. local CF = CFrame.new
  33. local VT = Vector3.new
  34. local RAD = math.rad
  35. local C3 = Color3.new
  36. local UD2 = UDim2.new
  37. local BRICKC = BrickColor.new
  38. local ANGLES = CFrame.Angles
  39. local EULER = CFrame.fromEulerAnglesXYZ
  40. local COS = math.cos
  41. local ACOS = math.acos
  42. local SIN = math.sin
  43. local ASIN = math.asin
  44. local ABS = math.abs
  45. local MRANDOM = math.random
  46. local FLOOR = math.floor
  47.  
  48. --// Debounce System \\--
  49.  
  50. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  51. local NEWMESH = IT(MESH)
  52. if MESH == "SpecialMesh" then
  53. NEWMESH.MeshType = MESHTYPE
  54. if MESHID ~= "nil" and MESHID ~= "" then
  55. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  56. end
  57. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  58. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  59. end
  60. end
  61. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  62. NEWMESH.Scale = SCALE
  63. NEWMESH.Parent = PARENT
  64. return NEWMESH
  65. end
  66.  
  67. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  68. local NEWPART = IT("Part")
  69. NEWPART.formFactor = FORMFACTOR
  70. NEWPART.Reflectance = REFLECTANCE
  71. NEWPART.Transparency = TRANSPARENCY
  72. NEWPART.CanCollide = false
  73. NEWPART.Locked = true
  74. NEWPART.Anchored = true
  75. if ANCHOR == false then
  76. NEWPART.Anchored = false
  77. end
  78. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  79. NEWPART.Name = NAME
  80. NEWPART.Size = SIZE
  81. NEWPART.Position = Torso.Position
  82. NEWPART.Material = MATERIAL
  83. NEWPART:BreakJoints()
  84. NEWPART.Parent = PARENT
  85. return NEWPART
  86. end
  87.  
  88. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  89. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  90. wave.Color = COLOR
  91. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  92. wave.CFrame = CFRAME
  93. coroutine.resume(coroutine.create(function(PART)
  94. for i = 1, WAIT do
  95. Swait()
  96. mesh.Scale = mesh.Scale + GROW
  97. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  98. if DOESROT == true then
  99. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  100. end
  101. wave.Transparency = wave.Transparency + (0.5/WAIT)
  102. if wave.Transparency > 0.99 then
  103. wave:remove()
  104. end
  105. end
  106. end))
  107. end
  108.  
  109. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  110. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  111. wave.Color = COLOR
  112. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0,0,0))
  113. wave.CFrame = CFRAME
  114. coroutine.resume(coroutine.create(function(PART)
  115. for i = 1, WAIT do
  116. Swait()
  117. mesh.Scale = mesh.Scale + GROW
  118. wave.Transparency = wave.Transparency + (1/WAIT)
  119. if wave.Transparency > 0.99 then
  120. wave:remove()
  121. end
  122. end
  123. end))
  124. end
  125.  
  126. function Slice(KIND,SIZE,WAIT,CFRAME,COLOR,GROW)
  127. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  128. local mesh = nil
  129. if KIND == "Base" then
  130. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  131. elseif KIND == "Thin" then
  132. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  133. elseif KIND == "Round" then
  134. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  135. end
  136. wave.CFrame = CFRAME
  137. coroutine.resume(coroutine.create(function(PART)
  138. for i = 1, WAIT do
  139. Swait()
  140. mesh.Scale = mesh.Scale + GROW/10
  141. wave.Transparency = wave.Transparency + (0.5/WAIT)
  142. if wave.Transparency > 0.99 then
  143. wave:remove()
  144. end
  145. end
  146. end))
  147. end
  148.  
  149. function MakeForm(PART,TYPE)
  150. if TYPE == "Cyl" then
  151. local MSH = IT("CylinderMesh",PART)
  152. elseif TYPE == "Ball" then
  153. local MSH = IT("SpecialMesh",PART)
  154. MSH.MeshType = "Sphere"
  155. elseif TYPE == "Wedge" then
  156. local MSH = IT("SpecialMesh",PART)
  157. MSH.MeshType = "Wedge"
  158. end
  159. end
  160.  
  161. function CheckTableForString(Table, String)
  162. for i, v in pairs(Table) do
  163. if string.find(string.lower(String), string.lower(v)) then
  164. return true
  165. end
  166. end
  167. return false
  168. end
  169.  
  170. function CheckIntangible(Hit)
  171. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  172. if Hit and Hit.Parent then
  173. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  174. return true
  175. end
  176. end
  177. return false
  178. end
  179.  
  180. Debris = game:GetService("Debris")
  181.  
  182. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  183. local Direction = CFrame.new(StartPos, Vec).lookVector
  184. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  185. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  186. if RayHit and CheckIntangible(RayHit) then
  187. if DelayIfHit then
  188. wait()
  189. end
  190. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  191. end
  192. return RayHit, RayPos, RayNormal
  193. end
  194.  
  195. function FireArc(Part,ToLocation,AmountOfTime,Height,DoesCourontine)
  196. if DoesCourontine == false then
  197. local Direction = CF(Part.Position,ToLocation)
  198. local Distance = (Part.Position - ToLocation).magnitude
  199. for i = 1, AmountOfTime do
  200. Swait()
  201. Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime)
  202. Direction = Part.CFrame
  203. end
  204. Part:remove()
  205. elseif DoesCourontine == true then
  206. coroutine.resume(coroutine.create(function()
  207. local Direction = CF(Part.Position,ToLocation)
  208. local Distance = (Part.Position - ToLocation).magnitude
  209. for i = 1, AmountOfTime do
  210. Swait()
  211. Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime)
  212. Direction = Part.CFrame
  213. end
  214. Part:remove()
  215. end))
  216. end
  217. end
  218.  
  219. function killnearest(position,range,maxstrength)
  220. for i,v in ipairs(workspace:GetChildren()) do
  221. local body = v:GetChildren()
  222. for part = 1, #body do
  223. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  224. if(body[part].Position - position).Magnitude < range then
  225. if v.ClassName == "Model" then
  226. v:BreakJoints()
  227. end
  228. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  229. local bv = Instance.new("BodyVelocity")
  230. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  231. bv.velocity = CF(position,body[part].Position).lookVector*maxstrength
  232. bv.Parent = body[part]
  233. Debris:AddItem(bv,0.2)
  234. end
  235. end
  236. end
  237. if v.ClassName == "Part" then
  238. if v.Anchored == false and (v.Position - position).Magnitude < range then
  239. --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  240. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  241. end
  242. end
  243. end
  244. end
  245.  
  246.  
  247. function Debounces:New(name,cooldown)
  248. local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0}
  249. setmetatable(aaaaa,{__index = Debounces})
  250. Debounces.Debounces[name] = aaaaa
  251. return aaaaa
  252. end
  253.  
  254. function Debounces:Use(overrideUsable)
  255. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  256. if(self.Usable or overrideUsable)then
  257. self.Usable = false
  258. self.CoolingDown = true
  259. local LastUse = time()
  260. self.LastUse = LastUse
  261. delay(self.Cooldown or 2,function()
  262. if(self.LastUse == LastUse)then
  263. self.CoolingDown = false
  264. self.Usable = true
  265. end
  266. end)
  267. end
  268. end
  269.  
  270. function Debounces:Get(name)
  271. assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name)))
  272. for i,v in next, Debounces.Debounces do
  273. if(i == name)then
  274. return v;
  275. end
  276. end
  277. end
  278.  
  279. function Debounces:GetProgressPercentage()
  280. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  281. if(self.CoolingDown and not self.Usable)then
  282. return math.max(
  283. math.floor(
  284. (
  285. (time()-self.LastUse)/self.Cooldown or 2
  286. )*100
  287. )
  288. )
  289. else
  290. return 100
  291. end
  292. end
  293.  
  294. --// Shortcut Variables \\--
  295. local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
  296. local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
  297. local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
  298. 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}
  299. local R3 = {N=Region3.new}
  300. local De = S.Debris
  301. local WS = workspace
  302. local Lght = S.Lighting
  303. local RepS = S.ReplicatedStorage
  304. local IN = Instance.new
  305. local CSK = ColorSequenceKeypoint.new
  306. local CS = ColorSequence.new
  307. --// Instance Creation Functions \\--
  308.  
  309. function CreateSound(ID, PARENT, VOLUME, PITCH)
  310. local NSound = nil
  311. coroutine.resume(coroutine.create(function()
  312. NSound = Instance.new("Sound", PARENT)
  313. NSound.Volume = VOLUME
  314. NSound.Pitch = PITCH
  315. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  316. swait()
  317. NSound:play()
  318. game:GetService("Debris"):AddItem(NSound, 10)
  319. end))
  320. return NSound
  321. end
  322.  
  323. function Sound(parent,id,pitch,volume,looped,effect,autoPlay)
  324. local Sound = IN("Sound")
  325. Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  326. Sound.Pitch = pitch or 1
  327. Sound.Volume = volume or 1
  328. Sound.Looped = looped or false
  329. if(autoPlay)then
  330. coroutine.wrap(function()
  331. repeat wait() until Sound.IsLoaded
  332. Sound.Playing = autoPlay or false
  333. end)()
  334. end
  335. if(not looped and effect)then
  336. Sound.Stopped:connect(function()
  337. Sound.Volume = 0
  338. Sound:destroy()
  339. end)
  340. elseif(effect)then
  341. warn("Sound can't be looped and a sound effect!")
  342. end
  343. Sound.Parent =parent or Torso
  344. return Sound
  345. end
  346. function Part(parent,color,material,size,cframe,anchored,cancollide)
  347. local part = IN("Part")
  348. part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0)
  349. part.Material = (material or Enum.Material.SmoothPlastic)
  350. part.TopSurface,part.BottomSurface=10,10
  351. part.Size = (size or V3.N(1,1,1))
  352. part.CFrame = (cframe or CF.N(0,0,0))
  353. part.Anchored = (anchored or false)
  354. part.CanCollide = (cancollide or false)
  355. part.Parent = (parent or Char)
  356. return part
  357. end
  358. function Mesh(parent,meshtype,meshid,textid,scale,offset)
  359. local part = IN("SpecialMesh")
  360. part.MeshId = meshid or ""
  361. part.TextureId = textid or ""
  362. part.Scale = scale or V3.N(1,1,1)
  363. part.Offset = offset or V3.N(0,0,0)
  364. part.MeshType = meshtype or Enum.MeshType.Sphere
  365. part.Parent = parent
  366. return part
  367. end
  368.  
  369. NewInstance = function(instance,parent,properties)
  370. local inst = Instance.new(instance,parent)
  371. if(properties)then
  372. for i,v in next, properties do
  373. pcall(function() inst[i] = v end)
  374. end
  375. end
  376. return inst;
  377. end
  378.  
  379.  
  380.  
  381. --// Extended ROBLOX tables \\--
  382. 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})
  383. --// Customization \\--
  384.  
  385. local Frame_Speed = 60 -- The frame speed for swait. 1 is automatically divided by this
  386. local Remove_Hats = false
  387. local Remove_Clothing = true
  388. local PlayerSize = 1
  389. local DamageColor = BrickColor.new'Really red'
  390. local MusicID = 1382488262
  391. local WalkSpeed = 8
  392. local MaxSouls = 100
  393. local MaxHealth = 500
  394.  
  395.  
  396. if(_G.RefusedAnimation == nil) then _G.RefusedAnimation = false end
  397.  
  398. --// Weapon and GUI creation, and Character Customization \\--
  399.  
  400. if(Remove_Hats)then Instance.ClearChildrenOfClass(Char,"Accessory",true) end
  401. if(Remove_Clothing)then Instance.ClearChildrenOfClass(Char,"Clothing",true) Instance.ClearChildrenOfClass(Char,"ShirtGraphic",true) end
  402. local Effects = IN("Folder",Char)
  403. Effects.Name = "Effects"
  404.  
  405. Hum.MaxHealth = MaxHealth
  406. Hum.Health = MaxHealth
  407.  
  408. local Knife = NewInstance("Part",Char,{Name='Knife',Size=V3.N(.4,3,.7),Anchored=false,CanCollide=false,Locked=true,Archivable=false,Reflectance=.01,Color=C3.N(0,0,0)})
  409. local KnifeMesh = Mesh(Knife,Enum.MeshType.FileMesh,"rbxassetid://121944778","rbxassetid://362719969",V3.N(1,1,1),V3.N())
  410. local AuraEmitter = NewInstance("ParticleEmitter",Knife,{EmissionDirection='Back',Color=CS{CSK(0,C3.N(1,0,0)),CSK(0.5,C3.N(1,1,0)),CSK(1,C3.RGB(255,191,0))},LightEmission=.5,LightInfluence=0,Size=NumberSequence.new(0.3),Texture="rbxassetid://141116476",Transparency=NumberSequence.new(0,1),LockedToPart=true,Lifetime=NumberRange.new(1),Rate=150,Speed=NumberRange.new(0)})
  411. local FireEmitter = NewInstance("ParticleEmitter",Knife,{EmissionDirection='Back',Color=CS(C3.N(1,0,0),C3.N(1,0,0)),LightEmission=.5,LightInfluence=0,Size=NumberSequence.new{NumberSequenceKeypoint.new(0,.5,0),NumberSequenceKeypoint.new(0.755,0,0),NumberSequenceKeypoint.new(1,0,0)},Texture="rbxassetid://141116476",Transparency=NumberSequence.new(0.35,1),Lifetime=NumberRange.new(1,2),Rate=150,Speed=NumberRange.new(3)})
  412.  
  413. local KTrail = NewInstance("Trail",Knife,{
  414. Attachment0=NewInstance("Attachment",Knife,{Position=V3.N(0,-.4,0)}),
  415. Attachment1=NewInstance("Attachment",Knife,{Position=V3.N(0,1.2,0)}),
  416. Color=CS(C3.N(1,0,0)),
  417. Enabled=false,
  418. Transparency=NumberSequence.new(0,1),
  419. Lifetime=1.25,
  420. })
  421. local Hair = Part(Char,C3.N(0,0,0),Enum.Material.SmoothPlastic,V3.N(1,1,1),CF.N(),false,false)
  422. local HairMesh = Mesh(Hair,Enum.MeshType.FileMesh,"rbxassetid://250264520","rbxassetid://75975464",V3.N(1.05,1.05,1.05),V3.N())
  423.  
  424. NewInstance("PointLight",Knife,{Color=C3.N(1,0,0),Range=10,Brightness=3})
  425.  
  426.  
  427. Hum.DisplayDistanceType = 'None'
  428.  
  429. local naeeym2 = IN("BillboardGui",Char)
  430. naeeym2.AlwaysOnTop = true
  431. naeeym2.Size = UDim2.new(5,35,2,15)
  432. naeeym2.StudsOffset = V3.N(0,2.5,0)
  433. naeeym2.Adornee = Char.Head
  434. naeeym2.Name = "Name"
  435. local tecks2 = IN("TextLabel",naeeym2)
  436. tecks2.BackgroundTransparency = 1
  437. tecks2.TextScaled = true
  438. tecks2.BorderSizePixel = 0
  439. tecks2.Text = "End of the line punk."
  440. tecks2.Font = Enum.Font.Bodoni
  441. tecks2.TextSize = 30
  442. tecks2.TextStrokeTransparency = 0
  443. tecks2.TextColor3 = C3.N(0,0,0)
  444. tecks2.TextStrokeColor3 = C3.N(.7,0,0)
  445. tecks2.Size = UDim2.new(1,0,0.5,0)
  446. tecks2.Parent = naeeym2
  447.  
  448.  
  449. IN("Shirt",Char)
  450. IN("Pants",Char)
  451.  
  452. Hum.WalkSpeed = WalkSpeed
  453. if(PlayerSize ~= 1)then
  454. for _,v in next, Char:GetDescendats() do
  455. if(v:IsA'BasePart')then
  456. v.Size = v.Size * PlayerSize
  457. end
  458. end
  459. end
  460.  
  461.  
  462. for i = 1, 35 do
  463. local FACE = Part(Char,C3.N(0,0,0),Enum.Material.Neon,V3.N(1.01,.5,1.01),CF.N(),false,false)
  464. FACE.Transparency = 0+(i-1)/35.2
  465. FACE.Name = 'ShadowFace'
  466. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  467. NewInstance("Weld",Head,{Part0=Head,Part1=FACE,C0=CF.N(0,.35-(i-1)/75,0)})
  468. --CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
  469. end
  470.  
  471. pcall(function()
  472. Char.LeftWing:destroy()
  473. Char.ReaperShadowHead:destroy()
  474. end)
  475.  
  476.  
  477. local Music = Sound(Torso,MusicID,1,3,true,false,true)
  478. Music.Name = 'Music'
  479.  
  480. --// Stop animations \\--
  481. for _,v in next, Hum:GetPlayingAnimationTracks() do
  482. v:Stop();
  483. end
  484.  
  485. pcall(game.Destroy,Char:FindFirstChild'Animate')
  486. pcall(game.Destroy,Hum:FindFirstChild'Animator')
  487.  
  488. --// Joints \\--
  489.  
  490. 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)})
  491. 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)})
  492. local NK = NewInstance('Motor',Char,{Part0=Torso,Part1=Head,C0 = CF.N(0,1.5 * PlayerSize,0)})
  493. local LH = NewInstance('Motor',Char,{Part0=Torso,Part1=LLeg,C0 = CF.N(-.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  494. local RH = NewInstance('Motor',Char,{Part0=Torso,Part1=RLeg,C0 = CF.N(.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  495. local RJ = NewInstance('Motor',Char,{Part0=Root,Part1=Torso})
  496. local HW = NewInstance('Motor',Char,{Part0=RArm,Part1=Knife,C0=CF.N(0,-1,-1)*CF.A(M.R(-90),0,0)})
  497. local HW2 = NewInstance('Motor',Char,{Part0=Head,Part1=Hair,C0=CF.N(0,.25,0)})
  498.  
  499. local LSC0 = LS.C0
  500. local RSC0 = RS.C0
  501. local NKC0 = NK.C0
  502. local LHC0 = LH.C0
  503. local RHC0 = RH.C0
  504. local RJC0 = RJ.C0
  505.  
  506. --// Artificial HB \\--
  507.  
  508. local ArtificialHB = IN("BindableEvent", script)
  509. ArtificialHB.Name = "Heartbeat"
  510.  
  511. script:WaitForChild("Heartbeat")
  512.  
  513. local tf = 0
  514. local allowframeloss = false
  515. local tossremainder = false
  516. local lastframe = tick()
  517. local frame = 1/Frame_Speed
  518. ArtificialHB:Fire()
  519.  
  520. game:GetService("RunService").Heartbeat:connect(function(s, p)
  521. tf = tf + s
  522. if tf >= frame then
  523. if allowframeloss then
  524. script.Heartbeat:Fire()
  525. lastframe = tick()
  526. else
  527. for i = 1, math.floor(tf / frame) do
  528. ArtificialHB:Fire()
  529. end
  530. lastframe = tick()
  531. end
  532. if tossremainder then
  533. tf = 0
  534. else
  535. tf = tf - frame * math.floor(tf / frame)
  536. end
  537. end
  538. end)
  539.  
  540. function swait(num)
  541. if num == 0 or num == nil then
  542. ArtificialHB.Event:wait()
  543. else
  544. for i = 0, num do
  545. ArtificialHB.Event:wait()
  546. end
  547. end
  548. end
  549.  
  550. New = function(Object, Parent, Name, Data)
  551. local Object = Instance.new(Object)
  552. for Index, Value in pairs(Data or {}) do
  553. Object[Index] = Value
  554. end
  555. Object.Parent = Parent
  556. Object.Name = Name
  557. return Object
  558. end
  559.  
  560. for _,v in next, Char:children() do
  561. if(v:IsA'Accessory')then
  562. v:destroy()
  563. elseif(v:IsA'Shirt')then
  564. v.ShirtTemplate = "rbxassetid://817333972"
  565. elseif(v:IsA'Pants')then
  566. v.PantsTemplate = "rbxassetid://817451408"
  567. elseif(v:IsA'CharacterMesh')then
  568. v:destroy()
  569. elseif(v:FindFirstChildOfClass'ShirtGraphic')then
  570. v:FindFirstChildOfClass'ShirtGraphic':destroy()
  571. end
  572. end
  573. local Models = New("Model",Character,"Model",{})
  574. local eyesz = New("Part",Models,"eye",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-56.0288696, 1.56154633, -44.8319473, -1.00000036, 3.95500101e-005, -5.96046945e-008, -3.95501265e-005, -1.00000024, -4.44026066e-011, 2.98024041e-008, -3.24078958e-012, 1),CanCollide = false,Color = BrickColor.new("Really red").Color,})
  575. Meshs = New("SpecialMesh",eyesz,"Mesh",{MeshType = Enum.MeshType.Sphere,})
  576. mots = New("Weld",eyesz,"mot",{Part0 = eyesz,Part1 = Head,C0 = CFrame.new(0, 0, 0, -1.00000036, -3.95501265e-005, 2.98024041e-008, 3.95500101e-005, -1.00000024, -3.24078958e-012, -5.96046945e-008, -4.44026066e-011, 1),C1 = CFrame.new(0.0999984741, 0.230003357, -0.54234314, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  577.  
  578. local face = Head:FindFirstChild'face'
  579. if(not face)then
  580. NewInstance("Decal",Head,{Name='face',Face=Enum.NormalId.Front,Texture="rbxassetid://404306534"})
  581. else
  582. face.Texture = "rbxassetid://404306534"
  583. end
  584. tecks2.Text = "Angela_The_Soviet_Officer"
  585.  
  586. --// Effect Function(s) \\--
  587.  
  588. function Bezier(startpos, pos2, pos3, endpos, t)
  589. local A = startpos:lerp(pos2, t)
  590. local B = pos2:lerp(pos3, t)
  591. local C = pos3:lerp(endpos, t)
  592. local lerp1 = A:lerp(B, t)
  593. local lerp2 = B:lerp(C, t)
  594. local cubic = lerp1:lerp(lerp2, t)
  595. return cubic
  596. end
  597.  
  598. function Tween(obj,props,time,easing,direction,repeats,backwards)
  599. local info = TweenInfo.new(time or .5, easing or Enum.EasingStyle.Quad, direction or Enum.EasingDirection.Out, repeats or 0, backwards or false)
  600. local tween = S.TweenService:Create(obj, info, props)
  601.  
  602. tween:Play()
  603. end
  604.  
  605. local FXTable = {}
  606.  
  607. coroutine.resume(coroutine.create(function()
  608. while true do
  609. for i = 1, #FXTable do
  610. local data = FXTable[i]
  611. if(data)then
  612. local Frame = data.Frame
  613. local FX = data.Effect or 'ResizeAndFade'
  614. local Parent = data.Parent or Effects
  615. local Color = data.Color or C3.N(0,0,0)
  616. local Size = data.Size or V3.N(1,1,1)
  617. local MoveDir = data.MoveDirection or nil
  618. local MeshData = data.Mesh or nil
  619. local SndData = data.Sound or nil
  620. local Frames = data.Frames or 45
  621. local CFra = data.CFrame or Torso.CFrame
  622. local Settings = data.FXSettings or {}
  623. local Prt,Msh,Snd = data.Part,data.Mesh,data.Sound
  624. local grow = data.Grow
  625.  
  626. local MoveSpeed = nil;
  627. if(MoveDir)then
  628. MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
  629. end
  630. if(FX ~= 'Arc')then
  631. Frame = Frame + 1
  632. if(FX == "Fade")then
  633. Prt.Transparency = (Frame/Frames)
  634. elseif(FX == "Resize")then
  635. if(not Settings.EndSize)then
  636. Settings.EndSize = V3.N(0,0,0)
  637. end
  638. if(Settings.EndIsIncrement)then
  639. if(Msh)then
  640. Msh.Scale = Msh.Scale + Settings.EndSize
  641. else
  642. Prt.Size = Prt.Size + Settings.EndSize
  643. end
  644. else
  645. if(Msh)then
  646. Msh.Scale = Msh.Scale - grow/Frames
  647. else
  648. Prt.Size = Prt.Size - grow/Frames
  649. end
  650. end
  651. elseif(FX == "ResizeAndFade")then
  652. if(not Settings.EndSize)then
  653. Settings.EndSize = V3.N(0,0,0)
  654. end
  655. if(Settings.EndIsIncrement)then
  656. if(Msh)then
  657. Msh.Scale = Msh.Scale + Settings.EndSize
  658. else
  659. Prt.Size = Prt.Size + Settings.EndSize
  660. end
  661. else
  662. if(Msh)then
  663. Msh.Scale = Msh.Scale - grow/Frames
  664. else
  665. Prt.Size = Prt.Size - grow/Frames
  666. end
  667. end
  668. Prt.Transparency = (Frame/Frames)
  669. end
  670. if(Settings.RandomizeCFrame)then
  671. Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
  672. end
  673. if(MoveDir and MoveSpeed)then
  674. local Orientation = Prt.Orientation
  675. Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
  676. Prt.Orientation = Orientation
  677. end
  678. if(Prt.Transparency >= 1 or Frame >= Frames)then
  679. Prt:destroy()
  680. table.remove(FXTable,i)
  681. else
  682. data.Frame = Frame
  683. end
  684. else
  685. local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
  686. if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
  687. if(start and endP)then
  688. local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  689. local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  690. Frame = Frame + (Settings.Speed or 0.01)
  691. if(Settings.Home)then
  692. endP = Settings.Home.CFrame
  693. end
  694. Prt.CFrame = Bezier(start, quarter, threequarter, endP, Frame)
  695. if(Prt.Transparency >= 1 or Frame >= Frames)then
  696. if(Settings.RemoveOnGoal)then
  697. Prt:destroy()
  698. end
  699. end
  700. else
  701. Prt:destroy()
  702. end
  703. end
  704. end
  705. end
  706. swait()
  707. end
  708. end))
  709.  
  710. function Effect(data)
  711. local FX = data.Effect or 'ResizeAndFade'
  712. local Parent = data.Parent or Effects
  713. local Color = data.Color or C3.N(0,0,0)
  714. local Size = data.Size or V3.N(1,1,1)
  715. local MoveDir = data.MoveDirection or nil
  716. local MeshData = data.Mesh or nil
  717. local SndData = data.Sound or nil
  718. local Frames = data.Frames or 45
  719. local Manual = data.Manual or nil
  720. local Material = data.Material or nil
  721. local CFra = data.CFrame or Torso.CFrame
  722. local Settings = data.FXSettings or {}
  723. local Shape = data.Shape or Enum.PartType.Block
  724. local Snd,Prt,Msh;
  725. coroutine.wrap(function()
  726. if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then
  727. Prt = Manual
  728. else
  729. Prt = Part(Parent,Color,Material,Size,CFra,true,false)
  730. Prt.Shape = Shape
  731. end
  732. if(typeof(MeshData) == 'table')then
  733. Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset)
  734. elseif(typeof(MeshData) == 'Instance')then
  735. Msh = MeshData:Clone()
  736. Msh.Parent = Prt
  737. elseif(Shape == Enum.PartType.Block)then
  738. Msh = Mesh(Prt,Enum.MeshType.Brick)
  739. end
  740. if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then
  741. Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true)
  742. end
  743. if(Snd)then
  744. repeat swait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0
  745. Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch
  746. end
  747. Size = (Msh and Msh.Scale or Size)
  748. local grow = Size-(Settings.EndSize or (Msh and Msh.Scale or Size)/2)
  749.  
  750. local MoveSpeed = nil;
  751. if(MoveDir)then
  752. MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
  753. end
  754. if(FX ~= 'Arc')then
  755. for Frame = 1, Frames do
  756. if(FX == "Fade")then
  757. Prt.Transparency = (Frame/Frames)
  758. elseif(FX == "Resize")then
  759. if(not Settings.EndSize)then
  760. Settings.EndSize = V3.N(0,0,0)
  761. end
  762. if(Settings.EndIsIncrement)then
  763. if(Msh)then
  764. Msh.Scale = Msh.Scale + Settings.EndSize
  765. else
  766. Prt.Size = Prt.Size + Settings.EndSize
  767. end
  768. else
  769. if(Msh)then
  770. Msh.Scale = Msh.Scale - grow/Frames
  771. else
  772. Prt.Size = Prt.Size - grow/Frames
  773. end
  774. end
  775. elseif(FX == "ResizeAndFade")then
  776. if(not Settings.EndSize)then
  777. Settings.EndSize = V3.N(0,0,0)
  778. end
  779. if(Settings.EndIsIncrement)then
  780. if(Msh)then
  781. Msh.Scale = Msh.Scale + Settings.EndSize
  782. else
  783. Prt.Size = Prt.Size + Settings.EndSize
  784. end
  785. else
  786. if(Msh)then
  787. Msh.Scale = Msh.Scale - grow/Frames
  788. else
  789. Prt.Size = Prt.Size - grow/Frames
  790. end
  791. end
  792. Prt.Transparency = (Frame/Frames)
  793. end
  794. if(Settings.RandomizeCFrame)then
  795. Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
  796. end
  797. if(MoveDir and MoveSpeed)then
  798. local Orientation = Prt.Orientation
  799. Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
  800. Prt.Orientation = Orientation
  801. end
  802. swait()
  803. end
  804. Prt:destroy()
  805. else
  806. local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
  807. if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
  808. if(start and endP)then
  809. local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  810. local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  811. for Frame = 0, 1, (Settings.Speed or 0.01) do
  812. if(Settings.Home)then
  813. endP = Settings.Home.CFrame
  814. end
  815. Prt.CFrame = Bezier(start, quarter, threequarter, endP, Frame)
  816. end
  817. if(Settings.RemoveOnGoal)then
  818. Prt:destroy()
  819. end
  820. else
  821. Prt:destroy()
  822. assert(start,"You need a start position!")
  823. assert(endP,"You need a start position!")
  824. end
  825. end
  826. end)()
  827. return Prt,Msh,Snd
  828. end
  829.  
  830.  
  831.  
  832. function SoulSteal(whom,human)
  833. local torso = (whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso' or whom:FindFirstChild'LowerTorso' or whom:FindFirstChild'HumanoidRootPart' or whom:FindFirstChild'Torso')
  834. local succ, health, alive = pcall(function() return whom:FindFirstChildOfClass'Humanoid'.Health, whom:FindFirstChildOfClass'Humanoid'.Health > 0 end)
  835. if(torso and torso:IsA'BasePart' and alive == true)then
  836. whom:FindFirstChildOfClass'Humanoid'.Health = 0
  837. whom:BreakJoints()
  838. local Model = IN("Model",Effects)
  839. warn('Soul stolen from '..whom.Name)
  840. Model.Name = whom.Name.."'s Soul"
  841. local Soul = Part(Model,(human and BrickColor.new'Really red' or BrickColor.new(C3.N(1,1,1))),'Glass',V3.N(1,1,1),torso.CFrame,true,false)
  842. Soul.CanCollide=false
  843. Mesh(Soul,Enum.MeshType.Sphere)
  844. Soul.Name = 'Head'
  845. if(whom.Name == 'CKbackup')then
  846. Soul.Color = C3.N(1,1,1)
  847. local DripEmitter = NewInstance("ParticleEmitter",Soul,{EmissionDirection='Bottom',Color=CS(Soul.Color),LightEmission=.5,LightInfluence=0,Size=NumberSequence.new(0.3),Texture="rbxassetid://243132757",Transparency=NumberSequence.new(0,1),LockedToPart=false,Lifetime=NumberRange.new(1),Rate=150,Speed=NumberRange.new(5)})
  848. end
  849. local Hoom = NewInstance("Humanoid",Model,{MaxHealth=(health <= 10000 and health/2 or 10000),Health=(health <= 10000 and health/2 or 10000)})
  850. local AT0 = NewInstance("Attachment",Soul,{Position=V3.N(0,.5,0)})
  851. local AT1 = NewInstance("Attachment",Soul,{Position=V3.N(0,-.5,0)})
  852. local Trail = NewInstance("Trail",Soul,{Attachment0=AT0,Attachment1=AT1,Transparency=NumberSequence.new(0),FaceCamera = true,Texture="rbxassetid://945758042",LightEmission=.3,Color=CS(Soul.Color),Lifetime=.5,MinLength=0})
  853. NewInstance("PointLight",Soul,{Color=Soul.Color,Range=10,Brightness=(human and 3 or .5)})
  854.  
  855. local turdso = Soul:Clone()
  856. turdso.Name = "Torso"
  857. turdso.CanCollide = false
  858. turdso.Anchored = true
  859. turdso.CFrame = Soul.CFrame
  860. turdso.Parent = Model
  861. turdso.Size = V3.N()
  862. turdso.Transparency=1
  863. local Distance = math.huge
  864. repeat
  865. Soul.CFrame = CF.N(Soul.Position,Torso.Position)*CF.N(0,0,-1)
  866. turdso.CFrame = Soul.CFrame
  867. Distance = (Soul.CFrame.p-Torso.CFrame.p).magnitude
  868. swait()
  869. until Hoom.Health <= 0 or not Soul.Parent or Distance <= 1.2
  870. if(Soul.Parent and Hoom.Health > 0)then
  871. Model:destroy()
  872. Effect{
  873. Effect="ResizeAndFade",
  874. Mesh={Enum.MeshType.Sphere},
  875. Color = Soul.Color,
  876. CFrame=Torso.CFrame,
  877. Size=V3.N(3,3,3),
  878. Material=Enum.Material.Neon,
  879. Sound={SoundId=444667859,Pitch=1,Volume=2.5},
  880. FXSettings={
  881. EndSize=V3.N(6,6,6),
  882. }
  883. }
  884. Souls = Souls + (human and 1 or .1)
  885. warn("Souls: "..Souls)
  886. MaxHealth = MaxHealth + Hoom.Health
  887. Hum.Health = Hum.Health + Hoom.Health
  888. for i = 1, 5 do
  889. Effect{
  890. Effect="Fade",
  891. Color = Soul.Color,
  892. MoveDirection = (Torso.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p
  893. }
  894. end
  895. else
  896.  
  897. warn("Soul destroyed!")
  898. for i = 1, 5 do
  899. Effect{
  900. Effect="Fade",
  901. Color = Soul.Color,
  902. CFrame=Soul.CFrame,
  903. MoveDirection = (Soul.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p
  904. }
  905. end
  906. Effect{
  907. Effect="ResizeAndFade",
  908. Mesh={Enum.MeshType.Sphere},
  909. Sound={SoundId=444667859,Pitch=1,Volume=5},
  910. Color = Soul.Color,
  911. CFrame=Soul.CFrame,
  912. Size=V3.N(3,3,3),
  913. Material=Enum.Material.Neon,
  914. FXSettings={
  915. EndSize=V3.N(6,6,6),
  916. }
  917. }
  918. Model:destroy()
  919. end
  920. end
  921. end
  922.  
  923. --// Other Functions \\ --
  924.  
  925. function getRegion(point,range,ignore)
  926. return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100)
  927. end
  928.  
  929. function clerp(startCF,endCF,alpha)
  930. return startCF:lerp(endCF, alpha)
  931. end
  932.  
  933. function GetTorso(char)
  934. return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart'
  935. end
  936.  
  937. function ShowDamage(Pos, Text, Time, Color)
  938. coroutine.wrap(function()
  939. local Rate = (1 / Frame_Speed)
  940. local Pos = (Pos or Vector3.new(0, 0, 0))
  941. local Text = (Text or "")
  942. local Time = (Time or 2)
  943. local Color = (Color or Color3.new(1, 0, 1))
  944. local EffectPart = NewInstance("Part",Effects,{
  945. Material=Enum.Material.SmoothPlastic,
  946. Reflectance = 0,
  947. Transparency = 1,
  948. BrickColor = BrickColor.new(Color),
  949. Name = "Effect",
  950. Size = Vector3.new(0,0,0),
  951. Anchored = true,
  952. CFrame = CF.N(Pos)
  953. })
  954. local BillboardGui = NewInstance("BillboardGui",EffectPart,{
  955. Size = UDim2.new(1.25, 0, 1.25, 0),
  956. Adornee = EffectPart,
  957. })
  958. local TextLabel = NewInstance("TextLabel",BillboardGui,{
  959. BackgroundTransparency = 1,
  960. Size = UDim2.new(1, 0, 1, 0),
  961. Text = Text,
  962. Font = "Arcade",
  963. TextColor3 = Color,
  964. TextStrokeColor3 = Color3.new(0,0,0),
  965. TextStrokeTransparency=0,
  966. TextScaled = true,
  967. })
  968. S.Debris:AddItem(EffectPart, (Time))
  969. EffectPart.Parent = workspace
  970. delay(0, function()
  971. Tween(EffectPart,{CFrame=CF.N(Pos)*CF.N(0,3,0)},Time,Enum.EasingStyle.Elastic,Enum.EasingDirection.Out)
  972. local Frames = (Time / Rate)
  973. for Frame = 1, Frames do
  974. swait()
  975. local Percent = (Frame / Frames)
  976. TextLabel.TextTransparency = Percent
  977. TextLabel.TextStrokeTransparency = Percent
  978. end
  979. if EffectPart and EffectPart.Parent then
  980. EffectPart:Destroy()
  981. end
  982. end) end)()
  983. end
  984.  
  985. function Kill(whom)
  986. if(whom.Name ~= 'Nebula_Zorua')then
  987. local isPlr = Plrs:GetPlayerFromCharacter(whom) ~= nil
  988. coroutine.wrap(SoulSteal)(whom,isPlr)
  989. for _,v in next, whom:children() do
  990. if(v:IsA'BasePart')then
  991. v.Parent = Effects
  992. v:ClearAllChildren()
  993. v.Anchored = true
  994. v.CanCollide = false
  995. v.Transparency = 1
  996. local dust = NewInstance("ParticleEmitter",v,{
  997. Color = ColorSequence.new(C3.N(1,1,1)),
  998. LightEmission=0,
  999. LightInfluence=1,
  1000. Size=NumberSequence.new{NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0,0)},
  1001. Texture="rbxassetid://284205403",
  1002. Transparency=NumberSequence.new{NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)},
  1003. Lifetime = NumberRange.new(1),
  1004. Rate=150,
  1005. Acceleration = V3.N(0,10,0),
  1006. Speed = NumberRange.new(5),
  1007. Enabled = true
  1008. })
  1009. delay(1, function()
  1010. dust.Enabled = false
  1011. S.Debris:AddItem(v,2)
  1012. end)
  1013. end
  1014. end
  1015. else
  1016. warn"nope. nawt happenin'"
  1017. end
  1018. end
  1019.  
  1020. function DealDamage(who,minDam,maxDam,Knock,Type,critChance,critMult)
  1021. if(who)then
  1022. local hum = who:FindFirstChildOfClass'Humanoid'
  1023. local Damage = M.RNG(minDam,maxDam)
  1024. local canHit = true
  1025. if(hum)then
  1026. for _, p in pairs(Hit) do
  1027. if p[1] == hum then
  1028. if(time() - p[2] < 0.4) then
  1029. canHit = false
  1030. else
  1031. Hit[_] = nil
  1032. end
  1033. end
  1034. end
  1035. if(canHit)then
  1036. table.insert(Hit,{hum,time()})
  1037. if(GetTorso(who))then
  1038. Sound(GetTorso(who),406913243,1,10,false,true,true)
  1039. end
  1040. if(hum.Health >= math.huge)then
  1041. Kill(who)
  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))), "INSTANT", 3, DamageColor.Color)
  1044. end
  1045. else
  1046. local player = S.Players:GetPlayerFromCharacter(who)
  1047. if(Type == "Fire")then
  1048. --idk..
  1049. else
  1050. local c = Instance.new("ObjectValue",hum)
  1051. c.Name = "creator"
  1052. c.Value = Plr
  1053. game:service'Debris':AddItem(c,0.35)
  1054. local Crit = false
  1055. if(M.RNG(1,100) <= (critChance or 0) and critMult > 1)then
  1056. Crit = true
  1057. Damage = Damage*(critMult or 2)
  1058. end
  1059. Damage = Damage*((Souls/5)+1)
  1060. if(who:FindFirstChild'Head' and hum.Health > 0)then
  1061. 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 and "[CRIT] " or "").. math.floor(Damage), 3, (Crit and BrickColor.new'New Yeller'.Color or DamageColor.Color))
  1062. end
  1063.  
  1064. if(hum.Health - Damage <= 0)then
  1065. Kill(who)
  1066. else
  1067. hum.Health = hum.Health - Damage
  1068. if(Type == 'Knockback' and GetTorso(who))then
  1069. local angle = GetTorso(who).Position - Root.Position + Vector3.new(0, 0, 0).unit
  1070. local body = NewInstance('BodyVelocity',GetTorso(who),{
  1071. P = 500,
  1072. maxForce = V3.N(math.huge,0,math.huge),
  1073. velocity = Root.CFrame.lookVector * Knock + Root.Velocity / 1.05
  1074. })
  1075. game:service'Debris':AddItem(body,.5)
  1076. elseif(Type == "Electric")then
  1077. if(M.RNG(1,100) >= critChance)then
  1078. if(who:FindFirstChild'Head' and hum.Health > 0)then
  1079. 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]", 3, BrickColor.new"New Yeller".Color)
  1080. end
  1081. local asd = hum.WalkSpeed/2
  1082. hum.WalkSpeed = asd
  1083. local paralyzed = true
  1084. coroutine.wrap(function()
  1085. while paralyzed do
  1086. swait(25)
  1087. if(M.RNG(1,25) == 1)then
  1088. if(who:FindFirstChild'Head' and hum.Health > 0)then
  1089. 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]", 3, BrickColor.new"New Yeller".Color)
  1090. end
  1091. hum.PlatformStand = true
  1092. end
  1093. end
  1094. end)()
  1095. delay(4, function()
  1096. paralyzed = false
  1097. hum.WalkSpeed = hum.WalkSpeed + asd
  1098. end)
  1099. end
  1100.  
  1101. elseif(Type == 'Knockdown' and GetTorso(who))then
  1102. local rek = GetTorso(who)
  1103. hum.PlatformStand = true
  1104. delay(1,function()
  1105. hum.PlatformStand = false
  1106. end)
  1107. local angle = (GetTorso(who).Position - (Root.Position + Vector3.new(0, 0, 0))).unit
  1108. local bodvol = NewInstance("BodyVelocity",rek,{
  1109. velocity = angle * Knock,
  1110. P = 5000,
  1111. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1112. })
  1113. local rl = NewInstance("BodyAngularVelocity",rek,{
  1114. P = 3000,
  1115. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1116. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1117. })
  1118. game:GetService("Debris"):AddItem(bodvol, .5)
  1119. game:GetService("Debris"):AddItem(rl, .5)
  1120. end
  1121. end
  1122. end
  1123. end
  1124. end
  1125. end
  1126. end
  1127. end
  1128.  
  1129.  
  1130. function AOEDamage(where,range,minDam,maxDam,Knock,Type,critChance,critMult)
  1131. for _,v in next, getRegion(where,range,{Char}) do
  1132. if(v.Name ~= 'Nebula_Zorua')then
  1133. if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')then
  1134. DealDamage(v.Parent,minDam,maxDam,Knock,Type,critChance,critMult)
  1135. end
  1136. end
  1137. end
  1138. end
  1139.  
  1140. function AOEKill(where,range)
  1141. for _,v in next, getRegion(where,range,{Char,Effects}) do
  1142. local succ,alive = pcall(function() return v.Parent:FindFirstChildOfClass'Humanoid'.Health > 0 end)
  1143. if(v.Name ~= 'Nebula_Zorua')then
  1144. if(v.Parent and alive == true)then
  1145. coroutine.wrap(Kill)(v.Parent)
  1146. end
  1147. end
  1148. end
  1149. end
  1150.  
  1151. function AOEHeal(where,range,amount)
  1152. local healed = {}
  1153. for _,v in next, getRegion(where,range,{Char}) do
  1154. local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' or nil)
  1155. if(hum and not healed[hum])then
  1156. hum.Health = hum.Health + amount
  1157. if(v.Parent:FindFirstChild'Head' and hum.Health > 0)then
  1158. 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)
  1159. end
  1160. end
  1161. end
  1162. end
  1163.  
  1164.  
  1165. --// Attack Functions \\--
  1166.  
  1167.  
  1168. function Slash()
  1169. Attack = true
  1170. NeutralAnims = false
  1171. local sound = Sound(Knife,437475935,1,5,false,true,false)
  1172. for i = 0, 2, 0.1 do
  1173. swait()
  1174. local Alpha = .2
  1175. RJ.C0 = clerp(RJ.C0,CFrame.new(0.0343287587, 0.00629056804, 0.0572580174, 0.943793893, 0.00207689893, 0.330528289, 1.0000764e-06, 0.99998033, -0.00628630351, -0.330534875, 0.00593330665, 0.943775296),Alpha)
  1176. LH.C0 = clerp(LH.C0,CFrame.new(-0.496478021, -0.990818381, 0.021652732, 0.999878168, 0, 0.0156089365, -9.80779296e-05, 0.99998033, 0.00628268253, -0.0156086385, -0.00628344761, 0.999858379),Alpha)
  1177. RH.C0 = clerp(RH.C0,CFrame.new(0.498511612, -0.990985274, 0.0154910646, 0.999878168, 0, 0.0156089365, -9.80779296e-05, 0.99998033, 0.00628268253, -0.0156086385, -0.00628344761, 0.999858379),Alpha)
  1178. LS.C0 = clerp(LS.C0,CFrame.new(-1.32692134, 0.474511296, -0.0055731535, 0.934981823, 0.354351997, 0.0156129003, -0.354479939, 0.93504262, 0.00628374517, -0.0123721063, -0.0114096552, 0.999858379),Alpha)
  1179. RS.C0 = clerp(RS.C0,CFrame.new(1.12629449, 0.369358033, -0.486052871, 0.490151912, 0.65154773, 0.57899636, 0.721657813, 0.0691910982, -0.688783586, -0.488836735, 0.755445719, -0.436280251),Alpha)
  1180. NK.C0 = clerp(NK.C0,CFrame.new(-0.0118216109, 1.49854016, -0.0795068145, 0.943793833, 0.0190048125, -0.329988182, 0.00207654224, 0.997985244, 0.0634154305, 0.330528468, -0.0605363287, 0.94185257),Alpha)
  1181. HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha)
  1182. end
  1183. KTrail.Enabled = true
  1184. sound:Play()
  1185. for i = 0, 2.5, 0.1 do
  1186. swait()
  1187. AOEDamage(Knife.CFrame.p,1,15,30,0,"Normal",0,1)
  1188. local Alpha = .25
  1189. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0352100767, 0.00629066909, -0.0097481478, 0.817972422, -0.00361463916, -0.575246274, -1.74103582e-06, 0.99998033, -0.00628598873, 0.575257719, 0.00514276745, 0.817956269),Alpha)
  1190. LH.C0 = clerp(LH.C0,CFrame.new(-0.496478021, -0.990818381, 0.0216572341, 0.999878287, 0, 0.015610218, -9.80866607e-05, 0.99998033, 0.00628274865, -0.0156098902, -0.00628351374, 0.999858499),Alpha)
  1191. RH.C0 = clerp(RH.C0,CFrame.new(0.498511702, -0.990985274, 0.0154905058, 0.999878287, 0, 0.015610218, -9.80866607e-05, 0.99998033, 0.00628274865, -0.0156098902, -0.00628351374, 0.999858499),Alpha)
  1192. LS.C0 = clerp(LS.C0,CFrame.new(-1.32694602, 0.474510223, -0.00555660389, 0.934981823, 0.354351729, 0.0156157613, -0.354479671, 0.935042739, 0.00628153514, -0.012375474, -0.0114085823, 0.999858379),Alpha)
  1193. RS.C0 = clerp(RS.C0,CFrame.new(1.23906493, 0.406229913, 0.00231830776, 0.49015066, -0.849889755, 0.193494052, 0.721655607, 0.520183682, 0.456752002, -0.488841236, -0.0842411816, 0.868295968),Alpha)
  1194. NK.C0 = clerp(NK.C0,CFrame.new(0.0315471888, 1.49887729, -0.0257819965, 0.817972481, -0.0330747738, 0.574305832, -0.00361499586, 0.998030663, 0.0626262054, -0.575246155, -0.0533026271, 0.81624186),Alpha)
  1195. HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha)
  1196. end
  1197. KTrail.Enabled = false
  1198. Attack = false
  1199. NeutralAnims = true
  1200. end
  1201.  
  1202. Mouse.Button1Down:connect(function()
  1203. if(Attack)then return end
  1204. Slash()
  1205. end)
  1206.  
  1207. Mouse.KeyDown:connect(function(k)
  1208. if(Attack)then return end
  1209. if(k == 'z')then AOEKill(Root.CFrame.p,25) end -- TODO: Animation and effects
  1210. if(k == 'q')then WalkSpeed = (WalkSpeed == 8 and 32 or 8) end
  1211. if k == 'm' then
  1212. if PlayMusic == false then
  1213. PlayMusic = true
  1214. Music:Resume()
  1215. else
  1216. PlayMusic = false
  1217. Music:Pause()
  1218. end
  1219. end
  1220. end)
  1221.  
  1222. local BODY = {}
  1223.  
  1224. function refit()
  1225. Char.Parent = workspace
  1226. warn("But it R E F U S E D.")
  1227. for e = 1, #BODY do
  1228. if BODY[e] ~= nil then
  1229. local STUFF = BODY[e]
  1230. local PART = STUFF[1]
  1231. local PARENT = STUFF[2]
  1232. local MATERIAL = STUFF[3]
  1233. local COLOR = STUFF[4]
  1234. local TRANSPARENCY = STUFF[5]
  1235. if PART.ClassName == "Part" and PART ~= RootPart then
  1236. PART.Material = MATERIAL
  1237. PART.Color = COLOR
  1238. PART.Transparency = TRANSPARENCY
  1239. end
  1240. if PART.Parent ~= PARENT then
  1241. Humanoid:remove()
  1242. PART.Parent = PARENT
  1243. Humanoid = IT("Humanoid", Char)
  1244. end
  1245. end
  1246. end
  1247. end
  1248.  
  1249. Hum.Died:connect(function()
  1250. refit()
  1251. end)
  1252.  
  1253. --// Wrap it all up \\--
  1254. while true do
  1255. swait()
  1256. Sine = Sine + Change
  1257. if(not Music)then
  1258. Music = Sound(Torso,MusicID,1,3,true,false,true)
  1259. Music.Name = 'Music'
  1260. end
  1261. Music.Pitch = 1
  1262. Music.Volume = 5
  1263. Music.SoundId = "rbxassetid://"..MusicID
  1264. Music.Parent = Torso
  1265. local hitfloor,posfloor = workspace:FindPartOnRay(Ray.new(Root.CFrame.p,((CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector).unit * 4), Char)
  1266. local Walking = (math.abs(Root.Velocity.x) > 1 or math.abs(Root.Velocity.z) > 1)
  1267. local State = (Hum.PlatformStand and 'Paralyzed' or Hum.Sit and 'Sit' 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")
  1268. if(not Effects or not Effects.Parent)then
  1269. Effects = IN("Model",Char)
  1270. Effects.Name = "Effects"
  1271. end
  1272. Hum.WalkSpeed = WalkSpeed
  1273. if(State == 'Walk')then
  1274. if(Hum.WalkSpeed >= 24)then
  1275. local wsVal = 22 / (Hum.WalkSpeed/16)
  1276. local Alpha = math.min(.1 * (Hum.WalkSpeed/16),1)
  1277. Change = 2
  1278. RH.C1 = RH.C1:lerp(CF.N(0,1,0)*CF.N(0,0-.2*M.C(Sine/wsVal),0+.4*M.C(Sine/wsVal))*CF.A(M.R(25+45*M.C(Sine/wsVal))+-M.S(Sine/wsVal),0,0),Alpha)
  1279. LH.C1 = LH.C1:lerp(CF.N(0,1,0)*CF.N(0,0+.2*M.C(Sine/wsVal),0-.4*M.C(Sine/wsVal))*CF.A(M.R(25-45*M.C(Sine/wsVal))+M.S(Sine/wsVal),0,0),Alpha)
  1280. else
  1281. Change = .9
  1282. local wsVal = 8 / (Hum.WalkSpeed/8)
  1283. local Alpha = math.min(.2 * (Hum.WalkSpeed/8),1)
  1284. LH.C1 = LH.C1:lerp(CF.N(0,1-.2*M.C(Sine/wsVal)/2,.4*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)
  1285. RH.C1 = RH.C1:lerp(CF.N(0,1+.2*M.C(Sine/wsVal)/2,-.4*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)
  1286. end
  1287. else
  1288. RH.C1 = RH.C1:lerp(CF.N(0,1,0),.1)
  1289. LH.C1 = LH.C1:lerp(CF.N(0,1,0),.1)
  1290. end
  1291. RArm.BrickColor = BrickColor.new'Pastel brown'
  1292. LArm.BrickColor = BrickColor.new'Pastel brown'
  1293. RLeg.BrickColor = BrickColor.new'Pastel brown'
  1294. LLeg.BrickColor = BrickColor.new'Pastel brown'
  1295. Torso.BrickColor = BrickColor.new'Pastel brown'
  1296. Head.BrickColor = BrickColor.new'Pastel brown'
  1297. Hum.Name = 'Chara'
  1298. if(Hum.MaxHealth ~= MaxHealth)then
  1299. Hum.MaxHealth = MaxHealth
  1300. end
  1301. Hum.DisplayDistanceType='None'
  1302. if(NeutralAnims)then
  1303. if(State == 'Idle')then
  1304. Change = 1
  1305. local Alpha = .1
  1306. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0999571308, 0+.05*M.C(Sine/16), -0.237876296, 0.857335567, -0.00323621999, -0.514731407, 0, 0.99998033, -0.00628707698, 0.51474154, 0.00539013464, 0.85731858),Alpha)
  1307. LH.C0 = clerp(LH.C0,CFrame.new(-0.536091685, -0.991042495-.05*M.C(Sine/16), -0.0134909991, 0.849195242, 0, 0.528063774, -0.00331997755, 0.99998033, 0.00533895614, -0.528053343, -0.00628707698, 0.849178433),Alpha)
  1308. RH.C0 = clerp(RH.C0,CFrame.new(0.529067397, -0.991597891-.05*M.C(Sine/16), -0.0818087086, 0.849195242, 0, 0.528063774, -0.00331997755, 0.99998033, 0.00533895614, -0.528053343, -0.00628707698, 0.849178433),Alpha)
  1309. LS.C0 = clerp(LS.C0,CFrame.new(-1.32175505, 0.156236127+.15*M.C(Sine/16), 0.233877867, 0.877554953, -0.456876248, 0.145469457, 0.259513229, 0.707695842, 0.657129884, -0.403175086, -0.538916171, 0.739607573),Alpha)
  1310. RS.C0 = clerp(RS.C0,CFrame.new(1.2516855, 0.604915917+.15*M.C(Sine/16), -0.0189059302, 0.915104508, -0.287113011, -0.283108115, 0.301054537, 0.953587949, 0.00603589695, 0.268235415, -0.0907544345, 0.959069014),Alpha)
  1311. NK.C0 = clerp(NK.C0,CFrame.new(1.79447234e-05, 1.49895597, -0.0143749639, 0.769539058, -0.360377938, 0.527197778, 0.387706369, 0.919646919, 0.0627188534, -0.507438183, 0.156133309, 0.847424924),Alpha)
  1312. HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha)
  1313. -- idle
  1314. elseif(State == 'Walk')then
  1315. if(Hum.WalkSpeed >= 24)then
  1316. local wsVal = 22 / (Hum.WalkSpeed/16)
  1317. local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1)
  1318. RJ.C0 = RJ.C0:lerp(CF.N(0,0-.15*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(-15),M.R(0-15*M.S(Sine/wsVal)/2),0),Alpha)
  1319. LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0,0-.3*M.S(Sine/wsVal))*CF.A(M.R(0+45*M.S(Sine/wsVal)),0,M.R(-5+15*M.S(Sine/wsVal))),Alpha)
  1320. RS.C0 = RS.C0:lerp(RSC0*CF.N(0,0,0+.3*M.S(Sine/wsVal))*CF.A(M.R(0-45*M.S(Sine/wsVal)),0,M.R(5+15*M.S(Sine/wsVal))),Alpha)
  1321. NK.C0 = NK.C0:lerp(NKC0*CF.A(M.R(15),0,0),Alpha)
  1322. LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0+.15*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(15),0,0),Alpha)
  1323. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0+.15*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(15),0,0),Alpha)
  1324. HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha)
  1325. else
  1326. local wsVal = 8 / (Hum.WalkSpeed/8)
  1327. local Alpha = math.min(.2 * (Hum.WalkSpeed/8),1)
  1328. RJ.C0 = RJ.C0:lerp(CF.N(0,0-.05*M.C(Sine/(wsVal/2)),0)*CF.A(0,M.R(0-5*M.S(Sine/wsVal)/2),0),Alpha)
  1329. 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(5-5*M.S(Sine/wsVal))),Alpha)
  1330. 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(-5-5*M.S(Sine/wsVal))),Alpha)
  1331. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1332. LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0+.05*M.C(Sine/(wsVal/2)),0),Alpha)
  1333. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0+.05*M.C(Sine/(wsVal/2)),0),Alpha)
  1334. HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha)
  1335. end
  1336. elseif(State == 'Jump' or State == 'Fall')then
  1337. if(Walking)then
  1338. local Alpha = .2
  1339. RJ.C0 = clerp(RJ.C0,RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(65)),M.R(65)),0,0),Alpha)
  1340. LH.C0 = clerp(LH.C0,CFrame.new(-0.497912645, -1.0987643, -0.0683324337, 0.999878228, 0.00860835519, 0.0130246133, -0.00010142161, 0.837816596, -0.545952022, -0.015611981, 0.545884132, 0.837715328),Alpha)
  1341. RH.C0 = clerp(RH.C0,CFrame.new(0.499978393, -1.16382337, 0.109293163, 0.999878228, -0.0120433727, 0.00993486121, -0.00010142161, 0.631323814, 0.775519371, -0.015611981, -0.775425911, 0.631245613),Alpha)
  1342. LS.C0 = clerp(LS.C0,CFrame.new(-1.55211556, 0.576563478, -0.00269976072, 0.976067662, 0.216906726, 0.0156116467, -0.217024669, 0.976145923, 0.00628317893, -0.0138763804, -0.00952091813, 0.999858499),Alpha)
  1343. RS.C0 = clerp(RS.C0,CFrame.new(1.50182188, 0.636661649, 0.00632623257, 0.977592707, -0.209926367, 0.0156121543, 0.209851891, 0.977713108, 0.00628198683, -0.016582964, -0.00286500831, 0.999858439),Alpha)
  1344. NK.C0 = clerp(NK.C0,CFrame.new(1.14440072e-05, 1.49924362, -0.0143961608, 1.00000024, -5.82076609e-11, 0, 1.23691279e-10, 0.997964919, 0.0637660474, 0, -0.0637660623, 0.997965038),Alpha)
  1345. HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha)
  1346. else
  1347. local Alpha = .2
  1348. RJ.C0 = clerp(RJ.C0,RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(65)),M.R(65)),0,0),Alpha)
  1349. LH.C0 = clerp(LH.C0,CFrame.new(-0.504374504, -0.291219354, -0.487436086, 0.999878228, -0.00438931212, 0.0149825988, -0.00010142161, 0.957819223, 0.287371844, -0.015611981, -0.287338346, 0.957701981),Alpha)
  1350. RH.C0 = clerp(RH.C0,CFrame.new(0.453094482, -0.871358454, 0.0898642987, 0.985589385, -0.168456957, 0.0153662469, 0.162863791, 0.969548643, 0.182895929, -0.0457084104, -0.177757636, 0.983012319),Alpha)
  1351. LS.C0 = clerp(LS.C0,CFrame.new(-1.55211556, 0.576563478, -0.00269976072, 0.976067662, 0.216906726, 0.0156116467, -0.217024669, 0.976145923, 0.00628317893, -0.0138763804, -0.00952091813, 0.999858499),Alpha)
  1352. RS.C0 = clerp(RS.C0,CFrame.new(1.50182188, 0.636661649, 0.00632623257, 0.977592707, -0.209926367, 0.0156121543, 0.209851891, 0.977713108, 0.00628198683, -0.016582964, -0.00286500831, 0.999858439),Alpha)
  1353. NK.C0 = clerp(NK.C0,CFrame.new(1.14440072e-05, 1.49924362, -0.0143961608, 1.00000024, -5.82076609e-11, 0, 1.23691279e-10, 0.997964919, 0.0637660474, 0, -0.0637660623, 0.997965038),Alpha)
  1354. HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha)
  1355. end
  1356. elseif(State == 'Paralyzed')then
  1357. -- paralyzed
  1358. elseif(State == 'Sit')then
  1359. -- sit
  1360. end
  1361. end
  1362. end
  1363. Music.Play()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement