Advertisement
TheEgglets

ROBLOX FE SANS SCRIPT

Dec 9th, 2021
2,102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 64.11 KB | None | 0 0
  1. -- I DON'T OWN THIS SCRIPT
  2. HumanDied = false
  3. local CountSCIFIMOVIELOL = 1
  4. function SCIFIMOVIELOL(Part0,Part1,Position,Angle)
  5. local AlignPos = Instance.new('AlignPosition', Part1); AlignPos.Name = "AliP_"..CountSCIFIMOVIELOL
  6. AlignPos.ApplyAtCenterOfMass = true;
  7. AlignPos.MaxForce = 5772000--67752;
  8. AlignPos.MaxVelocity = math.huge/9e110;
  9. AlignPos.ReactionForceEnabled = false;
  10. AlignPos.Responsiveness = 200;
  11. AlignPos.RigidityEnabled = false;
  12. local AlignOri = Instance.new('AlignOrientation', Part1); AlignOri.Name = "AliO_"..CountSCIFIMOVIELOL
  13. AlignOri.MaxAngularVelocity = math.huge/9e110;
  14. AlignOri.MaxTorque = 5772000
  15. AlignOri.PrimaryAxisOnly = false;
  16. AlignOri.ReactionTorqueEnabled = false;
  17. AlignOri.Responsiveness = 200;
  18. AlignOri.RigidityEnabled = false;
  19. local AttachmentA=Instance.new('Attachment',Part1); AttachmentA.Name = "Ath_"..CountSCIFIMOVIELOL
  20. local AttachmentB=Instance.new('Attachment',Part0); AttachmentB.Name = "Ath_"..CountSCIFIMOVIELOL
  21. AttachmentA.Orientation = Angle or Vector3.new(0,0,0)
  22. AttachmentA.Position = Position or Vector3.new(0,0,0)
  23. AlignPos.Attachment1 = AttachmentA;
  24. AlignPos.Attachment0 = AttachmentB;
  25. AlignOri.Attachment1 = AttachmentA;
  26. AlignOri.Attachment0 = AttachmentB;
  27. CountSCIFIMOVIELOL = CountSCIFIMOVIELOL + 1
  28. return {AlignPos,AlignOri,AttachmentA,AttachmentB}
  29. end
  30.  
  31. if _G.netted ~= true then
  32. _G.netted = true
  33. coroutine.wrap(function()
  34. settings().Physics.PhysicsEnvironmentalThrottle = Enum.EnviromentalPhysicsThrottle.Disabled
  35. settings().Physics.AllowSleep = false
  36. game:GetService("RunService").RenderStepped:Connect(function()
  37. game:FindFirstChildOfClass("Players").LocalPlayer.MaximumSimulationRadius=math.pow(math.huge,math.huge)
  38. sethiddenproperty(game:FindFirstChildOfClass("Players").LocalPlayer,"SimulationRadius",math.huge*math.huge)
  39. end)
  40. end)()
  41. end
  42.  
  43. game:FindFirstChildOfClass("Players").LocalPlayer["Character"].Archivable = true
  44. local hatnameclone = {}
  45. for _,v in next, game:FindFirstChildOfClass("Players").LocalPlayer["Character"]:GetChildren() do
  46. if v:IsA("Accessory") then
  47. if hatnameclone[v.Name] then
  48. if hatnameclone[v.Name] == "s" then
  49. hatnameclone[v.Name] = {}
  50. end
  51. table.insert(hatnameclone[v.Name],v)
  52. else
  53. hatnameclone[v.Name] = "s"
  54. end
  55. end
  56. end
  57. for _,v in pairs(hatnameclone) do
  58. if type(v) == "table" then
  59. local num = 1
  60. for _,w in pairs(v) do
  61. w.Name = w.Name..num
  62. num = num + 1
  63. end
  64. end
  65. end
  66. hatnameclone = nil
  67.  
  68. local DeadChar = game:FindFirstChildOfClass("Players").LocalPlayer.Character
  69.  
  70. local fldr = Instance.new("Folder",game:FindFirstChildOfClass("Players").LocalPlayer["Character"])
  71. fldr.Name = "DMYF"
  72. local CloneChar = DeadChar:Clone()
  73. local ANIMATIONHERE
  74. if CloneChar:FindFirstChild("Animate") then
  75. ANIMATIONHERE = CloneChar:FindFirstChild("Animate"):Clone()
  76. CloneChar:FindFirstChild("Animate"):Destroy()
  77. end
  78. if CloneChar:FindFirstChildOfClass("Folder") then CloneChar:FindFirstChildOfClass("Folder"):Destroy() end
  79. if CloneChar.Torso:FindFirstChild("Neck") then
  80. local Clonessss = CloneChar.Torso:FindFirstChild("Neck"):Clone()
  81. Clonessss.Part0 = nil
  82. Clonessss.Part1 = DeadChar.Head
  83. Clonessss.Parent = DeadChar.Torso
  84. end
  85. CloneChar.Parent = fldr
  86. CloneChar.HumanoidRootPart.CFrame = DeadChar.HumanoidRootPart.CFrame
  87. CloneChar.Humanoid.BreakJointsOnDeath = false
  88. CloneChar.Name = "non"
  89. CloneChar.Humanoid.DisplayDistanceType = "None"
  90.  
  91. for _,v in next, DeadChar:GetChildren() do
  92. if v:IsA("Accessory") then
  93. local topacc = false
  94. if v.Handle:FindFirstChildOfClass("Weld") then v.Handle:FindFirstChildOfClass("Weld"):Destroy() end
  95. v.Handle.Massless = true
  96. v.Handle.CanCollide = false
  97. if v.Handle:FindFirstChildOfClass("Attachment") then
  98. local ath__ = v.Handle:FindFirstChildOfClass("Attachment")
  99. if ath__.Name == "HatAttachment" or ath__.Name == "HairAttachment" or ath__.Name == "FaceFrontAttachment" or ath__.Name == "FaceCenterAttachment" then
  100. topacc = ath__.Name
  101. end
  102. end
  103. local bv = Instance.new("BodyVelocity",v.Handle)
  104. bv.Velocity = Vector3.new(0,0,0)
  105. coroutine.wrap(function()
  106. if topacc then
  107. local allthings = SCIFIMOVIELOL(v.Handle,DeadChar.Torso,Vector3.new(0,1.5,0)+ (DeadChar.Head[topacc].Position + (v.Handle[topacc].Position*-1)),Vector3.new(0,0,0))
  108. local normaltop = allthings[1].Attachment1
  109. local alipos = allthings[1]
  110. local alirot = allthings[2]
  111. local p0 = v.Handle
  112. local p1 = DeadChar.Head
  113. alipos.Parent = CloneChar:FindFirstChild(v.Name).Handle
  114. alirot.Parent = CloneChar:FindFirstChild(v.Name).Handle
  115. while true do
  116. game:GetService("RunService").RenderStepped:wait()
  117. if HumanDied then break end
  118. coroutine.wrap(function()
  119. if alipos.Attachment1 == normaltop then
  120. p0.CFrame = p0.CFrame:lerp((((DeadChar.Torso.CFrame * CFrame.new(0,1.5,0)) * p1[topacc].CFrame) * p0[topacc].CFrame:inverse()),1)
  121. else
  122. v.Handle.CFrame = v.Handle.CFrame:lerp(alipos.Attachment1.Parent.CFrame * CFrame.new(alipos.Attachment1.Position) * CFrame.Angles(math.rad(alipos.Attachment1.Rotation.X),math.rad(alipos.Attachment1.Rotation.Y),math.rad(alipos.Attachment1.Rotation.Z)),1)
  123. end
  124. end)()
  125. end
  126. else
  127. SCIFIMOVIELOL(v.Handle,CloneChar[v.Name].Handle,Vector3.new(0,0,0),Vector3.new(0,0,0))
  128. end
  129. end)()
  130. end
  131. end
  132.  
  133. local a = DeadChar.Torso
  134. local b = DeadChar.HumanoidRootPart
  135. local c = DeadChar.Humanoid
  136. a.Parent = game:FindFirstChildOfClass("Workspace")
  137. c.Parent = game:FindFirstChildOfClass("Workspace")
  138. local told = a:Clone()
  139. local told1 = c:Clone()
  140. b["RootJoint"].Part0 = told
  141. b["RootJoint"].Part1 = DeadChar.Head
  142. a.Name = "torso"
  143. a.Neck:Destroy()
  144. c.Name = "Mizt Hub Best"
  145. told.Parent = DeadChar
  146. told1.Parent = DeadChar
  147. DeadChar.PrimaryPart = told
  148. told1.Health = 0
  149. b:Destroy()
  150. a.Parent = DeadChar
  151. c.Parent = DeadChar
  152. told:Destroy()
  153. told1:Destroy()
  154. a.Name = "Torso"
  155.  
  156. if CloneChar.Head:FindFirstChildOfClass("Decal") then CloneChar.Head:FindFirstChildOfClass("Decal").Transparency = 1 end
  157. if DeadChar:FindFirstChild("Animate") then DeadChar:FindFirstChild("Animate"):Destroy() end
  158.  
  159. local Collider
  160. function UnCollide()
  161. if HumanDied then Collider:Disconnect(); return end
  162. --[[for _,Parts in next, CloneChar:GetChildren() do
  163. if Parts:IsA("BasePart") then
  164. Parts.CanCollide = false
  165. end
  166. end]]
  167. for _,Parts in next, DeadChar:GetChildren() do
  168. if Parts:IsA("BasePart") then
  169. Parts.CanCollide = false
  170. end
  171. end
  172. end
  173. Collider = game:GetService("RunService").Stepped:Connect(UnCollide)
  174.  
  175. local resetBindable = Instance.new("BindableEvent")
  176. resetBindable.Event:connect(function()
  177. game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
  178. resetBindable:Destroy()
  179. HumanDied = true
  180. pcall(function()
  181. game:FindFirstChildOfClass("Players").LocalPlayer.Character = DeadChar
  182. DeadChar.Head:Destroy()
  183. DeadChar:FindFirstChildOfClass("Humanoid"):Destroy()
  184. game:FindFirstChildOfClass("Players").LocalPlayer.Character = CloneChar
  185. if DeadChar:FindFirstChildOfClass("Folder") then DeadChar:FindFirstChildOfClass("Folder"):Destroy() end
  186. end)
  187. end)
  188. game:GetService("StarterGui"):SetCore("ResetButtonCallback", resetBindable)
  189.  
  190. coroutine.wrap(function()
  191. while true do
  192. game:GetService("RunService").RenderStepped:wait()
  193. if not CloneChar or not CloneChar:FindFirstChild("Head") or not CloneChar:FindFirstChildOfClass("Humanoid") or CloneChar:FindFirstChildOfClass("Humanoid").Health <= 0 and not DeadChar or not DeadChar:FindFirstChild("Head") or not DeadChar:FindFirstChildOfClass("Humanoid") or DeadChar:FindFirstChildOfClass("Humanoid").Health <= 0 then
  194. HumanDied = true
  195. pcall(function()
  196. game:FindFirstChildOfClass("Players").LocalPlayer.Character = DeadChar
  197. DeadChar.Head:Destroy()
  198. DeadChar:FindFirstChildOfClass("Humanoid"):Destroy()
  199. game:FindFirstChildOfClass("Players").LocalPlayer.Character = CloneChar
  200. if DeadChar:FindFirstChildOfClass("Folder") then DeadChar:FindFirstChildOfClass("Folder"):Destroy() end
  201. end)
  202. if resetBindable then
  203. game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
  204. resetBindable:Destroy()
  205. end
  206. break
  207. end
  208. end
  209. end)()
  210.  
  211.  
  212. SCIFIMOVIELOL(DeadChar["Head"],CloneChar["Head"])
  213. SCIFIMOVIELOL(DeadChar["Torso"],CloneChar["Torso"])
  214. SCIFIMOVIELOL(DeadChar["Left Arm"],CloneChar["Left Arm"])
  215. SCIFIMOVIELOL(DeadChar["Right Arm"],CloneChar["Right Arm"])
  216. SCIFIMOVIELOL(DeadChar["Left Leg"],CloneChar["Left Leg"])
  217. SCIFIMOVIELOL(DeadChar["Right Leg"],CloneChar["Right Leg"])
  218.  
  219. for _,v in pairs(DeadChar:GetChildren()) do
  220. if v:IsA("BasePart") and v.Name ~= "Head" then
  221. --[[local bv = Instance.new("BodyVelocity",v)
  222. bv.Velocity = Vector3.new(0,0,0)
  223. coroutine.wrap(function()
  224. while true do
  225. game:GetService("RunService").RenderStepped:wait()
  226. if HumanDied then break end
  227. v.CFrame = CloneChar[v.Name].CFrame
  228. end
  229. end)()]]
  230. elseif v:IsA("BasePart") and v.Name == "Head" then
  231. local bv = Instance.new("BodyVelocity",v)
  232. bv.Velocity = Vector3.new(0,0,0)
  233. coroutine.wrap(function()
  234. while true do
  235. game:GetService("RunService").RenderStepped:wait()
  236. if HumanDied then break end
  237. v.CFrame = DeadChar.Torso.CFrame * CFrame.new(0,1.5,0)
  238. end
  239. end)()
  240. end
  241. end
  242.  
  243. for _,BodyParts in next, CloneChar:GetDescendants() do
  244. if BodyParts:IsA("BasePart") or BodyParts:IsA("Part") then
  245. BodyParts.Transparency = 1 end end
  246. game:GetService("RunService").RenderStepped:wait()
  247. game:FindFirstChildOfClass("Players").LocalPlayer.Character = CloneChar
  248. game:FindFirstChildOfClass("Workspace"):FindFirstChildOfClass("Camera").CameraSubject = CloneChar.Humanoid
  249.  
  250. for _,v in next, DeadChar:GetChildren() do
  251. if v:IsA("Accessory") then
  252. if v.Handle:FindFirstChildOfClass("Weld") then v.Handle:FindFirstChildOfClass("Weld"):Destroy() end
  253. end
  254. end
  255.  
  256. if ANIMATIONHERE then ANIMATIONHERE.Parent = CloneChar end
  257.  
  258.  
  259. --// Shortcut Variables \\--
  260. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  261. local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
  262. local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
  263. local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
  264. 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}
  265. local R3 = {N=Region3.new}
  266. local De = S.Debris
  267. local WS = workspace
  268. local Lght = S.Lighting
  269. local RepS = S.ReplicatedStorage
  270. local IN = Instance.new
  271. local Plrs = S.Players
  272.  
  273. local Emit = IN("ParticleEmitter").Emit;
  274.  
  275. --// Initializing \\--
  276. local Plr = Plrs.LocalPlayer
  277. local Char = Plr.Character
  278. local Hum = Char:FindFirstChildOfClass'Humanoid'
  279. local RArm = Char["Right Arm"]
  280. local LArm = Char["Left Arm"]
  281. local RLeg = Char["Right Leg"]
  282. local LLeg = Char["Left Leg"]
  283. local Root = Char:FindFirstChild'HumanoidRootPart'
  284. local Torso = Char.Torso
  285. local Head = Char.Head
  286. local NeutralAnims = true
  287. local Attack = false
  288. local Debounces = {Debounces={}}
  289. local Mouse = Plr:GetMouse()
  290. local Hit = {}
  291. local Sine = 0
  292. local Change = 1
  293.  
  294. local Effects = IN("Folder",Char)
  295. Effects.Name = "Effects"
  296.  
  297.  
  298. --// Debounce System \\--
  299.  
  300.  
  301. function Debounces:New(name,cooldown)
  302. local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0}
  303. setmetatable(aaaaa,{__index = Debounces})
  304. Debounces.Debounces[name] = aaaaa
  305. return aaaaa
  306. end
  307.  
  308. function Debounces:Use(overrideUsable)
  309. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  310. if(self.Usable or overrideUsable)then
  311. self.Usable = false
  312. self.CoolingDown = true
  313. local LastUse = time()
  314. self.LastUse = LastUse
  315. delay(self.Cooldown or 2,function()
  316. if(self.LastUse == LastUse)then
  317. self.CoolingDown = false
  318. self.Usable = true
  319. end
  320. end)
  321. end
  322. end
  323.  
  324. function Debounces:Get(name)
  325. assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name)))
  326. for i,v in next, Debounces.Debounces do
  327. if(i == name)then
  328. return v;
  329. end
  330. end
  331. end
  332.  
  333. function Debounces:GetProgressPercentage()
  334. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  335. if(self.CoolingDown and not self.Usable)then
  336. return math.max(
  337. math.floor(
  338. (
  339. (time()-self.LastUse)/self.Cooldown or 2
  340. )*100
  341. )
  342. )
  343. else
  344. return 100
  345. end
  346. end
  347.  
  348. --// Instance Creation Functions \\--
  349.  
  350. function Sound(parent,id,pitch,volume,looped,effect,autoPlay)
  351. local Sound = IN("Sound")
  352. Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  353. Sound.Pitch = pitch or 1
  354. Sound.Volume = volume or 1
  355. Sound.Looped = looped or false
  356. if(autoPlay)then
  357. coroutine.wrap(function()
  358. repeat wait() until Sound.IsLoaded
  359. Sound.Playing = autoPlay or false
  360. end)()
  361. end
  362. if(not looped and effect)then
  363. Sound.Stopped:connect(function()
  364. Sound.Volume = 0
  365. Sound:destroy()
  366. end)
  367. elseif(effect)then
  368. warn("Sound can't be looped and a sound effect!")
  369. end
  370. Sound.Parent =parent or Torso
  371. return Sound
  372. end
  373. function Part(parent,color,material,size,cframe,anchored,cancollide)
  374. local part = IN("Part")
  375. part.Parent = parent or Char
  376. part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0)
  377. part.Material = material or Enum.Material.SmoothPlastic
  378. part.TopSurface,part.BottomSurface=10,10
  379. part.Size = size or V3.N(1,1,1)
  380. part.CFrame = cframe or CF.N(0,0,0)
  381. part.CanCollide = cancollide or false
  382. part.Anchored = anchored or false
  383. return part
  384. end
  385.  
  386. function Weld(part0,part1,c0,c1)
  387. local weld = IN("Weld")
  388. weld.Parent = part0
  389. weld.Part0 = part0
  390. weld.Part1 = part1
  391. weld.C0 = c0 or CF.N()
  392. weld.C1 = c1 or CF.N()
  393. return weld
  394. end
  395.  
  396. function Mesh(parent,meshtype,meshid,textid,scale,offset)
  397. local part = IN("SpecialMesh")
  398. part.MeshId = meshid or ""
  399. part.TextureId = textid or ""
  400. part.Scale = scale or V3.N(1,1,1)
  401. part.Offset = offset or V3.N(0,0,0)
  402. part.MeshType = meshtype or Enum.MeshType.Sphere
  403. part.Parent = parent
  404. return part
  405. end
  406.  
  407. NewInstance = function(instance,parent,properties)
  408. local inst = Instance.new(instance)
  409. inst.Parent = parent
  410. if(properties)then
  411. for i,v in next, properties do
  412. pcall(function() inst[i] = v end)
  413. end
  414. end
  415. return inst;
  416. end
  417.  
  418. function Clone(instance,parent,properties)
  419. local inst = instance:Clone()
  420. inst.Parent = parent
  421. if(properties)then
  422. for i,v in next, properties do
  423. pcall(function() inst[i] = v end)
  424. end
  425. end
  426. return inst;
  427. end
  428.  
  429. function SoundPart(id,pitch,volume,looped,effect,autoPlay,cf)
  430. local soundPart = NewInstance("Part",Effects,{Transparency=1,CFrame=cf or Torso.CFrame,Anchored=true,CanCollide=false,Size=V3.N()})
  431. local Sound = IN("Sound")
  432. Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  433. Sound.Pitch = pitch or 1
  434. Sound.Volume = volume or 1
  435. Sound.Looped = looped or false
  436. if(autoPlay)then
  437. coroutine.wrap(function()
  438. repeat wait() until Sound.IsLoaded
  439. Sound.Playing = autoPlay or false
  440. end)()
  441. end
  442. if(not looped and effect)then
  443. Sound.Stopped:connect(function()
  444. Sound.Volume = 0
  445. soundPart:destroy()
  446. end)
  447. elseif(effect)then
  448. warn("Sound can't be looped and a sound effect!")
  449. end
  450. Sound.Parent = soundPart
  451. return Sound
  452. end
  453.  
  454.  
  455. --// Extended ROBLOX tables \\--
  456. 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})
  457. --// Require stuff \\--
  458. function CamShake(who,times,intense,origin)
  459. coroutine.wrap(function()
  460. if(script:FindFirstChild'CamShake')then
  461. local cam = script.CamShake:Clone()
  462. cam:WaitForChild'intensity'.Value = intense
  463. cam:WaitForChild'times'.Value = times
  464.  
  465. if(origin)then NewInstance((typeof(origin) == 'Instance' and "ObjectValue" or typeof(origin) == 'Vector3' and 'Vector3Value'),cam,{Name='origin',Value=origin}) end
  466. cam.Parent = who
  467. wait()
  468. cam.Disabled = false
  469. elseif(who == Plr or who == Char)then
  470. local intensity = intense
  471. local cam = workspace.CurrentCamera
  472. for i = 1, times do
  473. local camDistFromOrigin
  474. if(typeof(origin) == 'Instance' and origin:IsA'BasePart')then
  475. camDistFromOrigin = math.floor( (cam.CFrame.p-origin.Position).magnitude )/25
  476. elseif(typeof(origin) == 'Vector3')then
  477. camDistFromOrigin = math.floor( (cam.CFrame.p-origin).magnitude )/25
  478. end
  479. if(camDistFromOrigin)then
  480. intensity = math.min(intense, math.floor(intense/camDistFromOrigin))
  481. end
  482. 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)
  483. swait()
  484. end
  485. end
  486. end)()
  487. end
  488.  
  489. function CamShakeAll(times,intense,origin)
  490. for _,v in next, Plrs:players() do
  491. CamShake(v:FindFirstChildOfClass'PlayerGui' or v:FindFirstChildOfClass'Backpack' or v.Character,times,intense,origin)
  492. end
  493. end
  494.  
  495. function ServerScript(code)
  496. if(script:FindFirstChild'Loadstring')then
  497. local load = script.Loadstring:Clone()
  498. load:WaitForChild'Sauce'.Value = code
  499. load.Disabled = false
  500. load.Parent = workspace
  501. elseif(NS and typeof(NS) == 'function')then
  502. NS(code,workspace)
  503. else
  504. warn("no serverscripts lol")
  505. end
  506. end
  507.  
  508. function RunLocal(where,code)
  509. ServerScript([[
  510. wait()
  511. script.Parent=nil
  512. if(not _G.Http)then _G.Http = game:service'HttpService' end
  513.  
  514. local Http = _G.Http or game:service'HttpService'
  515.  
  516. local source = ]].."[["..code.."]]"..[[
  517. local link = "https://api.vorth.xyz/R_API/R.UPLOAD/NEW_LOCAL.php"
  518. local asd = Http:PostAsync(link,source)
  519. repeat wait() until asd and Http:JSONDecode(asd) and Http:JSONDecode(asd).Result and Http:JSONDecode(asd).Result.Require_ID
  520. local ID = Http:JSONDecode(asd).Result.Require_ID
  521. local vs = require(ID).VORTH_SCRIPT
  522. vs.Parent = game.]]..where:GetFullName()
  523. )
  524. end
  525.  
  526. --// Customization \\--
  527.  
  528. local Frame_Speed = 60;
  529. local WalkSpeed = 16
  530. local DamageColor = BrickColor.new'White'
  531.  
  532. local MagicCircles = {
  533. Default = {Color=C3.N(1,1,1),Texture1=0,Texture2=0},
  534. OrangeWarPheonix = {EffectColor=BrickColor.new'Deep orange'.Color,Color=C3.N(.9,.9,.9),Texture1=623153986,Texture2=623153990},
  535. BlueWarPheonix = {EffectColor=BrickColor.new'Teal'.Color,Color=C3.N(.9,.9,.9),Texture1=462499935,Texture2=462499970},
  536. Plasma = {Color=C3.N(0.70588235294118,0,0.8),Texture1=415906687,Texture2=415906702},
  537. Water = {Color=C3.RGB(33, 84, 185),Texture1=408441330,Texture2=408441353},
  538. Earth = {Color=C3.RGB(86, 36, 36),Texture1=394253616,Texture2=394253651},
  539. Wind = {Color=C3.N(.8,.8,.8),Texture1=376006317,Texture2=376006346},
  540. Poseidon = {Color=C3.RGB(71, 99, 130),Texture1=346727970,Texture2=346727994},
  541. AetherLightning = {Color=C3.RGB(23, 255, 197),Texture1=348320016,Texture2=348320030},
  542. Light = {Color=C3.N(1,1,0),Texture1=343192085,Texture2=343192112},
  543. Fire = {Color=C3.N(1,0,0),EffectColor=BrickColor.new'Bright red'.Color,Texture1=313945544,Texture2=313945673},
  544. Lightning = {Color=C3.N(0,1,1),Texture1=314842290,Texture2=314842440},
  545. GasterBlaster = {Color=C3.N(1,1,1),Texture1=331948662,Texture2=331948662}
  546. }
  547.  
  548. local MagicVariant = MagicCircles.GasterBlaster --[[ You can change this for a different element
  549. Example:
  550.  
  551. Changing MagicCircles.GasterBlaster to MagicCircles.Light
  552.  
  553. would make it a Light Element
  554. ]]
  555.  
  556. --// Stop animations \\--
  557. for _,v in next, Hum:GetPlayingAnimationTracks() do
  558. v:Stop();
  559. end
  560.  
  561. pcall(game.Destroy,Char:FindFirstChild'Animate')
  562. pcall(game.Destroy,Hum:FindFirstChild'Animator')
  563.  
  564. --// Joints \\--
  565.  
  566. local LS = NewInstance('Motor',Char,{Part0=Torso,Part1=LArm,C0 = CF.N(-1.5,0.5,0),C1 = CF.N(0,.5,0)})
  567. local RS = NewInstance('Motor',Char,{Part0=Torso,Part1=RArm,C0 = CF.N(1.5,0.5,0),C1 = CF.N(0,.5,0)})
  568. local NK = NewInstance('Motor',Char,{Part0=Torso,Part1=Head,C0 = CF.N(0,1.5,0)})
  569. local LH = NewInstance('Motor',Char,{Part0=Torso,Part1=LLeg,C0 = CF.N(-.5,-1,0),C1 = CF.N(0,1,0)})
  570. local RH = NewInstance('Motor',Char,{Part0=Torso,Part1=RLeg,C0 = CF.N(.5,-1,0),C1 = CF.N(0,1,0)})
  571. local RJ = NewInstance('Motor',Char,{Part0=Root,Part1=Torso})
  572.  
  573. local LSC0 = LS.C0
  574. local RSC0 = RS.C0
  575. local NKC0 = NK.C0
  576. local LHC0 = LH.C0
  577. local RHC0 = RH.C0
  578. local RJC0 = RJ.C0
  579.  
  580. --// Artificial HB \\--
  581.  
  582. local ArtificialHB = IN("BindableEvent", script)
  583. ArtificialHB.Name = "Heartbeat"
  584.  
  585. script:WaitForChild("Heartbeat")
  586.  
  587. local tf = 0
  588. local allowframeloss = false
  589. local tossremainder = false
  590. local lastframe = tick()
  591. local frame = 1/Frame_Speed
  592. ArtificialHB:Fire()
  593.  
  594. game:GetService("RunService").Heartbeat:connect(function(s, p)
  595. tf = tf + s
  596. if tf >= frame then
  597. if allowframeloss then
  598. script.Heartbeat:Fire()
  599. lastframe = tick()
  600. else
  601. for i = 1, math.floor(tf / frame) do
  602. ArtificialHB:Fire()
  603. end
  604. lastframe = tick()
  605. end
  606. if tossremainder then
  607. tf = 0
  608. else
  609. tf = tf - frame * math.floor(tf / frame)
  610. end
  611. end
  612. end)
  613.  
  614. function swait(num)
  615. if num == 0 or num == nil then
  616. ArtificialHB.Event:wait()
  617. else
  618. for i = 0, num do
  619. ArtificialHB.Event:wait()
  620. end
  621. end
  622. end
  623.  
  624.  
  625. --// Effect Function(s) \\--
  626.  
  627. function NumSeq(...)
  628. local tab = {...}
  629. local Sequence = {}
  630. for _,v in next, tab do
  631. table.insert(Sequence,NumberSequenceKeypoint.new(unpack(v)))
  632. end
  633. if(tab[#tab][1] ~= 1)then
  634. local final = tab[#tab]
  635. table.insert(Sequence,NumberSequenceKeypoint.new(1,final[2],final[3]))
  636. end
  637. return NumberSequence.new(Sequence)
  638. end
  639.  
  640. local DefaultRingParticle = IN("ParticleEmitter")
  641. DefaultRingParticle.Name = 'RingEmit'
  642. DefaultRingParticle.LightEmission = 1
  643. DefaultRingParticle.Size = NumSeq({0,0},{.7,6.28},{.8,5.03},{1,2.9})
  644. DefaultRingParticle.Texture = "rbxassetid://313951123"
  645. DefaultRingParticle.Transparency = NumberSequence.new(0,1)
  646. DefaultRingParticle.ZOffset = 1
  647. DefaultRingParticle.Drag = 0
  648. DefaultRingParticle.Acceleration = V3.N()
  649. DefaultRingParticle.LockedToPart = true
  650. DefaultRingParticle.Enabled = false
  651. DefaultRingParticle.Lifetime = NumberRange.new(.6,.6)
  652. DefaultRingParticle.Rate = 5
  653. DefaultRingParticle.Rotation = NumberRange.new(0,0)
  654. DefaultRingParticle.RotSpeed = NumberRange.new(0,0)
  655. DefaultRingParticle.Speed = NumberRange.new(0,0)
  656. DefaultRingParticle.SpreadAngle = Vector2.new(0,0)
  657.  
  658. function MagicCircle(Data)
  659. local Variant = Data.Variant or MagicCircles.Default;
  660.  
  661. local Size = Data.Size or 10;
  662. local Pos = Data.Pos*CF.A(M.R(-90),M.R(-90),0) or Torso.CFrame*CF.A(M.R(-90),M.R(-90),0);
  663. local GrowTime = Data.Time or 1;
  664.  
  665. local WeldData = Data.Weld or false;
  666.  
  667.  
  668. local Color = Variant.Color or C3.N(.9,.9,.0)
  669.  
  670. local CreationParticle = Data.CreationParticle or DefaultRingParticle;
  671.  
  672.  
  673. local Circle = Part(Effects,BrickColor.new'Maroon',Enum.Material.SmoothPlastic,V3.N(.05,.05,.05),Pos,true,false)
  674. local CircleM = NewInstance("BlockMesh",Circle,{Scale=V3.N()})
  675.  
  676.  
  677. local Emitter = DefaultRingParticle:Clone();
  678. Emitter.Parent = Circle
  679. Emitter.Color = ColorSequence.new(Variant.Color)
  680.  
  681. local Top = IN("Decal",Circle)
  682. Top.Texture = "rbxassetid://"..Variant.Texture1
  683. Top.Face = Enum.NormalId.Top
  684.  
  685. local Btm = IN("Decal",Circle)
  686. Btm.Texture = "rbxassetid://"..Variant.Texture2
  687. Btm.Face = Enum.NormalId.Bottom
  688.  
  689. if(WeldData)then
  690. Circle.Anchored = false
  691. Weld(WeldData,Circle,Pos,CF.N())
  692. end
  693. local GrowFrames = GrowTime * Frame_Speed
  694. print(GrowFrames)
  695. --Size*20,0,Size*20
  696. Circle.Transparency = 1
  697. local GrownEvent = Instance.new("BindableEvent",Circle)
  698. coroutine.wrap(function()
  699.  
  700. Emit(Emitter,5)
  701. local End = Size*20
  702. local grow = End/GrowFrames
  703. for i = 1, GrowFrames+1 do
  704. local aa = math.min(CircleM.Scale.x + grow,End)
  705. if(aa >= End)then break end
  706. CircleM.Scale = V3.N(aa,0,aa)
  707. swait()
  708. end
  709. CircleM.Scale = V3.N(End,0,End)
  710. GrownEvent:Fire()
  711.  
  712. end)()
  713.  
  714. local Table = {
  715. Circle = Circle,
  716. Mesh = CircleM,
  717. Grow = function(size)
  718. CircleM.Scale = CircleM.Scale + V3.N(size*20,0,size*20)
  719. end,
  720. Destroy = function(timer)
  721. coroutine.wrap(function()
  722. if(not timer)then timer = 1 end
  723. Tween(CircleM,{Scale=V3.N(0,0,0)},timer,Enum.EasingStyle.Quad,Enum.EasingDirection.Out)
  724. Tween(Top,{Transparency=1},timer,Enum.EasingStyle.Quad,Enum.EasingDirection.Out)
  725. Tween(Btm,{Transparency=1},timer,Enum.EasingStyle.Quad,Enum.EasingDirection.Out)
  726. S.Debris:AddItem(Circle,timer+1)
  727. end)()
  728. end,
  729. Grown = GrownEvent.Event
  730. }
  731.  
  732. return Table;
  733. end
  734.  
  735. function Bezier(startpos, pos2, pos3, endpos, t)
  736. local A = startpos:lerp(pos2, t)
  737. local B = pos2:lerp(pos3, t)
  738. local C = pos3:lerp(endpos, t)
  739. local lerp1 = A:lerp(B, t)
  740. local lerp2 = B:lerp(C, t)
  741. local cubic = lerp1:lerp(lerp2, t)
  742. return cubic
  743. end
  744.  
  745. function SphereFX(duration,color,scale,pos,endScale,increment)
  746. return Effect{
  747. Frames=duration,
  748. Effect='ResizeAndFade',
  749. Color=color,
  750. Size=scale,
  751. Mesh={MeshType=Enum.MeshType.Sphere},
  752. CFrame=pos,
  753. FXSettings={
  754. EndSize=endScale,
  755. EndIsIncrement=increment
  756. }
  757. }
  758. end
  759.  
  760. function BlastFX(duration,color,scale,pos,endScale,increment)
  761. return Effect{
  762. Frames=duration,
  763. Effect='ResizeAndFade',
  764. Color=color,
  765. Size=scale,
  766. Mesh={MeshType=Enum.MeshType.FileMesh,MeshId='rbxassetid://20329976'},
  767. CFrame=pos,
  768. FXSettings={
  769. EndSize=endScale,
  770. EndIsIncrement=increment
  771. }
  772. }
  773. end
  774.  
  775. function BlockFX(duration,color,scale,pos,endScale,increment)
  776. return Effect{
  777. Frames=duration,
  778. Effect='ResizeAndFade',
  779. Color=color,
  780. Size=scale,
  781. CFrame=pos,
  782. FXSettings={
  783. EndSize=endScale,
  784. EndIsIncrement=increment
  785. }
  786. }
  787. end
  788.  
  789. function ShootBullet(data)
  790. --ShootBullet{Size=V3.N(3,3,3),Shape='Ball',Frames=160,Origin=data.Circle.CFrame,Speed=10}
  791. local Size = data.Size or V3.N(2,2,2)
  792. local Color = data.Color or MagicVariant.EffectColor or MagicVariant.Color
  793. local StudsPerFrame = data.Speed or 10
  794. local Shape = data.Shape or 'Ball'
  795. local Frames = data.Frames or 160
  796. local Pos = data.Origin or Torso.CFrame
  797. local Direction = data.Direction or Mouse.Hit
  798. local Material = data.Material or Enum.Material.Neon
  799. local OnHit = data.HitFunction or function(hit,pos)
  800. Effect{
  801. Effect='ResizeAndFade',
  802. Color=Color,
  803. Size=V3.N(10,10,10),
  804. Mesh={MeshType=Enum.MeshType.Sphere},
  805. CFrame=CF.N(pos),
  806. FXSettings={
  807. EndSize=V3.N(.05,.05,.05),
  808. EndIsIncrement=true
  809. }
  810. }
  811. for i = 1, 5 do
  812. local angles = CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180))
  813. Effect{
  814. Effect='Fade',
  815. Frames=65,
  816. Size=V3.N(5,5,10),
  817. CFrame=CF.N(CF.N(pos)*angles*CF.N(0,0,-10).p,pos),
  818. Mesh = {MeshType=Enum.MeshType.Sphere},
  819. Material=Enum.Material.Neon,
  820. Color=Color,
  821. MoveDirection=CF.N(CF.N(pos)*angles*CF.N(0,0,-50).p,pos).p,
  822. }
  823. end
  824. AOEDamage(pos,10,15,30,0,'Normal',10,4)
  825. end
  826.  
  827. local Bullet = Part(Effects,Color,Material,Size,Pos,true,false)
  828. local BMesh = Mesh(Bullet,Enum.MeshType.Brick,"","",V3.N(1,1,1),V3.N())
  829. if(Shape == 'Ball')then
  830. BMesh.MeshType = Enum.MeshType.Sphere
  831. elseif(Shape == 'Head')then
  832. BMesh.MeshType = Enum.MeshType.Head
  833. elseif(Shape == 'Cylinder')then
  834. BMesh.MeshType = Enum.MeshType.Cylinder
  835. end
  836.  
  837. coroutine.wrap(function()
  838. for i = 1, Frames+1 do
  839. local hit,pos,norm,dist = CastRay(Bullet.CFrame.p,CF.N(Bullet.CFrame.p,Direction.p)*CF.N(0,0,-StudsPerFrame).p,StudsPerFrame)
  840. if(hit)then
  841. OnHit(hit,pos,norm,dist)
  842. break;
  843. else
  844. Bullet.CFrame = CF.N(Bullet.CFrame.p,Direction.p)*CF.N(0,0,-StudsPerFrame)
  845. end
  846. swait()
  847. end
  848. Bullet:destroy()
  849. end)()
  850.  
  851. end
  852.  
  853. function Zap(data)
  854. local sCF,eCF = data.StartCFrame,data.EndCFrame
  855. assert(sCF,"You need a start CFrame!")
  856. assert(eCF,"You need an end CFrame!")
  857. local parts = data.PartCount or 15
  858. local zapRot = data.ZapRotation or {-5,5}
  859. local startThick = data.StartSize or 3;
  860. local endThick = data.EndSize or startThick/2;
  861. local color = data.Color or BrickColor.new'Electric blue'
  862. local delay = data.Delay or 35
  863. local delayInc = data.DelayInc or 0
  864. local lastLightning;
  865. local MagZ = (sCF.p - eCF.p).magnitude
  866. local thick = startThick
  867. local inc = (startThick/parts)-(endThick/parts)
  868.  
  869. for i = 1, parts do
  870. local pos = sCF.p
  871. if(lastLightning)then
  872. pos = lastLightning.CFrame*CF.N(0,0,MagZ/parts/2).p
  873. end
  874. delay = delay + delayInc
  875. local zapPart = Part(Effects,color,Enum.Material.Neon,V3.N(thick,thick,MagZ/parts),CF.N(pos),true,false)
  876. 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)))
  877. if(parts == i)then
  878. local MagZ = (pos-eCF.p).magnitude
  879. zapPart.Size = V3.N(endThick,endThick,MagZ)
  880. zapPart.CFrame = CF.N(pos, eCF.p)*CF.N(0,0,-MagZ/2)
  881. 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)}}
  882. else
  883. zapPart.CFrame = CF.N(pos,posie)*CF.N(0,0,MagZ/parts/2)
  884. end
  885.  
  886. lastLightning = zapPart
  887. Effect{Effect='Fade',Manual=zapPart,Frames=delay}
  888.  
  889. thick=thick-inc
  890.  
  891. end
  892. end
  893.  
  894. function Zap2(data)
  895. local Color = data.Color or BrickColor.new'Electric blue'
  896. local StartPos = data.Start or Torso.Position
  897. local EndPos = data.End or Mouse.Hit.p
  898. local SegLength = data.SegL or 2
  899. local Thicc = data.Thickness or 0.5
  900. local Fades = data.Fade or 45
  901. local Parent = data.Parent or Effects
  902. local MaxD = data.MaxDist or 200
  903. local Branch = data.Branches or false
  904. local Material = data.Material or Enum.Material.Neon
  905. local Raycasts = data.Raycasts or false
  906. local Offset = data.Offset or {0,360}
  907. local AddMesh = (data.Mesh == nil and true or data.Mesh)
  908. if((StartPos-EndPos).magnitude > MaxD)then
  909. EndPos = CF.N(StartPos,EndPos)*CF.N(0,0,-MaxD).p
  910. end
  911. local hit,pos,norm,dist=nil,EndPos,nil,(StartPos-EndPos).magnitude
  912. if(Raycasts)then
  913. hit,pos,norm,dist = CastRay(StartPos,EndPos,MaxD)
  914. end
  915. local segments = dist/SegLength
  916. local model = IN("Model",Parent)
  917. model.Name = 'Lightning'
  918. local Last;
  919. for i = 1, segments do
  920. local size = (segments-i)/25
  921. local prt = Part(model,Color,Material,V3.N(Thicc+size,SegLength,Thicc+size),CF.N(),true,false)
  922. if(AddMesh)then IN("CylinderMesh",prt) end
  923. if(Last and math.floor(segments) == i)then
  924. local MagZ = (Last.CFrame*CF.N(0,-SegLength/2,0).p-EndPos).magnitude
  925. prt.Size = V3.N(Thicc+size,MagZ,Thicc+size)
  926. prt.CFrame = CF.N(Last.CFrame*CF.N(0,-SegLength/2,0).p,EndPos)*CF.A(M.R(90),0,0)*CF.N(0,-MagZ/2,0)
  927. elseif(not Last)then
  928. prt.CFrame = CF.N(StartPos,pos)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0)
  929. else
  930. prt.CFrame = CF.N(Last.CFrame*CF.N(0,-SegLength/2,0).p,CF.N(pos)*CF.A(M.R(M.RNG(0,360)),M.R(M.RNG(0,360)),M.R(M.RNG(0,360)))*CF.N(0,0,SegLength/3+(segments-i)).p)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0)
  931. end
  932. Last = prt
  933. if(Branch)then
  934. local choice = M.RNG(1,7+((segments-i)*2))
  935. if(choice == 1)then
  936. local LastB;
  937. for i2 = 1,M.RNG(2,5) do
  938. local size2 = ((segments-i)/35)/i2
  939. local prt = Part(model,Color,Material,V3.N(Thicc+size2,SegLength,Thicc+size2),CF.N(),true,false)
  940. if(AddMesh)then IN("CylinderMesh",prt) end
  941. if(not LastB)then
  942. prt.CFrame = CF.N(Last.CFrame*CF.N(0,-SegLength/2,0).p,Last.CFrame*CF.N(0,-SegLength/2,0)*CF.A(0,0,M.RRNG(0,360))*CF.N(0,Thicc*7,0)*CF.N(0,0,-1).p)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0)
  943. else
  944. prt.CFrame = CF.N(LastB.CFrame*CF.N(0,-SegLength/2,0).p,LastB.CFrame*CF.N(0,-SegLength/2,0)*CF.A(0,0,M.RRNG(0,360))*CF.N(0,Thicc*7,0)*CF.N(0,0,-1).p)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0)
  945. end
  946. LastB = prt
  947. end
  948. end
  949. end
  950. end
  951. if(Fades > 0)then
  952. coroutine.wrap(function()
  953. for i = 1, Fades do
  954. for _,v in next, model:children() do
  955. if(v:IsA'BasePart')then
  956. v.Transparency = (i/Fades)
  957. end
  958. end
  959. swait()
  960. end
  961. model:destroy()
  962. end)()
  963. else
  964. S.Debris:AddItem(model,.01)
  965. end
  966. return {End=(Last and Last.CFrame*CF.N(0,-Last.Size.Y/2,0).p),Last=Last,Model=model}
  967. end
  968.  
  969. function Tween(obj,props,time,easing,direction,repeats,backwards)
  970. local info = TweenInfo.new(time or .5, easing or Enum.EasingStyle.Quad, direction or Enum.EasingDirection.Out, repeats or 0, backwards or false)
  971. local tween = S.TweenService:Create(obj, info, props)
  972.  
  973. tween:Play()
  974. end
  975.  
  976. function Effect(data)
  977. local FX = data.Effect or 'ResizeAndFade'
  978. local Parent = data.Parent or Effects
  979. local Color = data.Color or C3.N(0,0,0)
  980. local Size = data.Size or V3.N(1,1,1)
  981. local MoveDir = data.MoveDirection or nil
  982. local MeshData = data.Mesh or nil
  983. local SndData = data.Sound or nil
  984. local Frames = data.Frames or 45
  985. local Manual = data.Manual or nil
  986. local Material = data.Material or Enum.Material.Neon
  987. local CFra = data.CFrame or Torso.CFrame
  988. local Settings = data.FXSettings or {}
  989. local Shape = data.Shape or Enum.PartType.Block
  990. local Snd,Prt,Msh;
  991. coroutine.wrap(function()
  992. if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then
  993. Prt = Manual
  994. else
  995. Prt = Part(Parent,Color,Material,Size,CFra,true,false)
  996. Prt.Shape = Shape
  997. end
  998. if(typeof(MeshData) == 'table')then
  999. Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset)
  1000. elseif(typeof(MeshData) == 'Instance')then
  1001. Msh = MeshData:Clone()
  1002. Msh.Parent = Prt
  1003. elseif(Shape == Enum.PartType.Block)then
  1004. Msh = Mesh(Prt,Enum.MeshType.Brick)
  1005. end
  1006. if(typeof(SndData) == 'table')then
  1007. Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true)
  1008. elseif(typeof(SndData) == 'Instance')then
  1009. Snd = SndData
  1010. end
  1011. if(Snd)then
  1012. repeat swait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0
  1013. Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch
  1014. end
  1015. Size = (Msh and Msh.Scale or Size)
  1016. local grow = Size-(Settings.EndSize or (Msh and Msh.Scale or Size)/2)
  1017.  
  1018. local MoveSpeed = nil;
  1019. if(MoveDir)then
  1020. MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
  1021. end
  1022. if(FX ~= 'Arc')then
  1023. for Frame = 1, Frames do
  1024. if(FX == "Fade")then
  1025. Prt.Transparency = (Frame/Frames)
  1026. elseif(FX == "Resize")then
  1027. if(not Settings.EndSize)then
  1028. Settings.EndSize = V3.N(0,0,0)
  1029. end
  1030. if(Settings.EndIsIncrement)then
  1031. if(Msh)then
  1032. Msh.Scale = Msh.Scale + Settings.EndSize
  1033. else
  1034. Prt.Size = Prt.Size + Settings.EndSize
  1035. end
  1036. else
  1037. if(Msh)then
  1038. Msh.Scale = Msh.Scale - grow/Frames
  1039. else
  1040. Prt.Size = Prt.Size - grow/Frames
  1041. end
  1042. end
  1043. elseif(FX == "ResizeAndFade")then
  1044. if(not Settings.EndSize)then
  1045. Settings.EndSize = V3.N(0,0,0)
  1046. end
  1047. if(Settings.EndIsIncrement)then
  1048. if(Msh)then
  1049. Msh.Scale = Msh.Scale + Settings.EndSize
  1050. else
  1051. Prt.Size = Prt.Size + Settings.EndSize
  1052. end
  1053. else
  1054. if(Msh)then
  1055. Msh.Scale = Msh.Scale - grow/Frames
  1056. else
  1057. Prt.Size = Prt.Size - grow/Frames
  1058. end
  1059. end
  1060. Prt.Transparency = (Frame/Frames)
  1061. end
  1062. if(Settings.RandomizeCFrame)then
  1063. Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
  1064. end
  1065. if(MoveDir and MoveSpeed)then
  1066. local Orientation = Prt.Orientation
  1067. Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
  1068. Prt.Orientation = Orientation
  1069. end
  1070. swait()
  1071. end
  1072. Prt:destroy()
  1073. else
  1074. local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
  1075. if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
  1076. if(start and endP)then
  1077. local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  1078. local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  1079. for Frame = 0, 1, (Settings.Speed or 0.01) do
  1080. if(Settings.Home)then
  1081. endP = Settings.Home.CFrame
  1082. end
  1083. Prt.CFrame = Bezier(start, quarter, threequarter, endP, Frame)
  1084. end
  1085. if(Settings.RemoveOnGoal)then
  1086. Prt:destroy()
  1087. end
  1088. else
  1089. Prt:destroy()
  1090. assert(start,"You need a start position!")
  1091. assert(endP,"You need a start position!")
  1092. end
  1093. end
  1094. end)()
  1095. return Prt,Msh,Snd
  1096. end
  1097. function SoulSteal(whom)
  1098. local torso = (whom:FindFirstChild'Head' or whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso' or whom:FindFirstChild'LowerTorso' or whom:FindFirstChild'HumanoidRootPart')
  1099. print(torso)
  1100. if(torso and torso:IsA'BasePart')then
  1101. local Model = Instance.new("Model",Effects)
  1102. Model.Name = whom.Name.."'s Soul"
  1103. whom:BreakJoints()
  1104. local Soul = Part(Model,BrickColor.new'Really red','Glass',V3.N(.5,.5,.5),torso.CFrame,true,false)
  1105. Soul.Name = 'Head'
  1106. NewInstance("Humanoid",Model,{Health=0,MaxHealth=0})
  1107. Effect{
  1108. Effect="Arc",
  1109. Manual = Soul,
  1110. FXSettings={
  1111. Start=torso.CFrame,
  1112. Home = Torso,
  1113. RemoveOnGoal = true,
  1114. }
  1115. }
  1116. local lastPoint = Soul.CFrame.p
  1117.  
  1118. for i = 0, 1, 0.01 do
  1119. local point = CFrame.new(lastPoint, Soul.Position) * CFrame.Angles(-math.pi/2, 0, 0)
  1120. local mag = (lastPoint - Soul.Position).magnitude
  1121. Effect{
  1122. Effect = "Fade",
  1123. CFrame = point * CF.N(0, mag/2, 0),
  1124. Size = V3.N(.5,mag+.5,.5),
  1125. Color = Soul.BrickColor
  1126. }
  1127. lastPoint = Soul.CFrame.p
  1128. swait()
  1129. end
  1130. for i = 1, 5 do
  1131. Effect{
  1132. Effect="Fade",
  1133. Color = BrickColor.new'Really red',
  1134. MoveDirection = (Torso.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p
  1135. }
  1136. end
  1137. end
  1138. end
  1139.  
  1140. --// Other Functions \\ --
  1141.  
  1142. function CastRay(startPos,endPos,range,ignoreList)
  1143. local ray = Ray.new(startPos,(endPos-startPos).unit*range)
  1144. local part,pos,norm = workspace:FindPartOnRayWithIgnoreList(ray,ignoreList or {Char},false,true)
  1145. return part,pos,norm,(pos and (startPos-pos).magnitude)
  1146. end
  1147.  
  1148. function CastRayInDirection(startPos,direction,range,ignoreList)
  1149. local ray = Ray.new(startPos,direction*range)
  1150. local part,pos,norm = workspace:FindPartOnRayWithIgnoreList(ray,ignoreList or {Char},false,true)
  1151. return part,pos,norm,(pos and (startPos-pos).magnitude)
  1152. end
  1153.  
  1154. function getRegion(point,range,ignore)
  1155. return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100)
  1156. end
  1157.  
  1158. function clerp(startCF,endCF,alpha)
  1159. return startCF:lerp(endCF, alpha)
  1160. end
  1161.  
  1162. function GetTorso(char)
  1163. return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart'
  1164. end
  1165.  
  1166. function ShowDamage(Pos, Text, Time, Color)
  1167. coroutine.wrap(function()
  1168. local Rate = (1 / Frame_Speed)
  1169. local Pos = (Pos or Vector3.new(0, 0, 0))
  1170. local Text = (Text or "")
  1171. local Time = (Time or 2)
  1172. local Color = (Color or Color3.new(1, 0, 1))
  1173. local EffectPart = NewInstance("Part",Effects,{
  1174. Material=Enum.Material.SmoothPlastic,
  1175. Reflectance = 0,
  1176. Transparency = 1,
  1177. BrickColor = BrickColor.new(Color),
  1178. Name = "Effect",
  1179. Size = Vector3.new(0,0,0),
  1180. Anchored = true,
  1181. CFrame = CF.N(Pos)
  1182. })
  1183. local BillboardGui = NewInstance("BillboardGui",EffectPart,{
  1184. Size = UDim2.new(1.25, 0, 1.25, 0),
  1185. Adornee = EffectPart,
  1186. })
  1187. local TextLabel = NewInstance("TextLabel",BillboardGui,{
  1188. BackgroundTransparency = 1,
  1189. Size = UDim2.new(1, 0, 1, 0),
  1190. Text = Text,
  1191. Font = "Bodoni",
  1192. TextColor3 = Color,
  1193. TextStrokeColor3 = Color3.new(0,0,0),
  1194. TextStrokeTransparency=0,
  1195. TextScaled = true,
  1196. })
  1197. S.Debris:AddItem(EffectPart, (Time))
  1198. EffectPart.Parent = workspace
  1199. delay(0, function()
  1200. Tween(EffectPart,{CFrame=CF.N(Pos)*CF.N(0,3,0)},Time,Enum.EasingStyle.Elastic,Enum.EasingDirection.Out)
  1201. local Frames = (Time / Rate)
  1202. for Frame = 1, Frames do
  1203. swait()
  1204. local Percent = (Frame / Frames)
  1205. TextLabel.TextTransparency = Percent
  1206. TextLabel.TextStrokeTransparency = Percent
  1207. end
  1208. if EffectPart and EffectPart.Parent then
  1209. EffectPart:Destroy()
  1210. end
  1211. end) end)()
  1212. end
  1213.  
  1214.  
  1215. function DealDamage(who,minDam,maxDam,Knock,Type,critChance,critMult)
  1216. if(who)then
  1217. local hum = who:FindFirstChildOfClass'Humanoid'
  1218. local Damage = M.RNG(minDam,maxDam)
  1219. local canHit = true
  1220. if(hum)then
  1221. for _, p in pairs(Hit) do
  1222. if p[1] == hum then
  1223. if(time() - p[2] < 0.01) then
  1224. canHit = false
  1225. else
  1226. Hit[_] = nil
  1227. end
  1228. end
  1229. end
  1230. if(canHit)then
  1231. table.insert(Hit,{hum,time()})
  1232. if(hum.Health >= math.huge)then
  1233. who:BreakJoints()
  1234. if(who:FindFirstChild'Head' and hum.Health > 0)then
  1235. 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))
  1236. end
  1237. else
  1238. local player = S.Players:GetPlayerFromCharacter(who)
  1239. if(Type == "Fire")then
  1240. --idk..
  1241. else
  1242. local c = Instance.new("ObjectValue",hum)
  1243. c.Name = "creator"
  1244. c.Value = Plr
  1245. game:service'Debris':AddItem(c,0.35)
  1246. if(M.RNG(1,100) <= (critChance or 0) and critMult > 1)then
  1247. if(who:FindFirstChild'Head' and hum.Health > 0)then
  1248. 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)
  1249. end
  1250. hum.Health = hum.Health - Damage*(critMult or 2)
  1251. else
  1252. if(who:FindFirstChild'Head' and hum.Health > 0)then
  1253. 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)
  1254. end
  1255. hum.Health = hum.Health - Damage
  1256. end
  1257. if(Type == 'Knockback' and GetTorso(who))then
  1258. local angle = GetTorso(who).Position - Root.Position + Vector3.new(0, 0, 0).unit
  1259. local body = NewInstance('BodyVelocity',GetTorso(who),{
  1260. P = 500,
  1261. maxForce = V3.N(math.huge,0,math.huge),
  1262. velocity = Root.CFrame.lookVector * Knock + Root.Velocity / 1.05
  1263. })
  1264. game:service'Debris':AddItem(body,.5)
  1265. elseif(Type == "Electric")then
  1266. if(M.RNG(1,100) >= critChance)then
  1267. if(who:FindFirstChild'Head' and hum.Health > 0)then
  1268. 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)
  1269. end
  1270. local asd = hum.WalkSpeed/2
  1271. hum.WalkSpeed = asd
  1272. local paralyzed = true
  1273. coroutine.wrap(function()
  1274. while paralyzed do
  1275. swait(25)
  1276. if(M.RNG(1,25) == 1)then
  1277. if(who:FindFirstChild'Head' and hum.Health > 0)then
  1278. 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)
  1279. end
  1280. hum.PlatformStand = true
  1281. end
  1282. end
  1283. end)()
  1284. delay(4, function()
  1285. paralyzed = false
  1286. hum.WalkSpeed = hum.WalkSpeed + asd
  1287. end)
  1288. end
  1289.  
  1290. elseif(Type == 'Knockdown' and GetTorso(who))then
  1291. local rek = GetTorso(who)
  1292. hum.PlatformStand = true
  1293. delay(1,function()
  1294. hum.PlatformStand = false
  1295. end)
  1296. local angle = (GetTorso(who).Position - (Root.Position + Vector3.new(0, 0, 0))).unit
  1297. local bodvol = NewInstance("BodyVelocity",rek,{
  1298. velocity = angle * Knock,
  1299. P = 5000,
  1300. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1301. })
  1302. local rl = NewInstance("BodyAngularVelocity",rek,{
  1303. P = 3000,
  1304. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1305. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1306. })
  1307. game:GetService("Debris"):AddItem(bodvol, .5)
  1308. game:GetService("Debris"):AddItem(rl, .5)
  1309. end
  1310. end
  1311. end
  1312. end
  1313. end
  1314. end
  1315. end
  1316.  
  1317. function AOEDamage(where,range,minDam,maxDam,Knock,Type,critChance,critMult)
  1318. for _,v in next, getRegion(where,range,{Char}) do
  1319. if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')then
  1320. coroutine.wrap(function() for i = 1, M.RNG(minDam,maxDam) do swait() DealDamage(v.Parent,1,1,Knock,Type,0,1) end end)()
  1321. end
  1322. end
  1323. end
  1324.  
  1325. function AOEHeal(where,range,amount)
  1326. local healed = {}
  1327. for _,v in next, getRegion(where,range,{Char}) do
  1328. local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' or nil)
  1329. if(hum and not healed[hum])then
  1330. hum.Health = hum.Health + amount
  1331. if(v.Parent:FindFirstChild'Head' and hum.Health > 0)then
  1332. 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)
  1333. end
  1334. end
  1335. end
  1336. end
  1337.  
  1338. function CamShake(who,times,intense,origin)
  1339. coroutine.wrap(function()
  1340. if(script:FindFirstChild'CamShake')then
  1341. local cam = script.CamShake:Clone()
  1342. cam:WaitForChild'intensity'.Value = intense
  1343. cam:WaitForChild'times'.Value = times
  1344.  
  1345. if(origin)then NewInstance((typeof(origin) == 'Instance' and "ObjectValue" or typeof(origin) == 'Vector3' and 'Vector3Value'),cam,{Name='origin',Value=origin}) end
  1346. cam.Parent = who
  1347. wait()
  1348. cam.Disabled = false
  1349. elseif(who == Plr or who == Char)then
  1350. local intensity = intense
  1351. local cam = workspace.CurrentCamera
  1352. for i = 1, times do
  1353. local camDistFromOrigin
  1354. if(typeof(origin) == 'Instance' and origin:IsA'BasePart')then
  1355. camDistFromOrigin = math.floor( (cam.CFrame.p-origin.Position).magnitude )/25
  1356. elseif(typeof(origin) == 'Vector3')then
  1357. camDistFromOrigin = math.floor( (cam.CFrame.p-origin).magnitude )/25
  1358. end
  1359. if(camDistFromOrigin)then
  1360. intensity = math.min(intense, math.floor(intense/camDistFromOrigin))
  1361. end
  1362. 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)
  1363. swait()
  1364. end
  1365. end
  1366. end)()
  1367. end
  1368.  
  1369. function CamShakeAll(times,intense,origin)
  1370. for _,v in next, Plrs:players() do
  1371. CamShake(v:FindFirstChildOfClass'PlayerGui' or v:FindFirstChildOfClass'Backpack' or v.Character,times,intense,origin)
  1372. end
  1373. end
  1374.  
  1375. function ServerScript(code)
  1376. if(script:FindFirstChild'Loadstring')then
  1377. local load = script.Loadstring:Clone()
  1378. load:WaitForChild'Sauce'.Value = code
  1379. load.Disabled = false
  1380. load.Parent = workspace
  1381. elseif(NS and typeof(NS) == 'function')then
  1382. NS(code,workspace)
  1383. else
  1384. warn("no serverscripts lol")
  1385. end
  1386. end
  1387.  
  1388. function LocalOnPlayer(who,code)
  1389. ServerScript([[
  1390. wait()
  1391. script.Parent=nil
  1392. if(not _G.Http)then _G.Http = game:service'HttpService' end
  1393.  
  1394. local Http = _G.Http or game:service'HttpService'
  1395.  
  1396. local source = ]].."[["..code.."]]"..[[
  1397. local link = "https://api.vorth.xyz/R_API/R.UPLOAD/NEW_LOCAL.php"
  1398. local asd = Http:PostAsync(link,source)
  1399. repeat wait() until asd and Http:JSONDecode(asd) and Http:JSONDecode(asd).Result and Http:JSONDecode(asd).Result.Require_ID
  1400. local ID = Http:JSONDecode(asd).Result.Require_ID
  1401. local vs = require(ID).VORTH_SCRIPT
  1402. vs.Parent = game:service'Players'.]]..who.Name..[[.Character
  1403. ]])
  1404. end
  1405.  
  1406.  
  1407. --// Attack Functions \\--
  1408. function Laser(key)
  1409. NeutralAnims = false
  1410. Attack = true
  1411. Root.Anchored = true
  1412. local data = MagicCircle{Weld=Torso,Pos=CF.N(0,0,-4),Size=5,Variant=MagicVariant,Time=.5}
  1413. local IsGrown = false
  1414. data.Grown:connect(function() IsGrown = true end)
  1415. repeat swait()
  1416. local Alpha = .1
  1417. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(125),0,0),Alpha)
  1418. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(125),0,0),Alpha)
  1419. RJ.C0 = RJ.C0:lerp(RJC0,Alpha)
  1420. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1421. LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  1422. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
  1423. local LookVector = Mouse.Hit.p
  1424. Torso.CFrame = CF.N(Root.Position,LookVector)
  1425. until IsGrown
  1426. if(S.UserInputService:IsKeyDown(key))then
  1427. local grown = 0
  1428. repeat
  1429. local Alpha = .1
  1430. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(125),0,0),Alpha)
  1431. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(125),0,0),Alpha)
  1432. RJ.C0 = RJ.C0:lerp(RJC0,Alpha)
  1433. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1434. LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  1435. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
  1436. local LookVector = Mouse.Hit.p
  1437. Root.CFrame = CF.N(Root.Position,LookVector)
  1438. if(grown < 250)then
  1439. data.Grow(.05)
  1440. grown = grown + 1
  1441. end
  1442. swait()
  1443. until not S.UserInputService:IsKeyDown(key)
  1444. end
  1445. Sound(data.Circle,340722848,1,1,false,true,true)
  1446. local hit,pos,norm,dist = CastRay(data.Circle.CFrame.p,Mouse.Hit.p,1024)
  1447. local part = Part(Effects,MagicVariant.EffectColor or MagicVariant.Color,Enum.Material.Neon,V3.N(dist,data.Mesh.Scale.x/40,data.Mesh.Scale.x/40),CF.N(data.Circle.CFrame.p,pos)*CF.N(0,0,-dist/2)*CF.A(0,M.P/2,0),true,false)
  1448. Mesh(part,Enum.MeshType.Cylinder)
  1449. Tween(part,{Color=C3.N(1,1,1)},1,Enum.EasingStyle.Quad,Enum.EasingDirection.Out,0,false)
  1450. Effect{
  1451. Effect='ResizeAndFade',
  1452. Color=MagicVariant.Color,
  1453. Size=V3.N(data.Mesh.Scale.X/20,data.Mesh.Scale.X/20,data.Mesh.Scale.X/20),
  1454. Mesh={MeshType=Enum.MeshType.Sphere},
  1455. CFrame=CF.N(pos),
  1456. FXSettings={
  1457. EndSize=V3.N(.05,.05,.05),
  1458. EndIsIncrement=true
  1459. }
  1460. }
  1461. for i = 1, 5 do
  1462. local angles = CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180))
  1463. Effect{
  1464. Effect='Fade',
  1465. Frames=65,
  1466. Size=V3.N((data.Mesh.Scale.X/20)/2,(data.Mesh.Scale.X/20)/2,data.Mesh.Scale.X/20),
  1467. CFrame=CF.N(CF.N(pos)*angles*CF.N(0,0,-(data.Mesh.Scale.X/20)).p,pos),
  1468. Mesh = {MeshType=Enum.MeshType.Sphere},
  1469. Material=Enum.Material.Neon,
  1470. Color=MagicVariant.Color,
  1471. MoveDirection=CF.N(CF.N(pos)*angles*CF.N(0,0,-50).p,pos).p,
  1472. }
  1473. end
  1474. AOEDamage(pos,data.Mesh.Scale.X/20,15,45,0,'Normal',10,4)
  1475. coroutine.wrap(function()
  1476. local frame = (1/30)
  1477. for i = 1, 30 do
  1478. part.Transparency = (i/30)
  1479. swait()
  1480. end
  1481. part:destroy()
  1482. end)()
  1483. Attack = false
  1484. NeutralAnims = true
  1485. Root.Anchored = false
  1486. data.Destroy()
  1487. end
  1488.  
  1489. function Balls(key)
  1490. NeutralAnims = false
  1491. Attack = true
  1492. Root.Anchored = true
  1493. local data = MagicCircle{Weld=Torso,Pos=CF.N(0,0,-1),Size=5,Variant=MagicVariant,Time=.5}
  1494. local IsGrown = false
  1495. data.Grown:connect(function() IsGrown = true end)
  1496. repeat swait()
  1497. local Alpha = .1
  1498. local idk = M.R(25)
  1499. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-90)+idk),Alpha)
  1500. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(90)-idk),Alpha)
  1501. RJ.C0 = RJ.C0:lerp(RJC0,Alpha)
  1502. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1503. LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  1504. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
  1505. local LookVector = Mouse.Hit.p
  1506. Torso.CFrame = CF.N(Root.Position,LookVector)
  1507. until IsGrown
  1508. local projectiles = 5
  1509. if(S.UserInputService:IsKeyDown(key))then
  1510. local grown = 0
  1511. repeat
  1512. local Alpha = .1
  1513. local idk = M.R(25)
  1514. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-90)+idk),Alpha)
  1515. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(90)-idk),Alpha)
  1516. RJ.C0 = RJ.C0:lerp(RJC0,Alpha)
  1517. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1518. LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  1519. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
  1520. local LookVector = Mouse.Hit.p
  1521. Root.CFrame = CF.N(Root.Position,LookVector)
  1522. if(grown < 250)then
  1523. data.Grow(.05)
  1524. grown = grown + 1
  1525. projectiles = projectiles + .05
  1526. end
  1527. swait()
  1528. until not S.UserInputService:IsKeyDown(key)
  1529. end
  1530. for i = 1, math.floor(projectiles) do
  1531. data.Grow(-math.floor(projectiles)/20)
  1532. local LookVector = Mouse.Hit.p
  1533. Root.CFrame = CF.N(Root.Position,LookVector)
  1534. ShootBullet{Shape='Ball',Frames=160,Origin=data.Circle.CFrame,Speed=10}
  1535. swait(1)
  1536. end
  1537.  
  1538. Attack = false
  1539. NeutralAnims = true
  1540. Root.Anchored = false
  1541. data.Destroy()
  1542. end
  1543.  
  1544. function DLaser(key)
  1545. NeutralAnims = false
  1546. Attack = true
  1547. Root.Anchored = true
  1548. local data1 = MagicCircle{Weld=Torso,Pos=CF.N(-4,0,-4),Size=5,Variant=MagicVariant,Time=.5}
  1549. local data2 = MagicCircle{Weld=Torso,Pos=CF.N(4,0,-4),Size=5,Variant=MagicVariant,Time=.5}
  1550. local IsGrown = false
  1551. data1.Grown:connect(function() IsGrown = true end)
  1552. repeat swait()
  1553. local Alpha = .1
  1554. local idk = M.R(25)
  1555. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-90)+idk),Alpha)
  1556. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(90)-idk),Alpha)
  1557. RJ.C0 = RJ.C0:lerp(RJC0,Alpha)
  1558. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1559. LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  1560. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
  1561. local LookVector = Mouse.Hit.p
  1562. Torso.CFrame = CF.N(Root.Position,LookVector)
  1563. until IsGrown
  1564. if(S.UserInputService:IsKeyDown(key))then
  1565. local grown = 0
  1566. repeat
  1567. local Alpha = .1
  1568. local idk = M.R(25)
  1569. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-90)+idk),Alpha)
  1570. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(90)-idk),Alpha)
  1571. RJ.C0 = RJ.C0:lerp(RJC0,Alpha)
  1572. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1573. LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  1574. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
  1575. local LookVector = Mouse.Hit.p
  1576. Root.CFrame = CF.N(Root.Position,LookVector)
  1577. if(grown < 250)then
  1578. data1.Grow(.05)
  1579. data2.Grow(.05)
  1580. grown = grown + 1
  1581. end
  1582. swait()
  1583. until not S.UserInputService:IsKeyDown(key)
  1584. end
  1585. Sound(data1.Circle,340722848,1,1,false,true,true)
  1586. Sound(data2.Circle,340722848,1,1,false,true,true)
  1587. local hit,pos,norm,dist = CastRay(data1.Circle.CFrame.p,Mouse.Hit.p,1024)
  1588. local part1 = Part(Effects,MagicVariant.EffectColor or MagicVariant.Color,Enum.Material.Neon,V3.N(dist,data1.Mesh.Scale.x/40,data1.Mesh.Scale.x/40),CF.N(data1.Circle.CFrame.p,pos)*CF.N(0,0,-dist/2)*CF.A(0,M.P/2,0),true,false)
  1589. Mesh(part1,Enum.MeshType.Cylinder)
  1590.  
  1591.  
  1592. local part2 = Part(Effects,MagicVariant.EffectColor or MagicVariant.Color,Enum.Material.Neon,V3.N(dist,data2.Mesh.Scale.x/40,data2.Mesh.Scale.x/40),CF.N(data2.Circle.CFrame.p,pos)*CF.N(0,0,-dist/2)*CF.A(0,M.P/2,0),true,false)
  1593. Mesh(part2,Enum.MeshType.Cylinder)
  1594. Tween(part1,{Color=C3.N(1,1,1)},1,Enum.EasingStyle.Quad,Enum.EasingDirection.Out,0,false)
  1595. Tween(part2,{Color=C3.N(1,1,1)},1,Enum.EasingStyle.Quad,Enum.EasingDirection.Out,0,false)
  1596. Effect{
  1597. Effect='ResizeAndFade',
  1598. Color=MagicVariant.Color,
  1599. Size=V3.N(data1.Mesh.Scale.X/20,data1.Mesh.Scale.X/20,data1.Mesh.Scale.X/20),
  1600. Mesh={MeshType=Enum.MeshType.Sphere},
  1601. CFrame=CF.N(pos),
  1602. FXSettings={
  1603. EndSize=V3.N(.05,.05,.05),
  1604. EndIsIncrement=true
  1605. }
  1606. }
  1607. for i = 1, 5 do
  1608. local angles = CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180))
  1609. Effect{
  1610. Effect='Fade',
  1611. Frames=65,
  1612. Size=V3.N((data1.Mesh.Scale.X/20)/2,(data1.Mesh.Scale.X/20)/2,data1.Mesh.Scale.X/20),
  1613. CFrame=CF.N(CF.N(pos)*angles*CF.N(0,0,-(data1.Mesh.Scale.X/20)).p,pos),
  1614. Mesh = {MeshType=Enum.MeshType.Sphere},
  1615. Material=Enum.Material.Neon,
  1616. Color=MagicVariant.Color,
  1617. MoveDirection=CF.N(CF.N(pos)*angles*CF.N(0,0,-50).p,pos).p,
  1618. }
  1619. end
  1620. AOEDamage(pos,data1.Mesh.Scale.X/20,15,45,0,'Normal',10,4)
  1621. AOEDamage(pos,data2.Mesh.Scale.X/20,15,45,0,'Normal',10,4)
  1622. coroutine.wrap(function()
  1623. local frame = (1/30)
  1624. for i = 1, 30 do
  1625. part1.Transparency = (i/30)
  1626. part2.Transparency = (i/30)
  1627. swait()
  1628. end
  1629. part1:destroy()
  1630. part2:destroy()
  1631. end)()
  1632. Attack = false
  1633. NeutralAnims = true
  1634. Root.Anchored = false
  1635. data1.Destroy()
  1636. data2.Destroy()
  1637. end
  1638.  
  1639.  
  1640. function BLaser(key)
  1641. NeutralAnims = false
  1642. Attack = true
  1643. Root.Anchored = true
  1644. local data = MagicCircle{Weld=Torso,Pos=CF.N(0,0,-1),Size=15,Variant=MagicVariant,Time=.75}
  1645. local IsGrown = false
  1646. data.Grown:connect(function() IsGrown = true end)
  1647. repeat swait()
  1648. local Alpha = .1
  1649. local idk = M.R(25)
  1650. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-90)+idk),Alpha)
  1651. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(90)-idk),Alpha)
  1652. RJ.C0 = RJ.C0:lerp(RJC0,Alpha)
  1653. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1654. LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  1655. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
  1656. local LookVector = Mouse.Hit.p
  1657. Torso.CFrame = CF.N(Root.Position,LookVector)
  1658. until IsGrown
  1659. if(S.UserInputService:IsKeyDown(key))then
  1660. local grown = 0
  1661. repeat
  1662. local Alpha = .1
  1663. local idk = M.R(25)
  1664. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-90)+idk),Alpha)
  1665. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(90)-idk),Alpha)
  1666. RJ.C0 = RJ.C0:lerp(RJC0,Alpha)
  1667. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1668. LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  1669. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
  1670. local LookVector = Mouse.Hit.p
  1671. Root.CFrame = CF.N(Root.Position,LookVector)
  1672. swait()
  1673. until not S.UserInputService:IsKeyDown(key)
  1674. end
  1675.  
  1676. local hit,pos,norm,dist = CastRay(data.Circle.CFrame.p,Mouse.Hit.p,1024)
  1677. local part = Part(Effects,MagicVariant.EffectColor or MagicVariant.Color,Enum.Material.Neon,V3.N(dist,data.Mesh.Scale.x/40,data.Mesh.Scale.x/40),CF.N(data.Circle.CFrame.p,pos)*CF.N(0,0,-dist/2)*CF.A(0,M.P/2,0),true,false)
  1678. Mesh(part,Enum.MeshType.Cylinder)
  1679. Tween(part,{Color=C3.N(1,1,1)},1,Enum.EasingStyle.Quad,Enum.EasingDirection.Out,0,false)
  1680. local aa = data.Circle:Clone();
  1681. aa.Parent = Effects
  1682. aa.Anchored = true
  1683. local blast = Sound(aa,334702766,1,5,false,true,true)
  1684. data.Circle:destroy()
  1685. if(not blast.IsLoaded)then repeat swait() until blast.IsLoaded end
  1686. Effect{
  1687. Effect='ResizeAndFade',
  1688. Color=MagicVariant.Color,
  1689. Size=V3.N(data.Mesh.Scale.X/20,data.Mesh.Scale.X/20,data.Mesh.Scale.X/20),
  1690. Mesh={MeshType=Enum.MeshType.Sphere},
  1691. CFrame=CF.N(pos),
  1692. Sound=blast,
  1693. FXSettings={
  1694. EndSize=V3.N(.05,.05,.05),
  1695. EndIsIncrement=true
  1696. }
  1697. }
  1698. for i = 1, 5 do
  1699. local angles = CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180))
  1700. Effect{
  1701. Effect='Fade',
  1702. Frames=65,
  1703. Sound=blast,
  1704. Size=V3.N((data.Mesh.Scale.X/20)/2,(data.Mesh.Scale.X/20)/2,data.Mesh.Scale.X/20),
  1705. CFrame=CF.N(CF.N(pos)*angles*CF.N(0,0,-(data.Mesh.Scale.X/20)).p,pos),
  1706. Mesh = {MeshType=Enum.MeshType.Sphere},
  1707. Material=Enum.Material.Neon,
  1708. Color=MagicVariant.Color,
  1709. MoveDirection=CF.N(CF.N(pos)*angles*CF.N(0,0,-50).p,pos).p,
  1710. }
  1711. end
  1712. AOEDamage(pos,data.Mesh.Scale.X/20,45,75,0,'Normal',10,4)
  1713. coroutine.wrap(function()
  1714. for i = 1, (blast.TimeLength*Frame_Speed) do
  1715. part.Transparency = (i/(blast.TimeLength*Frame_Speed))
  1716. for _,v in next, aa:children() do if v:IsA'Decal' then v.Transparency = (i/(blast.TimeLength*Frame_Speed)) end end
  1717. swait()
  1718. end
  1719. aa:destroy()
  1720. part:destroy()
  1721. end)()
  1722.  
  1723. Attack = false
  1724. NeutralAnims = true
  1725. Root.Anchored = false
  1726. Root.Velocity = Mouse.Hit.lookVector*-125
  1727. end
  1728.  
  1729. function Skill1()
  1730. Laser(Enum.KeyCode.Q)
  1731. end
  1732.  
  1733. function Skill2()
  1734. DLaser(Enum.KeyCode.Z)
  1735. end
  1736.  
  1737. function Skill3()
  1738. BLaser(Enum.KeyCode.X)
  1739. end
  1740.  
  1741. --// Wrap it all up \\--
  1742.  
  1743. Mouse.KeyDown:connect(function(k)
  1744. if(Attack)then return end
  1745. if(k == 'q')then Skill1() end
  1746. if(k == 'z')then Skill2() end
  1747. if(k == 'x')then Skill3() end
  1748. end)
  1749.  
  1750. Plr.Chatted:connect(function(m)
  1751.  
  1752. if(m:sub(1,3) == '/e ')then
  1753. local msg = m:sub(4)
  1754. --emote commands (gotta do)
  1755. end
  1756. end)
  1757. while true do
  1758. swait()
  1759. Sine = Sine + Change
  1760.  
  1761. 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)
  1762.  
  1763. local Walking = (math.abs(Root.Velocity.x) > 1 or math.abs(Root.Velocity.z) > 1)
  1764. 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 (Hum.WalkSpeed > 24 and "Run" or "Walk") or hitfloor and "Idle")
  1765. if(not Effects or not Effects.Parent)then
  1766. Effects = IN("Model",Char)
  1767. Effects.Name = "Effects"
  1768. end
  1769. if(State == 'Run')then
  1770. local wsVal = 20 / (Hum.WalkSpeed/16)
  1771. local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1)
  1772. Change = 3
  1773. 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(15+25*M.C(Sine/wsVal))+-M.S(Sine/wsVal),0,0),Alpha)
  1774. 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(15-25*M.C(Sine/wsVal))+M.S(Sine/wsVal),0,0),Alpha)
  1775. elseif(State == 'Walk')then
  1776. local wsVal = 20 / (Hum.WalkSpeed/16)
  1777. local Alpha = math.min(.3 * (Hum.WalkSpeed/8),1)
  1778. Change = 3
  1779. RH.C1 = RH.C1:lerp(CF.N(0,1,0)*CF.N(0,0-.5*M.C(Sine/wsVal)/2,0+.6*M.C(Sine/wsVal)/2)*CF.A(M.R(15-2*M.C(Sine/wsVal))+-M.S(Sine/wsVal)/2.5,0,0),Alpha)
  1780. LH.C1 = LH.C1:lerp(CF.N(0,1,0)*CF.N(0,0+.5*M.C(Sine/wsVal)/2,0-.6*M.C(Sine/wsVal)/2)*CF.A(M.R(15+2*M.C(Sine/wsVal))+M.S(Sine/wsVal)/2.5,0,0),Alpha)
  1781. else
  1782. RH.C1 = RH.C1:lerp(CF.N(0,1,0),.2)
  1783. LH.C1 = LH.C1:lerp(CF.N(0,1,0),.2)
  1784. end
  1785.  
  1786. Hum.WalkSpeed = WalkSpeed
  1787.  
  1788. if(NeutralAnims)then
  1789. if(State == 'Idle')then
  1790. local Alpha = .1
  1791. Change = .75
  1792. RJ.C0 = RJ.C0:lerp(RJC0*CF.N(0+.2*M.C(Sine/12),.2*M.C(Sine/6),0)*CF.A(M.R(-5+5*M.C(Sine/12)),0,0),Alpha)
  1793. NK.C0 = NK.C0:lerp(NKC0*CF.A(M.R(-5+5*M.C(Sine/12)),0,0),Alpha)
  1794. LS.C0 = LS.C0:lerp(LSC0*CF.N(.25,0,0)*CF.A(M.R(-45),0,M.R(45+5*M.C(Sine/12))),Alpha)
  1795. RS.C0 = RS.C0:lerp(RSC0*CF.N(-.25,0,0)*CF.A(M.R(-45),0,M.R(-45-5*M.C(Sine/12))),Alpha)
  1796. LH.C0 = LH.C0:lerp(LHC0*CF.N(0-.2*M.C(Sine/12),-.2*M.C(Sine/6),0)*CF.A(M.R(5-5*M.C(Sine/12)),M.R(10),0),Alpha)
  1797. RH.C0 = RH.C0:lerp(RHC0*CF.N(0-.2*M.C(Sine/12),-.2*M.C(Sine/6),0)*CF.A(M.R(5-5*M.C(Sine/12)),M.R(-10),0),Alpha)
  1798. -- idle
  1799. elseif(State == 'Run')then
  1800. local wsVal = 20 / (Hum.WalkSpeed/16)
  1801. local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1)
  1802. RJ.C0 = RJ.C0:lerp(CF.N(0,0-.1*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(-15+2.5*M.C(Sine/(wsVal/2))),M.R(8*M.C(Sine/wsVal)),0),Alpha)
  1803. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1804. 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)),Alpha)
  1805. 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)),Alpha)
  1806. LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha)
  1807. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha)
  1808. elseif(State == 'Walk')then
  1809. local wsVal = 20 / (Hum.WalkSpeed/16)
  1810. local Alpha = math.min(.3 * (Hum.WalkSpeed/16),1)
  1811. RJ.C0 = RJ.C0:lerp(CF.N(0,0-.1*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(-5-2.5*M.C(Sine/(wsVal/2))),M.R(8*M.C(Sine/wsVal)),0),Alpha)
  1812. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1813. LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0,-.22*M.C(Sine/wsVal))*CF.A(M.R(37*M.C(Sine/wsVal)),0,M.R(-5)),Alpha)
  1814. RS.C0 = RS.C0:lerp(RSC0*CF.N(0,0,.22*M.C(Sine/wsVal))*CF.A(M.R(-37*M.C(Sine/wsVal)),0,M.R(5)),Alpha)
  1815. LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha)
  1816. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha)
  1817. elseif(State == 'Jump')then
  1818. local Alpha = .1
  1819. local idk = math.min(math.max(Root.Velocity.Y/50,-M.R(90)),M.R(90))
  1820. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-90)),Alpha)
  1821. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(90)),Alpha)
  1822. RJ.C0 = RJ.C0:lerp(RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
  1823. NK.C0 = NK.C0:lerp(NKC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
  1824. LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  1825. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
  1826. elseif(State == 'Fall')then
  1827. local Alpha = .1
  1828. local idk = math.min(math.max(Root.Velocity.Y/50,-M.R(90)),M.R(90))
  1829. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-90)+idk),Alpha)
  1830. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(90)-idk),Alpha)
  1831. RJ.C0 = RJ.C0:lerp(RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
  1832. NK.C0 = NK.C0:lerp(NKC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
  1833. LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  1834. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
  1835. elseif(State == 'Paralyzed')then
  1836. -- paralyzed
  1837. elseif(State == 'Sit')then
  1838. -- sit
  1839. end
  1840. end
  1841.  
  1842. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement