gbman2001

Force Staff

Apr 23rd, 2018
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 82.37 KB | None | 0 0
  1. local attack = "false"
  2. local plr = game.Players.LocalPlayer
  3. local chr = plr.Character
  4. local maus = plr:GetMouse()
  5. local PGui=plr.PlayerGui
  6. local lleg = chr["Left Leg"]
  7. local rleg = chr["Right Leg"]
  8. local larm = chr["Left Arm"]
  9. local rarm = chr["Right Arm"]
  10. local hed = chr.Head
  11. local rutprt = chr.HumanoidRootPart
  12. local torso = chr.Torso
  13. local otheranims=false
  14. local armanims=false
  15. local swimming=false
  16. chr.Animate.Disabled=true
  17. local fldb={['w']=false,['a']=false,['s']=false,['d']=false}
  18. local RunSpeed=41
  19. local WlkSpeed=18
  20. local SwimSpeed=14
  21. local SwimDashSpeed=28
  22. local anim = "Idling"
  23. local lastanim = "Idling"
  24. local val = 0
  25. local syne = 0
  26. local num = 0
  27. local runtime = 0
  28. local pseudohead=hed:Clone()
  29. for i,x in pairs(pseudohead:GetChildren()) do if not x.ClassName:find('Mesh') then x:Destroy() end end
  30. pseudohead.Name='PseudoHead'
  31. pseudohead.Parent=chr.Head
  32. local pseudoweld=Instance.new('Weld',torso)
  33. pseudoweld.Part0=hed
  34. pseudoweld.Name='PseudoHedWld'
  35. pseudoweld.Part1=pseudohead
  36. hed.Transparency=1
  37.  
  38. ptez = {0.7, 0.8, 0.9, 1}
  39.  
  40. function FindNearestTorso(Position,Distance,SinglePlayer)
  41. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  42. local List = {}
  43. for i,v in pairs(workspace:GetChildren())do
  44. if v:IsA("Model")then
  45. if v:findFirstChild("Torso")then
  46. if v ~= chr then
  47. if(v.Torso.Position -Position).magnitude <= Distance then
  48. table.insert(List,v)
  49. end
  50. end
  51. end
  52. end
  53. end
  54. return List
  55. end
  56.  
  57. local acos = math.acos
  58. local sqrt = math.sqrt
  59. local Vec3 = Vector3.new
  60. local fromAxisAngle = CFrame.fromAxisAngle
  61.  
  62. local function toAxisAngle(CFr)
  63. local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
  64. local Angle = math.acos((R00+R11+R22-1)/2)
  65. local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  66. A = A == 0 and 0.00001 or A
  67. local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  68. B = B == 0 and 0.00001 or B
  69. local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  70. C = C == 0 and 0.00001 or C
  71. local x = (R21-R12)/sqrt(A)
  72. local y = (R02-R20)/sqrt(B)
  73. local z = (R10-R01)/sqrt(C)
  74. return Vec3(x,y,z),Angle
  75. end
  76.  
  77. function ApplyTrig(Num,Func)
  78. local Min,Max = Func(0),Func(1)
  79. local i = Func(Num)
  80. return (i-Min)/(Max-Min)
  81. end
  82.  
  83. function LerpCFrame(CFrame1,CFrame2,Num)
  84. local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
  85. return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
  86. end
  87.  
  88. function Crater(Torso,Radius)
  89. Spawn(function()
  90. local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10)
  91. local Ignore = {}
  92. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  93. if v.Character ~= nil then
  94. Ignore[#Ignore+1] = v.Character
  95. end
  96. end
  97. local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
  98. if Hit == nil then return end
  99. local Parts = {}
  100. for i = 1,360,10 do
  101. local P = Instance.new("Part",Torso.Parent)
  102. P.Anchored = true
  103. P.FormFactor = "Custom"
  104. P.BrickColor = Hit.BrickColor
  105. P.Material = Hit.Material
  106. P.TopSurface = "Smooth"
  107. P.BottomSurface = "Smooth"
  108. P.Size = Vector3.new(2,5,5)*(math.random(1,10)/100)
  109. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,7,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
  110. Parts[#Parts+1] = {P,P.CFrame,((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,1,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size}
  111. if math.random(0,5) == 0 then -- rubble
  112. local P = Instance.new("Part",Torso.Parent)
  113. P.Anchored = true
  114. P.FormFactor = "Custom"
  115. P.BrickColor = Hit.BrickColor
  116. P.Material = Hit.Material
  117. P.TopSurface = "Smooth"
  118. P.BottomSurface = "Smooth"
  119. P.Size = Vector3.new(1,1,1)*(math.random(1,10)/100)
  120. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,2.5,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
  121. Parts[#Parts+1] = {P,P.CFrame,(CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius-8)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size}
  122. end
  123. end
  124. for i = 0,1,0.05 do
  125. for i2,v in pairs(Parts) do
  126. v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
  127. end
  128. wait(0.02)
  129. end
  130. for i,v in pairs(Parts) do
  131. if v[1].Size.X > 2.1 then
  132. v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
  133. end
  134. v[1].Anchored = false
  135. end
  136. for i = 0,1,0.05 do
  137. for i2,v in pairs(Parts) do
  138. v[1].Transparency = i
  139. if i == 1 then
  140. v[1]:Destroy()
  141. elseif i >= 0.25 then
  142. v[1].CanCollide = false
  143. end
  144. end
  145. wait(0.02)
  146. end
  147. Parts = nil
  148. end)
  149. end
  150.  
  151. ROW = function(out, trans, s, wt, t, ang, plus)
  152. for i = 1, 360, 360/t do
  153. local c = Instance.new("Part", game.Workspace)
  154. c.FormFactor = 3
  155. c.TopSurface = 0
  156. c.BottomSurface = 0
  157. c.Size = s
  158. c.Anchored = true
  159. c.CanCollide = wt
  160. c.Material=workspace.Base.Material
  161. c.Transparency = trans
  162. c.BrickColor = workspace.Base.BrickColor
  163. c.CFrame = CFrame.new(sp2.CFrame.x,0,sp2.CFrame.z) * CFrame.Angles(0, math.rad(i + plus), 0) * CFrame.new(0, 0, out) * ang
  164. c.Locked=true
  165. game.Debris:AddItem(c,15)
  166. end
  167. end
  168.  
  169. --[[Crater(sp2,20)
  170. ROW(12, 0, Vector3.new(34.5, 30, 3), true, 8, CFrame.Angles(math.rad(math.random (30,60)),0,math.rad(math.random(-30,30))), 0)]]
  171.  
  172. local Player = game.Players.LocalPlayer
  173. local Character = Player.Character
  174. local Mouse = Player:GetMouse()
  175. local LeftArm = Character:WaitForChild("Left Arm")
  176. local RightArm = Character:WaitForChild("Right Arm")
  177. local LeftLeg = Character:WaitForChild("Left Leg")
  178. local RightLeg = Character:WaitForChild("Right Leg")
  179. local Head = Character:WaitForChild("Head")
  180. local Torso = Character:WaitForChild("Torso")
  181. z = Instance.new("Sound", torso)
  182. z.SoundId = "rbxassetid://" -- Put Music ID Here.
  183. z.Looped = true
  184. z.Pitch = 0.82
  185. z.Volume = 1
  186. wait(.1)
  187. z:Play()
  188. local RootPart = Character:WaitForChild("HumanoidRootPart")
  189. local Humanoid = Character:WaitForChild("Humanoid")
  190. local LeftShoulder = Torso:WaitForChild("Left Shoulder")
  191. local RightShoulder = Torso:WaitForChild("Right Shoulder")
  192. local LeftHip = Torso:WaitForChild("Left Hip")
  193. local RightHip = Torso:WaitForChild("Right Hip")
  194. local Neck = Torso:WaitForChild("Neck")
  195. local RootJoint = RootPart:WaitForChild("RootJoint")
  196. local Camera = workspace.CurrentCamera
  197. local FLeftShoulder, FRightShoulder = Instance.new("Weld", Torso), Instance.new("Weld", Torso)
  198. FLeftShoulder.Name = "LS"
  199. FRightShoulder.Name = "RS"
  200. local FLeftHip, FRightHip = Instance.new("Weld", Torso), Instance.new("Weld", Torso)
  201. FLeftHip.Name = "LH"
  202. FRightHip.Name = "RH"
  203. local FRootJoint = Instance.new("Weld", RootPart)
  204. FRootJoint.Name = "RJ"
  205. local F1, F2, F3 = Instance.new("Folder", Character), Instance.new("Folder"), Instance.new("Folder")
  206. F1.Name = "Parts Folder"
  207. F2.Parent = F1
  208. F2.Name = "Effects"
  209. F3.Parent = F1
  210. F3.Name = "Extra Parts"
  211. local Drag_To_Part = Instance.new("Part", F3)
  212. Drag_To_Part.Transparency = 1
  213. Drag_To_Part.Name = "Drag-to-part"
  214. Drag_To_Part.Size = Vector3.new(0.2, 0.2, 0.2)
  215. Drag_To_Part.Anchored = false
  216. Drag_To_Part.CanCollide = false
  217. Drag_To_Part.Locked = true
  218. local DTPWeld = Instance.new("Weld", Drag_To_Part)
  219. DTPWeld.Part0 = RootPart
  220. DTPWeld.Part1 = Drag_To_Part
  221. local WepWeld, WepWeld2, WepWeld3, SheWeld = nil, nil, nil, nil
  222. local NLSC0 = LeftShoulder.C0
  223. local NLSC1 = LeftShoulder.C1
  224. local NRSC0 = RightShoulder.C0
  225. local NRSC1 = RightShoulder.C1
  226. local NLHC0 = LeftHip.C0
  227. local NLHC1 = LeftHip.C1
  228. local NRHC0 = RightHip.C0
  229. local NRHC1 = RightHip.C1
  230. local NNC0 = Neck.C0
  231. local NNC1 = Neck.C1
  232. local NRJC0 = RootJoint.C0
  233. local NRJC1 = RootJoint.C1
  234. local Handle, Hit_Box, Handle2, Hit_Box2, TEHandle, TESHandle, TEHit_Box, CEP = nil, nil, nil, nil, nil, nil, nil, nil
  235. local chatServ = game:GetService("Chat")
  236. local runServ = game:GetService("RunService")
  237. local debServ = game:GetService("Debris")
  238. local CurrentSpeed = 16
  239. local Current_Anim = "Idle"
  240. local Attack_Num = 1
  241. local Damage_Buff = 0
  242. local Max_Health = 400
  243. local Last_Health = Max_Health
  244. local idle = 1
  245. local idlenum = 1
  246. local idlenum2 = 1
  247. local walk = 1
  248. local walknum = 1
  249. local walknum2 = 1
  250. local Effects = {}
  251. local DragTable = {}
  252. local InputTable = {}
  253. local InputFrameTable = {}
  254. local TEBladeP = {}
  255. local TEBEffect, c1, c2 = nil, nil, nil
  256. local RGyro = Instance.new("BodyGyro")
  257. RGyro.MaxTorque = Vector3.new(0, 0, 0)
  258. RGyro.P = 2000
  259. local LLCF = CFrame.new()
  260. local SWP = Instance.new("BoolValue")
  261. local ControlScript = Player.PlayerScripts:WaitForChild("ControlScript")
  262. local Z_Pressed = false
  263. local Debounces = {Equipped = false, Equipping = false, HasWep = false, DuelWielding = false, Attacking = false, Locked_On = false, Can_Double_Jump = false, AnimOverride = false, Guarding = false, Crouching = false, JumpAnim = false, DoubleJumpAnim = false, KeyStrokeEnabled = false, Successful_KeyStroke = false, KeyStroke_CoolDown = false, UIAction = false, ZeroGravity = false, DoubleJumping = false, Charging_Erupt = false, Guarding = false, Transformed = false, DisableJump = false, Dashing = false, Hovering = false, TEWield = false, TESWield = false, CanGuard = true, SpedUp = false, HurrSlash = false, Stompped = false}
  264. local rad = math.rad
  265. local huge = math.huge
  266. local rand = math.random
  267. local Vec = Vector3.new
  268. local Cf = CFrame.new
  269. local Euler = CFrame.fromEulerAnglesXYZ
  270. local BC = BrickColor.new
  271. local Col3 = Color3.new
  272. local Inst = Instance.new
  273. local Ud2 = UDim2.new
  274.  
  275.  
  276.  
  277. local FONT = "SourceSansLight"
  278.  
  279.  
  280. MakeText = function(text, font, duration, tcr, tcg, tcb, scr, scg, scb, cFrame)
  281. local tpart = Instance.new("Part")
  282. tpart.Parent = F2
  283. tpart.Transparency = 1
  284. tpart.Name = "hoi hoi"
  285. tpart.Anchored = true
  286. tpart.CanCollide = false
  287. tpart.Locked = true
  288. tpart.Size = Vector3.new(0.2, 0.2, 0.2)
  289. tpart.CFrame = cFrame * CFrame.new(math.random(-2, 2), 0, math.random(-2, 2))
  290. local bill = Instance.new("BillboardGui")
  291. bill.Parent = tpart
  292. bill.AlwaysOnTop = true
  293. bill.Name = "HUHHHHHNAAAA"
  294. bill.Size = UDim2.new(4, 0, 4, 0)
  295. bill.StudsOffset = Vector3.new(0, 1, 0)
  296. local counter = 0
  297. local textl = Instance.new("TextLabel")
  298. textl.Parent = bill
  299. textl.Name = "WHYYYYYYYY"
  300. textl.BackgroundTransparency = 1
  301. textl.Size = UDim2.new(1, 0, 1, 0)
  302. textl.Font = font
  303. textl.Text = text
  304. textl.TextColor3 = Color3.new(tcr / 255, tcg / 255, tcb / 255)
  305. textl.TextScaled = true
  306. textl.TextStrokeColor3 = Color3.new(scr / 255, scg / 255, scb / 255)
  307. textl.TextStrokeTransparency = 0
  308. coroutine.resume(coroutine.create(function()
  309. while textl.TextTransparency < 1 do
  310. swait()
  311. if bill.StudsOffset.Y >= 5 then
  312. if duration <= counter then
  313. textl.TextTransparency = textl.TextTransparency + 0.15
  314. textl.TextStrokeTransparency = textl.TextStrokeTransparency + 0.15
  315. end
  316. end
  317. counter = counter + 0.1
  318. bill.StudsOffset = Vector3.new(0, bill.StudsOffset.Y + 0.15, 0)
  319. end
  320. debServ:AddItem(bill, 0)
  321. debServ:AddItem(textl, 0)
  322. debServ:AddItem(tpart, 0)
  323. end))
  324. end
  325.  
  326. Apply_Buff = function(amount, duration)
  327.  
  328. coroutine.resume(coroutine.create(function()
  329.  
  330. if amount > 0 and duration > 0 then
  331. Damage_Buff = Damage_Buff + amount
  332. MakeText("+" .. amount .. " Damage", FONT, 0.3, 255, 0, 0, 0, 0, 0, RootPart.CFrame)
  333. wait(duration)
  334. Damage_Buff = Damage_Buff - amount
  335. MakeText("-" .. amount .. " Damage", FONT, 0.3, 255, 0, 0, 0, 0, 0, RootPart.CFrame)
  336. end
  337. end
  338. ))
  339. end
  340.  
  341. Apply_Health_Buff = function(amount, duration)
  342.  
  343. coroutine.resume(coroutine.create(function()
  344.  
  345. if amount > 0 and duration > 0 then
  346. Max_Health = Max_Health + amount
  347. coroutine.resume(coroutine.create(function()
  348.  
  349. wait()
  350. Humanoid.Health = Humanoid.Health + amount
  351. end
  352. ))
  353. MakeText("+" .. amount .. " Max Health", FONT, 0.3, 255, 170, 0, 0, 0, 0, RootPart.CFrame)
  354. wait(duration)
  355. Max_Health = Max_Health - amount
  356. MakeText("-" .. amount .. " Max Health", FONT, 0.3, 255, 170, 0, 0, 0, 0, RootPart.CFrame)
  357. end
  358. end
  359. ))
  360. end
  361.  
  362.  
  363. FindHum = function(parent)
  364.  
  365. local hm = nil
  366. for _,HM in pairs(parent:GetChildren()) do
  367. if HM:IsA("Humanoid") then
  368. hm = HM
  369. end
  370. end
  371. return hm
  372. end
  373.  
  374.  
  375. ArtificialHB = Instance.new("BindableEvent", script)
  376. ArtificialHB.Name = "Heartbeat"
  377. script:WaitForChild("Heartbeat")
  378. frame = 0.033333333333333
  379. tf = 0
  380. allowframeloss = false
  381. tossremainder = false
  382. lastframe = tick()
  383. script.Heartbeat:Fire()
  384. game:GetService("RunService").Heartbeat:connect(function(s, p)
  385. tf = tf + s
  386. if frame <= tf then
  387. if allowframeloss then
  388. script.Heartbeat:Fire()
  389. lastframe = tick()
  390. else
  391. for i = 1, math.floor(tf / frame) do
  392. script.Heartbeat:Fire()
  393. end
  394. lastframe = tick()
  395. end
  396. if tossremainder then
  397. tf = 0
  398. else
  399. tf = tf - frame * math.floor(tf / frame)
  400. end
  401. end
  402. end
  403. )
  404. swait = function(num)
  405. if num == 0 or num == nil then
  406. ArtificialHB.Event:wait()
  407. else
  408. for i = 0, num do
  409. ArtificialHB.Event:wait()
  410. end
  411. end
  412. end
  413.  
  414. local DamageFunction = function(Hit, IsRan, MinDam, MaxDam, HKB, Knockback, DamType, Property, Duration, HDrag, DragDuration, SoEff, SoID, SoPit, SoVol)
  415.  
  416. local humanoid = FindHum(Hit.Parent)
  417. if humanoid and humanoid ~= Humanoid then
  418. local IsSafe = true
  419. local Deb = humanoid:FindFirstChild("ChaosDebounce")
  420. if Deb then
  421. local Cre = Deb:FindFirstChild("Creator")
  422. if Cre and Cre.Value == Player.UserId then
  423. IsSafe = false
  424. end
  425. end
  426. if IsSafe then
  427. local deb = Inst("BoolValue", humanoid)
  428. deb.Name = "ChaosDebounce"
  429. local cre = Inst("NumberValue", deb)
  430. cre.Name = "Creator"
  431. cre.Value = Player.UserId
  432. debServ:AddItem(deb, Duration)
  433. debServ:AddItem(cre, Duration)
  434. local Damage = 1
  435. if IsRan then
  436. Damage = rand(MinDam, MaxDam)
  437. else
  438. Damage = MaxDam
  439. end
  440. local this_nigga_had_op_health = false
  441. if SoEff then
  442. local HitSound = Sound(Hit, "http://roblox.com/asset/?id=" .. SoID .. "", SoVol, SoPit, false)
  443. debServ:AddItem(HitSound, 6)
  444. end
  445. -- DECOMPILER ERROR at PC100: Unhandled construct in 'MakeBoolean' P1
  446.  
  447. if (DamType == "Compensate" or string.sub(DamType, 1, 10) == "Compensate") and (humanoid.MaxHealth >= 100000 or humanoid.MaxHealth == 0) then
  448. if humanoid.MaxHealth >= 1000000000 or humanoid.MaxHealth == 0 then
  449. humanoid.MaxHealth = 100
  450. this_nigga_had_op_health = true
  451. end
  452. Damage = Damage * (humanoid.MaxHealth / 100)
  453. end
  454. if humanoid.MaxHealth >= 100000000 or humanoid.MaxHealth == 0 then
  455. this_nigga_had_op_health = true
  456. humanoid.MaxHealth = 100
  457. end
  458. if Damage_Buff > 0 then
  459. Damage = Damage * Damage_Buff
  460. end
  461. humanoid.Health = humanoid.Health - Damage
  462. if humanoid.MaxHealth / 4 <= Damage then
  463. MakeText("-" .. Damage .. "", "SourceSansBold", 0.3, 170, 0, 0, 255, 85, 0, Hit.CFrame)
  464. else
  465. local mtc = BrickColor.new("Crimson").Color
  466. MakeText("-" .. Damage .. "", FONT, 0.3, mtc.r * 255, mtc.g * 255, mtc.b * 255, 0, 0, 0, Hit.CFrame)
  467. end
  468. do
  469. if HKB and (DamType ~= "SkyRocket" or DamType ~= "Compensate-SkyRocket") then
  470. if Property.Name ~= "Point" then
  471. humanoid:ChangeState(Enum.HumanoidStateType.FallingDown)
  472. local KBCF = Cf(Hit.Position, Property.Position)
  473. Hit.Velocity = KBCF.lookVector * -Knockback
  474. else
  475. do
  476. Hit.Velocity = Property.CFrame.lookVector * Knockback
  477. if (DamType == "Normal" and DamType == "Stun") or DamType == "Compensate-Stun" then
  478. MakeText("Stunned", FONT, 0.3, 255, 255, 0, 0, 0, 0, Hit.CFrame)
  479. humanoid:ChangeState(Enum.HumanoidStateType.FallingDown)
  480. local pos = Inst("BodyPosition", Hit)
  481. pos.MaxForce = Vec(huge, huge, huge)
  482. pos.Position = Hit.Position
  483. debServ:AddItem(pos, Duration * 10)
  484. else
  485. do
  486. if DamType == "LifeSteal" or DamType == "Compensate-LifeSteal" then
  487. Humanoid.Health = Humanoid.Health + Damage / 2
  488. MakeText("+" .. Damage / 2, FONT, 0.4, 0, 0, 0, 0, 255, 0, RootPart.CFrame)
  489. else
  490. if DamType == "MomentumStopper" or DamType == "Compensate-MomentumStopper" then
  491. local vel = Inst("BodyVelocity", Hit)
  492. vel.Name = "MomentumStopper"
  493. vel.MaxForce = Vec(huge, huge, huge)
  494. vel.Velocity = Vec(0, 0, 0)
  495. debServ:AddItem(vel, 3)
  496. else
  497. do
  498. if DamType == "Knockdown" or DamType == "Compensate-Knockdown" then
  499. humanoid:ChangeState(Enum.HumanoidStateType.FallingDown)
  500. else
  501. if DamType == "SkyRocket" or DamType == "Compensate-SkyRocket" then
  502. humanoid:ChangeState(Enum.HumanoidStateType.FallingDown)
  503. Hit.Velocity = Vec(0, Knockback, 0)
  504. if rand(1, 4) == 1 then
  505. local Twista = Inst("BodyAngularVelocity", Hit)
  506. Twista.MaxTorque = Vec(1000000, 1000000, 1000000)
  507. Twista.AngularVelocity = Vec(rand(-2, 2) * (Knockback / 2), rand(-2, 2) * (Knockback / 2), rand(-2, 2) * (Knockback / 2))
  508. debServ:AddItem(Twista, 0.01)
  509. end
  510. else
  511. do
  512. if DamType == "FreezeStun" or DamType == "Compensate-FreezeStun" then
  513. MakeText("Stunned", FONT, 0.3, 0, 0, 0, 255, 170, 0, Hit.CFrame)
  514. coroutine.resume(coroutine.create(function()
  515.  
  516. local ti = 0
  517. local hHead = Hit.Parent:FindFirstChild("Head")
  518. if hHead then
  519. hHead = Hit
  520. local h = Inst("Part", F2)
  521. h.Size = Vec(0.2, 0.2, 0.2)
  522. h.CanCollide = false
  523. h.Transparency = 1
  524. h.Position = hHead.Position
  525. local hWELD = Inst("Weld", h)
  526. hWELD.Part0 = hHead
  527. hWELD.Part1 = h
  528. hWELD.C0 = Cf(0, -4, 0)
  529. repeat
  530. ti = ti + 0.1
  531. for _,p in pairs(humanoid.Parent:GetChildren()) do
  532. if p:IsA("BasePart") then
  533. p.Anchored = true
  534. end
  535. end
  536. swait()
  537. humanoid:ChangeState(Enum.HumanoidStateType.FallingDown)
  538. local p1 = hHead.Position + Vec(rand(-200, 200) / 100, -(hHead.Size.y * 1.5), rand(-200, 200) / 100)
  539. local p0 = h.Position
  540. Lightning(p0, p1, 5, 3, "Deep orange", "Neon", 0.1, 0.2, 0.2)
  541. until Duration * 12 <= ti
  542. for _,p in pairs(humanoid.Parent:GetChildren()) do
  543. if p:IsA("BasePart") then
  544. p.Anchored = false
  545. end
  546. end
  547. debServ:AddItem(h, 0)
  548. end
  549. end
  550. ))
  551. else
  552. if DamType == "KnockDownFreezeStun" or DamType == "Compensate-KnockDownFreezeStun" then
  553. MakeText("Stunned", FONT, 0.3, 0, 0, 0, 255, 64, 0, Hit.CFrame)
  554. coroutine.resume(coroutine.create(function()
  555.  
  556. local ti = 0
  557. local scf = nil
  558. local h = Inst("Part", F2)
  559. h.Size = Vec(0.2, 0.2, 0.2)
  560. h.CanCollide = false
  561. h.Anchored = true
  562. h.Transparency = 1
  563. h.Position = Hit.Position
  564. h.CFrame = h.CFrame * Euler(rad(-90), 0, 0)
  565. local IL = {Character, Hit.Parent}
  566. local Ground, Pos = workspace:FindPartOnRayWithIgnoreList(Ray.new(h.Position, h.CFrame.lookVector.Unit * 999), IL, true, true)
  567. if Ground then
  568. Hit.CFrame = Cf(Pos) * Euler(rad(-90), 0, 0)
  569. scf = Cf(Pos) * Euler(rad(-90), 0, 0)
  570. end
  571. repeat
  572. ti = ti + 0.1
  573. for _,p in pairs(humanoid.Parent:GetChildren()) do
  574. if p:IsA("BasePart") then
  575. p.Anchored = true
  576. end
  577. end
  578. Hit.CFrame = scf
  579. swait()
  580. humanoid:ChangeState(Enum.HumanoidStateType.FallingDown)
  581. until Duration * 7 <= ti
  582. for _,p in pairs(humanoid.Parent:GetChildren()) do
  583. if p:IsA("BasePart") then
  584. p.Anchored = false
  585. end
  586. end
  587. debServ:AddItem(h, 0)
  588. end
  589. ))
  590. end
  591. end
  592. if HDrag then
  593. humanoid:ChangeState(Enum.HumanoidStateType.FallingDown)
  594. local pos = Inst("BodyPosition", Hit)
  595. pos.MaxForce = Vec(huge, huge, huge)
  596. pos.Position = Drag_To_Part.Position
  597. local d = Inst("NumberValue", pos)
  598. d.Name = "Duration"
  599. d.Value = DragDuration
  600. table.insert(DragTable, pos)
  601. end
  602. do
  603. if this_nigga_had_op_health then
  604. coroutine.resume(coroutine.create(function()
  605.  
  606. swait()
  607. Damage = Damage * 2
  608. humanoid.Health = humanoid.Health - Damage
  609. MakeText("-" .. Damage .. "", FONT, 0.4, 0, 0, 0, 0, 0, 91, Hit.CFrame)
  610. end
  611. ))
  612. end
  613. end
  614. end
  615. end
  616. end
  617. end
  618. end
  619. end
  620. end
  621. end
  622. end
  623. end
  624. end
  625. end
  626. end
  627. end
  628. end
  629.  
  630. MagniDamage = function(Part, range, isRan, mindam, maxdam, hkb, knock, DType, dur, hd, dd, soe, soid, sopit, sovol)
  631.  
  632. for _,c in pairs(workspace:GetChildren()) do
  633. local hum = FindHum(c)
  634. if hum and hum ~= Humanoid then
  635. local head = c:FindFirstChild("Head")
  636. local tor = c:FindFirstChild("Torso")
  637. local larm = c:FindFirstChild("Left Arm")
  638. local rarm = c:FindFirstChild("Right Arm")
  639. local lleg = c:FindFirstChild("Left Leg")
  640. local rleg = c:FindFirstChild("Right Leg")
  641. local Dis = range
  642. local Par = nil
  643. if head then
  644. local Mag = (head.Position - Part.Position).magnitude
  645. if Mag <= Dis then
  646. Dis = Mag
  647. Par = head
  648. end
  649. end
  650. if tor then
  651. local Mag = (tor.Position - Part.Position).magnitude
  652. if Mag <= Dis then
  653. Dis = Mag
  654. Par = tor
  655. end
  656. end
  657. if rarm then
  658. local Mag = (rarm.Position - Part.Position).magnitude
  659. if Mag <= Dis then
  660. Dis = Mag
  661. Par = rarm
  662. end
  663. end
  664. if larm then
  665. local Mag = (larm.Position - Part.Position).magnitude
  666. if Mag <= Dis then
  667. Dis = Mag
  668. Par = larm
  669. end
  670. end
  671. if rleg then
  672. local Mag = (rleg.Position - Part.Position).magnitude
  673. if Mag <= Dis then
  674. Dis = Mag
  675. Par = rleg
  676. end
  677. end
  678. if lleg then
  679. local Mag = (lleg.Position - Part.Position).magnitude
  680. if Mag <= Dis then
  681. Dis = Mag
  682. Par = lleg
  683. end
  684. end
  685. if Par then
  686. DamageFunction(Par, isRan, mindam, maxdam, hkb, knock, DType, Part, dur, hd, dd, soe, soid, sopit, sovol)
  687. end
  688. -- DECOMPILER ERROR at PC113: LeaveBlock: unexpected jumping out DO_STMT
  689.  
  690. -- DECOMPILER ERROR at PC113: LeaveBlock: unexpected jumping out DO_STMT
  691.  
  692. -- DECOMPILER ERROR at PC113: LeaveBlock: unexpected jumping out DO_STMT
  693.  
  694. -- DECOMPILER ERROR at PC113: LeaveBlock: unexpected jumping out DO_STMT
  695.  
  696. -- DECOMPILER ERROR at PC113: LeaveBlock: unexpected jumping out DO_STMT
  697.  
  698. -- DECOMPILER ERROR at PC113: LeaveBlock: unexpected jumping out DO_STMT
  699.  
  700. -- DECOMPILER ERROR at PC113: LeaveBlock: unexpected jumping out IF_THEN_STMT
  701.  
  702. -- DECOMPILER ERROR at PC113: LeaveBlock: unexpected jumping out IF_STMT
  703.  
  704. end
  705. end
  706. end
  707.  
  708.  
  709.  
  710.  
  711.  
  712.  
  713. CreatePart = function(className, parent, Brickcolor, Material, Transparency, Reflectance, Name, Size, Position, Rotation, MeshClass, MeshScale, MeshId, MeshType)
  714.  
  715. local Part = Instance.new(className, parent)
  716. Part.BrickColor = BrickColor.new(Brickcolor)
  717. Part.Transparency = Transparency
  718. Part.Reflectance = Reflectance
  719. Part.Material = Material
  720. Part.Name = Name
  721. Part.Anchored = true
  722. Part.CanCollide = false
  723. Part.Locked = true
  724. Part.Size = Size
  725. Part.Position = Position
  726. Part.Rotation = Rotation
  727. Part.TopSurface = "SmoothNoOutlines"
  728. Part.BottomSurface = "SmoothNoOutlines"
  729. Part.FrontSurface = "SmoothNoOutlines"
  730. Part.BackSurface = "SmoothNoOutlines"
  731. Part.RightSurface = "SmoothNoOutlines"
  732. Part.LeftSurface = "SmoothNoOutlines"
  733. local Mesh = Instance.new(MeshClass, Part)
  734. Mesh.Scale = MeshScale
  735. if MeshClass == "SpecialMesh" then
  736. Mesh.MeshId = MeshId
  737. Mesh.MeshType = MeshType
  738. end
  739. return Part
  740. end
  741.  
  742.  
  743.  
  744. rayCast = function(Pos, Dir, Max, Ignore)
  745.  
  746. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  747. end
  748.  
  749. local Point = Torso.CFrame * Cf(0, Torso.Size.Y, 0)
  750. LastPoint = Point
  751. effect = function(Color, Ref, LP, P1, returnn)
  752.  
  753. local effectsmsh = Instance.new("CylinderMesh")
  754. effectsmsh.Scale = Vector3.new(0.2, 1, 0.2)
  755. effectsmsh.Name = "Mesh"
  756. local effectsg = Instance.new("Part")
  757. effectsg.formFactor = 3
  758. effectsg.CanCollide = false
  759. effectsg.Name = "Eff"
  760. effectsg.Locked = true
  761. effectsg.Anchored = true
  762. effectsg.Size = Vector3.new(0.5, 1, 0.5)
  763. effectsg.Parent = F2
  764. effectsmsh.Parent = effectsg
  765. effectsg.BrickColor = BrickColor.new(Color)
  766. effectsg.Reflectance = Ref
  767. local point1 = P1
  768. local mg = (LP.p - point1.p).magnitude
  769. effectsg.Size = Vector3.new(0.5, mg, 0.5)
  770. effectsg.CFrame = Cf((LP.p + point1.p) / 2, point1.p) * CFrame.Angles(math.rad(90), 0, 0)
  771. effectsmsh.Scale = Vector3.new(0.2, 1, 0.2)
  772. game:GetService("Debris"):AddItem(effectsg, 2)
  773. if returnn then
  774. return effectsg
  775. end
  776. coroutine.resume(coroutine.create(function(Part, Mesh)
  777.  
  778. if not returnn then
  779. for i = 0, 1, 0.05 do
  780. swait()
  781. Part.Transparency = 1 * i
  782. Mesh.Scale = Vector3.new(0.5 - 0.5 * i, 1, 0.5 - 0.5 * i)
  783. end
  784. Part.Parent = nil
  785. end
  786. end
  787. ), effectsg, effectsmsh)
  788. end
  789.  
  790. local CFrameFromTopBack = function(at, top, back)
  791.  
  792. local right = top:Cross(back)
  793. return CFrame.new(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  794. end
  795.  
  796. NoOutline = function(Part)
  797.  
  798. Part.TopSurface = 10
  799. end
  800.  
  801. pert = function(parent, reflectance, transparency, brickcolor, name, size, material)
  802.  
  803. local fp = Inst("Part")
  804. fp.Parent = parent
  805. fp.Reflectance = reflectance
  806. fp.Transparency = transparency
  807. fp.CanCollide = false
  808. fp.Locked = true
  809. fp.BrickColor = brickcolor
  810. fp.Name = name
  811. fp.Size = size
  812. fp.Position = Torso.Position
  813. NoOutline(fp)
  814. fp.Material = material
  815. fp:BreakJoints()
  816. return fp
  817. end
  818.  
  819. mesh = function(Mesh, part, meshtype, meshid, offset, scale)
  820.  
  821. local mesh = Inst(Mesh)
  822. mesh.Parent = part
  823. if Mesh == "SpecialMesh" then
  824. mesh.MeshType = meshtype
  825. mesh.MeshId = meshid
  826. end
  827. mesh.Offset = offset
  828. mesh.Scale = scale
  829. return mesh
  830. end
  831.  
  832. MagicBlock = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, Delay)
  833.  
  834. local prt = pert(F2, 0, 0, brickcolor, "Effect", Vec(), material)
  835. prt.Anchored = true
  836. prt.CFrame = cframe
  837. local msh = mesh("BlockMesh", prt, "", "", Vec(0, 0, 0), Vec(x1, y1, z1))
  838. game:GetService("Debris"):AddItem(prt, 5)
  839. table.insert(Effects, {prt, "Block1", Delay, x3, y3, z3})
  840. end
  841.  
  842. MagicBlock2 = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, Delay)
  843.  
  844. local prt = pert(F2, 0, 0, brickcolor, "Effect", Vec(), material)
  845. prt.Anchored = true
  846. prt.CFrame = cframe
  847. local msh = mesh("BlockMesh", prt, "", "", Vec(0, 0, 0), Vec(x1, y1, z1))
  848. game:GetService("Debris"):AddItem(prt, 5)
  849. table.insert(Effects, {prt, "Disappear", Delay, x3, y3, z3})
  850. end
  851.  
  852. MagicSpikeBall = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, Delay)
  853.  
  854. local prt = pert(F2, 0, 0, brickcolor, "Effect", Vec(), material)
  855. prt.Anchored = true
  856. prt.CFrame = cframe
  857. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/Asset/?id=9982590", Vec(0, 0, 0), Vec(x1, y1, z1))
  858. game:GetService("Debris"):AddItem(prt, 5)
  859. table.insert(Effects, {prt, "Block1", Delay, x3, y3, z3})
  860. end
  861.  
  862. MagicCircle = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, Delay)
  863.  
  864. local prt = pert(F2, 0, 0, brickcolor, "Effect", Vec(), material)
  865. prt.Anchored = true
  866. prt.CFrame = cframe
  867. local msh = mesh("SpecialMesh", prt, "Sphere", "", Vec(0, 0, 0), Vec(x1, y1, z1))
  868. game:GetService("Debris"):AddItem(prt, 5)
  869. table.insert(Effects, {prt, "Cylinder", Delay, x3, y3, z3})
  870. end
  871.  
  872. MagicWave = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, Delay)
  873.  
  874. local prt = pert(F2, 0, 0, brickcolor, "Effect", Vec(), material)
  875. prt.Anchored = true
  876. prt.CFrame = cframe
  877. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", Vec(0, 0, 0), Vec(x1, y1, z1))
  878. game:GetService("Debris"):AddItem(prt, 5)
  879. table.insert(Effects, {prt, "Cylinder", Delay, x3, y3, z3})
  880. end
  881.  
  882. MagicWave2 = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, Delay)
  883.  
  884. local prt = pert(F2, 0, 0, brickcolor, "Effect", Vec(), material)
  885. prt.Anchored = true
  886. prt.CFrame = cframe
  887. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", Vec(0, 0, 0), Vec(x1, y1, z1))
  888. game:GetService("Debris"):AddItem(prt, 5)
  889. table.insert(Effects, {prt, "Wave", Delay, x3, y3, z3})
  890. end
  891.  
  892. MagicCylinder = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, Delay)
  893.  
  894. local prt = pert(F2, 0, 0, brickcolor, "Effect", Vec(0.2, 0.2, 0.2), material)
  895. prt.Anchored = true
  896. prt.CFrame = cframe
  897. local msh = mesh("SpecialMesh", prt, "Head", "", Vec(0, 0, 0), Vec(x1, y1, z1))
  898. game:GetService("Debris"):AddItem(prt, 5)
  899. Effects[#Effects + 1] = {prt, "Cylinder", Delay, x3, y3, z3}
  900. end
  901.  
  902. MagicCylinder2 = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, Delay)
  903.  
  904. local prt = pert(F2, 0, 0, brickcolor, "Effect", Vec(0.2, 0.2, 0.2), material)
  905. prt.Anchored = true
  906. prt.CFrame = cframe
  907. local msh = mesh("CylinderMesh", prt, "", "", Vec(0, 0, 0), Vec(x1, y1, z1))
  908. game:GetService("Debris"):AddItem(prt, 5)
  909. Effects[#Effects + 1] = {prt, "Cylinder", Delay, x3, y3, z3}
  910. end
  911.  
  912. MagicBlood = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, Delay)
  913.  
  914. local prt = pert(F2, 0, 0, brickcolor, "Effect", Vec(), material)
  915. prt.Anchored = true
  916. prt.CFrame = cframe
  917. local msh = mesh("SpecialMesh", prt, "Sphere", "", Vec(0, 0, 0), Vec(x1, y1, z1))
  918. game:GetService("Debris"):AddItem(prt, 5)
  919. table.insert(Effects, {prt, "Blood", Delay, x3, y3, z3})
  920. end
  921.  
  922. MagicRing = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, Delay)
  923.  
  924. local prt = pert(F2, 0, 0, brickcolor, "Effect", Vec(), material)
  925. prt.Anchored = true
  926. prt.CFrame = cframe
  927. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=3270017", Vec(0, 0, 0), Vec(x1, y1, z1))
  928. game:GetService("Debris"):AddItem(prt, 5)
  929. table.insert(Effects, {prt, "Cylinder", Delay, x3, y3, z3})
  930. end
  931.  
  932. MagicRing2 = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, Delay)
  933.  
  934. local prt = pert(F2, 0, 0, brickcolor, "Effect", Vec(), material)
  935. prt.Anchored = true
  936. prt.CFrame = cframe
  937. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=3270017", Vec(0, 0, 0), Vec(x1, y1, z1))
  938. game:GetService("Debris"):AddItem(prt, 5)
  939. table.insert(Effects, {prt, "Blood", Delay, x3, y3, z3})
  940. end
  941.  
  942. ElecEffect = function(brickCol, material, cff, x, y, z)
  943.  
  944. local prt = pert(F2, 0, 0, brickCol, "Part", Vec(1, 1, 1), material)
  945. prt.Anchored = true
  946. prt.CFrame = cff * Cf(rand(-x, x), rand(-y, y), rand(-z, z))
  947. prt.CFrame = Cf(prt.Position)
  948. debServ:AddItem(prt, 2)
  949. local xval = math.random() / 2
  950. local yval = math.random() / 2
  951. local zval = math.random() / 2
  952. local msh = mesh("BlockMesh", prt, "", "", Vec(0, 0, 0), Vec(xval, yval, zval))
  953. Effects[#Effects + 1] = {prt, "Elec", 0.1, x, y, z, xval, yval, zval}
  954. end
  955.  
  956. Lightning = function(p0, p1, tym, ofs, col, mat, th, tra, last)
  957.  
  958. local magz = (p0 - p1).magnitude
  959. local curpos = p0
  960. local trz = {-ofs, ofs}
  961. for i = 1, tym do
  962. local li = Instance.new("Part", F2)
  963. li.TopSurface = 0
  964. li.BottomSurface = 0
  965. li.Anchored = true
  966. li.Transparency = tra or 0.4
  967. li.BrickColor = BrickColor.new(col)
  968. li.Material = mat
  969. li.Material = "Neon"
  970. li.formFactor = "Custom"
  971. li.CanCollide = false
  972. li.Size = Vector3.new(th, th, magz / tym)
  973. local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  974. local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  975. if tym == i then
  976. local magz2 = (curpos - p1).magnitude
  977. li.Size = Vector3.new(th, th, magz2)
  978. li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  979. game:GetService("Debris"):AddItem(li, last)
  980. else
  981. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  982. curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  983. game:GetService("Debris"):AddItem(li, last)
  984. end
  985. end
  986. end
  987.  
  988. Triangle = function(a, b, c, tcol, tmat)
  989.  
  990. local edg1 = (c-a):Dot((b-a).unit)
  991. local edg2 = (a-b):Dot((c-b).unit)
  992. local edg3 = (b-c):Dot((a-c).unit)
  993. if edg1 <= (b - a).magnitude and edg1 >= 0 then
  994. a = a
  995. elseif edg2 <= (c - b).magnitude and edg2 >= 0 then
  996. a = b
  997. elseif edg3 <= (a - c).magnitude and edg3 >= 0 then
  998. a = c
  999. else
  1000. return
  1001. end
  1002. local len1 = (c-a):Dot((b-a).unit)
  1003. local len2 = (b-a).magnitude - len1
  1004. local width = (a + (b-a).unit*len1 - c).magnitude
  1005. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1006. local list = {}
  1007. if len1 > 0.01 then
  1008. local w1 = Inst("WedgePart", F2)
  1009. w1.Material = tmat
  1010. w1.BrickColor = BC(tcol)
  1011. w1.Transparency = 0
  1012. w1.Reflectance = 0
  1013. w1.CanCollide = false
  1014. NoOutline(w1)
  1015. local sz = Vec(0.2, width, len1)
  1016. w1.Size = sz
  1017. local sp = Inst("SpecialMesh", w1)
  1018. sp.MeshType = "Wedge"
  1019. sp.Scale = Vec(0, 1, 1) * sz / w1.Size
  1020. w1:BreakJoints()
  1021. w1.Anchored = true
  1022. w1.Transparency = 0.7
  1023. debServ:AddItem(w1, 25)
  1024. table.insert(Effects, {w1, "Disappear", 0.045})
  1025. w1.CFrame = maincf * CFrame.Angles(math.pi, 0, math.pi / 2) * CFrame.new(0, width / 2, len1 / 2)
  1026. table.insert(list, w1)
  1027. end
  1028. if len2 > 0.01 then
  1029. local w2 = Inst("WedgePart", F2)
  1030. w2.Material = tmat
  1031. w2.BrickColor = BC(tcol)
  1032. w2.Transparency = 0
  1033. w2.Reflectance = 0
  1034. w2.CanCollide = false
  1035. NoOutline(w2)
  1036. local sz = Vec(0.2, width, len2)
  1037. w2.Size = sz
  1038. local sp = Inst("SpecialMesh", w2)
  1039. sp.MeshType = "Wedge"
  1040. sp.Scale = Vec(0, 1, 1) * sz / w2.Size
  1041. w2:BreakJoints()
  1042. w2.Anchored = true
  1043. w2.Transparency = 0.7
  1044. debServ:AddItem(w2, 25)
  1045. table.insert(Effects, {w2, "Disappear", 0.045})
  1046. w2.CFrame = maincf * CFrame.Angles(math.pi, math.pi, -math.pi / 2) * CFrame.new(0, width / 2, -len1 - len2 / 2)
  1047. table.insert(list, w2)
  1048. end
  1049. return unpack(list)
  1050. end
  1051.  
  1052.  
  1053. runServ.RenderStepped:connect(function()
  1054. if #Effects > 0 then
  1055. for e = 1, #Effects do
  1056. if Effects[e] ~= nil then
  1057. local Thing = Effects[e]
  1058. if Thing ~= nil then
  1059. local Part = Thing[1]
  1060. local Mode = Thing[2]
  1061. local Delay = Thing[3]
  1062. local IncX = Thing[4]
  1063. local IncY = Thing[5]
  1064. local IncZ = Thing[6]
  1065. if Thing[1].Transparency <= 1 then
  1066. if Thing[2] == "Block1" then
  1067. Thing[1].CFrame = Thing[1].CFrame * Euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1068. Mesh = Thing[1]:FindFirstChild("Mesh")
  1069. if not Mesh then
  1070. Mesh = Instance.new("BlockMesh")
  1071. end
  1072. Mesh.Scale = Mesh.Scale + Vec(Thing[4], Thing[5], Thing[6])
  1073. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1074. elseif Thing[2] == "Wave" then
  1075. Thing[1].CFrame = Thing[1].CFrame * CFrame.Angles(0, rad(10), 0)
  1076. Mesh = Thing[1]:FindFirstChild("Mesh")
  1077. if not Mesh then
  1078. Mesh = Instance.new("BlockMesh")
  1079. end
  1080. Mesh.Scale = Mesh.Scale + Vec(Thing[4], Thing[5], Thing[6])
  1081. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1082. elseif Thing[2] == "Cylinder" then
  1083. Mesh = Thing[1]:FindFirstChild("Mesh")
  1084. if not Mesh then
  1085. Mesh = Instance.new("BlockMesh")
  1086. end
  1087. Mesh.Scale = Mesh.Scale + Vec(Thing[4], Thing[5], Thing[6])
  1088. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1089. elseif Thing[2] == "Blood" then
  1090. Mesh = Thing[1]:FindFirstChild("Mesh")
  1091. if not Mesh then
  1092. Mesh = Instance.new("BlockMesh")
  1093. end
  1094. Thing[1].CFrame = Thing[1].CFrame * Cf(0, 0.5, 0)
  1095. Mesh.Scale = Mesh.Scale + Vec(Thing[4], Thing[5], Thing[6])
  1096. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1097. elseif Thing[2] == "Elec" then
  1098. Mesh = Thing[1]:FindFirstChild("Mesh")
  1099. if not Mesh then
  1100. Mesh = Instance.new("BlockMesh")
  1101. end
  1102. Mesh.Scale = Mesh.Scale + Vec(Thing[7], Thing[8], Thing[9])
  1103. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1104. elseif Thing[2] == "Disappear" then
  1105. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1106. end
  1107. else
  1108. Part.Parent = nil
  1109. debServ:AddItem(Part, 0)
  1110. table.remove(Effects, e)
  1111. end
  1112. end
  1113. end
  1114. end
  1115. end
  1116. end)
  1117.  
  1118.  
  1119.  
  1120.  
  1121.  
  1122.  
  1123. maus.KeyDown:connect(function(kei)
  1124. if string.byte(kei)==48 and not otheranims then
  1125. runnin=true
  1126. end
  1127. if kei=='w' then fldb.w=true end
  1128. if kei=='a' then fldb.a=true end
  1129. if kei=='s' then fldb.s=true end
  1130. if kei=='d' then fldb.d=true end
  1131. end)
  1132. maus.KeyUp:connect(function(kei)
  1133. if string.byte(kei)==48 and not otheranims then
  1134. runnin=false
  1135. end
  1136. if kei=='w' then fldb.w=false end
  1137. if kei=='a' then fldb.a=false end
  1138. if kei=='s' then fldb.s=false end
  1139. if kei=='d' then fldb.d=false end
  1140. end)
  1141.  
  1142.  
  1143.  
  1144.  
  1145.  
  1146. coroutine.wrap(function()
  1147. for i,x in pairs(hed:GetChildren()) do if x:IsA('Sound') then x:Destroy() end end end)()
  1148. function Lerp(a, b, i)
  1149. local com1 = {a.X, a.Y, a.Z, a:toEulerAnglesXYZ()}
  1150. local com2 = {b.X, b.Y, b.Z, b:toEulerAnglesXYZ()}
  1151. local calx = com1[1] + (com2[1] - com1[1]) * i
  1152. local caly = com1[2] + (com2[2] - com1[2]) * i
  1153. local calz = com1[3] + (com2[3] - com1[3]) * i
  1154. local cala = com1[4] + (com2[4] - com1[4]) * i
  1155. local calb = com1[5] + (com2[5] - com1[5]) * i
  1156. local calc = com1[6] + (com2[6] - com1[6]) * i
  1157. return CFrame.new(calx, caly, calz) * CFrame.Angles(cala, calb, calc)
  1158. end
  1159. function TwnSingleNumber(s,f,m)
  1160. local wot=s+(f-s)*m
  1161. return wot
  1162. end
  1163. function TwnVector3(q,w,e)
  1164. local begin={q.x,q.y,q.z}
  1165. local ending={w.x,w.y,w.z}
  1166. local bgx=begin[1]+(ending[1]-begin[1])*e
  1167. local bgy=begin[2]+(ending[2]-begin[2])*e
  1168. local bgz=begin[3]+(ending[3]-begin[3])*e
  1169. return Vector3.new(bgx,bgy,bgz)
  1170. end
  1171. newWeld = function(wld, wp0, wp1, wc0x, wc0y, wc0z)
  1172. wld = Instance.new("Weld", wp1)
  1173. wld.Part0 = wp0
  1174. wld.Part1 = wp1
  1175. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  1176. end
  1177.  
  1178. local angles = CFrame.Angles
  1179. function clerp(a, b, t)
  1180. return a:lerp(b, t)
  1181. end
  1182. newWeld = function(wld, wp0, wp1, wc0x, wc0y, wc0z)
  1183. wld = Instance.new("Weld", wp1)
  1184. wld.Part0 = wp0
  1185. wld.Part1 = wp1
  1186. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  1187. end
  1188. newWeld(law, torso, larm, -1.5, 0.5, 0)
  1189. newWeld(raw, torso, rarm, 1.5, 0.5, 0)
  1190. newWeld(llw, torso, lleg, -.5, -2, 0)
  1191. newWeld(rlw, torso, rleg, .5, -2, 0)
  1192. newWeld(hw, torso, hed, 0, 1.5, 0)
  1193. local rutwald=Instance.new('Weld',rutprt)
  1194. rutwald.Part0=rutprt
  1195. rutwald.Part1=torso
  1196. rutprt.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),0)
  1197. larm.Weld.C1 = CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),0,0)
  1198. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),0,0)
  1199. rleg.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,0)
  1200. lleg.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,0)
  1201.  
  1202. local function setupPart(part)
  1203. part.Anchored = true
  1204. part.FormFactor = 'Custom'
  1205. part.CanCollide = false
  1206. part.BrickColor = BrickColor.new("Dark indigo")
  1207. part.Material = "Neon"
  1208. part.TopSurface = 'SmoothNoOutlines'
  1209. part.BottomSurface = 'SmoothNoOutlines'
  1210. part.FrontSurface = 'SmoothNoOutlines'
  1211. part.BackSurface = 'SmoothNoOutlines'
  1212. part.LeftSurface = 'SmoothNoOutlines'
  1213. part.RightSurface = 'SmoothNoOutlines'
  1214. end
  1215.  
  1216. function CFrameFromTopBack(at, top, back)
  1217. local right = top:Cross(back)
  1218. return CFrame.new(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  1219. end
  1220.  
  1221. function CreateTriangle(parent, a, b, c)
  1222. local this = {}
  1223. local mPart1 = Instance.new('WedgePart')
  1224. setupPart(mPart1)
  1225. local mPart2 = Instance.new('WedgePart')
  1226. setupPart(mPart2)
  1227. function this:Set(a, b, c) --[[ edg1 A ------|------>B --. '\ | / \ \part1|part2/ | \ cut / / Direction edges point in: edg3 \ / edg2 / (clockwise) \ / |/ \<- / ` \ / C --]]
  1228. local ab, bc, ca = b-a, c-b, a-c local abm, bcm, cam = ab.magnitude, bc.magnitude, ca.magnitude
  1229. local edg1 = math.abs(0.5 + ca:Dot(ab)/(abm*abm))
  1230. local edg2 = math.abs(0.5 + ab:Dot(bc)/(bcm*bcm))
  1231. local edg3 = math.abs(0.5 + bc:Dot(ca)/(cam*cam))
  1232. if edg1 < edg2 then
  1233. if edg1 < edg3 then
  1234. -- nothing to change
  1235. else
  1236. a, b, c = c, a, b
  1237. ab, bc, ca = ca, ab, bc
  1238. abm = cam
  1239. end
  1240. else
  1241. if edg2 < edg3 then
  1242. a, b, c = b, c, a
  1243. ab, bc, ca = bc, ca, ab
  1244. abm = bcm
  1245. else
  1246. a, b, c = c, a, b
  1247. ab, bc, ca = ca, ab, bc
  1248. abm = cam
  1249. end
  1250. end
  1251.  
  1252. local len1 = -ca:Dot(ab)/abm local len2 = abm - len1 local width = (ca + ab.unit*len1).magnitude
  1253. local maincf = CFrameFromTopBack(a, ab:Cross(bc).unit, -ab.unit)
  1254.  
  1255. mPart1.Parent = parent
  1256. mPart1.Size = Vector3.new(1,1,1)
  1257. mPart1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1258. local Mesh = Instance.new("SpecialMesh",mPart1)
  1259. Mesh.MeshType = "Wedge"
  1260. Mesh.Scale = Vector3.new(0.005, width, len1)
  1261.  
  1262. mPart2.Parent = parent
  1263. mPart2.Size = Vector3.new(1,1,1)
  1264. mPart2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1265. local Mesh = Instance.new("SpecialMesh",mPart2)
  1266. Mesh.MeshType = "Wedge"
  1267. Mesh.Scale = Vector3.new(0.005, width, len2)
  1268. end
  1269.  
  1270. function this:SetProperty(prop, value)
  1271. mPart1[prop] = value
  1272. mPart2[prop] = value
  1273. end
  1274.  
  1275. function this:GetProperty(prop)
  1276. return mPart1[prop]
  1277. end
  1278.  
  1279. this:Set(a, b, c)
  1280. function this:Destroy()
  1281. mPart1:Destroy()
  1282. mPart2:Destroy()
  1283. end
  1284. return this
  1285. end
  1286. function CreateTrail(Adornee, Axis)
  1287. local Axis = Axis or "X"
  1288.  
  1289. local trail = {}
  1290. trail.Triangles = {}
  1291. trail.Adornee = Adornee
  1292. trail.Axis = Axis
  1293.  
  1294. local L1, L2
  1295.  
  1296. function trail:Fade(speed)
  1297. local speed = speed or 0.01
  1298.  
  1299. for n, v in pairs(trail.Triangles) do
  1300. v:SetProperty("Transparency", v:GetProperty("Transparency") + speed)
  1301. if v:GetProperty("Transparency") >= 1 then
  1302. v:Destroy()
  1303.  
  1304. table.remove(trail.Triangles, n)
  1305. end
  1306. end
  1307. end
  1308.  
  1309. function trail:Update()
  1310. local adornee = trail.Adornee
  1311.  
  1312. local axis = trail.Axis
  1313. local Size = Vector3.new((axis == "X" and adornee.Size.X or 0), (axis == "Y" and adornee.Size.Y or 0), (axis == "Z" and adornee.Size.Z or 0))
  1314. local P1 = adornee.CFrame * CFrame.new(Size / 2)
  1315. local P2 = adornee.CFrame * CFrame.new(Size / -2)
  1316.  
  1317. if L1 and L2 then
  1318. table.insert(trail.Triangles, CreateTriangle(adornee, L1.p, L2.p, P1.p))
  1319. table.insert(trail.Triangles, CreateTriangle(adornee, P1.p, P2.p, L2.p))
  1320. end
  1321.  
  1322. L1, L2 = P1, P2
  1323. end
  1324.  
  1325. return trail
  1326. end
  1327.  
  1328.  
  1329.  
  1330.  
  1331.  
  1332.  
  1333. Player=game:GetService('Players').LocalPlayer
  1334. Character=Player.Character
  1335. Mouse=Player:GetMouse()
  1336. m=Instance.new('Model',Character)
  1337.  
  1338.  
  1339. local function weldBetween(a, b)
  1340. local weldd = Instance.new("ManualWeld")
  1341. weldd.Part0 = a
  1342. weldd.Part1 = b
  1343. weldd.C0 = CFrame.new()
  1344. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1345. weldd.Parent = a
  1346. return weldd
  1347. end
  1348.  
  1349. it=Instance.new
  1350.  
  1351. function nooutline(part)
  1352. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  1353. end
  1354.  
  1355. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  1356. local fp=it("Part")
  1357. fp.formFactor=formfactor
  1358. fp.Parent=parent
  1359. fp.Reflectance=reflectance
  1360. fp.Transparency=transparency
  1361. fp.CanCollide=false
  1362. fp.Locked=true
  1363. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  1364. fp.Name=name
  1365. fp.Size=size
  1366. fp.Position=Character.Torso.Position
  1367. nooutline(fp)
  1368. fp.Material=material
  1369. fp:BreakJoints()
  1370. return fp
  1371. end
  1372.  
  1373. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1374. local mesh=it(Mesh)
  1375. mesh.Parent=part
  1376. if Mesh=="SpecialMesh" then
  1377. mesh.MeshType=meshtype
  1378. mesh.MeshId=meshid
  1379. end
  1380. mesh.Offset=offset
  1381. mesh.Scale=scale
  1382. return mesh
  1383. end
  1384.  
  1385. function weld(parent,part0,part1,c0,c1)
  1386. local weld=it("Weld")
  1387. weld.Parent=parent
  1388. weld.Part0=part0
  1389. weld.Part1=part1
  1390. weld.C0=c0
  1391. weld.C1=c1
  1392. return weld
  1393. end
  1394.  
  1395.  
  1396.  
  1397.  
  1398.  
  1399. handle=part(Enum.FormFactor.Brick,m,Enum.Material.Granite,0,1,"Nougat","Handle",Vector3.new(1.60000002, 0.200000003, 0.200000003))
  1400. handleweld=weld(m,Character["Right Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0195121765, 1.00891566, 0.00454330444, 0.000431999884, 0.000514999847, -0.999999762, -2.89999916e-005, 0.999999762, 0.000514987449, 0.999999881, 2.87775056e-005, 0.000432014756))
  1401. Part=part(Enum.FormFactor.Brick,m,Enum.Material.Granite,0,0,"Maroon","Part",Vector3.new(1, 1, 0.200000003))
  1402. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.42999268, 0.000979423523, 0.00117683411, -1, 1.16415322e-010, 0, 0, -2.22473147e-007, -0.99999994, 1.16415322e-010, -0.999999762, 2.22488154e-007))
  1403. mesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 0.5, 1.14999998))
  1404. Part=part(Enum.FormFactor.Brick,m,Enum.Material.Granite,0,0,"Nougat","Part",Vector3.new(0.199999988, 0.199999988, 0.199999988))
  1405. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.700004578, 0.000138282776, 3.14712524e-005, 0.999999344, -0.00103198539, -0.00049302954, 0.00103225536, 0.999999166, 0.000547553995, 0.000492464169, -0.00054806238, 0.999999762))
  1406. mesh("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.800000012, 1.10000002, 1.10000002))
  1407. Part=part(Enum.FormFactor.Brick,m,Enum.Material.Granite,0,0,"Nougat","Part",Vector3.new(0.199999988, 0.199999988, 0.199999988))
  1408. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.699996948, 0.000144481659, 6.67572021e-006, 0.999999344, -0.00103198539, -0.00049302954, 0.00103225536, 0.999999166, 0.000547553995, 0.000492464169, -0.00054806238, 0.999999762))
  1409. mesh("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.800000012, 1.10000002, 1.10000002))
  1410. Part=part(Enum.FormFactor.Brick,m,Enum.Material.Granite,0,0,"Nougat","Part",Vector3.new(0.199999988, 0.199999988, 0.199999988))
  1411. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.5, 0.000144958496, 6.67572021e-006, 0.999999344, -0.00103198539, -0.00049302954, 0.00103225536, 0.999999166, 0.000547553995, 0.000492464169, -0.00054806238, 0.999999762))
  1412. mesh("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.800000012, 1.10000002, 1.10000002))
  1413. Part=part(Enum.FormFactor.Brick,m,Enum.Material.Granite,0,0,"Crimson","Part",Vector3.new(0.199999988, 0.199999988, 0.199999988))
  1414. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.900005341, 0.000144720078, 1.71661377e-005, 0.999999344, -0.00103198539, -0.00049302954, 0.00103225536, 0.999999166, 0.000547553995, 0.000492464169, -0.00054806238, 0.999999762))
  1415. mesh("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.400000006, 1.20000005, 1.20000005))
  1416. Part=part(Enum.FormFactor.Brick,m,Enum.Material.Granite,0,0,"Nougat","Part",Vector3.new(0.199999988, 0.199999988, 0.199999988))
  1417. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.500003815, 0.000138759613, 3.52859497e-005, 0.999999344, -0.00103198539, -0.00049302954, 0.00103225536, 0.999999166, 0.000547553995, 0.000492464169, -0.00054806238, 0.999999762))
  1418. mesh("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.800000012, 1.10000002, 1.10000002))
  1419. Part=part(Enum.FormFactor.Brick,m,Enum.Material.Granite,0,0,"Nougat","Part",Vector3.new(0.199999988, 0.199999988, 0.199999988))
  1420. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.299995422, 0.000147104263, 1.71661377e-005, 0.999999344, -0.00103198539, -0.00049302954, 0.00103225536, 0.999999166, 0.000547553995, 0.000492464169, -0.00054806238, 0.999999762))
  1421. mesh("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.800000012, 1.10000002, 1.10000002))
  1422. Part=part(Enum.FormFactor.Brick,m,Enum.Material.Granite,0,0,"Maroon","Part",Vector3.new(1.48899221, 1.47446549, 0.145267531))
  1423. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.56500626, 0.378684998, 0.000153779984, -0.999999762, 0.000562987407, 0.000432016124, -0.000431999884, 2.89999916e-005, -0.999999881, -0.000562999805, -0.999999642, -2.87567655e-005))
  1424. mesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(0.349999994, 0.349999994, 2.5))
  1425. Part=part(Enum.FormFactor.Brick,m,Enum.Material.Granite,0,0,"Maroon","Part",Vector3.new(1.48899221, 1.47446549, 0.145267531))
  1426. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.56500626, -0.371305466, 0.000169992447, -0.999999762, 0.000562987407, 0.000432016124, -0.000431999884, 2.89999916e-005, -0.999999881, -0.000562999805, -0.999999642, -2.87567655e-005))
  1427. mesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(0.349999994, 0.349999994, 2.5))
  1428. Part=part(Enum.FormFactor.Brick,m,Enum.Material.Granite,0,0,"Maroon","Part",Vector3.new(2.04999948, 2.02999949, 0.199999958))
  1429. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.21500778, 0.004986763, 0.00018286705, -0.999999762, 0.000562987407, 0.000432016124, -0.000431999884, 2.89999916e-005, -0.999999881, -0.000562999805, -0.999999642, -2.87567655e-005))
  1430. mesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 0.5, 1.14999998))
  1431. Part=part(Enum.FormFactor.Brick,m,Enum.Material.Granite,0,0,"Nougat","Part",Vector3.new(1.73000002, 0.200000003, 0.200000003))
  1432. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.0249939, 0.00048160553, -5.81741333e-005, -0.999999344, 0.00103198539, 0.00049302954, -0.00103225536, -0.999999166, -0.000547553995, 0.000492464169, -0.00054806238, 0.999999762))
  1433. mesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.349999994))
  1434. Part=part(Enum.FormFactor.Brick,m,Enum.Material.Granite,0,0,"Nougat","Part",Vector3.new(0.199999988, 0.199999988, 0.199999988))
  1435. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0999984741, 0.000143527985, 1.90734863e-005, 0.999999344, -0.00103198539, -0.00049302954, 0.00103225536, 0.999999166, 0.000547553995, 0.000492464169, -0.00054806238, 0.999999762))
  1436. mesh("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.800000012, 1.10000002, 1.10000002))
  1437. Part=part(Enum.FormFactor.Brick,m,Enum.Material.Granite,0,0,"Nougat","Part",Vector3.new(2.27000022, 0.200000003, 0.200000003))
  1438. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.80500412, 0.000491380692, -4.57763672e-005, -0.999999344, 0.00103198539, 0.00049302954, -0.00103225536, -0.999999166, -0.000547553995, 0.000492464169, -0.00054806238, 0.999999762))
  1439. mesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.349999994))
  1440. Part=part(Enum.FormFactor.Brick,m,Enum.Material.Granite,0,0,"Nougat","Part",Vector3.new(1.48899221, 1.47446549, 0.145267531))
  1441. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.56500626, 0.378663063, 0.000155925751, -0.999999762, 0.000562987407, 0.000432016124, -0.000431999884, 2.89999916e-005, -0.999999881, -0.000562999805, -0.999999642, -2.87567655e-005))
  1442. mesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(0.400000006, 0.400000006, 2))
  1443. Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0.5,"Maroon","Part",Vector3.new(0.270000041, 0.290000021, 0.200000003))
  1444. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.21500015, -0.0348873138, 0.00018286705, -0.999999762, 0.000562987407, 0.000432016124, -0.000431999884, 2.89999916e-005, -0.999999881, -0.000562999805, -0.999999642, -2.87567655e-005))
  1445. mesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(0.349999994, 0.349999994, 2.5))
  1446. Part=part(Enum.FormFactor.Brick,m,Enum.Material.Granite,0,0,"Crimson","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1447. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.96999359, -0.00117921829, -0.00098323822, 1, -1.16415322e-010, 0, -1.16415322e-010, 0.999999762, -7.51754214e-012, 0, -7.51754214e-012, 0.99999994))
  1448. mesh("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.400000006, 1.20000005, 1.20000005))
  1449. Orb=part(Enum.FormFactor.Brick,m,Enum.Material.Granite,0,0,"Maroon","Orb",Vector3.new(2.04999948, 2.02999949, 0.199999958))
  1450. Orbweld=weld(m,handle,Orb,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.21500778, 0.0050163269, 0.00018286705, -0.999999762, 0.000562987407, 0.000432016124, -0.000431999884, 2.89999916e-005, -0.999999881, -0.000562999805, -0.999999642, -2.87567655e-005))
  1451. mesh("SpecialMesh",Orb,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(0.349999994, 0.349999994, 2.5))
  1452. Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Maroon","Part",Vector3.new(0.600000024, 0.600000024, 0.600000024))
  1453. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.42999649, -0.00127482414, 0.000159263611, -0.999999344, 0.00103198539, 0.00049302954, -0.00103225536, -0.999999166, -0.000547553995, 0.000492464169, -0.00054806238, 0.999999762))
  1454. mesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(0.600000024, 0.600000024, 0.600000024))
  1455. Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Maroon","Part",Vector3.new(1.36000001, 1.37000012, 0.200000003))
  1456. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.56000137, -0.374933243, 0.000169754028, -0.999999762, 0.000562987407, 0.000432016124, -0.000431999884, 2.89999916e-005, -0.999999881, -0.000562999805, -0.999999642, -2.87567655e-005))
  1457. mesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 0.200000003, 1))
  1458. Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Maroon","Part",Vector3.new(1.36000001, 1.37000012, 0.200000003))
  1459. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.56000137, 0.375066757, 0.000154733658, -0.999999762, 0.000562987407, 0.000432016124, -0.000431999884, 2.89999916e-005, -0.999999881, -0.000562999805, -0.999999642, -2.87567655e-005))
  1460. mesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 0.200000003, 1))
  1461. Part=part(Enum.FormFactor.Brick,m,Enum.Material.Granite,0,0,"Maroon","Part",Vector3.new(5.97000074, 0.200000003, 0.200000003))
  1462. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.884998322, 0.000459194183, -4.00543213e-005, -0.999999344, 0.00103198539, 0.00049302954, -0.00103225536, -0.999999166, -0.000547553995, 0.000492464169, -0.00054806238, 0.999999762))
  1463. mesh("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1464. Part=part(Enum.FormFactor.Brick,m,Enum.Material.Granite,0,0,"Maroon","Part",Vector3.new(0.500000417, 0.200000003, 0.200000003))
  1465. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.09410095, 0.00118803978, 0.60358429, -0.950826585, -4.2374013e-006, 0.309723854, 4.50946391e-006, -0.999999762, 1.61743017e-007, 0.309723794, 1.5504047e-006, 0.950826526))
  1466. mesh("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.935000002, 1))
  1467. Part=part(Enum.FormFactor.Brick,m,Enum.Material.Granite,0,0.0090000033378601,"Maroon","Part",Vector3.new(0.600000024, 0.600000024, 0.600000024))
  1468. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.42999268, 0.000979423523, 0.00117683411, -1, 1.16415322e-010, 0, 0, -2.22473147e-007, -0.99999994, 1.16415322e-010, -0.999999762, 2.22488154e-007))
  1469. mesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 0.5, 0.699999988))
  1470. Part=part(Enum.FormFactor.Brick,m,Enum.Material.Granite,0,0,"Maroon","Part",Vector3.new(0.500000417, 0.200000003, 0.200000003))
  1471. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.11287308, 0.00118708611, -0.534433365, -0.960263133, -3.43291322e-006, -0.279096276, 3.26376176e-006, -0.999999762, 1.07158689e-006, -0.279096276, 1.18161552e-007, 0.960263133))
  1472. mesh("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.935000002, 1))
  1473. Part=part(Enum.FormFactor.Brick,m,Enum.Material.Granite,0,0,"Nougat","Part",Vector3.new(2.04999948, 2.02999949, 0.199999958))
  1474. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.21500778, 0.004986763, 0.000183820724, -0.999999762, 0.000562987407, 0.000432016124, -0.000431999884, 2.89999916e-005, -0.999999881, -0.000562999805, -0.999999642, -2.87567655e-005))
  1475. mesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(0.400000006, 0.400000006, 2))
  1476. Part=part(Enum.FormFactor.Brick,m,Enum.Material.Granite,0,0,"Nougat","Part",Vector3.new(0.199999988, 0.199999988, 0.199999988))
  1477. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.300003052, 0.000143527985, 1.90734863e-005, 0.999999344, -0.00103198539, -0.00049302954, 0.00103225536, 0.999999166, 0.000547553995, 0.000492464169, -0.00054806238, 0.999999762))
  1478. mesh("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.800000012, 1.10000002, 1.10000002))
  1479. Part=part(Enum.FormFactor.Brick,m,Enum.Material.Granite,0,0,"Maroon","Part",Vector3.new(1.48899221, 1.47446549, 0.145267531))
  1480. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.56500626, 0.378663063, 0.000155925751, -0.999999762, 0.000562987407, 0.000432016124, -0.000431999884, 2.89999916e-005, -0.999999881, -0.000562999805, -0.999999642, -2.87567655e-005))
  1481. mesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 0.5, 1.14999998))
  1482. Part=part(Enum.FormFactor.Brick,m,Enum.Material.Granite,0,0,"Maroon","Part",Vector3.new(1.48899221, 1.47446549, 0.145267531))
  1483. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.56500626, -0.371323586, 0.000169992447, -0.999999762, 0.000562987407, 0.000432016124, -0.000431999884, 2.89999916e-005, -0.999999881, -0.000562999805, -0.999999642, -2.87567655e-005))
  1484. mesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 0.5, 1.14999998))
  1485. Part=part(Enum.FormFactor.Brick,m,Enum.Material.Granite,0,0,"Crimson","Part",Vector3.new(0.199999988, 0.199999988, 0.199999988))
  1486. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.899990082, 0.000149011612, 2.19345093e-005, 0.999999344, -0.00103198539, -0.00049302954, 0.00103225536, 0.999999166, 0.000547553995, 0.000492464169, -0.00054806238, 0.999999762))
  1487. mesh("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.400000006, 1.20000005, 1.20000005))
  1488. Part=part(Enum.FormFactor.Brick,m,Enum.Material.Granite,0,0,"Nougat","Part",Vector3.new(1.48899221, 1.47446549, 0.145267531))
  1489. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.56500626, -0.371323586, 0.000170946121, -0.999999762, 0.000562987407, 0.000432016124, -0.000431999884, 2.89999916e-005, -0.999999881, -0.000562999805, -0.999999642, -2.87567655e-005))
  1490. mesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(0.400000006, 0.400000006, 2))
  1491. Part=part(Enum.FormFactor.Brick,m,Enum.Material.Granite,0,0,"Nougat","Part",Vector3.new(0.199999988, 0.199999988, 0.199999988))
  1492. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100002289, 0.000143051147, 1.90734863e-005, 0.999999344, -0.00103198539, -0.00049302954, 0.00103225536, 0.999999166, 0.000547553995, 0.000492464169, -0.00054806238, 0.999999762))
  1493. mesh("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.800000012, 1.10000002, 1.10000002))
  1494.  
  1495.  
  1496.  
  1497. local co1 = 3
  1498. local co2 = 10
  1499. local co3 = 15
  1500. local co4 = 30
  1501. local cooldown1 = 0
  1502. local cooldown2 = 0
  1503. local cooldown3 = 0
  1504. local cooldown4 = 0
  1505. local maxEnergy = 100
  1506. local Energy = 0
  1507. local skill1stam = 10
  1508. local skill2stam = 50
  1509. local skill3stam = 60
  1510. local skill4stam = 100
  1511. local recovermana = 5
  1512. local skillcolorscheme = BrickColor.new("Crimson").Color
  1513. local scrn = Instance.new("ScreenGui", Player.PlayerGui)
  1514. makeframe = function(par, trans, pos, size, color)
  1515.  
  1516. local frame = Instance.new("Frame", par)
  1517. frame.BackgroundTransparency = trans
  1518. frame.BorderSizePixel = 0
  1519. frame.Position = pos
  1520. frame.Size = size
  1521. frame.BackgroundColor3 = color
  1522. return frame
  1523. end
  1524.  
  1525. makelabel = function(par, text)
  1526.  
  1527. local label = Instance.new("TextLabel", par)
  1528. label.BackgroundTransparency = 1
  1529. label.Size = UDim2.new(1, 0, 1, 0)
  1530. label.Position = UDim2.new(0, 0, 0, 0)
  1531. label.TextColor3 = Color3.new(255, 255, 255)
  1532. label.TextStrokeTransparency = 0
  1533. label.FontSize = Enum.FontSize.Size32
  1534. label.Font = Enum.Font.SourceSansLight
  1535. label.BorderSizePixel = 0
  1536. label.TextScaled = true
  1537. label.Text = text
  1538. end
  1539.  
  1540. framesk1 = makeframe(scrn, 0.5, UDim2.new(0.84, 0, 0.64, 0), UDim2.new(0.16, 0, 0.06, 0), skillcolorscheme)
  1541. framesk2 = makeframe(scrn, 0.5, UDim2.new(0.84, 0, 0.74, 0), UDim2.new(0.16, 0, 0.06, 0), skillcolorscheme)
  1542. framesk3 = makeframe(scrn, 0.5, UDim2.new(0.84, 0, 0.84, 0), UDim2.new(0.16, 0, 0.06, 0), skillcolorscheme)
  1543. framesk4 = makeframe(scrn, 0.5, UDim2.new(0.84, 0, 0.94, 0), UDim2.new(0.16, 0, 0.06, 0), skillcolorscheme)
  1544. bar1 = makeframe(framesk1, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  1545. bar2 = makeframe(framesk2, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  1546. bar3 = makeframe(framesk3, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  1547. bar4 = makeframe(framesk4, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  1548. text1 = makelabel(framesk1, "[Z] ForceFeild")
  1549. text2 = makelabel(framesk2, "[X] Recon")
  1550. text3 = makelabel(framesk3, "[C] attackthree")
  1551. text4 = makelabel(framesk4, "[V] attackfour")
  1552.  
  1553.  
  1554.  
  1555.  
  1556. ForceField = function()
  1557.  
  1558. local FF = Instance.new("Model", Character)
  1559.  
  1560. local p2 = Instance.new("Part", FF)
  1561. p2.Size = Vector3.new(12, 12, 12)
  1562. p2.Anchored = true
  1563. p2.CanCollide = false
  1564. p2.Transparency = .35
  1565. p2.TopSurface = 0
  1566. p2.Material = "Granite"
  1567. p2.Shape = "Ball"
  1568. p2.BrickColor = BrickColor.new("Really red")
  1569.  
  1570. local p3 = Instance.new("Part", FF)
  1571. p3.Size = Vector3.new(12, 12, 12)
  1572. p3.Anchored = true
  1573. p3.CanCollide = false
  1574. p3.Transparency = .7
  1575. p3.TopSurface = 0
  1576. p3.Material = "Neon"
  1577. p3.Shape = "Ball"
  1578. p3.BrickColor = BrickColor.new("Really red")
  1579.  
  1580. local i = 0
  1581. rad = math.rad
  1582.  
  1583.  
  1584.  
  1585. game:service'RunService'.RenderStepped:connect(function()
  1586. i = i + .95
  1587. p2.CFrame = torso.CFrame * CFrame.Angles(rad(i), rad(i), rad(i))
  1588.  
  1589. p3.CFrame = p2.CFrame + Vector3.new(.1,.1,.1)
  1590. end)
  1591.  
  1592. for i = 0, 20, 0.13 do
  1593. swait()
  1594. MagniDamage(p2, 6, true, 1, 2, true, 10, "Compensate-Knockdown", 0.01, false, 0, false, _, "", "")
  1595. end
  1596. wait(2)
  1597. FF:Destroy()
  1598. end
  1599.  
  1600.  
  1601.  
  1602. game:service'RunService'.RenderStepped:connect(function()
  1603.  
  1604.  
  1605. if anim~=lastanim then
  1606. runtime=0
  1607. end
  1608. lastanim=anim
  1609. chr.Humanoid.CameraOffset=(rutprt.CFrame:toObjectSpace(hed.CFrame)).p+Vector3.new(0,-1.25,0)
  1610. syne=syne+.95
  1611. if not otheranims and not swimming then
  1612. if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 1 and not chr.Humanoid.Jump then-- and torso.Velocity.y<5 and torso.Velocity.y>-5
  1613. anim="Idling"
  1614. elseif (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude > 1 and (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude < RunSpeed-10 and not chr.Humanoid.Jump then-- and torso.Velocity.y<5 and torso.Velocity.y>-5
  1615. anim="Walking"
  1616. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > RunSpeed-10 and not chr.Humanoid.Jump then-- and torso.Velocity.y<5 and torso.Velocity.y>-5
  1617. anim="Sprinting"
  1618. elseif torso.Velocity.y>5 and chr.Humanoid.Jump then
  1619. anim='Jumping'
  1620. elseif (torso.Velocity.y < -5) and chr.Humanoid.Jump then
  1621. anim='Falling'
  1622. end
  1623. end
  1624.  
  1625.  
  1626. if otheranims then return end
  1627.  
  1628. if anim=="Idling" then
  1629. --ElecEffect(BrickColor.new("Crimson"), "Neon", Orb:GetRenderCFrame(), math.random(-.1, .1), math.random(-.1, .1), math.random(-.1, .1))
  1630. idlesineinc=35
  1631. if not armanims then
  1632. idlesineinc=35
  1633. rarm.Weld.C0=clerp(rarm.Weld.C0,CFrame.new(1.5,.525+math.cos(syne/idlesineinc)/25,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(30)),.1)
  1634. larm.Weld.C0=clerp(larm.Weld.C0,CFrame.new(-1.5,.525+math.cos(syne/idlesineinc)/25,0)*CFrame.Angles(0,0,math.rad(-3)),.1)
  1635. end
  1636. lleg.Weld.C0=clerp(lleg.Weld.C0,CFrame.new(-.55,-1.9-math.cos(syne/idlesineinc)/20,(math.cos(syne/idlesineinc)/35))*CFrame.Angles(-(math.cos(syne/idlesineinc)/35),0,math.rad(-2.5)),.1)
  1637. rleg.Weld.C0=clerp(rleg.Weld.C0,CFrame.new(.55,-1.9-math.cos(syne/idlesineinc)/20,(math.cos(syne/idlesineinc)/35))*CFrame.Angles(-(math.cos(syne/idlesineinc)/35),0,math.rad(2.5)),.1)
  1638. hed.Weld.C0=clerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/idlesineinc)/50,0)*CFrame.Angles(math.cos(syne/idlesineinc)/40,0,0),.1)
  1639. rutprt.Weld.C0=clerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/idlesineinc)/20,0)*CFrame.Angles(math.cos(syne/idlesineinc)/35+math.rad(0),math.rad(0),math.rad(0)),.1)
  1640. end
  1641.  
  1642. if anim=="Walking" then
  1643. if not armanims then
  1644. rarm.Weld.C0=clerp(rarm.Weld.C0,CFrame.new(1.5,.525+math.cos(syne/idlesineinc)/25,0)*CFrame.Angles(math.rad(90),math.rad(30),math.rad(-30)),.1)
  1645. larm.Weld.C0=clerp(larm.Weld.C0,CFrame.new(-1.5,.525+math.cos(syne/15)/25,0)*CFrame.Angles(-(math.cos(syne/6)/1.25),0,-(math.cos(syne/6.75)/15)-math.rad(3)),.1)
  1646. end
  1647. lleg.Weld.C0=clerp(lleg.Weld.C0,CFrame.new(-.55,-1.9-math.cos(syne/6)/10,-(math.cos(syne/6)/1.125))*CFrame.Angles(math.cos(syne/6)/1.125,0,math.rad(-2.5)),.1)
  1648. rleg.Weld.C0=clerp(rleg.Weld.C0,CFrame.new(.55,-1.9-math.cos(syne/6)/10,math.cos(syne/6)/1.125)*CFrame.Angles(-(math.cos(syne/6)/1.125),0,math.rad(2.5)),.1)
  1649. hed.Weld.C0=clerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/20)/50,0)*CFrame.Angles(-math.cos(syne/3)/20,0,0),.1)
  1650. rutprt.Weld.C0=clerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/3.375)/20,math.cos(syne/3)/5)*CFrame.Angles(math.cos(syne/3)/20+math.rad(-3.5),math.cos(syne/6)/10,-math.cos(syne/6)/30+math.sin(rutprt.RotVelocity.y/2)/7.5),.1)
  1651. end
  1652.  
  1653. if anim=="Sprinting" then
  1654. if not armanims then
  1655. rarm.Weld.C0=clerp(rarm.Weld.C0,CFrame.new(1.1,.525,-.1)*CFrame.Angles(math.rad(90),math.rad(60),math.rad(-30)),.2)
  1656. larm.Weld.C0=clerp(larm.Weld.C0,CFrame.new(-1.5,.55,0)*CFrame.Angles(math.rad(90),math.rad(-60),math.rad(-30)),.2)
  1657. end
  1658. lleg.Weld.C0=clerp(lleg.Weld.C0,CFrame.new(-.55,-1.6-math.cos(syne/4)/4,-(math.cos(syne/4)*2)-math.rad(10))*CFrame.Angles(math.cos(syne/4)*2+math.rad(10),0,math.rad(-2.5)),.1)
  1659. rleg.Weld.C0=clerp(rleg.Weld.C0,CFrame.new(.55,-1.6-math.cos(syne/4)/4,math.cos(syne/4)*2-math.rad(10))*CFrame.Angles(-(math.cos(syne/4)*2)+math.rad(10),0,math.rad(2.5)),.1)
  1660. hed.Weld.C0=clerp(hed.Weld.C0,CFrame.new(0,1.55+math.cos(syne/20)/50,0)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(20),0,0),.1)
  1661. rutprt.Weld.C0=clerp(rutprt.Weld.C0,CFrame.new(0,-.3+math.cos(syne/2.5)/15,math.cos(syne/2.5))*CFrame.Angles(math.cos(syne/2.5)/10+math.rad(-25),math.cos(syne/2.5)/10,math.cos(syne/4)/20+math.sin(rutprt.RotVelocity.y/2)/4),.1)
  1662. end
  1663.  
  1664. if anim=="Jumping" then
  1665. if not armanims then
  1666. rarm.Weld.C0=clerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(50)),.1)
  1667. larm.Weld.C0=clerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-50)),.1)
  1668. end
  1669. lleg.Weld.C0=clerp(lleg.Weld.C0,CFrame.new(-.55,-1.4,0)*CFrame.Angles(math.rad(-17.5),0,math.rad(-2.5)),.1)
  1670. rleg.Weld.C0=clerp(rleg.Weld.C0,CFrame.new(.55,-1.1,-.1)*CFrame.Angles(math.rad(-17.5),0,math.rad(2.5)),.1)
  1671. hed.Weld.C0=clerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/20)/50,0)*CFrame.Angles(math.cos(syne/20)/40,0,0),.1)
  1672. rutprt.Weld.C0=clerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/20)/20,0)*CFrame.Angles(math.rad(-15),math.rad(0),math.rad(0)),.1)
  1673. end
  1674.  
  1675. if anim=="Falling" then
  1676. if not armanims then
  1677. rarm.Weld.C0=clerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(70)),.035)
  1678. larm.Weld.C0=clerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-70)),.035)
  1679. end
  1680. lleg.Weld.C0=clerp(lleg.Weld.C0,CFrame.new(-.55,-1.2,0)*CFrame.Angles(math.rad(-14),0,math.rad(-2.5)),.035)
  1681. rleg.Weld.C0=clerp(rleg.Weld.C0,CFrame.new(.55,-1.9,0)*CFrame.Angles(math.rad(0),0,math.rad(2.5)),.035)
  1682. hed.Weld.C0=clerp(hed.Weld.C0,CFrame.new(0,1.5,-.3)*CFrame.Angles(math.rad(-40),0,0),.035)
  1683. rutprt.Weld.C0=clerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/20)/20,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)),.035)
  1684. end
  1685.  
  1686.  
  1687.  
  1688. if runnin and not otheranims and not swimming then
  1689. chr.Humanoid.WalkSpeed=RunSpeed
  1690. elseif not runnin and not otheranims and not swimming then
  1691. chr.Humanoid.WalkSpeed=WlkSpeed
  1692. end
  1693. end)
  1694.  
  1695.  
  1696.  
  1697.  
  1698. --[[]]----[[Moves]]----[[]]--
  1699. --if just moving arms the debounce should be armanims if anything else then otheranims
  1700.  
  1701.  
  1702.  
  1703.  
  1704.  
  1705. attackone = function()
  1706. attack = true
  1707. armanims=true
  1708.  
  1709. for i = 0, 1, 0.13 do
  1710. swait()
  1711. rarm.Weld.C0=clerp(rarm.Weld.C0,CFrame.new(1.5,.650,0)*CFrame.Angles(math.rad(90), math.rad(-20), math.rad(0)),.1)
  1712. end
  1713.  
  1714. for i = 1,5 do
  1715. MagicBlock(BrickColor.new("Maroon"), "Neon", Orb:GetRenderCFrame(), .002, .002, .002, .5, .5, .5, 0.02)
  1716.  
  1717. MagicBlock2(BrickColor.new("Crimson"), "Neon", Orb:GetRenderCFrame(), .002, .002, .002, .5, .5, .5, 0.02)
  1718.  
  1719. MagicCircle(BrickColor.new("Maroon"), "Neon", Orb:GetRenderCFrame(), .002, .002, .002, .5, .5, .5, 0.02)
  1720.  
  1721. end
  1722. wait(.6)
  1723. ForceField()
  1724. armanims=false
  1725. attack = false
  1726.  
  1727. end
  1728.  
  1729.  
  1730.  
  1731. attacktwo = function()
  1732. attack = true
  1733. armanims=true
  1734.  
  1735. sp = Instance.new("Part",larm)
  1736. sp.Anchored = true
  1737. sp.CanCollide = false
  1738. sp.Locked = true
  1739. sp.Transparency = 1
  1740. sp.Material = "Neon"
  1741. sp.Size = Vector3.new(1,1,1)
  1742. sp.TopSurface = "SmoothNoOutlines"
  1743. sp.BottomSurface = "SmoothNoOutlines"
  1744. sp.BrickColor = BrickColor.new("Crimson")
  1745. spm = Instance.new("SpecialMesh",sp)
  1746. spm.MeshType = "Sphere"
  1747. spm.Scale = Vector3.new(1,1,1)
  1748.  
  1749. for i = 1, 100, 20 do
  1750. swait()
  1751. sp.CFrame = torso.CFrame*CFrame.new(0,1,-2)
  1752. end
  1753. for i = 1, 20 do
  1754. swait()
  1755. sp.CFrame = torso.CFrame*CFrame.new(0,1,-2)
  1756. end
  1757. sp.Transparency = 0
  1758. for i = 0, 1, 0.02 do
  1759. swait()
  1760. sp.CFrame = larm.CFrame*CFrame.new(0,-1,0)
  1761. larm.Weld.C0 = clerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(90),math.rad(-12),math.rad(-150)), 0.1)
  1762. MagicBlock(BrickColor.new("Crimson"), "Neon", sp:GetRenderCFrame(), .002, .002, .002, .16, .16, .16, .02)
  1763. MagicCircle(BrickColor.new("Really red"), "Neon", sp:GetRenderCFrame(), .002, .002, .002, .2, .2, .2, .02)
  1764. end
  1765. for i = 0, 1, 0.02 do
  1766. swait()
  1767. sp.CFrame = larm.CFrame*CFrame.new(0,-1,0)
  1768. larm.Weld.C0 = clerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(130),math.rad(-6),math.rad(-20)), 0.1)
  1769. end
  1770. sp.CFrame = torso.CFrame + Vector3.new(0,0,-2)
  1771. sp:Destroy()
  1772.  
  1773. sp2 = Instance.new("Part",larm)
  1774. sp2.Anchored = false
  1775. sp2.CanCollide = false
  1776. sp2.Transparency = 0
  1777. sp2.Material = "Neon"
  1778. sp2.Size = Vector3.new(1,1,1)
  1779. sp2.TopSurface = "SmoothNoOutlines"
  1780. sp2.BottomSurface = "SmoothNoOutlines"
  1781. sp2.BrickColor = BrickColor.new("Really red")
  1782.  
  1783. spm2 = Instance.new("SpecialMesh",sp2)
  1784. spm2.MeshType = "Sphere"
  1785. spm2.Scale = Vector3.new(1,1,1)
  1786.  
  1787. sp2.CFrame = larm.CFrame + Vector3.new(0,3,0)
  1788. local bv = Instance.new("BodyPosition",sp2)
  1789. bv.maxForce = Vector3.new(99999,99999,99999)
  1790. bv.position = Mouse.Hit.p
  1791. bv.D = 100
  1792. bv.P = 100
  1793.  
  1794.  
  1795. wait(3)
  1796.  
  1797. local cf = sp2.CFrame
  1798. bv:Destroy()
  1799. sp2.Anchored = true
  1800. sp2.Size = Vector3.new(1,1,1)
  1801. sp2.CanCollide = false
  1802.  
  1803. for i,v in pairs(FindNearestTorso(sp2.CFrame.p,30))do
  1804. if v:FindFirstChild('Humanoid') then
  1805. v.Humanoid:TakeDamage(math.random(90,99))
  1806. v.Humanoid.PlatformStand = true
  1807. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  1808. end
  1809. end
  1810. local blast = Instance.new("Part", larm)
  1811. blast.BrickColor = BrickColor.new("Crimson")
  1812. blast.Material = "Neon"
  1813. blast.Anchored = true
  1814. blast.CanCollide = false
  1815. blast.Locked = true
  1816. blast.Size = Vector3.new(1, 1, 1)
  1817. blast.TopSurface = "Smooth"
  1818. blast.BottomSurface = "Smooth"
  1819. blast.Transparency = 0
  1820. blast.CFrame = sp2.CFrame
  1821.  
  1822. local bm = Instance.new("SpecialMesh", blast)
  1823. bm.Scale = Vector3.new(3,3,3)
  1824. bm.MeshType = "Sphere"
  1825.  
  1826. local blast2 = Instance.new("Part", larm)
  1827. blast2.BrickColor = BrickColor.new("Really red")
  1828. blast2.Material = "Neon"
  1829. blast2.Anchored = true
  1830. blast2.CanCollide = false
  1831. blast2.Locked = true
  1832. blast2.Size = Vector3.new(1, 1, 1)
  1833. blast2.TopSurface = "Smooth"
  1834. blast2.BottomSurface = "Smooth"
  1835. blast2.Transparency = 0
  1836. blast2.CFrame = sp2.CFrame
  1837.  
  1838. local bm2 = Instance.new("SpecialMesh", blast2)
  1839. bm2.Scale = Vector3.new(3,3,3)
  1840. bm2.MeshType = "Sphere"
  1841.  
  1842. local blast3 = Instance.new("Part", larm)
  1843. blast3.BrickColor = BrickColor.new("Crimson")
  1844. blast3.Material = "Neon"
  1845. blast3.Anchored = true
  1846. blast3.CanCollide = false
  1847. blast3.Locked = true
  1848. blast3.Size = Vector3.new(1, 1, 1)
  1849. blast3.TopSurface = "Smooth"
  1850. blast3.BottomSurface = "Smooth"
  1851. blast3.Transparency = 0
  1852. blast3.CFrame = sp2.CFrame
  1853.  
  1854. local bm3 = Instance.new("SpecialMesh", blast3)
  1855. bm3.Scale = Vector3.new(3,3,3)
  1856. bm3.MeshType = "Sphere"
  1857.  
  1858. for i = 1,300 do swait()
  1859. sp2.Transparency = sp2.Transparency + (1/300)
  1860. blast.Transparency = blast.Transparency + (1/300)
  1861. blast2.Transparency = blast2.Transparency + (1/300)
  1862. blast3.Transparency = blast3.Transparency + (1/300)
  1863. sp2.Size = sp2.Size + Vector3.new(.25,.25,.25)
  1864. bm.Scale = bm.Scale + Vector3.new(.25,.25,.25)
  1865. bm2.Scale = bm2.Scale + Vector3.new(.20,.20,.20)
  1866. bm3.Scale = bm3.Scale + Vector3.new(.20,.20,.20)
  1867. sp2.CFrame = cf
  1868. blast.CFrame = cf
  1869. blast2.CFrame = cf
  1870. blast3.CFrame = cf
  1871. end
  1872. sp2:Destroy()
  1873. blast:Destroy()
  1874. blast2:Destroy()
  1875. blast3:Destroy()
  1876. armanims=false
  1877. attack = false
  1878.  
  1879. end
  1880.  
  1881.  
  1882.  
  1883.  
  1884. attackthree = function()
  1885.  
  1886. attack = true
  1887. otheranims=true
  1888.  
  1889.  
  1890. sp = Instance.new("Part",larm)
  1891. sp.Anchored = true
  1892. sp.CanCollide = false
  1893. sp.Locked = true
  1894. sp.Transparency = 1
  1895. sp.Material = "Neon"
  1896. sp.Size = Vector3.new(1,1,1)
  1897. sp.TopSurface = "SmoothNoOutlines"
  1898. sp.BottomSurface = "SmoothNoOutlines"
  1899. sp.BrickColor = BrickColor.new("Crimson")
  1900. spm = Instance.new("SpecialMesh",sp)
  1901. spm.MeshType = "Sphere"
  1902. spm.Scale = Vector3.new(3,3,3)
  1903.  
  1904. for i = 1, 100, 20 do
  1905. swait()
  1906. sp.CFrame = torso.CFrame*CFrame.new(0,1,-2)
  1907. end
  1908. for i = 1, 20 do
  1909. swait()
  1910. sp.CFrame = torso.CFrame*CFrame.new(0,1,-2)
  1911. end
  1912. sp.Transparency = 0
  1913. for i = 0, 1, 0.02 do
  1914. swait()
  1915. sp.CFrame = larm.CFrame*CFrame.new(0,-1,0)
  1916. larm.Weld.C0 = clerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(180),math.rad(0),math.rad(-40)), 0.1)
  1917. MagicBlock(BrickColor.new("Crimson"), "Neon", sp:GetRenderCFrame(), .002, .002, .002, .16, .16, .16, .02)
  1918. MagicCircle(BrickColor.new("Really red"), "Neon", sp:GetRenderCFrame(), .002, .002, .002, .2, .2, .2, .02)
  1919. end
  1920. sp.CFrame = torso.CFrame + Vector3.new(0,0,-2)
  1921. sp:Destroy()
  1922.  
  1923. sp2 = Instance.new("Part",larm)
  1924. sp2.Anchored = false
  1925. sp2.CanCollide = false
  1926. sp2.Transparency = 0
  1927. sp2.Material = "Neon"
  1928. sp2.Size = Vector3.new(1,1,1)
  1929. sp2.TopSurface = "SmoothNoOutlines"
  1930. sp2.BottomSurface = "SmoothNoOutlines"
  1931. sp2.BrickColor = BrickColor.new("Really red")
  1932.  
  1933. spm2 = Instance.new("SpecialMesh",sp2)
  1934. spm2.MeshType = "Sphere"
  1935. spm2.Scale = Vector3.new(3,3,3)
  1936.  
  1937. sp2.CFrame = larm.CFrame + Vector3.new(0,3,0)
  1938. local bv = Instance.new("BodyPosition",sp2)
  1939. bv.maxForce = Vector3.new(99999,99999,99999)
  1940. bv.position = Mouse.Hit.p
  1941. bv.D = 100
  1942. bv.P = 100
  1943.  
  1944.  
  1945. wait(10)
  1946.  
  1947. local cf = sp2.CFrame
  1948. bv:Destroy()
  1949. sp2.Anchored = true
  1950. sp2.Size = Vector3.new(1,1,1)
  1951. sp2.CanCollide = false
  1952.  
  1953. for i,v in pairs(FindNearestTorso(sp2.CFrame.p,30))do
  1954. if v:FindFirstChild('Humanoid') then
  1955. v.Humanoid:TakeDamage(math.random(90,99))
  1956. v.Humanoid.PlatformStand = true
  1957. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  1958. end
  1959. end
  1960. local blast = Instance.new("Part", larm)
  1961. blast.BrickColor = BrickColor.new("Crimson")
  1962. blast.Material = "Neon"
  1963. blast.Anchored = true
  1964. blast.CanCollide = false
  1965. blast.Locked = true
  1966. blast.Size = Vector3.new(1, 1, 1)
  1967. blast.TopSurface = "Smooth"
  1968. blast.BottomSurface = "Smooth"
  1969. blast.Transparency = 0
  1970. blast.CFrame = sp2.CFrame
  1971.  
  1972. local bm = Instance.new("SpecialMesh", blast)
  1973. bm.Scale = Vector3.new(3,3,3)
  1974. bm.MeshType = "Sphere"
  1975.  
  1976. local blast2 = Instance.new("Part", larm)
  1977. blast2.BrickColor = BrickColor.new("Really red")
  1978. blast2.Material = "Neon"
  1979. blast2.Anchored = true
  1980. blast2.CanCollide = false
  1981. blast2.Locked = true
  1982. blast2.Size = Vector3.new(1, 1, 1)
  1983. blast2.TopSurface = "Smooth"
  1984. blast2.BottomSurface = "Smooth"
  1985. blast2.Transparency = 0
  1986. blast2.CFrame = sp2.CFrame
  1987.  
  1988. local bm2 = Instance.new("SpecialMesh", blast2)
  1989. bm2.Scale = Vector3.new(3,3,3)
  1990. bm2.MeshType = "Sphere"
  1991.  
  1992. local blast3 = Instance.new("Part", larm)
  1993. blast3.BrickColor = BrickColor.new("Crimson")
  1994. blast3.Material = "Neon"
  1995. blast3.Anchored = true
  1996. blast3.CanCollide = false
  1997. blast3.Locked = true
  1998. blast3.Size = Vector3.new(1, 1, 1)
  1999. blast3.TopSurface = "Smooth"
  2000. blast3.BottomSurface = "Smooth"
  2001. blast3.Transparency = 0
  2002. blast3.CFrame = sp2.CFrame
  2003.  
  2004. local bm3 = Instance.new("SpecialMesh", blast3)
  2005. bm3.Scale = Vector3.new(3,3,3)
  2006. bm3.MeshType = "Sphere"
  2007.  
  2008. for i = 1,300 do swait()
  2009. sp2.Transparency = sp2.Transparency + (1/300)
  2010. blast.Transparency = blast.Transparency + (1/300)
  2011. blast2.Transparency = blast2.Transparency + (1/300)
  2012. blast3.Transparency = blast3.Transparency + (1/300)
  2013. sp2.Size = sp2.Size + Vector3.new(.25,.25,.25)
  2014. bm.Scale = bm.Scale + Vector3.new(.25,.25,.25)
  2015. bm2.Scale = bm2.Scale + Vector3.new(.20,.20,.20)
  2016. bm3.Scale = bm3.Scale + Vector3.new(.20,.20,.20)
  2017. sp2.CFrame = cf
  2018. blast.CFrame = cf
  2019. blast2.CFrame = cf
  2020. blast3.CFrame = cf
  2021. end
  2022. sp2:Destroy()
  2023. blast:Destroy()
  2024. blast2:Destroy()
  2025. blast3:Destroy()
  2026.  
  2027.  
  2028. otheranims=false
  2029. attack = false
  2030.  
  2031. end
  2032.  
  2033.  
  2034.  
  2035.  
  2036. attackfour = function()
  2037.  
  2038. attack = true
  2039. otheranims=true
  2040.  
  2041. for i = 0, 1, 0.13 do
  2042. swait()
  2043.  
  2044. end
  2045.  
  2046. for i = 0, 1, 0.1 do
  2047. swait()
  2048.  
  2049. end
  2050. otheranims=false
  2051. attack = false
  2052.  
  2053. end
  2054.  
  2055.  
  2056.  
  2057. --[[]]----[[Moves]]----[[]]--
  2058.  
  2059.  
  2060. maus.KeyDown:connect(function(kei)
  2061. if kei=='z' --[[and not attack]] then
  2062.  
  2063. attackone()
  2064.  
  2065. elseif kei=='x' --[[and not attack]] then
  2066.  
  2067. attacktwo()
  2068.  
  2069. elseif kei=='c' --[[and not attack]] then
  2070.  
  2071. attackthree()
  2072.  
  2073. elseif kei=='v' --[[and not attack]] then
  2074.  
  2075. attackfour()
  2076.  
  2077. end
  2078. end)
  2079.  
  2080.  
  2081.  
  2082. if #Effects > 0 then
  2083. for e = 1, #Effects do
  2084. if Effects[e] ~= nil then
  2085. local Thing = Effects[e]
  2086. if Thing ~= nil then
  2087. local Part = Thing[1]
  2088. local Mode = Thing[2]
  2089. local Delay = Thing[3]
  2090. local IncX = Thing[4]
  2091. local IncY = Thing[5]
  2092. local IncZ = Thing[6]
  2093. if Thing[1].Transparency <= 1 then
  2094. if Thing[2] == "Block1" then
  2095. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2096. Mesh = Thing[1].Mesh
  2097. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2098. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2099. elseif Thing[2] == "Block2" then
  2100. Thing[1].CFrame = Thing[1].CFrame
  2101. Mesh = Thing[7]
  2102. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2103. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2104. elseif Thing[2] == "Cylinder" then
  2105. Mesh = Thing[1].Mesh
  2106. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2107. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2108. elseif Thing[2] == "Blood" then
  2109. Mesh = Thing[7]
  2110. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, .5, 0)
  2111. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2112. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2113. elseif Thing[2] == "Elec" then
  2114. Mesh = Thing[1].Mesh
  2115. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  2116. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2117. elseif Thing[2] == "Disappear" then
  2118. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2119. elseif Thing[2] == "Shatter" then
  2120. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2121. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  2122. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2123. Thing[6] = Thing[6] + Thing[5]
  2124. end
  2125. else
  2126. Part.Parent = nil
  2127. table.remove(Effects, e)
  2128. end
  2129. end
  2130. end
  2131. end
  2132. end
Add Comment
Please, Sign In to add comment