Advertisement
googlymoogly123

Untitled

Nov 1st, 2023
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 47.55 KB | None | 0 0
  1. HumanDied = false
  2. local CountSCIFIMOVIELOL = 1
  3. function SCIFIMOVIELOL(Part0,Part1,Position,Angle)
  4. local AlignPos = Instance.new('AlignPosition', Part1); AlignPos.Name = "AliP_"..CountSCIFIMOVIELOL
  5. AlignPos.ApplyAtCenterOfMass = true;
  6. AlignPos.MaxForce = 5772000--67752;
  7. AlignPos.MaxVelocity = math.huge/9e110;
  8. AlignPos.ReactionForceEnabled = true;
  9. AlignPos.Responsiveness = 200;
  10. AlignPos.RigidityEnabled = false;
  11. local AlignOri = Instance.new('AlignOrientation', Part1); AlignOri.Name = "AliO_"..CountSCIFIMOVIELOL
  12. AlignOri.MaxAngularVelocity = math.huge/9e110;
  13. AlignOri.MaxTorque = 5772000
  14. AlignOri.PrimaryAxisOnly = false;
  15. AlignOri.ReactionTorqueEnabled = false;
  16. AlignOri.Responsiveness = 200;
  17. AlignOri.RigidityEnabled = false;
  18. local AttachmentA=Instance.new('Attachment',Part1); AttachmentA.Name = "Ath_"..CountSCIFIMOVIELOL
  19. local AttachmentB=Instance.new('Attachment',Part0); AttachmentB.Name = "Ath_"..CountSCIFIMOVIELOL
  20. AttachmentA.Orientation = Angle or Vector3.new(0,0,0)
  21. AttachmentA.Position = Position or Vector3.new(0,0,0)
  22. AlignPos.Attachment1 = AttachmentA;
  23. AlignPos.Attachment0 = AttachmentB;
  24. AlignOri.Attachment1 = AttachmentA;
  25. AlignOri.Attachment0 = AttachmentB;
  26. CountSCIFIMOVIELOL = CountSCIFIMOVIELOL + 1
  27. return {AlignPos,AlignOri,AttachmentA,AttachmentB}
  28. end
  29.  
  30. if _G.netted ~= true then
  31. _G.netted = true
  32. coroutine.wrap(function()
  33. settings().Physics.PhysicsEnvironmentalThrottle = Enum.EnviromentalPhysicsThrottle.Disabled
  34. settings().Physics.AllowSleep = false
  35. game:GetService("RunService").RenderStepped:Connect(function()
  36. game:FindFirstChildOfClass("Players").LocalPlayer.MaximumSimulationRadius=math.pow(math.huge,math.huge)
  37. sethiddenproperty(game:FindFirstChildOfClass("Players").LocalPlayer,"SimulationRadius",math.huge*math.huge)
  38. end)
  39. end)()
  40. end
  41.  
  42. game:FindFirstChildOfClass("Players").LocalPlayer["Character"].Archivable = true
  43. local hatnameclone = {}
  44. for _,v in next, game:FindFirstChildOfClass("Players").LocalPlayer["Character"]:GetChildren() do
  45. if v:IsA("Accessory") then
  46. if hatnameclone[v.Name] then
  47. if hatnameclone[v.Name] == "s" then
  48. hatnameclone[v.Name] = {}
  49. end
  50. table.insert(hatnameclone[v.Name],v)
  51. else
  52. hatnameclone[v.Name] = "s"
  53. end
  54. end
  55. end
  56. for _,v in pairs(hatnameclone) do
  57. if type(v) == "table" then
  58. local num = 1
  59. for _,w in pairs(v) do
  60. w.Name = w.Name..num
  61. num = num + 1
  62. end
  63. end
  64. end
  65. hatnameclone = nil
  66.  
  67. local DeadChar = game:FindFirstChildOfClass("Players").LocalPlayer.Character
  68.  
  69. local fldr = Instance.new("Folder",game:FindFirstChildOfClass("Players").LocalPlayer["Character"])
  70. fldr.Name = "DMYF"
  71. local CloneChar = DeadChar:Clone()
  72. local ANIMATIONHERE
  73. if CloneChar:FindFirstChild("Animate") then
  74. ANIMATIONHERE = CloneChar:FindFirstChild("Animate"):Clone()
  75. CloneChar:FindFirstChild("Animate"):Destroy()
  76. end
  77. if CloneChar:FindFirstChildOfClass("Folder") then CloneChar:FindFirstChildOfClass("Folder"):Destroy() end
  78. if CloneChar.Torso:FindFirstChild("Neck") then
  79. local Clonessss = CloneChar.Torso:FindFirstChild("Neck"):Clone()
  80. Clonessss.Part0 = nil
  81. Clonessss.Part1 = DeadChar.Head
  82. Clonessss.Parent = DeadChar.Torso
  83. end
  84. CloneChar.Parent = fldr
  85. CloneChar.HumanoidRootPart.CFrame = DeadChar.HumanoidRootPart.CFrame
  86. CloneChar.Humanoid.BreakJointsOnDeath = false
  87. CloneChar.Name = "non"
  88. CloneChar.Humanoid.DisplayDistanceType = "None"
  89.  
  90. for _,v in next, DeadChar:GetChildren() do
  91. if v:IsA("Accessory") then
  92. local topacc = false
  93. if v.Handle:FindFirstChildOfClass("Weld") then v.Handle:FindFirstChildOfClass("Weld"):Destroy() end
  94. v.Handle.Massless = true
  95. v.Handle.CanCollide = false
  96. if v.Handle:FindFirstChildOfClass("Attachment") then
  97. local ath__ = v.Handle:FindFirstChildOfClass("Attachment")
  98. if ath__.Name == "HatAttachment" or ath__.Name == "HairAttachment" or ath__.Name == "FaceFrontAttachment" or ath__.Name == "FaceCenterAttachment" then
  99. topacc = ath__.Name
  100. end
  101. end
  102. local bv = Instance.new("BodyVelocity",v.Handle)
  103. bv.Velocity = Vector3.new(0,0,0)
  104. coroutine.wrap(function()
  105. if topacc then
  106. 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))
  107. local normaltop = allthings[1].Attachment1
  108. local alipos = allthings[1]
  109. local alirot = allthings[2]
  110. local p0 = v.Handle
  111. local p1 = DeadChar.Head
  112. alipos.Parent = CloneChar:FindFirstChild(v.Name).Handle
  113. alirot.Parent = CloneChar:FindFirstChild(v.Name).Handle
  114. while true do
  115. game:GetService("RunService").RenderStepped:wait()
  116. if HumanDied then break end
  117. coroutine.wrap(function()
  118. if alipos.Attachment1 == normaltop then
  119. p0.CFrame = p0.CFrame:lerp((((DeadChar.Torso.CFrame * CFrame.new(0,1.5,0)) * p1[topacc].CFrame) * p0[topacc].CFrame:inverse()),1)
  120. else
  121. 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)
  122. end
  123. end)()
  124. end
  125. else
  126. SCIFIMOVIELOL(v.Handle,CloneChar[v.Name].Handle,Vector3.new(0,0,0),Vector3.new(0,0,0))
  127. end
  128. end)()
  129. end
  130. end
  131.  
  132. local a = DeadChar.Torso
  133. local b = DeadChar.HumanoidRootPart
  134. local c = DeadChar.Humanoid
  135. a.Parent = game:FindFirstChildOfClass("Workspace")
  136. c.Parent = game:FindFirstChildOfClass("Workspace")
  137. local told = a:Clone()
  138. local told1 = c:Clone()
  139. b["RootJoint"].Part0 = told
  140. b["RootJoint"].Part1 = DeadChar.Head
  141. a.Name = "torso"
  142. a.Neck:Destroy()
  143. c.Name = "Mizt Hub Best"
  144. told.Parent = DeadChar
  145. told1.Parent = DeadChar
  146. DeadChar.PrimaryPart = told
  147. told1.Health = 0
  148. b:Destroy()
  149. a.Parent = DeadChar
  150. c.Parent = DeadChar
  151. told:Destroy()
  152. told1:Destroy()
  153. a.Name = "Torso"
  154.  
  155. if CloneChar.Head:FindFirstChildOfClass("Decal") then CloneChar.Head:FindFirstChildOfClass("Decal").Transparency = 1 end
  156. if DeadChar:FindFirstChild("Animate") then DeadChar:FindFirstChild("Animate"):Destroy() end
  157.  
  158. local Collider
  159. function UnCollide()
  160. if HumanDied then Collider:Disconnect(); return end
  161. --[[for _,Parts in next, CloneChar:GetChildren() do
  162. if Parts:IsA("BasePart") then
  163. Parts.CanCollide = false
  164. end
  165. end]]
  166. for _,Parts in next, DeadChar:GetChildren() do
  167. if Parts:IsA("BasePart") then
  168. Parts.CanCollide = false
  169. end
  170. end
  171. end
  172. Collider = game:GetService("RunService").Stepped:Connect(UnCollide)
  173.  
  174. local resetBindable = Instance.new("BindableEvent")
  175. resetBindable.Event:connect(function()
  176. game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
  177. resetBindable:Destroy()
  178. HumanDied = true
  179. pcall(function()
  180. game:FindFirstChildOfClass("Players").LocalPlayer.Character = DeadChar
  181. DeadChar.Head:Destroy()
  182. DeadChar:FindFirstChildOfClass("Humanoid"):Destroy()
  183. game:FindFirstChildOfClass("Players").LocalPlayer.Character = CloneChar
  184. if DeadChar:FindFirstChildOfClass("Folder") then DeadChar:FindFirstChildOfClass("Folder"):Destroy() end
  185. end)
  186. end)
  187. game:GetService("StarterGui"):SetCore("ResetButtonCallback", resetBindable)
  188.  
  189. coroutine.wrap(function()
  190. while true do
  191. game:GetService("RunService").RenderStepped:wait()
  192. if not CloneChar or not CloneChar:FindFirstChild("Head") or not CloneChar:FindFirstChildOfClass("Humanoid") or CloneChar:FindFirstChildOfClass("Humanoid").Health = End)then break end
  193. CircleM.Scale = V3.N(aa,0,aa)
  194. swait()
  195. end
  196. CircleM.Scale = V3.N(End,0,End)
  197. GrownEvent:Fire()
  198.  
  199. end)()
  200.  
  201. local Table = {
  202. Circle = Circle,
  203. Mesh = CircleM,
  204. Grow = function(size)
  205. CircleM.Scale = CircleM.Scale + V3.N(size*20,0,size*20)
  206. end,
  207. Destroy = function(timer)
  208. coroutine.wrap(function()
  209. if(not timer)then timer = 1 end
  210. Tween(CircleM,{Scale=V3.N(0,0,0)},timer,Enum.EasingStyle.Quad,Enum.EasingDirection.Out)
  211. Tween(Top,{Transparency=1},timer,Enum.EasingStyle.Quad,Enum.EasingDirection.Out)
  212. Tween(Btm,{Transparency=1},timer,Enum.EasingStyle.Quad,Enum.EasingDirection.Out)
  213. S.Debris:AddItem(Circle,timer+1)
  214. end)()
  215. end,
  216. Grown = GrownEvent.Event
  217. }
  218.  
  219. return Table;
  220. end
  221.  
  222. function Bezier(startpos, pos2, pos3, endpos, t)
  223. local A = startpos:lerp(pos2, t)
  224. local B = pos2:lerp(pos3, t)
  225. local C = pos3:lerp(endpos, t)
  226. local lerp1 = A:lerp(B, t)
  227. local lerp2 = B:lerp(C, t)
  228. local cubic = lerp1:lerp(lerp2, t)
  229. return cubic
  230. end
  231.  
  232. function SphereFX(duration,color,scale,pos,endScale,increment)
  233. return Effect{
  234. Frames=duration,
  235. Effect='ResizeAndFade',
  236. Color=color,
  237. Size=scale,
  238. Mesh={MeshType=Enum.MeshType.Sphere},
  239. CFrame=pos,
  240. FXSettings={
  241. EndSize=endScale,
  242. EndIsIncrement=increment
  243. }
  244. }
  245. end
  246.  
  247. function BlastFX(duration,color,scale,pos,endScale,increment)
  248. return Effect{
  249. Frames=duration,
  250. Effect='ResizeAndFade',
  251. Color=color,
  252. Size=scale,
  253. Mesh={MeshType=Enum.MeshType.FileMesh,MeshId='rbxassetid://20329976'},
  254. CFrame=pos,
  255. FXSettings={
  256. EndSize=endScale,
  257. EndIsIncrement=increment
  258. }
  259. }
  260. end
  261.  
  262. function BlockFX(duration,color,scale,pos,endScale,increment)
  263. return Effect{
  264. Frames=duration,
  265. Effect='ResizeAndFade',
  266. Color=color,
  267. Size=scale,
  268. CFrame=pos,
  269. FXSettings={
  270. EndSize=endScale,
  271. EndIsIncrement=increment
  272. }
  273. }
  274. end
  275.  
  276. function ShootBullet(data)
  277. --ShootBullet{Size=V3.N(3,3,3),Shape='Ball',Frames=160,Origin=data.Circle.CFrame,Speed=10}
  278. local Size = data.Size or V3.N(2,2,2)
  279. local Color = data.Color or MagicVariant.EffectColor or MagicVariant.Color
  280. local StudsPerFrame = data.Speed or 10
  281. local Shape = data.Shape or 'Ball'
  282. local Frames = data.Frames or 160
  283. local Pos = data.Origin or Torso.CFrame
  284. local Direction = data.Direction or Mouse.Hit
  285. local Material = data.Material or Enum.Material.Neon
  286. local OnHit = data.HitFunction or function(hit,pos)
  287. Effect{
  288. Effect='ResizeAndFade',
  289. Color=Color,
  290. Size=V3.N(10,10,10),
  291. Mesh={MeshType=Enum.MeshType.Sphere},
  292. CFrame=CF.N(pos),
  293. FXSettings={
  294. EndSize=V3.N(.05,.05,.05),
  295. EndIsIncrement=true
  296. }
  297. }
  298. for i = 1, 5 do
  299. local angles = CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180))
  300. Effect{
  301. Effect='Fade',
  302. Frames=65,
  303. Size=V3.N(5,5,10),
  304. CFrame=CF.N(CF.N(pos)*angles*CF.N(0,0,-10).p,pos),
  305. Mesh = {MeshType=Enum.MeshType.Sphere},
  306. Material=Enum.Material.Neon,
  307. Color=Color,
  308. MoveDirection=CF.N(CF.N(pos)*angles*CF.N(0,0,-50).p,pos).p,
  309. }
  310. end
  311. AOEDamage(pos,10,15,30,0,'Normal',10,4)
  312. end
  313.  
  314. local Bullet = Part(Effects,Color,Material,Size,Pos,true,false)
  315. local BMesh = Mesh(Bullet,Enum.MeshType.Brick,"","",V3.N(1,1,1),V3.N())
  316. if(Shape == 'Ball')then
  317. BMesh.MeshType = Enum.MeshType.Sphere
  318. elseif(Shape == 'Head')then
  319. BMesh.MeshType = Enum.MeshType.Head
  320. elseif(Shape == 'Cylinder')then
  321. BMesh.MeshType = Enum.MeshType.Cylinder
  322. end
  323.  
  324. coroutine.wrap(function()
  325. for i = 1, Frames+1 do
  326. local hit,pos,norm,dist = CastRay(Bullet.CFrame.p,CF.N(Bullet.CFrame.p,Direction.p)*CF.N(0,0,-StudsPerFrame).p,StudsPerFrame)
  327. if(hit)then
  328. OnHit(hit,pos,norm,dist)
  329. break;
  330. else
  331. Bullet.CFrame = CF.N(Bullet.CFrame.p,Direction.p)*CF.N(0,0,-StudsPerFrame)
  332. end
  333. swait()
  334. end
  335. Bullet:destroy()
  336. end)()
  337.  
  338. end
  339.  
  340. function Zap(data)
  341. local sCF,eCF = data.StartCFrame,data.EndCFrame
  342. assert(sCF,"You need a start CFrame!")
  343. assert(eCF,"You need an end CFrame!")
  344. local parts = data.PartCount or 15
  345. local zapRot = data.ZapRotation or {-5,5}
  346. local startThick = data.StartSize or 3;
  347. local endThick = data.EndSize or startThick/2;
  348. local color = data.Color or BrickColor.new'Electric blue'
  349. local delay = data.Delay or 35
  350. local delayInc = data.DelayInc or 0
  351. local lastLightning;
  352. local MagZ = (sCF.p - eCF.p).magnitude
  353. local thick = startThick
  354. local inc = (startThick/parts)-(endThick/parts)
  355.  
  356. for i = 1, parts do
  357. local pos = sCF.p
  358. if(lastLightning)then
  359. pos = lastLightning.CFrame*CF.N(0,0,MagZ/parts/2).p
  360. end
  361. delay = delay + delayInc
  362. local zapPart = Part(Effects,color,Enum.Material.Neon,V3.N(thick,thick,MagZ/parts),CF.N(pos),true,false)
  363. 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)))
  364. if(parts == i)then
  365. local MagZ = (pos-eCF.p).magnitude
  366. zapPart.Size = V3.N(endThick,endThick,MagZ)
  367. zapPart.CFrame = CF.N(pos, eCF.p)*CF.N(0,0,-MagZ/2)
  368. 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)}}
  369. else
  370. zapPart.CFrame = CF.N(pos,posie)*CF.N(0,0,MagZ/parts/2)
  371. end
  372.  
  373. lastLightning = zapPart
  374. Effect{Effect='Fade',Manual=zapPart,Frames=delay}
  375.  
  376. thick=thick-inc
  377.  
  378. end
  379. end
  380.  
  381. function Zap2(data)
  382. local Color = data.Color or BrickColor.new'Electric blue'
  383. local StartPos = data.Start or Torso.Position
  384. local EndPos = data.End or Mouse.Hit.p
  385. local SegLength = data.SegL or 2
  386. local Thicc = data.Thickness or 0.5
  387. local Fades = data.Fade or 45
  388. local Parent = data.Parent or Effects
  389. local MaxD = data.MaxDist or 200
  390. local Branch = data.Branches or false
  391. local Material = data.Material or Enum.Material.Neon
  392. local Raycasts = data.Raycasts or false
  393. local Offset = data.Offset or {0,360}
  394. local AddMesh = (data.Mesh == nil and true or data.Mesh)
  395. if((StartPos-EndPos).magnitude > MaxD)then
  396. EndPos = CF.N(StartPos,EndPos)*CF.N(0,0,-MaxD).p
  397. end
  398. local hit,pos,norm,dist=nil,EndPos,nil,(StartPos-EndPos).magnitude
  399. if(Raycasts)then
  400. hit,pos,norm,dist = CastRay(StartPos,EndPos,MaxD)
  401. end
  402. local segments = dist/SegLength
  403. local model = IN("Model",Parent)
  404. model.Name = 'Lightning'
  405. local Last;
  406. for i = 1, segments do
  407. local size = (segments-i)/25
  408. local prt = Part(model,Color,Material,V3.N(Thicc+size,SegLength,Thicc+size),CF.N(),true,false)
  409. if(AddMesh)then IN("CylinderMesh",prt) end
  410. if(Last and math.floor(segments) == i)then
  411. local MagZ = (Last.CFrame*CF.N(0,-SegLength/2,0).p-EndPos).magnitude
  412. prt.Size = V3.N(Thicc+size,MagZ,Thicc+size)
  413. 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)
  414. elseif(not Last)then
  415. prt.CFrame = CF.N(StartPos,pos)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0)
  416. else
  417. 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)
  418. end
  419. Last = prt
  420. if(Branch)then
  421. local choice = M.RNG(1,7+((segments-i)*2))
  422. if(choice == 1)then
  423. local LastB;
  424. for i2 = 1,M.RNG(2,5) do
  425. local size2 = ((segments-i)/35)/i2
  426. local prt = Part(model,Color,Material,V3.N(Thicc+size2,SegLength,Thicc+size2),CF.N(),true,false)
  427. if(AddMesh)then IN("CylinderMesh",prt) end
  428. if(not LastB)then
  429. 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)
  430. else
  431. 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)
  432. end
  433. LastB = prt
  434. end
  435. end
  436. end
  437. end
  438. if(Fades > 0)then
  439. coroutine.wrap(function()
  440. for i = 1, Fades do
  441. for _,v in next, model:children() do
  442. if(v:IsA'BasePart')then
  443. v.Transparency = (i/Fades)
  444. end
  445. end
  446. swait()
  447. end
  448. model:destroy()
  449. end)()
  450. else
  451. S.Debris:AddItem(model,.01)
  452. end
  453. return {End=(Last and Last.CFrame*CF.N(0,-Last.Size.Y/2,0).p),Last=Last,Model=model}
  454. end
  455.  
  456. function Tween(obj,props,time,easing,direction,repeats,backwards)
  457. local info = TweenInfo.new(time or .5, easing or Enum.EasingStyle.Quad, direction or Enum.EasingDirection.Out, repeats or 0, backwards or false)
  458. local tween = S.TweenService:Create(obj, info, props)
  459.  
  460. tween:Play()
  461. end
  462.  
  463. function Effect(data)
  464. local FX = data.Effect or 'ResizeAndFade'
  465. local Parent = data.Parent or Effects
  466. local Color = data.Color or C3.N(0,0,0)
  467. local Size = data.Size or V3.N(1,1,1)
  468. local MoveDir = data.MoveDirection or nil
  469. local MeshData = data.Mesh or nil
  470. local SndData = data.Sound or nil
  471. local Frames = data.Frames or 45
  472. local Manual = data.Manual or nil
  473. local Material = data.Material or Enum.Material.Neon
  474. local CFra = data.CFrame or Torso.CFrame
  475. local Settings = data.FXSettings or {}
  476. local Shape = data.Shape or Enum.PartType.Block
  477. local Snd,Prt,Msh;
  478. coroutine.wrap(function()
  479. if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then
  480. Prt = Manual
  481. else
  482. Prt = Part(Parent,Color,Material,Size,CFra,true,false)
  483. Prt.Shape = Shape
  484. end
  485. if(typeof(MeshData) == 'table')then
  486. Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset)
  487. elseif(typeof(MeshData) == 'Instance')then
  488. Msh = MeshData:Clone()
  489. Msh.Parent = Prt
  490. elseif(Shape == Enum.PartType.Block)then
  491. Msh = Mesh(Prt,Enum.MeshType.Brick)
  492. end
  493. if(typeof(SndData) == 'table')then
  494. Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true)
  495. elseif(typeof(SndData) == 'Instance')then
  496. Snd = SndData
  497. end
  498. if(Snd)then
  499. repeat swait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0
  500. Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch
  501. end
  502. Size = (Msh and Msh.Scale or Size)
  503. local grow = Size-(Settings.EndSize or (Msh and Msh.Scale or Size)/2)
  504.  
  505. local MoveSpeed = nil;
  506. if(MoveDir)then
  507. MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
  508. end
  509. if(FX ~= 'Arc')then
  510. for Frame = 1, Frames do
  511. if(FX == "Fade")then
  512. Prt.Transparency = (Frame/Frames)
  513. elseif(FX == "Resize")then
  514. if(not Settings.EndSize)then
  515. Settings.EndSize = V3.N(0,0,0)
  516. end
  517. if(Settings.EndIsIncrement)then
  518. if(Msh)then
  519. Msh.Scale = Msh.Scale + Settings.EndSize
  520. else
  521. Prt.Size = Prt.Size + Settings.EndSize
  522. end
  523. else
  524. if(Msh)then
  525. Msh.Scale = Msh.Scale - grow/Frames
  526. else
  527. Prt.Size = Prt.Size - grow/Frames
  528. end
  529. end
  530. elseif(FX == "ResizeAndFade")then
  531. if(not Settings.EndSize)then
  532. Settings.EndSize = V3.N(0,0,0)
  533. end
  534. if(Settings.EndIsIncrement)then
  535. if(Msh)then
  536. Msh.Scale = Msh.Scale + Settings.EndSize
  537. else
  538. Prt.Size = Prt.Size + Settings.EndSize
  539. end
  540. else
  541. if(Msh)then
  542. Msh.Scale = Msh.Scale - grow/Frames
  543. else
  544. Prt.Size = Prt.Size - grow/Frames
  545. end
  546. end
  547. Prt.Transparency = (Frame/Frames)
  548. end
  549. if(Settings.RandomizeCFrame)then
  550. Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
  551. end
  552. if(MoveDir and MoveSpeed)then
  553. local Orientation = Prt.Orientation
  554. Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
  555. Prt.Orientation = Orientation
  556. end
  557. swait()
  558. end
  559. Prt:destroy()
  560. else
  561. local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
  562. if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
  563. if(start and endP)then
  564. local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  565. local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  566. for Frame = 0, 1, (Settings.Speed or 0.01) do
  567. if(Settings.Home)then
  568. endP = Settings.Home.CFrame
  569. end
  570. Prt.CFrame = Bezier(start, quarter, threequarter, endP, Frame)
  571. end
  572. if(Settings.RemoveOnGoal)then
  573. Prt:destroy()
  574. end
  575. else
  576. Prt:destroy()
  577. assert(start,"You need a start position!")
  578. assert(endP,"You need a start position!")
  579. end
  580. end
  581. end)()
  582. return Prt,Msh,Snd
  583. end
  584. function SoulSteal(whom)
  585. local torso = (whom:FindFirstChild'Head' or whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso' or whom:FindFirstChild'LowerTorso' or whom:FindFirstChild'HumanoidRootPart')
  586. print(torso)
  587. if(torso and torso:IsA'BasePart')then
  588. local Model = Instance.new("Model",Effects)
  589. Model.Name = whom.Name.."'s Soul"
  590. whom:BreakJoints()
  591. local Soul = Part(Model,BrickColor.new'Really red','Glass',V3.N(.5,.5,.5),torso.CFrame,true,false)
  592. Soul.Name = 'Head'
  593. NewInstance("Humanoid",Model,{Health=0,MaxHealth=0})
  594. Effect{
  595. Effect="Arc",
  596. Manual = Soul,
  597. FXSettings={
  598. Start=torso.CFrame,
  599. Home = Torso,
  600. RemoveOnGoal = true,
  601. }
  602. }
  603. local lastPoint = Soul.CFrame.p
  604.  
  605. for i = 0, 1, 0.01 do
  606. local point = CFrame.new(lastPoint, Soul.Position) * CFrame.Angles(-math.pi/2, 0, 0)
  607. local mag = (lastPoint - Soul.Position).magnitude
  608. Effect{
  609. Effect = "Fade",
  610. CFrame = point * CF.N(0, mag/2, 0),
  611. Size = V3.N(.5,mag+.5,.5),
  612. Color = Soul.BrickColor
  613. }
  614. lastPoint = Soul.CFrame.p
  615. swait()
  616. end
  617. for i = 1, 5 do
  618. Effect{
  619. Effect="Fade",
  620. Color = BrickColor.new'Really red',
  621. MoveDirection = (Torso.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p
  622. }
  623. end
  624. end
  625. end
  626.  
  627. --// Other Functions \ --
  628.  
  629. function CastRay(startPos,endPos,range,ignoreList)
  630. local ray = Ray.new(startPos,(endPos-startPos).unit*range)
  631. local part,pos,norm = workspace:FindPartOnRayWithIgnoreList(ray,ignoreList or {Char},false,true)
  632. return part,pos,norm,(pos and (startPos-pos).magnitude)
  633. end
  634.  
  635. function CastRayInDirection(startPos,direction,range,ignoreList)
  636. local ray = Ray.new(startPos,direction*range)
  637. local part,pos,norm = workspace:FindPartOnRayWithIgnoreList(ray,ignoreList or {Char},false,true)
  638. return part,pos,norm,(pos and (startPos-pos).magnitude)
  639. end
  640.  
  641. function getRegion(point,range,ignore)
  642. return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100)
  643. end
  644.  
  645. function clerp(startCF,endCF,alpha)
  646. return startCF:lerp(endCF, alpha)
  647. end
  648.  
  649. function GetTorso(char)
  650. return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart'
  651. end
  652.  
  653. function ShowDamage(Pos, Text, Time, Color)
  654. coroutine.wrap(function()
  655. local Rate = (1 / Frame_Speed)
  656. local Pos = (Pos or Vector3.new(0, 0, 0))
  657. local Text = (Text or "")
  658. local Time = (Time or 2)
  659. local Color = (Color or Color3.new(1, 0, 1))
  660. local EffectPart = NewInstance("Part",Effects,{
  661. Material=Enum.Material.SmoothPlastic,
  662. Reflectance = 0,
  663. Transparency = 1,
  664. BrickColor = BrickColor.new(Color),
  665. Name = "Effect",
  666. Size = Vector3.new(0,0,0),
  667. Anchored = true,
  668. CFrame = CF.N(Pos)
  669. })
  670. local BillboardGui = NewInstance("BillboardGui",EffectPart,{
  671. Size = UDim2.new(1.25, 0, 1.25, 0),
  672. Adornee = EffectPart,
  673. })
  674. local TextLabel = NewInstance("TextLabel",BillboardGui,{
  675. BackgroundTransparency = 1,
  676. Size = UDim2.new(1, 0, 1, 0),
  677. Text = Text,
  678. Font = "Bodoni",
  679. TextColor3 = Color,
  680. TextStrokeColor3 = Color3.new(0,0,0),
  681. TextStrokeTransparency=0,
  682. TextScaled = true,
  683. })
  684. S.Debris:AddItem(EffectPart, (Time))
  685. EffectPart.Parent = workspace
  686. delay(0, function()
  687. Tween(EffectPart,{CFrame=CF.N(Pos)*CF.N(0,3,0)},Time,Enum.EasingStyle.Elastic,Enum.EasingDirection.Out)
  688. local Frames = (Time / Rate)
  689. for Frame = 1, Frames do
  690. swait()
  691. local Percent = (Frame / Frames)
  692. TextLabel.TextTransparency = Percent
  693. TextLabel.TextStrokeTransparency = Percent
  694. end
  695. if EffectPart and EffectPart.Parent then
  696. EffectPart:Destroy()
  697. end
  698. end) end)()
  699. end
  700.  
  701.  
  702. function DealDamage(who,minDam,maxDam,Knock,Type,critChance,critMult)
  703. if(who)then
  704. local hum = who:FindFirstChildOfClass'Humanoid'
  705. local Damage = M.RNG(minDam,maxDam)
  706. local canHit = true
  707. if(hum)then
  708. for _, p in pairs(Hit) do
  709. if p[1] == hum then
  710. if(time() - p[2] < 0.01) then
  711. canHit = false
  712. else
  713. Hit[_] = nil
  714. end
  715. end
  716. end
  717. if(canHit)then
  718. table.insert(Hit,{hum,time()})
  719. if(hum.Health >= math.huge)then
  720. who:BreakJoints()
  721. if(who:FindFirstChild'Head' and hum.Health > 0)then
  722. 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))
  723. end
  724. else
  725. local player = S.Players:GetPlayerFromCharacter(who)
  726. if(Type == "Fire")then
  727. --idk..
  728. else
  729. local c = Instance.new("ObjectValue",hum)
  730. c.Name = "creator"
  731. c.Value = Plr
  732. game:service'Debris':AddItem(c,0.35)
  733. if(M.RNG(1,100) 1)then
  734. if(who:FindFirstChild'Head' and hum.Health > 0)then
  735. 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)
  736. end
  737. hum.Health = hum.Health - Damage*(critMult or 2)
  738. else
  739. if(who:FindFirstChild'Head' and hum.Health > 0)then
  740. 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)
  741. end
  742. hum.Health = hum.Health - Damage
  743. end
  744. if(Type == 'Knockback' and GetTorso(who))then
  745. local angle = GetTorso(who).Position - Root.Position + Vector3.new(0, 0, 0).unit
  746. local body = NewInstance('BodyVelocity',GetTorso(who),{
  747. P = 500,
  748. maxForce = V3.N(math.huge,0,math.huge),
  749. velocity = Root.CFrame.lookVector * Knock + Root.Velocity / 1.05
  750. })
  751. game:service'Debris':AddItem(body,.5)
  752. elseif(Type == "Electric")then
  753. if(M.RNG(1,100) >= critChance)then
  754. if(who:FindFirstChild'Head' and hum.Health > 0)then
  755. 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)
  756. end
  757. local asd = hum.WalkSpeed/2
  758. hum.WalkSpeed = asd
  759. local paralyzed = true
  760. coroutine.wrap(function()
  761. while paralyzed do
  762. swait(25)
  763. if(M.RNG(1,25) == 1)then
  764. if(who:FindFirstChild'Head' and hum.Health > 0)then
  765. 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)
  766. end
  767. hum.PlatformStand = true
  768. end
  769. end
  770. end)()
  771. delay(4, function()
  772. paralyzed = false
  773. hum.WalkSpeed = hum.WalkSpeed + asd
  774. end)
  775. end
  776.  
  777. elseif(Type == 'Knockdown' and GetTorso(who))then
  778. local rek = GetTorso(who)
  779. hum.PlatformStand = true
  780. delay(1,function()
  781. hum.PlatformStand = false
  782. end)
  783. local angle = (GetTorso(who).Position - (Root.Position + Vector3.new(0, 0, 0))).unit
  784. local bodvol = NewInstance("BodyVelocity",rek,{
  785. velocity = angle * Knock,
  786. P = 5000,
  787. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  788. })
  789. local rl = NewInstance("BodyAngularVelocity",rek,{
  790. P = 3000,
  791. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  792. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  793. })
  794. game:GetService("Debris"):AddItem(bodvol, .5)
  795. game:GetService("Debris"):AddItem(rl, .5)
  796. end
  797. end
  798. end
  799. end
  800. end
  801. end
  802. end
  803.  
  804. function AOEDamage(where,range,minDam,maxDam,Knock,Type,critChance,critMult)
  805. for _,v in next, getRegion(where,range,{Char}) do
  806. if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')then
  807. coroutine.wrap(function() for i = 1, M.RNG(minDam,maxDam) do swait() DealDamage(v.Parent,1,1,Knock,Type,0,1) end end)()
  808. end
  809. end
  810. end
  811.  
  812. function AOEHeal(where,range,amount)
  813. local healed = {}
  814. for _,v in next, getRegion(where,range,{Char}) do
  815. local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' or nil)
  816. if(hum and not healed[hum])then
  817. hum.Health = hum.Health + amount
  818. if(v.Parent:FindFirstChild'Head' and hum.Health > 0)then
  819. 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)
  820. end
  821. end
  822. end
  823. end
  824.  
  825. function CamShake(who,times,intense,origin)
  826. coroutine.wrap(function()
  827. if(script:FindFirstChild'CamShake')then
  828. local cam = script.CamShake:Clone()
  829. cam:WaitForChild'intensity'.Value = intense
  830. cam:WaitForChild'times'.Value = times
  831.  
  832. if(origin)then NewInstance((typeof(origin) == 'Instance' and "ObjectValue" or typeof(origin) == 'Vector3' and 'Vector3Value'),cam,{Name='origin',Value=origin}) end
  833. cam.Parent = who
  834. wait()
  835. cam.Disabled = false
  836. elseif(who == Plr or who == Char)then
  837. local intensity = intense
  838. local cam = workspace.CurrentCamera
  839. for i = 1, times do
  840. local camDistFromOrigin
  841. if(typeof(origin) == 'Instance' and origin:IsA'BasePart')then
  842. camDistFromOrigin = math.floor( (cam.CFrame.p-origin.Position).magnitude )/25
  843. elseif(typeof(origin) == 'Vector3')then
  844. camDistFromOrigin = math.floor( (cam.CFrame.p-origin).magnitude )/25
  845. end
  846. if(camDistFromOrigin)then
  847. intensity = math.min(intense, math.floor(intense/camDistFromOrigin))
  848. end
  849. 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)
  850. swait()
  851. end
  852. end
  853. end)()
  854. end
  855.  
  856. function CamShakeAll(times,intense,origin)
  857. for _,v in next, Plrs:players() do
  858. CamShake(v:FindFirstChildOfClass'PlayerGui' or v:FindFirstChildOfClass'Backpack' or v.Character,times,intense,origin)
  859. end
  860. end
  861.  
  862. function ServerScript(code)
  863. if(script:FindFirstChild'Loadstring')then
  864. local load = script.Loadstring:Clone()
  865. load:WaitForChild'Sauce'.Value = code
  866. load.Disabled = false
  867. load.Parent = workspace
  868. elseif(NS and typeof(NS) == 'function')then
  869. NS(code,workspace)
  870. else
  871. warn("no serverscripts lol")
  872. end
  873. end
  874.  
  875. function LocalOnPlayer(who,code)
  876. ServerScript([[
  877. wait()
  878. script.Parent=nil
  879. if(not _G.Http)then _G.Http = game:service'HttpService' end
  880.  
  881. local Http = _G.Http or game:service'HttpService'
  882.  
  883. local source = ]].."[["..code.."]]"..[[
  884. local link = "https://api.vorth.xyz/R_API/R.UPLOAD/NEW_LOCAL.php"
  885. local asd = Http:PostAsync(link,source)
  886. repeat wait() until asd and Http:JSONDecode(asd) and Http:JSONDecode(asd).Result and Http:JSONDecode(asd).Result.Require_ID
  887. local ID = Http:JSONDecode(asd).Result.Require_ID
  888. local vs = require(ID).VORTH_SCRIPT
  889. vs.Parent = game:service'Players'.]]..who.Name..[[.Character
  890. ]])
  891. end
  892.  
  893.  
  894. --// Attack Functions \--
  895. function Laser(key)
  896. NeutralAnims = false
  897. Attack = true
  898. Root.Anchored = true
  899. local data = MagicCircle{Weld=Torso,Pos=CF.N(0,0,-4),Size=5,Variant=MagicVariant,Time=.5}
  900. local IsGrown = false
  901. data.Grown:connect(function() IsGrown = true end)
  902. repeat swait()
  903. local Alpha = .1
  904. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(125),0,0),Alpha)
  905. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(125),0,0),Alpha)
  906. RJ.C0 = RJ.C0:lerp(RJC0,Alpha)
  907. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  908. LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  909. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
  910. local LookVector = Mouse.Hit.p
  911. Torso.CFrame = CF.N(Root.Position,LookVector)
  912. until IsGrown
  913. if(S.UserInputService:IsKeyDown(key))then
  914. local grown = 0
  915. repeat
  916. local Alpha = .1
  917. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(125),0,0),Alpha)
  918. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(125),0,0),Alpha)
  919. RJ.C0 = RJ.C0:lerp(RJC0,Alpha)
  920. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  921. LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  922. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
  923. local LookVector = Mouse.Hit.p
  924. Root.CFrame = CF.N(Root.Position,LookVector)
  925. if(grown < 250)then
  926. data.Grow(.05)
  927. grown = grown + 1
  928. end
  929. swait()
  930. until not S.UserInputService:IsKeyDown(key)
  931. end
  932. Sound(data.Circle,340722848,1,1,false,true,true)
  933. local hit,pos,norm,dist = CastRay(data.Circle.CFrame.p,Mouse.Hit.p,1024)
  934. 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)
  935. Mesh(part,Enum.MeshType.Cylinder)
  936. Tween(part,{Color=C3.N(1,1,1)},1,Enum.EasingStyle.Quad,Enum.EasingDirection.Out,0,false)
  937. Effect{
  938. Effect='ResizeAndFade',
  939. Color=MagicVariant.Color,
  940. Size=V3.N(data.Mesh.Scale.X/20,data.Mesh.Scale.X/20,data.Mesh.Scale.X/20),
  941. Mesh={MeshType=Enum.MeshType.Sphere},
  942. CFrame=CF.N(pos),
  943. FXSettings={
  944. EndSize=V3.N(.05,.05,.05),
  945. EndIsIncrement=true
  946. }
  947. }
  948. for i = 1, 5 do
  949. local angles = CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180))
  950. Effect{
  951. Effect='Fade',
  952. Frames=65,
  953. Size=V3.N((data.Mesh.Scale.X/20)/2,(data.Mesh.Scale.X/20)/2,data.Mesh.Scale.X/20),
  954. CFrame=CF.N(CF.N(pos)*angles*CF.N(0,0,-(data.Mesh.Scale.X/20)).p,pos),
  955. Mesh = {MeshType=Enum.MeshType.Sphere},
  956. Material=Enum.Material.Neon,
  957. Color=MagicVariant.Color,
  958. MoveDirection=CF.N(CF.N(pos)*angles*CF.N(0,0,-50).p,pos).p,
  959. }
  960. end
  961. AOEDamage(pos,data.Mesh.Scale.X/20,15,45,0,'Normal',10,4)
  962. coroutine.wrap(function()
  963. local frame = (1/30)
  964. for i = 1, 30 do
  965. part.Transparency = (i/30)
  966. swait()
  967. end
  968. part:destroy()
  969. end)()
  970. Attack = false
  971. NeutralAnims = true
  972. Root.Anchored = false
  973. data.Destroy()
  974. end
  975.  
  976. function Balls(key)
  977. NeutralAnims = false
  978. Attack = true
  979. Root.Anchored = true
  980. local data = MagicCircle{Weld=Torso,Pos=CF.N(0,0,-1),Size=5,Variant=MagicVariant,Time=.5}
  981. local IsGrown = false
  982. data.Grown:connect(function() IsGrown = true end)
  983. repeat swait()
  984. local Alpha = .1
  985. local idk = M.R(25)
  986. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-90)+idk),Alpha)
  987. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(90)-idk),Alpha)
  988. RJ.C0 = RJ.C0:lerp(RJC0,Alpha)
  989. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  990. LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  991. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
  992. local LookVector = Mouse.Hit.p
  993. Torso.CFrame = CF.N(Root.Position,LookVector)
  994. until IsGrown
  995. local projectiles = 5
  996. if(S.UserInputService:IsKeyDown(key))then
  997. local grown = 0
  998. repeat
  999. local Alpha = .1
  1000. local idk = M.R(25)
  1001. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-90)+idk),Alpha)
  1002. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(90)-idk),Alpha)
  1003. RJ.C0 = RJ.C0:lerp(RJC0,Alpha)
  1004. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1005. LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  1006. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
  1007. local LookVector = Mouse.Hit.p
  1008. Root.CFrame = CF.N(Root.Position,LookVector)
  1009. if(grown < 250)then
  1010. data.Grow(.05)
  1011. grown = grown + 1
  1012. projectiles = projectiles + .05
  1013. end
  1014. swait()
  1015. until not S.UserInputService:IsKeyDown(key)
  1016. end
  1017. for i = 1, math.floor(projectiles) do
  1018. data.Grow(-math.floor(projectiles)/20)
  1019. local LookVector = Mouse.Hit.p
  1020. Root.CFrame = CF.N(Root.Position,LookVector)
  1021. ShootBullet{Shape='Ball',Frames=160,Origin=data.Circle.CFrame,Speed=10}
  1022. swait(1)
  1023. end
  1024.  
  1025. Attack = false
  1026. NeutralAnims = true
  1027. Root.Anchored = false
  1028. data.Destroy()
  1029. end
  1030.  
  1031. function DLaser(key)
  1032. NeutralAnims = false
  1033. Attack = true
  1034. Root.Anchored = true
  1035. local data1 = MagicCircle{Weld=Torso,Pos=CF.N(-4,0,-4),Size=5,Variant=MagicVariant,Time=.5}
  1036. local data2 = MagicCircle{Weld=Torso,Pos=CF.N(4,0,-4),Size=5,Variant=MagicVariant,Time=.5}
  1037. local IsGrown = false
  1038. data1.Grown:connect(function() IsGrown = true end)
  1039. repeat swait()
  1040. local Alpha = .1
  1041. local idk = M.R(25)
  1042. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-90)+idk),Alpha)
  1043. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(90)-idk),Alpha)
  1044. RJ.C0 = RJ.C0:lerp(RJC0,Alpha)
  1045. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1046. LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  1047. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
  1048. local LookVector = Mouse.Hit.p
  1049. Torso.CFrame = CF.N(Root.Position,LookVector)
  1050. until IsGrown
  1051. if(S.UserInputService:IsKeyDown(key))then
  1052. local grown = 0
  1053. repeat
  1054. local Alpha = .1
  1055. local idk = M.R(25)
  1056. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-90)+idk),Alpha)
  1057. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(90)-idk),Alpha)
  1058. RJ.C0 = RJ.C0:lerp(RJC0,Alpha)
  1059. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1060. LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  1061. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
  1062. local LookVector = Mouse.Hit.p
  1063. Root.CFrame = CF.N(Root.Position,LookVector)
  1064. if(grown < 250)then
  1065. data1.Grow(.05)
  1066. data2.Grow(.05)
  1067. grown = grown + 1
  1068. end
  1069. swait()
  1070. until not S.UserInputService:IsKeyDown(key)
  1071. end
  1072. Sound(data1.Circle,340722848,1,1,false,true,true)
  1073. Sound(data2.Circle,340722848,1,1,false,true,true)
  1074. local hit,pos,norm,dist = CastRay(data1.Circle.CFrame.p,Mouse.Hit.p,1024)
  1075. 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)
  1076. Mesh(part1,Enum.MeshType.Cylinder)
  1077.  
  1078.  
  1079. 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)
  1080. Mesh(part2,Enum.MeshType.Cylinder)
  1081. Tween(part1,{Color=C3.N(1,1,1)},1,Enum.EasingStyle.Quad,Enum.EasingDirection.Out,0,false)
  1082. Tween(part2,{Color=C3.N(1,1,1)},1,Enum.EasingStyle.Quad,Enum.EasingDirection.Out,0,false)
  1083. Effect{
  1084. Effect='ResizeAndFade',
  1085. Color=MagicVariant.Color,
  1086. Size=V3.N(data1.Mesh.Scale.X/20,data1.Mesh.Scale.X/20,data1.Mesh.Scale.X/20),
  1087. Mesh={MeshType=Enum.MeshType.Sphere},
  1088. CFrame=CF.N(pos),
  1089. FXSettings={
  1090. EndSize=V3.N(.05,.05,.05),
  1091. EndIsIncrement=true
  1092. }
  1093. }
  1094. for i = 1, 5 do
  1095. local angles = CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180))
  1096. Effect{
  1097. Effect='Fade',
  1098. Frames=65,
  1099. Size=V3.N((data1.Mesh.Scale.X/20)/2,(data1.Mesh.Scale.X/20)/2,data1.Mesh.Scale.X/20),
  1100. CFrame=CF.N(CF.N(pos)*angles*CF.N(0,0,-(data1.Mesh.Scale.X/20)).p,pos),
  1101. Mesh = {MeshType=Enum.MeshType.Sphere},
  1102. Material=Enum.Material.Neon,
  1103. Color=MagicVariant.Color,
  1104. MoveDirection=CF.N(CF.N(pos)*angles*CF.N(0,0,-50).p,pos).p,
  1105. }
  1106. end
  1107. AOEDamage(pos,data1.Mesh.Scale.X/20,15,45,0,'Normal',10,4)
  1108. AOEDamage(pos,data2.Mesh.Scale.X/20,15,45,0,'Normal',10,4)
  1109. coroutine.wrap(function()
  1110. local frame = (1/30)
  1111. for i = 1, 30 do
  1112. part1.Transparency = (i/30)
  1113. part2.Transparency = (i/30)
  1114. swait()
  1115. end
  1116. part1:destroy()
  1117. part2:destroy()
  1118. end)()
  1119. Attack = false
  1120. NeutralAnims = true
  1121. Root.Anchored = false
  1122. data1.Destroy()
  1123. data2.Destroy()
  1124. end
  1125.  
  1126.  
  1127. function BLaser(key)
  1128. NeutralAnims = false
  1129. Attack = true
  1130. Root.Anchored = true
  1131. local data = MagicCircle{Weld=Torso,Pos=CF.N(0,0,-1),Size=15,Variant=MagicVariant,Time=.75}
  1132. local IsGrown = false
  1133. data.Grown:connect(function() IsGrown = true end)
  1134. repeat swait()
  1135. local Alpha = .1
  1136. local idk = M.R(25)
  1137. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-90)+idk),Alpha)
  1138. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(90)-idk),Alpha)
  1139. RJ.C0 = RJ.C0:lerp(RJC0,Alpha)
  1140. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1141. LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  1142. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
  1143. local LookVector = Mouse.Hit.p
  1144. Torso.CFrame = CF.N(Root.Position,LookVector)
  1145. until IsGrown
  1146. if(S.UserInputService:IsKeyDown(key))then
  1147. local grown = 0
  1148. repeat
  1149. local Alpha = .1
  1150. local idk = M.R(25)
  1151. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-90)+idk),Alpha)
  1152. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(90)-idk),Alpha)
  1153. RJ.C0 = RJ.C0:lerp(RJC0,Alpha)
  1154. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1155. LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  1156. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
  1157. local LookVector = Mouse.Hit.p
  1158. Root.CFrame = CF.N(Root.Position,LookVector)
  1159. swait()
  1160. until not S.UserInputService:IsKeyDown(key)
  1161. end
  1162.  
  1163. local hit,pos,norm,dist = CastRay(data.Circle.CFrame.p,Mouse.Hit.p,1024)
  1164. 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)
  1165. Mesh(part,Enum.MeshType.Cylinder)
  1166. Tween(part,{Color=C3.N(1,1,1)},1,Enum.EasingStyle.Quad,Enum.EasingDirection.Out,0,false)
  1167. local aa = data.Circle:Clone();
  1168. aa.Parent = Effects
  1169. aa.Anchored = true
  1170. local blast = Sound(aa,334702766,1,5,false,true,true)
  1171. data.Circle:destroy()
  1172. if(not blast.IsLoaded)then repeat swait() until blast.IsLoaded end
  1173. Effect{
  1174. Effect='ResizeAndFade',
  1175. Color=MagicVariant.Color,
  1176. Size=V3.N(data.Mesh.Scale.X/20,data.Mesh.Scale.X/20,data.Mesh.Scale.X/20),
  1177. Mesh={MeshType=Enum.MeshType.Sphere},
  1178. CFrame=CF.N(pos),
  1179. Sound=blast,
  1180. FXSettings={
  1181. EndSize=V3.N(.05,.05,.05),
  1182. EndIsIncrement=true
  1183. }
  1184. }
  1185. for i = 1, 5 do
  1186. local angles = CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180))
  1187. Effect{
  1188. Effect='Fade',
  1189. Frames=65,
  1190. Sound=blast,
  1191. Size=V3.N((data.Mesh.Scale.X/20)/2,(data.Mesh.Scale.X/20)/2,data.Mesh.Scale.X/20),
  1192. CFrame=CF.N(CF.N(pos)*angles*CF.N(0,0,-(data.Mesh.Scale.X/20)).p,pos),
  1193. Mesh = {MeshType=Enum.MeshType.Sphere},
  1194. Material=Enum.Material.Neon,
  1195. Color=MagicVariant.Color,
  1196. MoveDirection=CF.N(CF.N(pos)*angles*CF.N(0,0,-50).p,pos).p,
  1197. }
  1198. end
  1199. AOEDamage(pos,data.Mesh.Scale.X/20,45,75,0,'Normal',10,4)
  1200. coroutine.wrap(function()
  1201. for i = 1, (blast.TimeLength*Frame_Speed) do
  1202. part.Transparency = (i/(blast.TimeLength*Frame_Speed))
  1203. for _,v in next, aa:children() do if v:IsA'Decal' then v.Transparency = (i/(blast.TimeLength*Frame_Speed)) end end
  1204. swait()
  1205. end
  1206. aa:destroy()
  1207. part:destroy()
  1208. end)()
  1209.  
  1210. Attack = false
  1211. NeutralAnims = true
  1212. Root.Anchored = false
  1213. Root.Velocity = Mouse.Hit.lookVector*-125
  1214. end
  1215.  
  1216. function Skill1()
  1217. Laser(Enum.KeyCode.Q)
  1218. end
  1219.  
  1220. function Skill2()
  1221. DLaser(Enum.KeyCode.Z)
  1222. end
  1223.  
  1224. function Skill3()
  1225. BLaser(Enum.KeyCode.X)
  1226. end
  1227.  
  1228. --// Wrap it all up \--
  1229.  
  1230. Mouse.KeyDown:connect(function(k)
  1231. if(Attack)then return end
  1232. if(k == 'q')then Skill1() end
  1233. if(k == 'z')then Skill2() end
  1234. if(k == 'x')then Skill3() end
  1235. end)
  1236.  
  1237. Plr.Chatted:connect(function(m)
  1238.  
  1239. if(m:sub(1,3) == '/e ')then
  1240. local msg = m:sub(4)
  1241. --emote commands (gotta do)
  1242. end
  1243. end)
  1244. while true do
  1245. swait()
  1246. Sine = Sine + Change
  1247.  
  1248. 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)
  1249.  
  1250. local Walking = (math.abs(Root.Velocity.x) > 1 or math.abs(Root.Velocity.z) > 1)
  1251. 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")
  1252. if(not Effects or not Effects.Parent)then
  1253. Effects = IN("Model",Char)
  1254. Effects.Name = "Effects"
  1255. end
  1256. if(State == 'Run')then
  1257. local wsVal = 20 / (Hum.WalkSpeed/16)
  1258. local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1)
  1259. Change = 3
  1260. 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)
  1261. 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)
  1262. elseif(State == 'Walk')then
  1263. local wsVal = 20 / (Hum.WalkSpeed/16)
  1264. local Alpha = math.min(.3 * (Hum.WalkSpeed/8),1)
  1265. Change = 3
  1266. 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)
  1267. 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)
  1268. else
  1269. RH.C1 = RH.C1:lerp(CF.N(0,1,0),.2)
  1270. LH.C1 = LH.C1:lerp(CF.N(0,1,0),.2)
  1271. end
  1272.  
  1273. Hum.WalkSpeed = WalkSpeed
  1274.  
  1275. if(NeutralAnims)then
  1276. if(State == 'Idle')then
  1277. local Alpha = .1
  1278. Change = .75
  1279. 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)
  1280. NK.C0 = NK.C0:lerp(NKC0*CF.A(M.R(-5+5*M.C(Sine/12)),0,0),Alpha)
  1281. 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)
  1282. 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)
  1283. 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)
  1284. 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)
  1285. -- idle
  1286. elseif(State == 'Run')then
  1287. local wsVal = 20 / (Hum.WalkSpeed/16)
  1288. local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1)
  1289. 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)
  1290. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1291. 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)
  1292. 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)
  1293. 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)
  1294. 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)
  1295. elseif(State == 'Walk')then
  1296. local wsVal = 20 / (Hum.WalkSpeed/16)
  1297. local Alpha = math.min(.3 * (Hum.WalkSpeed/16),1)
  1298. 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)
  1299. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1300. 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)
  1301. 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)
  1302. 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)
  1303. 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)
  1304. elseif(State == 'Jump')then
  1305. local Alpha = .1
  1306. local idk = math.min(math.max(Root.Velocity.Y/50,-M.R(90)),M.R(90))
  1307. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-90)),Alpha)
  1308. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(90)),Alpha)
  1309. 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)
  1310. 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)
  1311. LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  1312. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
  1313. elseif(State == 'Fall')then
  1314. local Alpha = .1
  1315. local idk = math.min(math.max(Root.Velocity.Y/50,-M.R(90)),M.R(90))
  1316. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-90)+idk),Alpha)
  1317. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(90)-idk),Alpha)
  1318. 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)
  1319. 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)
  1320. LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  1321. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
  1322. elseif(State == 'Paralyzed')then
  1323. -- paralyzed
  1324. elseif(State == 'Sit')then
  1325. -- sit
  1326. end
  1327. end
  1328.  
  1329. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement