1e_0

Untitled

Dec 27th, 2020 (edited)
2,183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 70.19 KB | None | 0 0
  1. --[[
  2. Script: Linked Sword
  3. ]]--
  4.  
  5. game["Run Service"].RenderStepped:connect(function() -- remove this is to
  6. settings().Physics.AllowSleep = false
  7. setsimulationradius(math.huge*math.huge,math.huge*math.huge)
  8. end) -------------------------------------------------- here if your exploit doesnt support sethiddenproperty 😂😂😂
  9.  
  10. Bypass = "death"
  11. FELOADLIBRARY = {}
  12. loadstring(game:GetObjects("rbxassetid://05209815302")[1].Source)()
  13. loadstring(game:GetObjects("rbxassetid://05325226148")[1].Source)()
  14.  
  15. local ToolName = "MeshPartAccessory"
  16.  
  17. local IsDead = false
  18. local StateMover = true
  19.  
  20. local playerss = workspace.non
  21. local maybe = playerss[ToolName].Handle
  22. local bbv,bullet
  23. if Bypass == "death" then
  24. bullet = game.Players.LocalPlayer.Character["HumanoidRootPart"]
  25. bullet.Transparency = 0
  26. bullet.Massless = true
  27. if bullet:FindFirstChildOfClass("Attachment") then
  28. for _,v in pairs(bullet:GetChildren()) do
  29. if v:IsA("Attachment") then
  30. v:Destroy()
  31. end
  32. end
  33. end
  34.  
  35. bbv = Instance.new("BodyPosition",bullet)
  36. bbv.Position = playerss.Torso.CFrame.p
  37. end
  38.  
  39.  
  40. maybe:FindFirstChildOfClass("AlignPosition").Name = "AlignPosition2"
  41. maybe:FindFirstChildOfClass("AlignOrientation").Name = "AlignOrientation2"
  42.  
  43. playerss.Torso.WaistBackAttachment.Position = Vector3.new(-0, -0, 0.6)
  44. playerss.Torso.WaistBackAttachment.Orientation = Vector3.new(-4.16, -179.28, 99.8)
  45.  
  46. if Bypass == "death" then
  47. coroutine.wrap(function()
  48. while true do
  49. if not playerss or not playerss:FindFirstChildOfClass("Humanoid") or playerss:FindFirstChildOfClass("Humanoid").Health <= 0 then IsDead = true; return end
  50. if StateMover then
  51. bbv.Position = playerss.Torso.CFrame.p
  52. bullet.Position = playerss.Torso.CFrame.p
  53. end
  54. game:GetService("RunService").RenderStepped:wait()
  55. end
  56. end)()
  57. end
  58.  
  59. local CDDF = {}
  60. local DamageFling = function(DmgPer)
  61. if IsDead or Bypass ~= "death" or (DmgPer.Name == playerss.Name and DmgPer.Name == "non") or CDDF[DmgPer] or not DmgPer or not DmgPer:FindFirstChildOfClass("Humanoid") or DmgPer:FindFirstChildOfClass("Humanoid").Health <= 0 then return end
  62. CDDF[DmgPer] = true; StateMover = false
  63. local PosFling = (DmgPer:FindFirstChild("HumanoidRootPart") and DmgPer:FindFirstChild("HumanoidRootPart") .CFrame.p) or (DmgPer:FindFirstChildOfClass("Part") and DmgPer:FindFirstChildOfClass("Part").CFrame.p)
  64. bbav = Instance.new("BodyAngularVelocity",bullet)
  65. bbav.MaxTorque = Vector3.new(math.huge,math.huge,math.huge)
  66. bbav.P = 1000000000000000000000000000
  67. bbav.AngularVelocity = Vector3.new(10000000000000000000000000000000,100000000000000000000000000,100000000000000000)
  68. game:GetService("Debris"):AddItem(bbav,0.1)
  69. bullet.Rotation = playerss.Torso.Rotation
  70. for _=1,15 do
  71. bbv.Position = PosFling
  72. bullet.Position = PosFling
  73. wait(0.03)
  74. end
  75. bbv.Position = playerss.Torso.CFrame.p
  76. bullet.Position = playerss.Torso.CFrame.p
  77. CDDF[DmgPer] = false; StateMover = true
  78. end
  79. wait(1 / 60)
  80. Effects = { }
  81. local Player = game.Players.localPlayer
  82. local Mouse = Player:GetMouse()
  83. local Character = playerss
  84. local Humanoid = Character.Humanoid
  85. local Head = Character.Head
  86. local RootPart = Character.HumanoidRootPart
  87. local Torso = Character.Torso
  88. local LeftArm = Character["Left Arm"]
  89. local RightArm = Character["Right Arm"]
  90. local LeftLeg = Character["Left Leg"]
  91. local RightLeg = Character["Right Leg"]
  92. local Camera = game.Workspace.CurrentCamera
  93. local RootJoint = RootPart.RootJoint
  94. local Equipped = false
  95. local Attack = false
  96. local Anim = 'Idle'
  97. local Idle = 0
  98. local Combo = 1
  99. local TorsoVelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  100. local Velocity = RootPart.Velocity.y
  101. local Sine = 0
  102. local Change = 1
  103. Instance.new("ForceField",Character).Visible = false
  104. humanoid = Humanoid
  105.  
  106. local Create = FELOADLIBRARY.Create
  107. -- idc if youre confused on why i added credit to myself just deal with it
  108. -- like seriously deal with it 😂
  109. humanoid.WalkSpeed = 20
  110. humanoid.JumpPower = 60
  111. humanoid.Animator.Parent = nil
  112. Character.Animate.Parent = nil
  113.  
  114. local newMotor = function(part0, part1, c0, c1)
  115. local w = Create('Motor'){
  116. Parent = part0,
  117. Part0 = part0,
  118. Part1 = part1,
  119. C0 = c0,
  120. C1 = c1,
  121. }
  122. return w
  123. end
  124.  
  125. function clerp(a, b, t)
  126. return a:lerp(b, t)
  127. end
  128.  
  129. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  130. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  131. -- if youre mad, oh well boo hoo go tell your mommy to kiss you to make you feel better
  132. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  133. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  134. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  135. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  136. RootJoint.C1 = CFrame.new(0, 0, 0)
  137. RootJoint.C0 = CFrame.new(0, 0, 0)
  138. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  139. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  140.  
  141. local rarmc1 = RW.C1
  142. local larmc1 = LW.C1
  143. local rlegc1 = RH.C1
  144. local llegc1 = LH.C1
  145.  
  146. local resetc1 = false
  147. -- these roblox players be copying my outfit wtf
  148. function PlayAnimationFromTable(table, speed, bool)
  149. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  150. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  151. RW.C0 = clerp(RW.C0, table[3], speed)
  152. LW.C0 = clerp(LW.C0, table[4], speed)
  153. RH.C0 = clerp(RH.C0, table[5], speed)
  154. LH.C0 = clerp(LH.C0, table[6], speed)
  155. if bool == true then
  156. if resetc1 == false then
  157. resetc1 = true
  158. RootJoint.C1 = RootJoint.C1
  159. Torso.Neck.C1 = Torso.Neck.C1
  160. RW.C1 = rarmc1
  161. LW.C1 = larmc1
  162. RH.C1 = rlegc1
  163. LH.C1 = llegc1
  164. end
  165. end
  166. end
  167.  
  168. function swait(num)
  169. if num == 0 or num == nil then
  170. game:GetService("RunService").RenderStepped:wait(0)
  171. else
  172. for i = 0, num do
  173. game:GetService("RunService").RenderStepped:wait(0)
  174. end
  175. end
  176. end
  177.  
  178. local m = Create("Model"){
  179. Parent = Character,
  180. Name = "WeaponModel"
  181. }
  182.  
  183. function RemoveOutlines(part)
  184. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  185. end
  186.  
  187. CFuncs = {
  188. Part = {
  189. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  190. local Part = Create("Part"){
  191. Parent = Parent,
  192. Reflectance = Reflectance,
  193. Transparency = Transparency,
  194. CanCollide = false,
  195. Locked = true,
  196. BrickColor = BrickColor.new(tostring(BColor)),
  197. Name = Name,
  198. Size = Size,
  199. Material = Material,
  200. }
  201. RemoveOutlines(Part)
  202. if Size == Vector3.new() then
  203. Part.Size = Vector3.new(0.2, 0.2, 0.2)
  204. else
  205. Part.Size = Size
  206. end
  207. return Part
  208. end;
  209. };
  210.  
  211. Mesh = {
  212. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  213. local Msh = Create(Mesh){
  214. Parent = Part,
  215. Offset = OffSet,
  216. Scale = Scale,
  217. }
  218. if Mesh == "SpecialMesh" then
  219. Msh.MeshType = MeshType
  220. Msh.MeshId = MeshId
  221. end
  222. return Msh
  223. end;
  224. };
  225.  
  226. Weld = {
  227. Create = function(Parent, Part0, Part1, C0, C1)
  228. local Weld = Create("Weld"){
  229. Parent = Parent,
  230. Part0 = Part0,
  231. Part1 = Part1,
  232. C0 = C0,
  233. C1 = C1,
  234. }
  235. return Weld
  236. end;
  237. };
  238.  
  239. Sound = {
  240. Create = function(id, par, vol, pit)
  241. coroutine.resume(coroutine.create(function()
  242. local S = Create("Sound"){
  243. Volume = vol,
  244. Pitch = pit or 1,
  245. SoundId = "rbxassetid://" .. id,
  246. Parent = par or workspace,
  247. }
  248. wait()
  249. S:play()
  250. game:GetService("Debris"):AddItem(S, 10)
  251. end))
  252. end;
  253. };
  254.  
  255. ParticleEmitter = {
  256. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  257. local Particle = Create("ParticleEmitter"){
  258. Parent = Parent,
  259. Color = ColorSequence.new(Color1, Color2),
  260. LightEmission = LightEmission,
  261. Size = Size,
  262. Texture = Texture,
  263. Transparency = Transparency,
  264. ZOffset = ZOffset,
  265. Acceleration = Accel,
  266. Drag = Drag,
  267. LockedToPart = LockedToPart,
  268. VelocityInheritance = VelocityInheritance,
  269. EmissionDirection = EmissionDirection,
  270. Enabled = Enabled,
  271. Lifetime = LifeTime,
  272. Rate = Rate,
  273. Rotation = Rotation,
  274. RotSpeed = RotSpeed,
  275. Speed = Speed,
  276. VelocitySpread = VelocitySpread,
  277. }
  278. return Particle
  279. end;
  280. };
  281.  
  282. CreateTemplate = {
  283.  
  284. };
  285. }
  286. -- i deal with that shit alot ngl
  287.  
  288. SwordHandle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","SwordHandle",Vector3.new(0.869999945, 0.450000048, 0.440000325))
  289. SwordHandleWeld=CFuncs.Weld.Create(m,Character["Right Arm"],SwordHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.185770988, 0.870510101, 0.408577919, 0.203587696, 0.0859783739, 0.975274265, 0.215029001, 0.967887759, -0.130214334, -0.955151618, 0.236222297, 0.178562179))
  290.  
  291. FSwordHandle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","SwordHandle",Vector3.new(0.869999945, 0.450000048, 0.440000325))
  292. FSwordHandleWeld=CFuncs.Weld.Create(m,FSwordHandle,SwordHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.185770988, 0.870510101, 0.408577919, 0.203587696, 0.0859783739, 0.975274265, 0.215029001, 0.967887759, -0.130214334, -0.955151618, 0.236222297, 0.178562179))
  293.  
  294. SwordHitbox=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","SwordHitbox",Vector3.new(2.86000085, 0.780000031, 0.490000904))
  295. SwordHitboxWeld=CFuncs.Weld.Create(m,FSwordHandle,SwordHitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.40326214, -0.0246145725, 0.0822520256, 0.996526599, -0.0713239759, 0.0429853499, -0.0685022175, -0.995603502, -0.063884899, 0.04735291, 0.0607184023, -0.997031152))
  296. Sword=CFuncs.Part.Create(m,Enum.Material.Plastic,0.40000000596046,0,"Dark stone grey","Sword",Vector3.new(1, 0.800000012, 4))
  297. SwordWeld=CFuncs.Weld.Create(m,FSwordHandle,Sword,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00868201256, -0.0434961319, -1.57871437, -0.0685393885, -0.995604873, -0.0638238713, -0.0473001003, -0.060659457, 0.997037172, -0.996526659, 0.0713551864, -0.0429345965))
  298. CFuncs.Mesh.Create("SpecialMesh",Sword,Enum.MeshType.FileMesh,"rbxasset://fonts/sword.mesh",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  299. SwordTip=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","SwordTip",Vector3.new(0.0500000007, 0.0500000007, 0.0500000007))
  300. SwordTipWeld=CFuncs.Weld.Create(m,FSwordHandle,SwordTip,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.99350071, 0.0115001202, -0.0282430649, 0.996526718, -0.0713239908, 0.0429855287, 0.0685023069, 0.995603621, 0.0638830736, -0.0473529696, -0.0607165657, 0.997031391))
  301. SwordBase=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","SwordBase",Vector3.new(0.0500000007, 0.0500000007, 0.0500000007))
  302. SwordBaseWeld=CFuncs.Weld.Create(m,FSwordHandle,SwordBase,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.965875626, -0.108898878, -0.0282406807, 0.996527016, -0.0713239983, 0.0429854989, 0.0685023293, 0.995603859, 0.0638830885, -0.0473529994, -0.0607165806, 0.997031689))
  303. sw00ng=CFuncs.Mesh.Create("SpecialMesh",Sword,Enum.MeshType.FileMesh,"rbxasset://fonts/sword.mesh",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  304. sw00ng.TextureId = "rbxasset://textures/SwordTexture.png"
  305. Dodgebox=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","Dodgebox",Vector3.new(0.380000204, 0.440000057, 0.370000631))
  306. DodgeboxWeld=CFuncs.Weld.Create(m,Character["Left Arm"],Dodgebox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.19000053, 0.0500006676, 0.00499725342, -5.2829273e-07, -1, 9.87201929e-08, -1.00000012, 5.32949343e-07, -2.98023224e-08, 2.98023224e-08, -9.68575478e-08, -1.00000012))
  307. RHandle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","RHandle",Vector3.new(4.92000628, 0.740000546, 0.839999795))
  308. RHandleWeld=CFuncs.Weld.Create(m,Character["Left Arm"],RHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.891376376, 0.0220794678, -0.335389137, -0.0211870149, 0.999322236, 0.0301050469, 0.985142112, 0.0157343224, 0.171019673, 0.170430094, 0.0332811475, -0.98480773))
  309. kaboomsky=CFuncs.Mesh.Create("SpecialMesh",RHandle,Enum.MeshType.FileMesh,"rbxasset://fonts/rocketlauncher.mesh",Vector3.new(0, 0, 0),Vector3.new(0.75, 0.75, 0.75))
  310. RocketMaker=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","RocketMaker",Vector3.new(0.349999934, 0.350000024, 0.369999945))
  311. RocketMakerWeld=CFuncs.Weld.Create(m,RHandle,RocketMaker,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.6350019, 0.17499733, 0.0449929237, 0.999999702, 0, 7.4505806e-09, 0, 1.72555447e-05, -1, 0, 1.00000012, 1.72555447e-05))
  312.  
  313. kaboomsky=CFuncs.Mesh.Create("SpecialMesh",RHandle,Enum.MeshType.FileMesh,"rbxasset://fonts/rocketlauncher.mesh",Vector3.new(0, 0, 0),Vector3.new(0.75, 0.75, 0.75))
  314. kaboomsky.TextureId = "rbxasset://textures/rocketlaunchertex.png"
  315.  
  316. for _,v in pairs(m:GetChildren()) do
  317. if v:IsA("BasePart") then
  318. v.Transparency = 1
  319. end
  320. end
  321.  
  322. local athp = Instance.new("Attachment",FSwordHandle)
  323. local atho = Instance.new("Attachment",FSwordHandle)
  324.  
  325. Character[ToolName].Handle:FindFirstChildOfClass("AlignPosition").Attachment1 = athp
  326. Character[ToolName].Handle:FindFirstChildOfClass("AlignOrientation").Attachment1 = atho
  327.  
  328. athp.Position = Vector3.new(-2.7,0,0)
  329. atho.Rotation = Vector3.new(0,0,-45)
  330.  
  331.  
  332. swordtrail = Instance.new("Trail", SwordHitbox)
  333. A2 = Instance.new('Attachment',SwordBase)
  334. A3 = Instance.new('Attachment',SwordTip)
  335. swordtrail.Lifetime = .1
  336. swordtrail.Enabled = false
  337. swordtrail.Attachment0 = A2
  338. swordtrail.Attachment1 = A3
  339. local startColor = Color3.new(0, 0, 0)
  340. local endColor = Color3.new(200,200, 200)
  341. local startT = .2
  342. local endT = .8
  343.  
  344. local sequence = ColorSequence.new(startColor, endColor)
  345. local sequence2 = NumberSequence.new(startT, endT)
  346.  
  347. swordtrail.Color = sequence
  348. swordtrail.Transparency = sequence2
  349.  
  350.  
  351. local function RayCast(Position, Direction, Range, Ignore)
  352. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  353. end
  354. -- if you copy my outfit then youre a fan boy of mine
  355.  
  356. local function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  357. if hit.Parent == nil then
  358. return
  359. end
  360. local h = hit.Parent:FindFirstChild("Humanoid")
  361. for _, v in pairs(hit.Parent:children()) do
  362. if v:IsA("Humanoid") then
  363. h = v
  364. end
  365. end
  366. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  367. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  368. if hit.Parent.DebounceHit.Value == true then
  369. return
  370. end
  371. end
  372. local c = Create("ObjectValue"){
  373. Name = "creator",
  374. Value = game:service("Players").LocalPlayer,
  375. Parent = h,
  376. }
  377. game:GetService("Debris"):AddItem(c, .5)
  378. if HitSound ~= nil and HitPitch ~= nil then
  379. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  380. end
  381. local Damage = math.random(minim, maxim)
  382. local blocked = false
  383. local block = hit.Parent:findFirstChild("Block")
  384. if block ~= nil then
  385. if block.className == "IntValue" then
  386. if block.Value > 0 then
  387. blocked = true
  388. block.Value = block.Value - 1
  389. print(block.Value)
  390. end
  391. end
  392. end
  393. if blocked == false then
  394. coroutine.wrap(function()
  395. DamageFling(h.Parent)
  396. end)()
  397. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), Damage, 1, BrickColor.new(Torso.Color).Color)
  398. else
  399. coroutine.wrap(function()
  400. DamageFling(h.Parent)
  401. end)()
  402. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), Damage, 1, BrickColor.new(Torso.Color).Color)
  403. end
  404. if Type == "Knockdown" then
  405. local hum = hit.Parent.Humanoid
  406. hum.PlatformStand = true
  407. coroutine.resume(coroutine.create(function(HHumanoid)
  408. swait(1)
  409. HHumanoid.PlatformStand = false
  410. end), hum)
  411. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  412. local bodvol = Create("BodyVelocity"){
  413. velocity = angle * knockback,
  414. P = 5000,
  415. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  416. Parent = hit,
  417. }
  418. local rl = Create("BodyAngularVelocity"){
  419. P = 3000,
  420. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  421. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  422. Parent = hit,
  423. }
  424. game:GetService("Debris"):AddItem(bodvol, .5)
  425. game:GetService("Debris"):AddItem(rl, .5)
  426. elseif Type == "Normal" then
  427. local vp = Create("BodyVelocity"){
  428. P = 500,
  429. maxForce = Vector3.new(math.huge, 0, math.huge),
  430. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  431. }
  432. if knockback > 0 then
  433. vp.Parent = hit.Parent.Torso
  434. end
  435. game:GetService("Debris"):AddItem(vp, .5)
  436. elseif Type == "Up" then
  437. local bodyVelocity = Create("BodyVelocity"){
  438. velocity = Vector3.new(0, 20, 0),
  439. P = 5000,
  440. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  441. Parent = hit,
  442. }
  443. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  444. elseif Type == "DarkUp" then
  445. coroutine.resume(coroutine.create(function()
  446. for i = 0, 1, 0.1 do
  447. swait()
  448. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  449. end
  450. end))
  451. local bodyVelocity = Create("BodyVelocity"){
  452. velocity = Vector3.new(0, 20, 0),
  453. P = 5000,
  454. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  455. Parent = hit,
  456. }
  457. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  458. elseif Type == "Snare" then
  459. local bp = Create("BodyPosition"){
  460. P = 2000,
  461. D = 100,
  462. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  463. position = hit.Parent.Torso.Position,
  464. Parent = hit.Parent.Torso,
  465. }
  466. game:GetService("Debris"):AddItem(bp, 1)
  467. elseif Type == "Freeze" then
  468. local BodPos = Create("BodyPosition"){
  469. P = 50000,
  470. D = 1000,
  471. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  472. position = hit.Parent.Torso.Position,
  473. Parent = hit.Parent.Torso,
  474. }
  475. local BodGy = Create("BodyGyro") {
  476. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  477. P = 20e+003,
  478. Parent = hit.Parent.Torso,
  479. cf = hit.Parent.Torso.CFrame,
  480. }
  481. hit.Parent.Torso.Anchored = true
  482. coroutine.resume(coroutine.create(function(Part)
  483. swait(1.5)
  484. Part.Anchored = false
  485. end), hit.Parent.Torso)
  486. game:GetService("Debris"):AddItem(BodPos, 3)
  487. game:GetService("Debris"):AddItem(BodGy, 3)
  488. end
  489. local debounce = Create("BoolValue"){
  490. Name = "DebounceHit",
  491. Parent = hit.Parent,
  492. Value = true,
  493. }
  494. game:GetService("Debris"):AddItem(debounce, Delay)
  495. c = Create("ObjectValue"){
  496. Name = "creator",
  497. Value = Player,
  498. Parent = h,
  499. }
  500. game:GetService("Debris"):AddItem(c, .5)
  501. end
  502. end
  503. -- not that i mind at all but yk
  504. function ShowDamage(Pos, Text, Time, Color)
  505. local Rate = (1 / 30)
  506. local Pos = (Pos or Vector3.new(0, 0, 0))
  507. local Text = (Text or "")
  508. local Time = (Time or 2)
  509. local Color = (Color or Color3.new(1, 0, 1))
  510. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  511. EffectPart.Anchored = true
  512. local BillboardGui = Create("BillboardGui"){
  513. Size = UDim2.new(3, 0, 3, 0),
  514. Adornee = EffectPart,
  515. Parent = EffectPart,
  516. }
  517. local TextLabel = Create("TextLabel"){
  518. BackgroundTransparency = 1,
  519. Size = UDim2.new(1, 0, 1, 0),
  520. Text = Text,
  521. Font = "SourceSansLight",
  522. TextColor3 = Color,
  523. TextScaled = true,
  524. Parent = BillboardGui,
  525. }
  526. game.Debris:AddItem(EffectPart, (Time))
  527. EffectPart.Parent = game:GetService("Workspace")
  528. delay(0, function()
  529. local Frames = (Time / Rate)
  530. for Frame = 1, Frames do
  531. wait(Rate)
  532. local Percent = (Frame / Frames)
  533. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  534. TextLabel.TextTransparency = Percent
  535. end
  536. if EffectPart and EffectPart.Parent then
  537. EffectPart:Destroy()
  538. end
  539. end)
  540. end
  541.  
  542. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  543. for _, c in pairs(workspace:children()) do
  544. local hum = c:findFirstChild("Humanoid")
  545. if hum ~= nil then
  546. local head = c:findFirstChild("Torso")
  547. if head ~= nil then
  548. local targ = head.Position - Part.Position
  549. local mag = targ.magnitude
  550. if mag <= Magnitude and c.Name ~= Player.Name then
  551. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch)
  552. end
  553. end
  554. end
  555. end
  556. end
  557.  
  558. EffectModel = Create("Model"){
  559. Parent = Character,
  560. Name = "EffectModel",
  561. }
  562.  
  563. Effects = {
  564. Block = {
  565. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type, Part)
  566. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  567. prt.Anchored = true
  568. prt.CFrame = cframe
  569. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  570. game:GetService("Debris"):AddItem(prt, 10)
  571. if Type == 1 or Type == nil then
  572. table.insert(Effects, {
  573. prt,
  574. "Block1",
  575. delay,
  576. x3,
  577. y3,
  578. z3,
  579. msh
  580. })
  581. elseif Type == 2 then
  582. table.insert(Effects, {
  583. prt,
  584. "Block2",
  585. delay,
  586. x3,
  587. y3,
  588. z3,
  589. msh
  590. })
  591. elseif Type == 3 then
  592. table.insert(Effects, {
  593. prt,
  594. "Block3",
  595. delay,
  596. x3,
  597. y3,
  598. z3,
  599. msh,
  600. Part
  601. })
  602. elseif Type == 4 then
  603. table.insert(Effects, {
  604. prt,
  605. "Block2Fire",
  606. delay,
  607. x3,
  608. y3,
  609. z3,
  610. msh
  611. })
  612. end
  613. end
  614. };
  615.  
  616. Sphere = {
  617. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, parent)
  618. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  619. prt.Anchored = true
  620. prt.CFrame = cframe
  621. if parent == nil then
  622. prt.Parent = workspace
  623. else
  624. prt.Parent = parent
  625. end
  626. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  627. game:GetService("Debris"):AddItem(prt, 10)
  628. table.insert(Effects, {
  629. prt,
  630. "Cylinder",
  631. delay,
  632. x3,
  633. y3,
  634. z3,
  635. msh
  636. })
  637. end
  638. };
  639.  
  640. Blood = {
  641. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  642. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  643. prt.Anchored = true
  644. prt.CFrame = cframe
  645. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  646. game:GetService("Debris"):AddItem(prt, 10)
  647. table.insert(Effects, {
  648. prt,
  649. "Blood",
  650. delay,
  651. x3,
  652. y3,
  653. z3,
  654. msh
  655. })
  656. end
  657. };
  658.  
  659. Blast = {
  660. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Part)
  661. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  662. prt.Anchored = true
  663. prt.CFrame = cframe
  664. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "1323306", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  665. game:GetService("Debris"):AddItem(prt, 10)
  666. table.insert(Effects, {
  667. prt,
  668. "Block4",
  669. delay,
  670. x3,
  671. y3,
  672. z3,
  673. msh,
  674. Part
  675. })
  676. end
  677. };
  678. -- showcased by ilykiwi
  679. Ring = {
  680. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  681. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  682. prt.Anchored = true
  683. prt.CFrame = cframe
  684. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  685. game:GetService("Debris"):AddItem(prt, 10)
  686. table.insert(Effects, {
  687. prt,
  688. "Cylinder",
  689. delay,
  690. x3,
  691. y3,
  692. z3,
  693. msh
  694. })
  695. end
  696. };
  697.  
  698. Cylinder = {
  699. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  700. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  701. prt.Anchored = true
  702. prt.CFrame = cframe
  703. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  704. game:GetService("Debris"):AddItem(prt, 10)
  705. table.insert(Effects, {
  706. prt,
  707. "Cylinder",
  708. delay,
  709. x3,
  710. y3,
  711. z3,
  712. msh
  713. })
  714. end
  715. };
  716.  
  717. Head = {
  718. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  719. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  720. prt.Anchored = true
  721. prt.CFrame = cframe
  722. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  723. game:GetService("Debris"):AddItem(prt, 10)
  724. table.insert(Effects, {
  725. prt,
  726. "Cylinder",
  727. delay,
  728. x3,
  729. y3,
  730. z3,
  731. msh
  732. })
  733. end
  734. };
  735.  
  736. Wave = {
  737. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  738. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  739. prt.Anchored = true
  740. prt.CFrame = cframe
  741. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  742. game:GetService("Debris"):AddItem(prt, 10)
  743. table.insert(Effects, {
  744. prt,
  745. "Cylinder",
  746. delay,
  747. x3,
  748. y3,
  749. z3,
  750. msh
  751. })
  752. end
  753. };
  754.  
  755. Break = {
  756. Create = function(brickcolor, cframe, x1, y1, z1)
  757. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  758. prt.Anchored = true
  759. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  760. game:GetService("Debris"):AddItem(prt, 10)
  761. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  762. local num = math.random(10, 50) / 1000
  763. table.insert(Effects, {
  764. prt,
  765. "Shatter",
  766. num,
  767. prt.CFrame,
  768. math.random() - math.random(),
  769. 0,
  770. math.random(50, 100) / 100
  771. })
  772. end
  773. };
  774.  
  775. Elec = {
  776. Create = function(brickcolor, cff, x, y, z)
  777. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Part", Vector3.new(1, 1, 1))
  778. prt.Anchored = true
  779. prt.CFrame = cff * CFrame.new(math.random(-x * 100, x * 100) / 100, math.random(-y * 100, y * 100) / 100, math.random(-z * 100, z * 100) / 100)
  780. prt.CFrame = CFrame.new(prt.Position)
  781. game:GetService("Debris"):AddItem(prt, 10)
  782. xval = math.random() / 9
  783. yval = math.random() / 9
  784. zval = math.random() / 9
  785. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  786. eul1 = math.random(-50, 50)
  787. eul2 = math.random(-50, 50)
  788. eul3 = math.random(-50, 50)
  789. euld = CFrame.fromEulerAnglesXYZ(eul1, eul2, eul3)
  790. euld2 = CFrame.fromEulerAnglesXYZ(-eul1, -eul2, -eul3)
  791. table.insert(Effects, {
  792. prt,
  793. "Elec",
  794. .05,
  795. x,
  796. y,
  797. z,
  798. xval,
  799. yval,
  800. zval,
  801. msh,
  802. euld,
  803. euld2
  804. })
  805. end
  806. };
  807.  
  808. Elec2 = {
  809. Create = function(brickcolor, cff, x, y, z)
  810. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Part", Vector3.new(1, 1, 1))
  811. prt.Anchored = true
  812. prt.CFrame = cff * CFrame.new(math.random(-x * 100, x * 100) / 100, math.random(-y * 100, y * 100) / 100, math.random(-z * 100, z * 100) / 100)
  813. prt.CFrame = CFrame.new(prt.Position)
  814. game:GetService("Debris"):AddItem(prt, 10)
  815. xval = math.random() / 7
  816. yval = math.random() / 7
  817. zval = math.random() / 7
  818. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  819. eul1 = math.random(-50, 50)
  820. eul2 = math.random(-50, 50)
  821. eul3 = math.random(-50, 50)
  822. euld = CFrame.fromEulerAnglesXYZ(eul1, eul2, eul3)
  823. euld2 = CFrame.fromEulerAnglesXYZ(-eul1, -eul2, -eul3)
  824. table.insert(Effects, {
  825. prt,
  826. "Elec",
  827. .1,
  828. x,
  829. y,
  830. z,
  831. xval,
  832. yval,
  833. zval,
  834. msh,
  835. euld,
  836. euld2
  837. })
  838. end
  839. };
  840.  
  841. Clone = {
  842. Create = function()
  843. for _, v in pairs(Torso.Parent:children()) do
  844. if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
  845. local c = CFuncs.Part.Create(EffectModel, "Neon", 0, .5, BrickColor.new("Bright blue"), "Effect", v.Size)
  846. c.Anchored = true
  847. c.CFrame = v.CFrame
  848. game:GetService("Debris"):AddItem(c, 5)
  849. local cmsh = nil
  850. if v.Name == "Head" then
  851. cmsh = CFuncs.Mesh.Create("SpecialMesh", c, "Head", "", Vector3.new(0, 0, 0), v.Mesh.Scale)
  852. else
  853. cmsh = CFuncs.Mesh.Create("BlockMesh", c, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  854. end
  855. table.insert(Effects, {
  856. c,
  857. "Cylinder",
  858. 0.05,
  859. 0.1,
  860. 0.1,
  861. 0.1,
  862. cmsh
  863. })
  864. end
  865. end
  866. end
  867. };
  868.  
  869. EffectTemplate = {
  870.  
  871. };
  872. }
  873.  
  874.  
  875.  
  876. function basicatk3()
  877. Attack = true
  878. for i = 0, 1, 0.1 do
  879. swait()
  880. PlayAnimationFromTable({
  881. CFrame.new(-0.0142343417, 0.0233179983, 0.020687107, 0.573575377, 0, -0.819152832, 0, 1, 0, 0.819152832, 0, 0.573575377) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  882. CFrame.new(2.98023224e-07, 1.49992621, 2.16066837e-07, 0.608099699, -0.0691893846, 0.790839791, 0, 0.99619478, 0.0871555731, -0.793860614, -0.0529992878, 0.605785728) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  883. CFrame.new(2.05688548, 0.769726157, 0.0676793456, -0.311439514, -0.945715487, -0.092885226, 0.945463896, -0.298567384, -0.130214006, 0.09541291, -0.128373384, 0.987125456) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  884. CFrame.new(-0.411215395, 0.158524469, -0.878887057, 0.250847429, -0.870902896, 0.422615528, 0.960933626, 0.276778936, -3.5065608e-07, -0.116970763, 0.406105578, 0.906309128) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  885. CFrame.new(0.657444179, -1.99999833, -0.128117085, 0.896965504, -0.0924630314, 0.432323426, 0.14320904, 0.98592627, -0.0862591267, -0.418263227, 0.139284089, 0.897583365) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  886. CFrame.new(-0.494430214, -2.06444812, 0.151889086, 0.924378932, -0.0320322104, 0.380128324, -0.00379799958, 0.995646238, 0.093135722, -0.381456703, -0.0875364318, 0.920232713) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  887. }, .3, false)
  888. FSwordHandleWeld.C0 = clerp(FSwordHandleWeld.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), 1)
  889. end
  890. swordtrail.Enabled = true
  891. local con = SwordHitbox.Touched:connect(function(hit)
  892. Damage(SwordHitbox, hit, 0, 0, 0, "Normal", RootPart, 0.2, "851453784", 1)end)
  893. CFuncs.Sound.Create("12222208", SwordHitbox, 1, 1)
  894. for i = 0, 1, 0.1 do
  895. swait()
  896. PlayAnimationFromTable({
  897. CFrame.new(-0.0142339114, 0.0233179983, 0.0206872839, 0.642787755, 0, 0.766044497, 0, 1, 0, -0.766044497, 0, 0.642787755) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  898. CFrame.new(9.59248496e-07, 1.49992597, 4.65522191e-07, 0.60942173, 0, -0.792846382, 0, 1, 0, 0.792846322, 0, 0.609421849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  899. CFrame.new(1.73596513, 0.521444082, -0.798278034, 0.809956312, -0.584440529, 0.0489933714, 0.032929007, -0.0380880162, -0.998731732, 0.585565269, 0.810542405, -0.0116045829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  900. CFrame.new(-1.85990238, 0.325684935, -0.117992491, 0.89608562, 0.442657262, 0.0329447091, -0.4075903, 0.849945962, -0.333859384, -0.175786465, 0.285738617, 0.942047179) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  901. CFrame.new(0.425910503, -2.07023525, 0.0920312852, 0.940003216, -0.0248685181, 0.340258449, -0.0248680059, 0.98969233, 0.141034499, -0.340258539, -0.141034409, 0.929695547) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  902. CFrame.new(-0.614895225, -2, -0.0110759763, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  903. }, .3, false)
  904. Torso.Velocity=RootPart.CFrame.lookVector*50
  905. FSwordHandleWeld.C0 = clerp(FSwordHandleWeld.C0, CFrame.new(.5, .5, 0) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(-90)), .5)
  906. end
  907. Torso.Velocity=RootPart.CFrame.lookVector*0
  908. con:Disconnect()
  909. swordtrail.Enabled = false
  910. Attack = false
  911. end
  912.  
  913. function basicatk1()
  914. Attack = true
  915. CFuncs.Sound.Create("12222216", SwordHitbox, 1, 1)
  916. local con = SwordHitbox.Touched:connect(function(hit)
  917. Damage(SwordHitbox, hit, 0, 0, 0, "Normal", RootPart, 0.2, "851453784", 1)end)
  918. for i = 0, 1, 0.1 do
  919. swait()
  920. PlayAnimationFromTable({
  921. CFrame.new(-0.0142327882, 0.0233180653, 0.0206850152, 0.342022419, 9.53674316e-07, -0.939693272, -1.97067857e-06, 0.999999821, -2.77161598e-06, 0.939691842, -3.1888485e-06, 0.342018187) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  922. CFrame.new(-3.0002484e-06, 1.49992502, -4.16819603e-06, 0.536599159, 0, 0.843837321, 0, 1, 0, -0.843837321, 0, 0.536599159) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  923. CFrame.new(1.86725414, 0.520918071, 0.271278173, -0.192566082, -0.920491397, -0.340020508, 0.967886448, -0.121106967, -0.220293105, 0.16159907, -0.371522188, 0.914252102) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  924. CFrame.new(-1.63878369, 0.0883156657, 0.277901947, 0.932158768, 0.313689649, 0.180773243, -0.33414492, 0.937619865, 0.0960013121, -0.139381975, -0.149892926, 0.978828311) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  925. CFrame.new(0.631921172, -2.00664234, -0.186664119, 0.932272255, -0.109707505, 0.344721258, 0.134574026, 0.989692569, -0.0489756428, -0.335795075, 0.0920491666, 0.937426567) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  926. CFrame.new(-0.51753515, -2, 0.082954295, 0.939693093, 0, 0.342018992, 0, 1, 0, -0.342019022, 0, 0.939693093) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  927. }, .3, false)
  928. FSwordHandleWeld.C0 = clerp(FSwordHandleWeld.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0)), 1)
  929. end
  930. swordtrail.Enabled = true
  931. for i = 0, .5, 0.1 do
  932. swait()
  933. PlayAnimationFromTable({
  934. CFrame.new(-0.0142326681, 0.0233180001, 0.0206871442, 1.78813934e-07, 0, 1.00000203, 0, 1, 0, -1.00000203, 0, 1.49011612e-07) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  935. CFrame.new(0, 1.49992609, 0, 0.462487102, 0, -0.886626124, 0, 1, 0, 0.886626124, 0, 0.462487072) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  936. CFrame.new(1.59986377, 0.488647908, -0.460965931, 0.695726395, -0.716896534, 0.0449903496, 0.0475609899, -0.0165210012, -0.998731732, 0.716730595, 0.696983814, 0.0226022154) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  937. CFrame.new(-1.80470943, 0.308719665, 0.00611042976, 0.864646077, 0.492070675, 0.1012609, -0.498273998, 0.865697801, 0.0478584878, -0.0641115457, -0.0918363109, 0.993708193) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  938. CFrame.new(0.450665146, -1.87432182, 0.242756784, 0.938798666, 0.182527304, -0.29213196, -0.024868004, 0.881770015, 0.471023679, 0.343567908, -0.434931636, 0.832343459) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  939. CFrame.new(-0.463921428, -2, -0.403737426, 0.766046047, 0, -0.642788887, 0, 1, 0, 0.642788887, 0, 0.766046047) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  940. }, .3, false)
  941. FSwordHandleWeld.C0 = clerp(FSwordHandleWeld.C0, CFrame.new(.5, .5, 0) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(-90)), 1)
  942. end
  943.  
  944.  
  945. for i = 0, .5, 0.1 do
  946. swait()
  947. PlayAnimationFromTable({
  948. CFrame.new(-0.0142326681, 0.0233180001, 0.0206871442, 1.78813934e-07, 0, 1.00000203, 0, 1, 0, -1.00000203, 0, 1.49011612e-07) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  949. CFrame.new(0, 1.49992609, 0, 0.462487102, 0, -0.886626124, 0, 1, 0, 0.886626124, 0, 0.462487072) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  950. CFrame.new(1.59986377, 0.488647908, -0.460965931, 0.695726395, -0.716896534, 0.0449903496, 0.0475609899, -0.0165210012, -0.998731732, 0.716730595, 0.696983814, 0.0226022154) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  951. CFrame.new(-1.80470943, 0.308719665, 0.00611042976, 0.864646077, 0.492070675, 0.1012609, -0.498273998, 0.865697801, 0.0478584878, -0.0641115457, -0.0918363109, 0.993708193) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  952. CFrame.new(0.450665146, -1.87432182, 0.242756784, 0.938798666, 0.182527304, -0.29213196, -0.024868004, 0.881770015, 0.471023679, 0.343567908, -0.434931636, 0.832343459) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  953. CFrame.new(-0.463921428, -2, -0.403737426, 0.766046047, 0, -0.642788887, 0, 1, 0, 0.642788887, 0, 0.766046047) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  954. }, .3, false)
  955. FSwordHandleWeld.C0 = clerp(FSwordHandleWeld.C0, CFrame.new(0, .5, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), .1)
  956. end
  957. swordtrail.Enabled = false
  958. con:Disconnect()
  959. Attack = false
  960. end
  961.  
  962.  
  963.  
  964.  
  965.  
  966. function basicatk2()
  967. Attack = true
  968. CFuncs.Sound.Create("12222216", SwordHitbox, 1, .8)
  969. local con = SwordHitbox.Touched:connect(function(hit)
  970. Damage(SwordHitbox, hit, 0, 0, 0, "Normal", RootPart, 0.2, "851453784", 1)end)
  971. for i = 0, .5, 0.1 do
  972. PlayAnimationFromTable({
  973. CFrame.new(0.199326009, 0, -0.0621959642, 0.500000238, 0, 0.866025388, 0, 1, 0, -0.866025388, 0, 0.500000238) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  974. CFrame.new(0, 1.49999201, 0, 0.866025805, 0, -0.499999762, 0, 1, 0, 0.499999762, 0, 0.866025805) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  975. CFrame.new(0.930871904, 0.250794977, -1.28154397, -0.0386770852, 0.569197655, -0.821290731, -0.998659015, 0.00628901878, 0.0513885207, 0.0344153345, 0.822176874, 0.568191111) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  976. CFrame.new(-1.60257423, 0.0277413726, -0.076416865, 0.0147553682, 0.129409567, 0.991481602, 0.224142969, 0.965926051, -0.12940973, -0.974444628, 0.224143118, -0.0147536397) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  977. CFrame.new(0.624383092, -1.99999106, -0.0120142996, 0.707107008, 0, -0.707106769, 0, 1, 0, 0.707106769, 0, 0.707107008) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  978. CFrame.new(-0.482958466, -1.99999106, -0.129410326, 0.707106769, 0, 0.707107008, 0, 1, 0, -0.707107008, 0, 0.707106769) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  979. }, .3, false)
  980. FSwordHandleWeld.C0 = clerp(FSwordHandleWeld.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), 1)
  981. end
  982. swordtrail.Enabled = true
  983. for i = 0, .5, 0.1 do
  984. swait()
  985. PlayAnimationFromTable({
  986. CFrame.new(0.366101086, 0, -0.414826214, 0.258818984, 0, 0.965925872, 0, 1, 0, -0.965925872, 0, 0.258818984) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  987. CFrame.new(0, 1.49999201, 0, 0.342023224, 0, -0.939691603, 0, 1, 0, 0.939691603, 0, 0.342023224) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  988. CFrame.new(0.0553627312, 1.3573252, -1.17095125, 0.785249949, 0.559134185, 0.265991658, 0.545306027, -0.827990174, 0.130666092, 0.293298304, 0.0424413234, -0.955078542) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  989. CFrame.new(-1.60256672, 0.0277402997, -0.0764263347, 0.0147550702, 0.129409924, 0.991481423, 0.224143073, 0.965925932, -0.129410043, -0.974444628, 0.224143118, -0.0147539973) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  990. CFrame.new(0.624385655, -1.99999106, -0.0120021999, 0.707108498, 0, -0.70710516, 0, 1, 0, 0.70710516, 0, 0.707108498) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  991. CFrame.new(-0.48295331, -1.99999106, -0.129420042, 0.70710516, 0, 0.707108498, 0, 1, 0, -0.707108498, 0, 0.70710516) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  992. }, .3, false)
  993. FSwordHandleWeld.C0 = clerp(FSwordHandleWeld.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), 1)
  994. end
  995. for i = 0, .5, 0.1 do
  996. swait()
  997. PlayAnimationFromTable({
  998. CFrame.new(0.366099417, -0.200000986, -0.414823025, 0.582563281, 0.271655113, 0.766044199, -0.42261821, 0.906307876, -1.75809453e-06, -0.694272339, -0.323743135, 0.642787993) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  999. CFrame.new(-0.231262937, 1.54721832, -0.0511251986, 0.851651847, -0.42261821, -0.309973061, 0.397132277, 0.906307876, -0.144540951, 0.342016667, -1.75809453e-06, 0.939694047) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1000. CFrame.new(-0.0908454061, 1.16592097, -1.08897507, -0.0772816539, 0.583855987, 0.808170736, 0.727612376, -0.521148086, 0.446077228, 0.681621552, 0.622508645, -0.384545565) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1001. CFrame.new(-1.61299813, 0.0366990864, 0.314264029, -0.455841899, 0.169077203, 0.87385428, 0.0347501114, 0.984423816, -0.172343403, -0.889382243, -0.048194766, -0.454617083) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1002. CFrame.new(1.21119905, -1.34869587, -0.183849275, 0.851651549, -0.252021521, -0.459537864, 0.397132158, 0.882479608, 0.252023607, 0.342017442, -0.39713347, 0.851650953) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1003. CFrame.new(0.0580956787, -1.95897889, 0.369651437, 0.640855312, -0.42261821, 0.640857816, 0.298834234, 0.906307876, 0.298838168, -0.707108855, -1.75809453e-06, 0.707104981) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1004. }, .3, false)
  1005. FSwordHandleWeld.C0 = clerp(FSwordHandleWeld.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), 1)
  1006. end
  1007. for i = 0, .5, 0.1 do
  1008. swait()
  1009. PlayAnimationFromTable({
  1010. CFrame.new(0.366085619, -1.19999647, -0.414817601, 0.582568169, -0.412207156, 0.700499654, -0.422613144, 0.582565188, 0.69427377, -0.694271266, -0.700502098, 0.165179759) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1011. CFrame.new(0.112729274, 1.56678414, 0.254275501, 0.577656388, 0.0997146964, -0.810166836, -0.213354647, 0.976452529, -0.0319427848, 0.787904203, 0.191304803, 0.585328698) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1012. CFrame.new(1.96889925, 0.746382177, -0.185331225, 0.0769328177, -0.997015715, 0.00641870499, 0.879773498, 0.0648541152, -0.470948815, 0.469127119, 0.0418784246, 0.882137418) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1013. CFrame.new(-1.88176703, 0.136358321, 0.177449048, -0.455846965, 0.778092861, 0.43217504, 0.703643739, 0.612389445, -0.360367835, -0.545058966, 0.139824644, -0.826655984) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1014. CFrame.new(0.90178746, -1.14663219, -0.653959215, 0.851655245, 0.190028608, -0.488439023, -0.00672882795, 0.935840786, 0.352359027, 0.524059415, -0.296801776, 0.798292339) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1015. CFrame.new(-0.830604553, -2.07172632, -0.233860642, 0.784890771, 0.0754829049, -0.615019679, -0.147760659, 0.986719251, -0.0674703121, 0.601758778, 0.143832445, 0.785620093) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1016. }, .3, false)
  1017. FSwordHandleWeld.C0 = clerp(FSwordHandleWeld.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), 1)
  1018. end
  1019. swordtrail.Enabled = false
  1020. con:Disconnect()
  1021. Attack = false
  1022. end
  1023.  
  1024.  
  1025. function dodgeball()
  1026. Attack = true
  1027. humanoid.AutoRotate = false
  1028. local spawnPos = Torso.Position
  1029. orb1=CFuncs.Part.Create(Torso, "Neon", 0, 0, BrickColor.new("Crimson"), "ref", Vector3.new(2,2,2))
  1030. orb1.Anchored=true
  1031. orb1.CanCollide=false
  1032.  
  1033. game:GetService("Debris"):AddItem(orb1, 10)
  1034. orb1.Elasticity = 1
  1035. local mbewm2 = Instance.new("SpecialMesh", orb1)
  1036. mbewm2.MeshType = "Sphere"
  1037. mbewm2.Scale = Vector3.new(1,1,1)
  1038. game:GetService("Debris"):AddItem(orb1, 3)
  1039. for i = 0, 2, 0.1 do
  1040. orb1.CFrame = Dodgebox.CFrame
  1041. swait()
  1042. PlayAnimationFromTable({
  1043. CFrame.new(-0.0142339477, 0.0233179312, 0.0206872448, 0.642789185, 7.39382813e-08, 0.766043305, -4.8651782e-07, 1, 3.11712938e-07, -0.766043305, -5.73050784e-07, 0.642789245) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1044. CFrame.new(-3.34310243e-06, 1.49992716, -2.40420513e-06, 0.609423697, -6.78923243e-07, -0.792844892, 8.58872227e-08, 1, -7.90281774e-07, 0.792844832, 4.13525413e-07, 0.609423757) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1045. CFrame.new(1.70033991, 0.0784267411, 0.291652292, 0.980928302, -0.190888226, -0.0366283059, 0.192193046, 0.924432218, 0.329373628, -0.0290131569, -0.330131561, 0.943489075) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1046. CFrame.new(-1.9394995, 0.331927955, -0.314799666, 0.117194936, 0.856613636, -0.502472639, -0.987918258, 0.0488963015, -0.14706032, -0.101404801, 0.513636589, 0.851994693) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1047. CFrame.new(0.596234262, -2.04406619, 0.245654553, 0.999976635, 0.00595425069, -0.00338888168, -0.00461965939, 0.95128876, 0.308266908, 0.00505927205, -0.308244109, 0.951293945) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1048. CFrame.new(-0.699660361, -2.00000048, 0.0218301564, 0.984807849, -4.44691977e-07, 0.173648536, 4.41870725e-07, 1, 5.48861863e-08, -0.173648536, 2.26791599e-08, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1049. }, .3, false)
  1050. RootPart.CFrame = CFrame.new(RootPart.Position, Vector3.new(Mouse.Hit.p.X, 0, Mouse.Hit.p.Z))
  1051. end
  1052. local con = orb1.Touched:connect(function(hit)
  1053. CFuncs.Sound.Create("112503990", Torso, 1, .8)end)
  1054. orb1.Anchored=false
  1055. orb1.CanCollide=true
  1056.  
  1057. local roketsped = 500
  1058. local spawnPosition = (RootPart.CFrame * CFrame.new(0, 0, -3)).p
  1059. orb1.CFrame = CFrame.new(spawnPosition, Mouse.hit.p)
  1060. orb1.Velocity = orb1.CFrame.lookVector * roketsped
  1061. local GRAVITY_ACCELERATION = 196.2
  1062. local bodyForce = Instance.new('BodyForce', orb1)
  1063. bodyForce.Name = 'Antigravity'
  1064. bodyForce.force = Vector3.new(0, orb1:GetMass() * GRAVITY_ACCELERATION, 0)
  1065.  
  1066. game:GetService("Debris"):AddItem(orb1, 8)
  1067.  
  1068. for i = 0, 1, 0.1 do
  1069. swait()
  1070. PlayAnimationFromTable({
  1071. CFrame.new(-0.0142358784, 0.0233174488, 0.0206872076, 0.642785072, 3.25146175e-06, -0.766046703, -2.37840504e-06, 1, 2.24876021e-06, 0.766046762, 3.76494427e-07, 0.642785072) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1072. CFrame.new(-5.94174753e-06, 1.49992752, 6.44530655e-06, 0.674973369, -2.24472751e-06, 0.737842202, 3.30112925e-06, 1, 2.24354153e-08, -0.737842202, 2.4205583e-06, 0.674973369) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1073. CFrame.new(1.67408049, 0.116924986, -0.235040307, 0.93551451, -0.291971684, 0.198909909, 0.329377055, 0.924430549, -0.192195028, -0.127762914, 0.245317593, 0.960987091) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1074. CFrame.new(-1.58664989, 0.765351355, -0.846855521, -0.120212317, 0.321875662, -0.939119458, -0.987918437, -0.131986037, 0.0812216997, -0.0978073403, 0.937537193, 0.333853245) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1075. CFrame.new(0.766593277, -1.96006727, -0.107848071, 0.976080298, -0.137189135, 0.168661386, 0.138399139, 0.990365744, 0.00461723236, -0.167669922, 0.0188358091, 0.985663354) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1076. CFrame.new(-0.403303981, -1.99999976, -0.0619408637, 0.984807789, -2.66062125e-06, 0.173648238, 2.98927625e-06, 1, -1.63115692e-06, -0.173648268, 2.1254591e-06, 0.98480773) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1077. }, .3, false)
  1078. RootPart.CFrame = CFrame.new(RootPart.Position, Vector3.new(Mouse.Hit.p.X, 0, Mouse.Hit.p.Z))
  1079. end
  1080. humanoid.AutoRotate = true
  1081. Attack = false
  1082. while orb1 do
  1083. swait()
  1084. MagnitudeDamage(orb1, 4, 0, 0, 100, "Normal", "112503990", 1)
  1085. end
  1086.  
  1087. end
  1088.  
  1089.  
  1090. function roketlunch()
  1091. Attack = true
  1092. humanoid.WalkSpeed = 0
  1093. humanoid.JumpPower = 0
  1094. RHandle.Transparency = 0
  1095. Sword.Transparency = 1
  1096. for i = 0, 1, 0.1 do
  1097. swait()
  1098. PlayAnimationFromTable({
  1099. CFrame.new(-0.0142319212, 0.0233183783, 0.0206877608, 1.00000012, 1.49011612e-08, 2.98023224e-08, 2.72463048e-08, 0.984807968, 0.173647314, 2.98023224e-08, -0.17364724, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1100. CFrame.new(0.0154076805, 1.5522356, -0.0916171968, 0.999084175, 0.0180828422, -0.0387787819, -0.00742995739, 0.9658584, 0.258964151, 0.0421376526, -0.258438855, 0.965108156) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1101. CFrame.new(1.28755724, 0.00418370962, -0.0650342703, 0.890014946, 0.230696142, -0.393259257, -0.298804998, 0.946620405, -0.120936036, 0.344367683, 0.225142673, 0.911439359) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1102. CFrame.new(-1.59552705, 0.053297095, -0.298519343, 0.986049891, 0.15347448, -0.0644321442, -0.162331849, 0.801095366, -0.576103032, -0.036800772, 0.578525543, 0.814833522) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1103. CFrame.new(0.573113441, -1.8059541, -0.374102622, 0.999206126, -0.0373207629, 0.0139417946, 0.0392762311, 0.98143959, -0.187706873, -0.00667765737, 0.188105404, 0.982126117) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1104. CFrame.new(-0.433013678, -1.95186841, 0.175973177, 1, 0, 2.98023224e-08, 0, 0.98480773, 0.173648328, 2.98023224e-08, -0.173648328, 0.984807789) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1105. }, .3, false)
  1106. end
  1107.  
  1108.  
  1109. for i = 0, 3, 0.1 do
  1110. swait()
  1111. PlayAnimationFromTable({
  1112. CFrame.new(-0.0142319426, -1.08839262, 0.0206871927, 1.00000012, 1.49011612e-08, 2.98023224e-08, 2.72463048e-08, 0.984807968, 0.173647314, 2.98023224e-08, -0.17364724, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1113. CFrame.new(0.0154080922, 1.55223548, -0.0916156173, 0.999084175, 0.0180828422, -0.0387787819, -0.00742995739, 0.9658584, 0.258964151, 0.0421376526, -0.258438855, 0.965108156) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1114. CFrame.new(0.428888142, 0.573096275, -1.0865351, 0.629741013, 0.73693651, -0.245664269, -0.133446366, -0.208918005, -0.968785584, -0.765257001, 0.64286691, -0.0332227312) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1115. CFrame.new(-1.24049437, 0.563232303, -0.47247985, 0.974705219, -0.150607079, -0.165128678, -0.176947653, -0.0686892122, -0.981820583, 0.136526525, 0.986204565, -0.0936013013) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1116. CFrame.new(0.542829335, -1.05595815, -0.494429678, 0.999206185, -0.0391747355, 0.00724902749, 0.0392762125, 0.999124289, -0.0144301355, -0.00667738914, 0.0147034377, 0.999869585) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1117. CFrame.new(-0.433013409, -1.47995389, 0.259185165, 1, -2.98023224e-08, 0, 0, 0.17364727, 0.984807968, 2.98023224e-08, -0.984807849, 0.173647255) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1118. }, .3, false)
  1119. RootPart.CFrame = CFrame.new(RootPart.Position, Vector3.new(Mouse.Hit.p.X, 0, Mouse.Hit.p.Z))
  1120. end
  1121.  
  1122. local roket=CFuncs.Part.Create(Torso, "Neon", 0, 0, BrickColor.new("Smoky grey"), "ref", Vector3.new(1,1,2))
  1123. roket.Anchored=false
  1124. roket.CanCollide=true
  1125. local roketsped = 100
  1126. local spawnPosition = (RootPart.CFrame * CFrame.new(0, 0, -6)).p
  1127. roket.CFrame = CFrame.new(spawnPosition, Mouse.hit.p) --NOTE: This must be done before assigning Parent
  1128. roket.Velocity = roket.CFrame.lookVector * roketsped
  1129. CFuncs.Sound.Create("31761785", roket, 3, 1)
  1130. local GRAVITY_ACCELERATION = 196.2
  1131. local bodyForce = Instance.new('BodyForce', roket)
  1132. bodyForce.Name = 'Antigravity'
  1133. bodyForce.force = Vector3.new(0, roket:GetMass() * GRAVITY_ACCELERATION, 0)
  1134.  
  1135. game:GetService("Debris"):AddItem(roket, 8)
  1136. local con = roket.Touched:connect(function(hit)
  1137. MagnitudeDamage(roket, 10, 0, 0, 100, "Normal", "112503990", 1) Effects.Sphere.Create(BrickColor.new(roket.Color), roket.CFrame, 3, 3, 3, 3, 3, 3, 0.03) roket.Transparency = 1 CFuncs.Sound.Create("169628396", Character, .1, 1) local boo = Instance.new("Explosion", roket) boo.Position = roket.Position boo.BlastRadius = 30
  1138. boo.BlastPressure = 500 roket:Destroy() end)
  1139. for i = 0, 2, 0.1 do
  1140. swait()
  1141. PlayAnimationFromTable({
  1142. CFrame.new(-0.0142334783, -1.08840001, 0.0206862688, 1.00000119, 7.67409801e-07, -2.98023224e-08, 6.21078584e-07, 0.984811127, -0.173649758, 2.38418579e-07, 0.173647732, 0.984807074) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1143. CFrame.new(-0.0153429285, 1.61389816, 0.0791989863, 0.999084234, -0.0110745579, -0.0413306355, 0.00743017718, 0.996153533, -0.0873102993, 0.0421385169, 0.0869232267, 0.995323479) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1144. CFrame.new(0.489735812, 0.316905022, -1.24634087, 0.629742265, 0.683080673, -0.369899511, -0.387131512, -0.136858344, -0.911810875, -0.67346406, 0.717405558, 0.178256541) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1145. CFrame.new(-1.24049377, 0.367668957, -0.636619806, 0.974705458, -0.198001236, -0.103657492, -0.119579755, -0.0701957047, -0.990339994, 0.188812226, 0.977685094, -0.092097044) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1146. CFrame.new(0.542830348, -1.16139019, -0.103446305, 0.999207258, -0.0391742066, 0.00724938512, 0.0346246623, 0.943902194, 0.328414857, -0.0197079182, -0.327904552, 0.944504917) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1147. CFrame.new(-0.433018923, -1.30207276, 0.749731183, 1.00000107, -2.38418579e-07, 6.00692658e-07, 7.78585672e-07, -0.173647717, 0.984811127, 5.96046448e-08, -0.984807074, -0.173649803) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1148. }, .3, false)
  1149. Torso.Velocity=RootPart.CFrame.lookVector*-20
  1150. RootPart.CFrame = CFrame.new(RootPart.Position, Vector3.new(Mouse.Hit.p.X, 0, Mouse.Hit.p.Z))
  1151. end
  1152. RHandle.Transparency = 1
  1153. Sword.Transparency = 0
  1154.  
  1155. humanoid.WalkSpeed = 13
  1156. humanoid.JumpPower = 60
  1157. Attack = false
  1158. end
  1159.  
  1160.  
  1161.  
  1162. function fireinDhole()
  1163. Attack = true
  1164. local bomb1=CFuncs.Part.Create(Torso, "Neon", 0, 0, BrickColor.new("Crimson"), "ref", Vector3.new(1,1,1))
  1165. bomb1.Anchored=true
  1166. bomb1.CanCollide=true
  1167. game:GetService("Debris"):AddItem(orb1, 10)
  1168. bomb1.Elasticity = .3
  1169. local mbewm2 = Instance.new("SpecialMesh", bomb1)
  1170. mbewm2.MeshId = "rbxasset://fonts/timebomb.mesh"
  1171. mbewm2.TextureId = "rbxasset://textures/bombtex.png"
  1172. mbewm2.Scale = Vector3.new(1,1,1)
  1173.  
  1174. CFuncs.Sound.Create("11565378", bomb1, 1, 1)
  1175. for i = 0, 2, 0.1 do
  1176. swait()
  1177. PlayAnimationFromTable({
  1178. CFrame.new(-0.0142339477, 0.0233179312, 0.0206872448, 0.642789185, 7.39382813e-08, 0.766043305, -4.8651782e-07, 1, 3.11712938e-07, -0.766043305, -5.73050784e-07, 0.642789245) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1179. CFrame.new(-3.34310243e-06, 1.49992716, -2.40420513e-06, 0.609423697, -6.78923243e-07, -0.792844892, 8.58872227e-08, 1, -7.90281774e-07, 0.792844832, 4.13525413e-07, 0.609423757) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1180. CFrame.new(1.70033991, 0.0784267411, 0.291652292, 0.980928302, -0.190888226, -0.0366283059, 0.192193046, 0.924432218, 0.329373628, -0.0290131569, -0.330131561, 0.943489075) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1181. CFrame.new(-1.66880238, 0.166423663, -0.183722675, 0.845035851, 0.182852611, -0.502473533, -0.291941375, 0.945062757, -0.147059917, 0.447978795, 0.270963728, 0.851994097) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1182. CFrame.new(0.596234262, -2.04406619, 0.245654553, 0.999976635, 0.00595425069, -0.00338888168, -0.00461965939, 0.95128876, 0.308266908, 0.00505927205, -0.308244109, 0.951293945) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1183. CFrame.new(-0.699660361, -2.00000048, 0.0218301564, 0.984807849, -4.44691977e-07, 0.173648536, 4.41870725e-07, 1, 5.48861863e-08, -0.173648536, 2.26791599e-08, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1184. }, .3, false)
  1185. bomb1.CFrame = Dodgebox.CFrame
  1186. end
  1187. for i = 0, .5, 0.1 do
  1188. swait()
  1189. PlayAnimationFromTable({
  1190. CFrame.new(-0.0142358784, 0.0233174488, 0.0206872076, 0.642785072, 3.25146175e-06, -0.766046703, -2.37840504e-06, 1, 2.24876021e-06, 0.766046762, 3.76494427e-07, 0.642785072) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1191. CFrame.new(-5.94174753e-06, 1.49992752, 6.44530655e-06, 0.674973369, -2.24472751e-06, 0.737842202, 3.30112925e-06, 1, 2.24354153e-08, -0.737842202, 2.4205583e-06, 0.674973369) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1192. CFrame.new(1.67408049, 0.116924986, -0.235040307, 0.93551451, -0.291971684, 0.198909909, 0.329377055, 0.924430549, -0.192195028, -0.127762914, 0.245317593, 0.960987091) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1193. CFrame.new(-1.53036773, 0.2318203, -0.558730543, 0.939119756, 0.343578428, -0.00287370384, -0.0812207609, 0.213862434, -0.973481536, -0.333852679, 0.914449036, 0.228748128) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1194. CFrame.new(0.766593277, -1.96006727, -0.107848071, 0.976080298, -0.137189135, 0.168661386, 0.138399139, 0.990365744, 0.00461723236, -0.167669922, 0.0188358091, 0.985663354) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1195. CFrame.new(-0.403303981, -1.99999976, -0.0619408637, 0.984807789, -2.66062125e-06, 0.173648238, 2.98927625e-06, 1, -1.63115692e-06, -0.173648268, 2.1254591e-06, 0.98480773) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1196. }, .3, false)
  1197. bomb1.CFrame = Dodgebox.CFrame
  1198. end
  1199. bomb1.CFrame = RootPart.CFrame * CFrame.new(0,0,-3)
  1200. bomb1.Anchored=false
  1201. bomb1.Velocity=RootPart.CFrame.lookVector*50
  1202. for i = 0, .5, 0.1 do
  1203. swait()
  1204. PlayAnimationFromTable({
  1205. CFrame.new(-0.0142358784, 0.0233174488, 0.0206872076, 0.642785072, 3.25146175e-06, -0.766046703, -2.37840504e-06, 1, 2.24876021e-06, 0.766046762, 3.76494427e-07, 0.642785072) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1206. CFrame.new(-5.94174753e-06, 1.49992752, 6.44530655e-06, 0.674973369, -2.24472751e-06, 0.737842202, 3.30112925e-06, 1, 2.24354153e-08, -0.737842202, 2.4205583e-06, 0.674973369) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1207. CFrame.new(1.67408049, 0.116924986, -0.235040307, 0.93551451, -0.291971684, 0.198909909, 0.329377055, 0.924430549, -0.192195028, -0.127762914, 0.245317593, 0.960987091) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1208. CFrame.new(-1.53036773, 0.2318203, -0.558730543, 0.939119756, 0.343578428, -0.00287370384, -0.0812207609, 0.213862434, -0.973481536, -0.333852679, 0.914449036, 0.228748128) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1209. CFrame.new(0.766593277, -1.96006727, -0.107848071, 0.976080298, -0.137189135, 0.168661386, 0.138399139, 0.990365744, 0.00461723236, -0.167669922, 0.0188358091, 0.985663354) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1210. CFrame.new(-0.403303981, -1.99999976, -0.0619408637, 0.984807789, -2.66062125e-06, 0.173648238, 2.98927625e-06, 1, -1.63115692e-06, -0.173648268, 2.1254591e-06, 0.98480773) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1211. }, .3, false)
  1212. end
  1213. Attack = false
  1214. wait(4)
  1215. MagnitudeDamage(bomb1, 30, 0, 0, 400, "Normal", "112503990", 1)
  1216. Effects.Sphere.Create(BrickColor.new(Torso.Color), bomb1.CFrame, 3, 3, 3, 3, 3, 3, 0.03)
  1217. CFuncs.Sound.Create("169628396", bomb1, 3, 1)
  1218. bomb1.Transparency = 1
  1219. bomb1.Anchored=true
  1220. bomb1.CanCollide=false
  1221. local boo = Instance.new("Explosion", bomb1)
  1222. boo.Position = bomb1.Position
  1223. boo.BlastRadius = 30
  1224. boo.BlastPressure = 500
  1225. end
  1226.  
  1227.  
  1228.  
  1229.  
  1230. Mouse.KeyDown:connect(function(Key)
  1231. Key = Key:lower()
  1232. if Attack == false and Key == 'z' then
  1233. dodgeball()
  1234. elseif Attack == false and Key == 'x' then
  1235. roketlunch()
  1236. elseif Attack == false and Key == 'c' then
  1237. fireinDhole()
  1238. end
  1239. end)
  1240.  
  1241.  
  1242.  
  1243. Mouse.Button1Up:connect(function()
  1244. if Attack == false and Combo== 1 then
  1245. basicatk1()
  1246. Combo=2
  1247. elseif Attack == false and Combo== 2 then
  1248. basicatk2()
  1249. Combo=3
  1250. elseif Attack == false and Combo== 3 then
  1251. basicatk3()
  1252. Combo=1
  1253. end
  1254. end)
  1255.  
  1256.  
  1257.  
  1258.  
  1259.  
  1260. --{{Linked Sword remake by SezHu. Made for WolfyKi11er.}}--
  1261. coroutine.wrap(function()
  1262. while true do
  1263. swait()
  1264. if HumanDead then break end
  1265. for i, v in pairs(Character:GetChildren()) do
  1266. if v:IsA("Part") then
  1267. v.Material = "SmoothPlastic"
  1268. elseif v:IsA("Accessory") then
  1269. v:WaitForChild("Handle").Material = "SmoothPlastic"
  1270. end
  1271. end
  1272. for i, v in pairs(Character:GetChildren()) do
  1273. if v:IsA'Model' then
  1274. for _, c in pairs(v:GetChildren()) do
  1275. if c:IsA'Part' then
  1276. c.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1277. end
  1278. end
  1279. end
  1280. end
  1281. TorsoVelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1282. Velocity = RootPart.Velocity.y
  1283. Sine = Sine + Change
  1284. local hit, pos = RayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1285. if RootPart.Velocity.y > 1 and hit == nil then
  1286. Anim = "Jump"
  1287. if Attack == false then
  1288. Change = 1
  1289. PlayAnimationFromTable({
  1290. CFrame.new(-0.0142319221, 0.0233184248, 0.0206878185, 1.00000012, 1.49011612e-08, 0, 2.72463048e-08, 0.965925992, 0.258818656, 2.98023224e-08, -0.258818597, 0.965925932) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1291. CFrame.new(0.0172861218, 1.54588914, -0.00366462767, 0.999084175, 0.00742999092, -0.0421376228, -0.011074245, 0.996153653, -0.0869220346, 0.0413297117, 0.0873090774, 0.995323658) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1292. CFrame.new(1.54051697, 0.254249156, -0.521965742, 0.890014946, -0.152965426, -0.429505706, -0.32768172, 0.440404594, -0.835864007, 0.317014515, 0.884672523, 0.341842651) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1293. CFrame.new(-1.55745959, 0.112057857, 0.343250573, 0.986049891, 0.113037676, 0.12218184, -0.158506706, 0.861737013, 0.481959641, -0.050808996, -0.49460274, 0.867632747) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1294. CFrame.new(0.566533923, -1.59700418, -0.481964171, 0.999206185, -0.0385679156, -0.00998616219, 0.0397087261, 0.94381088, 0.328091979, -0.00322881341, -0.328228056, 0.944592893) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1295. CFrame.new(-0.433014154, -1.95977831, 0.0051856637, 1, 0, 0, 0, 0.965925813, 0.258819401, -2.98023224e-08, -0.258819431, 0.965925753) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1296. }, .3, false)
  1297. FSwordHandleWeld.C0 = clerp(FSwordHandleWeld.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), 1)
  1298. end
  1299. elseif RootPart.Velocity.y < -1 and hit == nil then
  1300. Anim = "Fall"
  1301. if Attack == false then
  1302. Change = 1
  1303. PlayAnimationFromTable({
  1304. CFrame.new(-0.0142319212, 0.0233183783, 0.0206877608, 1.00000012, 1.49011612e-08, 2.98023224e-08, 2.72463048e-08, 0.984807968, 0.173647314, 2.98023224e-08, -0.17364724, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1305. CFrame.new(0.0154076805, 1.5522356, -0.0916171968, 0.999084175, 0.0180828422, -0.0387787819, -0.00742995739, 0.9658584, 0.258964151, 0.0421376526, -0.258438855, 0.965108156) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1306. CFrame.new(1.44003379, 0.0510732532, -0.418421805, 0.890014946, -0.0760585517, -0.449542671, -0.298804998, 0.647417247, -0.701118112, 0.344367683, 0.75833106, 0.553484201) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1307. CFrame.new(-1.55745959, 0.141547889, 0.332177758, 0.986049891, 0.113037676, 0.12218184, -0.162331849, 0.815350056, 0.555745184, -0.036800772, -0.567826271, 0.822325349) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1308. CFrame.new(0.573113441, -1.8059541, -0.374102622, 0.999206126, -0.0373207629, 0.0139417946, 0.0392762311, 0.98143959, -0.187706873, -0.00667765737, 0.188105404, 0.982126117) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1309. CFrame.new(-0.433013678, -1.95186841, 0.175973177, 1, 0, 2.98023224e-08, 0, 0.98480773, 0.173648328, 2.98023224e-08, -0.173648328, 0.984807789) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1310. }, .3, false)
  1311. FSwordHandleWeld.C0 = clerp(FSwordHandleWeld.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), 1)
  1312. end
  1313. elseif TorsoVelocity < 1 and hit ~= nil then
  1314. Anim = "Idle"
  1315. if Attack == false then
  1316. Change = 1
  1317. PlayAnimationFromTable({
  1318. CFrame.new(-0.014233104, 0.0233179983, 0.020687025, 0.866024911, 0, -0.500000954, 0, 1, 0, 0.500000954, 0, 0.866024852) * CFrame.new(0, 0 + .05 * math.cos(Sine/25), 0) * CFrame.Angles(0, 0, 0),
  1319. CFrame.new(0, 1.49992597, 0, 0.886625588, 0, 0.462487936, 0, 1, 0, -0.462487817, 0, 0.886625707) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .08 * math.cos(Sine/25), 0, 0),
  1320. CFrame.new(1.70001733, 0.169989109, 0.310000241, 0.827918112, -0.251382649, -0.501356483, 0.215029001, 0.967887759, -0.130214334, 0.51799041, 6.03497028e-07, 0.855386436) * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0 + 2 * math.cos(Sine/25)), math.rad(0), math.rad(0)),
  1321. CFrame.new(-1.61998975, 0.0599977374, 2.55400209e-06, 0.981399894, 0.191975057, 4.17232513e-07, -0.191975072, 0.981399834, 9.87734779e-07, -2.38418579e-07, -1.05053186e-06, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0 - 2 * math.cos(Sine/25))),
  1322. CFrame.new(0.649993002, -1.99999797, 9.67067535e-07, 0.98969245, -0.143209025, 1.16229057e-06, 0.14320904, 0.98969245, -1.03930267e-06, -1.01327896e-06, 1.19954348e-06, 1) * CFrame.new(0, 0 - .08 * math.cos(Sine/25), 0) * CFrame.Angles(0, 0, 0 + .01 * math.cos(Sine/25)),
  1323. CFrame.new(-0.500000954, -2, -9.53674316e-07, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 - .08 * math.cos(Sine/25), 0) * CFrame.Angles(0, 0, 0),
  1324. }, .3, false)
  1325. FSwordHandleWeld.C0 = clerp(FSwordHandleWeld.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), 1)
  1326. end
  1327. elseif TorsoVelocity > 2 and hit ~= nil then
  1328. Anim = "Walk"
  1329. if Attack == false then
  1330. PlayAnimationFromTable({
  1331. CFrame.new(-0.0142326364, 0.023318341, 0.0206875801, 1.00000012, 1.5803721e-08, 5.96046448e-08, 2.72463048e-08, 1, 5.61747235e-08, 2.98023224e-08, 2.44280045e-08, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(-.2, math.rad(0 - 10 * math.cos(Sine/6)/2), 0),
  1332. CFrame.new(1.03447394e-06, 1.49992573, -8.27737608e-07, 0.999084234, 2.72463048e-08, -0.0427876711, 2.93197502e-08, 1, 2.55612349e-08, 0.0427877009, 5.61747235e-08, 0.999084353) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1333. CFrame.new(1.66816366, 0.125450149, 0.167713135, 0.975411952, -0.217704624, -0.0342991352, 0.22028406, 0.9678877, 0.12111339, 0.0068307519, -0.125690982, 0.992045999) * CFrame.new(0, 0, 0 + .2 * math.cos(Sine/6)/2) * CFrame.Angles(math.rad(0 - 30 * math.cos(Sine/6)/2), 0, 0),
  1334. CFrame.new(-1.58983934, 0.0268005617, -0.146883398, 0.986049891, 0.166255936, -0.00805497169, -0.16625604, 0.981399775, -0.0959867239, -0.00805321336, 0.0959868878, 0.995350063) * CFrame.new(0, 0, 0 - .3 * math.cos(Sine/6)/2) * CFrame.Angles(math.rad(0 + 30 * math.cos(Sine/6)/2), 0, 0),
  1335. CFrame.new(.5, -1.64 - 0.8 * math.cos(Sine / 6) / 2, 0 + 2 * math.sin(Sine / 6) / 3) * CFrame.Angles(math.rad(-50 * math.sin(Sine / 6)), math.rad(-3), math.rad(0)),
  1336. CFrame.new(-.5, -1.64 + 0.8 * math.cos(Sine / 6) / 2, 0 - 2 * math.sin(Sine / 6) / 3) * CFrame.Angles(math.rad(50 * math.sin(Sine / 6)), math.rad(3), math.rad(0)),}, .3, false)
  1337. FSwordHandleWeld.C0 = clerp(FSwordHandleWeld.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), 1)
  1338. end
  1339. end
  1340.  
  1341. if #Effects > 0 then
  1342. for e = 1, #Effects do
  1343. if Effects[e] ~= nil then
  1344. local Thing = Effects[e]
  1345. if Thing ~= nil then
  1346. local Part = Thing[1]
  1347. local Mode = Thing[2]
  1348. local Delay = Thing[3]
  1349. local IncX = Thing[4]
  1350. local IncY = Thing[5]
  1351. if Thing[1].Transparency <= 1 then
  1352. if Thing[2] == "Block1" then
  1353. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1354. Mesh = Thing[7]
  1355. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1356. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1357. elseif Thing[2] == "Ice" then
  1358. if Thing[6] <= Thing[5] then
  1359. Thing[6] = Thing[6] + .05
  1360. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, .4, 0)
  1361. else
  1362. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1363. end
  1364. elseif Thing[2] == "Shatter" then
  1365. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1366. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1367. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1368. Thing[6] = Thing[6] + Thing[5]
  1369. elseif Thing[2] == "Block2" then
  1370. Thing[1].CFrame = Thing[1].CFrame
  1371. Mesh = Thing[7]
  1372. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1373. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1374. elseif Thing[2] == "Block3" then
  1375. Thing[1].CFrame = Thing[8].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1376. Mesh = Thing[7]
  1377. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1378. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1379. elseif Thing[2] == "Block4" then
  1380. Thing[1].CFrame = Thing[8].CFrame * CFrame.new(0, -Thing[7].Scale.Y, 0) * CFrame.fromEulerAnglesXYZ(3.14, 0, 0)
  1381. Mesh = Thing[7]
  1382. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1383. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1384. elseif Thing[2] == "Block2Fire" then
  1385. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1386. Mesh = Thing[7]
  1387. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1388. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1389. if Thing[1].Transparency >= .3 then
  1390. Thing[1].BrickColor = BrickColor.new("Bright red")
  1391. else
  1392. Thing[1].BrickColor = BrickColor.new("Bright yellow")
  1393. end
  1394. elseif Thing[2] == "Cylinder" then
  1395. Mesh = Thing[7]
  1396. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1397. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1398. elseif Thing[2] == "Blood" then
  1399. Mesh = Thing[7]
  1400. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, -.5, 0)
  1401. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1402. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1403. elseif Thing[2] == "Elec" then
  1404. Mesh = Thing[10]
  1405. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1406. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1407. Thing[1].CFrame = Thing[1].CFrame * Thing[11] * CFrame.new(0, 0, .2)
  1408. Thing[1].Rotation = Vector3.new(0, 0, 0)
  1409. elseif Thing[2] == "Disappear" then
  1410. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1411. end
  1412. else
  1413. Part.Parent = nil
  1414. table.remove(Effects, e)
  1415. end
  1416. end
  1417. end
  1418. end
  1419. end
  1420. end
  1421. end)()
Add Comment
Please, Sign In to add comment