Advertisement
swerve_noob_swerve1

classic

Nov 9th, 2019
605
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. do
  4. print("FE Compatibility code by Mokiros")
  5. script.Parent = Player.Character
  6.  
  7. --RemoteEvent for communicating
  8. local Event = Instance.new("RemoteEvent")
  9. Event.Name = "UserInput_Event"
  10.  
  11. --Fake event to make stuff like Mouse.KeyDown work
  12. local function fakeEvent()
  13. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  14. t.connect = t.Connect
  15. return t
  16. end
  17.  
  18. --Creating fake input objects with fake variables
  19. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  20. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  21. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  22. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  23. end}
  24. --Merged 2 functions into one by checking amount of arguments
  25. CAS.UnbindAction = CAS.BindAction
  26.  
  27. --This function will trigger the events that have been :Connect()'ed
  28. local function te(self,ev,...)
  29. local t = m[ev]
  30. if t and t._fakeEvent and t.Function then
  31. t.Function(...)
  32. end
  33. end
  34. m.TrigEvent = te
  35. UIS.TrigEvent = te
  36.  
  37. Event.OnServerEvent:Connect(function(plr,io)
  38. if plr~=Player then return end
  39. if io.isMouse then
  40. m.Target = io.Target
  41. m.Hit = io.Hit
  42. else
  43. local b = io.UserInputState == Enum.UserInputState.Begin
  44. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  45. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  46. end
  47. for _,t in pairs(CAS.Actions) do
  48. for _,k in pairs(t.Keys) do
  49. if k==io.KeyCode then
  50. t.Function(t.Name,io.UserInputState,io)
  51. end
  52. end
  53. end
  54. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  55. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  56. end
  57. end)
  58. Event.Parent = NLS([==[
  59. local Player = game:GetService("Players").LocalPlayer
  60. local Event = script:WaitForChild("UserInput_Event")
  61.  
  62. local UIS = game:GetService("UserInputService")
  63. local input = function(io,a)
  64. if a then return end
  65. --Since InputObject is a client-side instance, we create and pass table instead
  66. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  67. end
  68. UIS.InputBegan:Connect(input)
  69. UIS.InputEnded:Connect(input)
  70.  
  71. local Mouse = Player:GetMouse()
  72. local h,t
  73. --Give the server mouse data 30 times every second, but only if the values changed
  74. --If player is not moving their mouse, client won't fire events
  75. while wait(1/30) do
  76. if h~=Mouse.Hit or t~=Mouse.Target then
  77. h,t=Mouse.Hit,Mouse.Target
  78. Event:FireServer({isMouse=true,Target=t,Hit=h})
  79. end
  80. end]==],Player.Character)
  81. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  82. end
  83.  
  84.  
  85. --{{Linked Sword remake by SezHu. Made for Darkross. Whoever it is that spread this around, I hope you kill yourself.}}--
  86. wait(1 / 60)
  87. Effects = { }
  88. local Player = game.Players.localPlayer
  89. local Mouse = Player:GetMouse()
  90. local Character = Player.Character
  91. local Humanoid = Character.Humanoid
  92. local Head = Character.Head
  93. local RootPart = Character.HumanoidRootPart
  94. local Torso = Character.Torso
  95. local LeftArm = Character["Left Arm"]
  96. local RightArm = Character["Right Arm"]
  97. local LeftLeg = Character["Left Leg"]
  98. local RightLeg = Character["Right Leg"]
  99. local Camera = game.Workspace.CurrentCamera
  100. local RootJoint = RootPart.RootJoint
  101. local Equipped = false
  102. local Attack = false
  103. local Anim = 'Idle'
  104. local Idle = 0
  105. local Combo = 1
  106. local TorsoVelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  107. local Velocity = RootPart.Velocity.y
  108. local Sine = 0
  109. local Change = 1
  110. Instance.new("ForceField",Character).Visible = false
  111. Character.Humanoid.Name = "help"
  112. humanoid = Character.help
  113.  
  114. local RbxUtility = LoadLibrary("RbxUtility")
  115. local Create = RbxUtility.Create
  116.  
  117. humanoid.WalkSpeed = 13
  118. humanoid.JumpPower = 60
  119. humanoid.Animator.Parent = nil
  120. Character.Animate.Parent = nil
  121.  
  122. local newMotor = function(part0, part1, c0, c1)
  123. local w = Create('Motor'){
  124. Parent = part0,
  125. Part0 = part0,
  126. Part1 = part1,
  127. C0 = c0,
  128. C1 = c1,
  129. }
  130. return w
  131. end
  132.  
  133. function clerp(a, b, t)
  134. return a:lerp(b, t)
  135. end
  136.  
  137. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  138. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  139.  
  140. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  141. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  142. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  143. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  144. RootJoint.C1 = CFrame.new(0, 0, 0)
  145. RootJoint.C0 = CFrame.new(0, 0, 0)
  146. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  147. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  148.  
  149. local rarmc1 = RW.C1
  150. local larmc1 = LW.C1
  151. local rlegc1 = RH.C1
  152. local llegc1 = LH.C1
  153.  
  154. local resetc1 = false
  155.  
  156. function PlayAnimationFromTable(table, speed, bool)
  157. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  158. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  159. RW.C0 = clerp(RW.C0, table[3], speed)
  160. LW.C0 = clerp(LW.C0, table[4], speed)
  161. RH.C0 = clerp(RH.C0, table[5], speed)
  162. LH.C0 = clerp(LH.C0, table[6], speed)
  163. if bool == true then
  164. if resetc1 == false then
  165. resetc1 = true
  166. RootJoint.C1 = RootJoint.C1
  167. Torso.Neck.C1 = Torso.Neck.C1
  168. RW.C1 = rarmc1
  169. LW.C1 = larmc1
  170. RH.C1 = rlegc1
  171. LH.C1 = llegc1
  172. end
  173. end
  174. end
  175.  
  176. ArtificialHB = Create("BindableEvent"){
  177. Parent = script,
  178. Name = "Heartbeat",
  179. }
  180.  
  181. script:WaitForChild("Heartbeat")
  182.  
  183. frame = 1 / 45
  184. tf = 0
  185. allowframeloss = false
  186. tossremainder = false
  187. lastframe = tick()
  188. script.Heartbeat:Fire()
  189.  
  190. game:GetService("RunService").Heartbeat:connect(function(s, p)
  191. tf = tf + s
  192. if tf >= frame then
  193. if allowframeloss then
  194. script.Heartbeat:Fire()
  195. lastframe = tick()
  196. else
  197. for i = 1, math.floor(tf / frame) do
  198. script.Heartbeat:Fire()
  199. end
  200. lastframe = tick()
  201. end
  202. if tossremainder then
  203. tf = 0
  204. else
  205. tf = tf - frame * math.floor(tf / frame)
  206. end
  207. end
  208. end)
  209.  
  210. function swait(num)
  211. if num == 0 or num == nil then
  212. ArtificialHB.Event:wait()
  213. else
  214. for i = 0, num do
  215. ArtificialHB.Event:wait()
  216. end
  217. end
  218. end
  219.  
  220. local m = Create("Model"){
  221. Parent = Character,
  222. Name = "WeaponModel"
  223. }
  224.  
  225. function RemoveOutlines(part)
  226. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  227. end
  228.  
  229. CFuncs = {
  230. Part = {
  231. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  232. local Part = Create("Part"){
  233. Parent = Parent,
  234. Reflectance = Reflectance,
  235. Transparency = Transparency,
  236. CanCollide = false,
  237. Locked = true,
  238. BrickColor = BrickColor.new(tostring(BColor)),
  239. Name = Name,
  240. Size = Size,
  241. Material = Material,
  242. }
  243. RemoveOutlines(Part)
  244. if Size == Vector3.new() then
  245. Part.Size = Vector3.new(0.2, 0.2, 0.2)
  246. else
  247. Part.Size = Size
  248. end
  249. return Part
  250. end;
  251. };
  252.  
  253. Mesh = {
  254. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  255. local Msh = Create(Mesh){
  256. Parent = Part,
  257. Offset = OffSet,
  258. Scale = Scale,
  259. }
  260. if Mesh == "SpecialMesh" then
  261. Msh.MeshType = MeshType
  262. Msh.MeshId = MeshId
  263. end
  264. return Msh
  265. end;
  266. };
  267.  
  268. Weld = {
  269. Create = function(Parent, Part0, Part1, C0, C1)
  270. local Weld = Create("Weld"){
  271. Parent = Parent,
  272. Part0 = Part0,
  273. Part1 = Part1,
  274. C0 = C0,
  275. C1 = C1,
  276. }
  277. return Weld
  278. end;
  279. };
  280.  
  281. Sound = {
  282. Create = function(id, par, vol, pit)
  283. coroutine.resume(coroutine.create(function()
  284. local S = Create("Sound"){
  285. Volume = vol,
  286. Pitch = pit or 1,
  287. SoundId = "rbxassetid://" .. id,
  288. Parent = par or workspace,
  289. }
  290. wait()
  291. S:play()
  292. game:GetService("Debris"):AddItem(S, 10)
  293. end))
  294. end;
  295. };
  296.  
  297. ParticleEmitter = {
  298. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  299. local Particle = Create("ParticleEmitter"){
  300. Parent = Parent,
  301. Color = ColorSequence.new(Color1, Color2),
  302. LightEmission = LightEmission,
  303. Size = Size,
  304. Texture = Texture,
  305. Transparency = Transparency,
  306. ZOffset = ZOffset,
  307. Acceleration = Accel,
  308. Drag = Drag,
  309. LockedToPart = LockedToPart,
  310. VelocityInheritance = VelocityInheritance,
  311. EmissionDirection = EmissionDirection,
  312. Enabled = Enabled,
  313. Lifetime = LifeTime,
  314. Rate = Rate,
  315. Rotation = Rotation,
  316. RotSpeed = RotSpeed,
  317. Speed = Speed,
  318. VelocitySpread = VelocitySpread,
  319. }
  320. return Particle
  321. end;
  322. };
  323.  
  324. CreateTemplate = {
  325.  
  326. };
  327. }
  328.  
  329.  
  330. SwordHandle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","SwordHandle",Vector3.new(0.869999945, 0.450000048, 0.440000325))
  331. 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))
  332.  
  333. FSwordHandle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","SwordHandle",Vector3.new(0.869999945, 0.450000048, 0.440000325))
  334. 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))
  335.  
  336. SwordHitbox=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","SwordHitbox",Vector3.new(2.86000085, 0.780000031, 0.490000904))
  337. 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))
  338. Sword=CFuncs.Part.Create(m,Enum.Material.Plastic,0.40000000596046,0,"Dark stone grey","Sword",Vector3.new(1, 0.800000012, 4))
  339. 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))
  340. CFuncs.Mesh.Create("SpecialMesh",Sword,Enum.MeshType.FileMesh,"rbxasset://fonts/sword.mesh",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  341. SwordTip=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","SwordTip",Vector3.new(0.0500000007, 0.0500000007, 0.0500000007))
  342. 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))
  343. SwordBase=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","SwordBase",Vector3.new(0.0500000007, 0.0500000007, 0.0500000007))
  344. 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))
  345. sw00ng=CFuncs.Mesh.Create("SpecialMesh",Sword,Enum.MeshType.FileMesh,"rbxasset://fonts/sword.mesh",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  346. sw00ng.TextureId = "rbxasset://textures/SwordTexture.png"
  347. Dodgebox=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","Dodgebox",Vector3.new(0.380000204, 0.440000057, 0.370000631))
  348. 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))
  349. RHandle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","RHandle",Vector3.new(4.92000628, 0.740000546, 0.839999795))
  350. 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))
  351. 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))
  352. RocketMaker=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","RocketMaker",Vector3.new(0.349999934, 0.350000024, 0.369999945))
  353. 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))
  354.  
  355. 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))
  356. kaboomsky.TextureId = "rbxasset://textures/rocketlaunchertex.png"
  357.  
  358.  
  359.  
  360. swordtrail = Instance.new("Trail", SwordHitbox)
  361. A2 = Instance.new('Attachment',SwordBase)
  362. A3 = Instance.new('Attachment',SwordTip)
  363. swordtrail.Lifetime = .1
  364. swordtrail.Enabled = false
  365. swordtrail.Attachment0 = A2
  366. swordtrail.Attachment1 = A3
  367. local startColor = Color3.new(0, 0, 0)
  368. local endColor = Color3.new(200,200, 200)
  369. local startT = .2
  370. local endT = .8
  371.  
  372. local sequence = ColorSequence.new(startColor, endColor)
  373. local sequence2 = NumberSequence.new(startT, endT)
  374.  
  375. swordtrail.Color = sequence
  376. swordtrail.Transparency = sequence2
  377.  
  378.  
  379. function RayCast(Position, Direction, Range, Ignore)
  380. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  381. end
  382.  
  383. FindNearestTorso = function(pos)
  384. local list = (game.Workspace:children())
  385. local torso = nil
  386. local dist = 1000
  387. local temp, human, temp2 = nil, nil, nil
  388. for x = 1, #list do
  389. temp2 = list[x]
  390. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  391. temp = temp2:findFirstChild("Torso")
  392. human = temp2:findFirstChild("Humanoid")
  393. if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then
  394. local dohit = true
  395. if dohit == true then
  396. torso = temp
  397. dist = (temp.Position - pos).magnitude
  398. end
  399. end
  400. end
  401. end
  402. return torso, dist
  403. end
  404.  
  405. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  406. if hit.Parent == nil then
  407. return
  408. end
  409. local h = hit.Parent:FindFirstChild("Humanoid")
  410. for _, v in pairs(hit.Parent:children()) do
  411. if v:IsA("Humanoid") then
  412. h = v
  413. end
  414. end
  415. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  416. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  417. if hit.Parent.DebounceHit.Value == true then
  418. return
  419. end
  420. end
  421. local c = Create("ObjectValue"){
  422. Name = "creator",
  423. Value = game:service("Players").LocalPlayer,
  424. Parent = h,
  425. }
  426. game:GetService("Debris"):AddItem(c, .5)
  427. if HitSound ~= nil and HitPitch ~= nil then
  428. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  429. end
  430. local Damage = math.random(minim, maxim)
  431. local blocked = false
  432. local block = hit.Parent:findFirstChild("Block")
  433. if block ~= nil then
  434. if block.className == "IntValue" then
  435. if block.Value > 0 then
  436. blocked = true
  437. block.Value = block.Value - 1
  438. print(block.Value)
  439. end
  440. end
  441. end
  442. if blocked == false then
  443. h.Health = h.Health - Damage
  444. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), "Bloxxed!", 1, BrickColor.new(Torso.Color).Color)
  445. else
  446. h.Health = h.Health - (Damage / 2)
  447. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), "Bloxxed!", 1, BrickColor.new(Torso.Color).Color)
  448. end
  449. if Type == "Knockdown" then
  450. local hum = hit.Parent.Humanoid
  451. hum.PlatformStand = true
  452. coroutine.resume(coroutine.create(function(HHumanoid)
  453. swait(1)
  454. HHumanoid.PlatformStand = false
  455. end), hum)
  456. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  457. local bodvol = Create("BodyVelocity"){
  458. velocity = angle * knockback,
  459. P = 5000,
  460. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  461. Parent = hit,
  462. }
  463. local rl = Create("BodyAngularVelocity"){
  464. P = 3000,
  465. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  466. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  467. Parent = hit,
  468. }
  469. game:GetService("Debris"):AddItem(bodvol, .5)
  470. game:GetService("Debris"):AddItem(rl, .5)
  471. elseif Type == "Normal" then
  472. local vp = Create("BodyVelocity"){
  473. P = 500,
  474. maxForce = Vector3.new(math.huge, 0, math.huge),
  475. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  476. }
  477. hit.Parent.Torso:BreakJoints()
  478. if knockback > 0 then
  479. vp.Parent = hit.Parent.Torso
  480. end
  481. game:GetService("Debris"):AddItem(vp, .5)
  482. elseif Type == "Up" then
  483. local bodyVelocity = Create("BodyVelocity"){
  484. velocity = Vector3.new(0, 20, 0),
  485. P = 5000,
  486. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  487. Parent = hit,
  488. }
  489. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  490. elseif Type == "DarkUp" then
  491. coroutine.resume(coroutine.create(function()
  492. for i = 0, 1, 0.1 do
  493. swait()
  494. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  495. end
  496. end))
  497. local bodyVelocity = Create("BodyVelocity"){
  498. velocity = Vector3.new(0, 20, 0),
  499. P = 5000,
  500. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  501. Parent = hit,
  502. }
  503. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  504. elseif Type == "Snare" then
  505. local bp = Create("BodyPosition"){
  506. P = 2000,
  507. D = 100,
  508. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  509. position = hit.Parent.Torso.Position,
  510. Parent = hit.Parent.Torso,
  511. }
  512. game:GetService("Debris"):AddItem(bp, 1)
  513. elseif Type == "Freeze" then
  514. local BodPos = Create("BodyPosition"){
  515. P = 50000,
  516. D = 1000,
  517. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  518. position = hit.Parent.Torso.Position,
  519. Parent = hit.Parent.Torso,
  520. }
  521. local BodGy = Create("BodyGyro") {
  522. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  523. P = 20e+003,
  524. Parent = hit.Parent.Torso,
  525. cf = hit.Parent.Torso.CFrame,
  526. }
  527. hit.Parent.Torso.Anchored = true
  528. coroutine.resume(coroutine.create(function(Part)
  529. swait(1.5)
  530. Part.Anchored = false
  531. end), hit.Parent.Torso)
  532. game:GetService("Debris"):AddItem(BodPos, 3)
  533. game:GetService("Debris"):AddItem(BodGy, 3)
  534. end
  535. local debounce = Create("BoolValue"){
  536. Name = "DebounceHit",
  537. Parent = hit.Parent,
  538. Value = true,
  539. }
  540. game:GetService("Debris"):AddItem(debounce, Delay)
  541. c = Create("ObjectValue"){
  542. Name = "creator",
  543. Value = Player,
  544. Parent = h,
  545. }
  546. game:GetService("Debris"):AddItem(c, .5)
  547. end
  548. end
  549.  
  550. function ShowDamage(Pos, Text, Time, Color)
  551. local Rate = (1 / 30)
  552. local Pos = (Pos or Vector3.new(0, 0, 0))
  553. local Text = (Text or "")
  554. local Time = (Time or 2)
  555. local Color = (Color or Color3.new(1, 0, 1))
  556. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  557. EffectPart.Anchored = true
  558. local BillboardGui = Create("BillboardGui"){
  559. Size = UDim2.new(3, 0, 3, 0),
  560. Adornee = EffectPart,
  561. Parent = EffectPart,
  562. }
  563. local TextLabel = Create("TextLabel"){
  564. BackgroundTransparency = 1,
  565. Size = UDim2.new(1, 0, 1, 0),
  566. Text = Text,
  567. Font = "SourceSansLight",
  568. TextColor3 = Color,
  569. TextScaled = true,
  570. Parent = BillboardGui,
  571. }
  572. game.Debris:AddItem(EffectPart, (Time))
  573. EffectPart.Parent = game:GetService("Workspace")
  574. delay(0, function()
  575. local Frames = (Time / Rate)
  576. for Frame = 1, Frames do
  577. wait(Rate)
  578. local Percent = (Frame / Frames)
  579. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  580. TextLabel.TextTransparency = Percent
  581. end
  582. if EffectPart and EffectPart.Parent then
  583. EffectPart:Destroy()
  584. end
  585. end)
  586. end
  587.  
  588. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  589. for _, c in pairs(workspace:children()) do
  590. local hum = c:findFirstChild("Humanoid")
  591. if hum ~= nil then
  592. local head = c:findFirstChild("Torso")
  593. if head ~= nil then
  594. local targ = head.Position - Part.Position
  595. local mag = targ.magnitude
  596. if mag <= Magnitude and c.Name ~= Player.Name then
  597. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch)
  598. end
  599. end
  600. end
  601. end
  602. end
  603.  
  604. EffectModel = Create("Model"){
  605. Parent = Character,
  606. Name = "EffectModel",
  607. }
  608.  
  609. Effects = {
  610. Block = {
  611. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type, Part)
  612. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  613. prt.Anchored = true
  614. prt.CFrame = cframe
  615. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  616. game:GetService("Debris"):AddItem(prt, 10)
  617. if Type == 1 or Type == nil then
  618. table.insert(Effects, {
  619. prt,
  620. "Block1",
  621. delay,
  622. x3,
  623. y3,
  624. z3,
  625. msh
  626. })
  627. elseif Type == 2 then
  628. table.insert(Effects, {
  629. prt,
  630. "Block2",
  631. delay,
  632. x3,
  633. y3,
  634. z3,
  635. msh
  636. })
  637. elseif Type == 3 then
  638. table.insert(Effects, {
  639. prt,
  640. "Block3",
  641. delay,
  642. x3,
  643. y3,
  644. z3,
  645. msh,
  646. Part
  647. })
  648. elseif Type == 4 then
  649. table.insert(Effects, {
  650. prt,
  651. "Block2Fire",
  652. delay,
  653. x3,
  654. y3,
  655. z3,
  656. msh
  657. })
  658. end
  659. end
  660. };
  661.  
  662. Sphere = {
  663. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, parent)
  664. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  665. prt.Anchored = true
  666. prt.CFrame = cframe
  667. if parent == nil then
  668. prt.Parent = workspace
  669. else
  670. prt.Parent = parent
  671. end
  672. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  673. game:GetService("Debris"):AddItem(prt, 10)
  674. table.insert(Effects, {
  675. prt,
  676. "Cylinder",
  677. delay,
  678. x3,
  679. y3,
  680. z3,
  681. msh
  682. })
  683. end
  684. };
  685.  
  686. Blood = {
  687. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  688. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  689. prt.Anchored = true
  690. prt.CFrame = cframe
  691. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  692. game:GetService("Debris"):AddItem(prt, 10)
  693. table.insert(Effects, {
  694. prt,
  695. "Blood",
  696. delay,
  697. x3,
  698. y3,
  699. z3,
  700. msh
  701. })
  702. end
  703. };
  704.  
  705. Blast = {
  706. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Part)
  707. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  708. prt.Anchored = true
  709. prt.CFrame = cframe
  710. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "1323306", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  711. game:GetService("Debris"):AddItem(prt, 10)
  712. table.insert(Effects, {
  713. prt,
  714. "Block4",
  715. delay,
  716. x3,
  717. y3,
  718. z3,
  719. msh,
  720. Part
  721. })
  722. end
  723. };
  724.  
  725. Ring = {
  726. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  727. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  728. prt.Anchored = true
  729. prt.CFrame = cframe
  730. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  731. game:GetService("Debris"):AddItem(prt, 10)
  732. table.insert(Effects, {
  733. prt,
  734. "Cylinder",
  735. delay,
  736. x3,
  737. y3,
  738. z3,
  739. msh
  740. })
  741. end
  742. };
  743.  
  744. Cylinder = {
  745. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  746. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  747. prt.Anchored = true
  748. prt.CFrame = cframe
  749. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  750. game:GetService("Debris"):AddItem(prt, 10)
  751. table.insert(Effects, {
  752. prt,
  753. "Cylinder",
  754. delay,
  755. x3,
  756. y3,
  757. z3,
  758. msh
  759. })
  760. end
  761. };
  762.  
  763. Head = {
  764. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  765. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  766. prt.Anchored = true
  767. prt.CFrame = cframe
  768. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  769. game:GetService("Debris"):AddItem(prt, 10)
  770. table.insert(Effects, {
  771. prt,
  772. "Cylinder",
  773. delay,
  774. x3,
  775. y3,
  776. z3,
  777. msh
  778. })
  779. end
  780. };
  781.  
  782. Wave = {
  783. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  784. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  785. prt.Anchored = true
  786. prt.CFrame = cframe
  787. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  788. game:GetService("Debris"):AddItem(prt, 10)
  789. table.insert(Effects, {
  790. prt,
  791. "Cylinder",
  792. delay,
  793. x3,
  794. y3,
  795. z3,
  796. msh
  797. })
  798. end
  799. };
  800.  
  801. Break = {
  802. Create = function(brickcolor, cframe, x1, y1, z1)
  803. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  804. prt.Anchored = true
  805. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  806. game:GetService("Debris"):AddItem(prt, 10)
  807. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  808. local num = math.random(10, 50) / 1000
  809. table.insert(Effects, {
  810. prt,
  811. "Shatter",
  812. num,
  813. prt.CFrame,
  814. math.random() - math.random(),
  815. 0,
  816. math.random(50, 100) / 100
  817. })
  818. end
  819. };
  820.  
  821. Elec = {
  822. Create = function(brickcolor, cff, x, y, z)
  823. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Part", Vector3.new(1, 1, 1))
  824. prt.Anchored = true
  825. 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)
  826. prt.CFrame = CFrame.new(prt.Position)
  827. game:GetService("Debris"):AddItem(prt, 10)
  828. xval = math.random() / 9
  829. yval = math.random() / 9
  830. zval = math.random() / 9
  831. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  832. eul1 = math.random(-50, 50)
  833. eul2 = math.random(-50, 50)
  834. eul3 = math.random(-50, 50)
  835. euld = CFrame.fromEulerAnglesXYZ(eul1, eul2, eul3)
  836. euld2 = CFrame.fromEulerAnglesXYZ(-eul1, -eul2, -eul3)
  837. table.insert(Effects, {
  838. prt,
  839. "Elec",
  840. .05,
  841. x,
  842. y,
  843. z,
  844. xval,
  845. yval,
  846. zval,
  847. msh,
  848. euld,
  849. euld2
  850. })
  851. end
  852. };
  853.  
  854. Elec2 = {
  855. Create = function(brickcolor, cff, x, y, z)
  856. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Part", Vector3.new(1, 1, 1))
  857. prt.Anchored = true
  858. 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)
  859. prt.CFrame = CFrame.new(prt.Position)
  860. game:GetService("Debris"):AddItem(prt, 10)
  861. xval = math.random() / 7
  862. yval = math.random() / 7
  863. zval = math.random() / 7
  864. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  865. eul1 = math.random(-50, 50)
  866. eul2 = math.random(-50, 50)
  867. eul3 = math.random(-50, 50)
  868. euld = CFrame.fromEulerAnglesXYZ(eul1, eul2, eul3)
  869. euld2 = CFrame.fromEulerAnglesXYZ(-eul1, -eul2, -eul3)
  870. table.insert(Effects, {
  871. prt,
  872. "Elec",
  873. .1,
  874. x,
  875. y,
  876. z,
  877. xval,
  878. yval,
  879. zval,
  880. msh,
  881. euld,
  882. euld2
  883. })
  884. end
  885. };
  886.  
  887. Clone = {
  888. Create = function()
  889. for _, v in pairs(Torso.Parent:children()) do
  890. if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
  891. local c = CFuncs.Part.Create(EffectModel, "Neon", 0, .5, BrickColor.new("Bright blue"), "Effect", v.Size)
  892. c.Anchored = true
  893. c.CFrame = v.CFrame
  894. game:GetService("Debris"):AddItem(c, 5)
  895. local cmsh = nil
  896. if v.Name == "Head" then
  897. cmsh = CFuncs.Mesh.Create("SpecialMesh", c, "Head", "", Vector3.new(0, 0, 0), v.Mesh.Scale)
  898. else
  899. cmsh = CFuncs.Mesh.Create("BlockMesh", c, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  900. end
  901. table.insert(Effects, {
  902. c,
  903. "Cylinder",
  904. 0.05,
  905. 0.1,
  906. 0.1,
  907. 0.1,
  908. cmsh
  909. })
  910. end
  911. end
  912. end
  913. };
  914.  
  915. EffectTemplate = {
  916.  
  917. };
  918. }
  919.  
  920.  
  921.  
  922. function basicatk3()
  923. Attack = true
  924. for i = 0, 1, 0.1 do
  925. swait()
  926. PlayAnimationFromTable({
  927. 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),
  928. 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),
  929. 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),
  930. 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),
  931. 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),
  932. 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),
  933. }, .3, false)
  934. FSwordHandleWeld.C0 = clerp(FSwordHandleWeld.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), 1)
  935. end
  936. swordtrail.Enabled = true
  937. local con = SwordHitbox.Touched:connect(function(hit)
  938. Damage(SwordHitbox, hit, 0, 0, 0, "Normal", RootPart, 0.2, "851453784", 1)end)
  939. CFuncs.Sound.Create("12222208", SwordHitbox, 1, 1)
  940. for i = 0, 1, 0.1 do
  941. swait()
  942. PlayAnimationFromTable({
  943. 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),
  944. 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),
  945. 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),
  946. 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),
  947. 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),
  948. 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),
  949. }, .3, false)
  950. Torso.Velocity=RootPart.CFrame.lookVector*50
  951. FSwordHandleWeld.C0 = clerp(FSwordHandleWeld.C0, CFrame.new(.5, .5, 0) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(-90)), .5)
  952. end
  953. Torso.Velocity=RootPart.CFrame.lookVector*0
  954. con:Disconnect()
  955. swordtrail.Enabled = false
  956. Attack = false
  957. end
  958.  
  959. function basicatk1()
  960. Attack = true
  961. CFuncs.Sound.Create("12222216", SwordHitbox, 1, 1)
  962. local con = SwordHitbox.Touched:connect(function(hit)
  963. Damage(SwordHitbox, hit, 0, 0, 0, "Normal", RootPart, 0.2, "851453784", 1)end)
  964. for i = 0, 1, 0.1 do
  965. swait()
  966. PlayAnimationFromTable({
  967. 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),
  968. 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),
  969. 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),
  970. 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),
  971. 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),
  972. 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),
  973. }, .3, false)
  974. FSwordHandleWeld.C0 = clerp(FSwordHandleWeld.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0)), 1)
  975. end
  976. swordtrail.Enabled = true
  977. for i = 0, .5, 0.1 do
  978. swait()
  979. PlayAnimationFromTable({
  980. 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),
  981. 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),
  982. 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),
  983. 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),
  984. 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),
  985. 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),
  986. }, .3, false)
  987. FSwordHandleWeld.C0 = clerp(FSwordHandleWeld.C0, CFrame.new(.5, .5, 0) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(-90)), 1)
  988. end
  989.  
  990.  
  991. for i = 0, .5, 0.1 do
  992. swait()
  993. PlayAnimationFromTable({
  994. 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),
  995. 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),
  996. 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),
  997. 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),
  998. 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),
  999. 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),
  1000. }, .3, false)
  1001. FSwordHandleWeld.C0 = clerp(FSwordHandleWeld.C0, CFrame.new(0, .5, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), .1)
  1002. end
  1003. swordtrail.Enabled = false
  1004. con:Disconnect()
  1005. Attack = false
  1006. end
  1007.  
  1008.  
  1009.  
  1010.  
  1011.  
  1012. function basicatk2()
  1013. Attack = true
  1014. CFuncs.Sound.Create("12222216", SwordHitbox, 1, .8)
  1015. local con = SwordHitbox.Touched:connect(function(hit)
  1016. Damage(SwordHitbox, hit, 0, 0, 0, "Normal", RootPart, 0.2, "851453784", 1)end)
  1017. for i = 0, .5, 0.1 do
  1018. PlayAnimationFromTable({
  1019. 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),
  1020. 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),
  1021. 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),
  1022. 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),
  1023. 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),
  1024. 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),
  1025. }, .3, false)
  1026. FSwordHandleWeld.C0 = clerp(FSwordHandleWeld.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), 1)
  1027. end
  1028. swordtrail.Enabled = true
  1029. for i = 0, .5, 0.1 do
  1030. swait()
  1031. PlayAnimationFromTable({
  1032. 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),
  1033. 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),
  1034. 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),
  1035. 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),
  1036. 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),
  1037. 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),
  1038. }, .3, false)
  1039. FSwordHandleWeld.C0 = clerp(FSwordHandleWeld.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), 1)
  1040. end
  1041. for i = 0, .5, 0.1 do
  1042. swait()
  1043. PlayAnimationFromTable({
  1044. 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),
  1045. 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),
  1046. 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),
  1047. 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),
  1048. 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),
  1049. 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),
  1050. }, .3, false)
  1051. FSwordHandleWeld.C0 = clerp(FSwordHandleWeld.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), 1)
  1052. end
  1053. for i = 0, .5, 0.1 do
  1054. swait()
  1055. PlayAnimationFromTable({
  1056. 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),
  1057. 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),
  1058. 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),
  1059. 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),
  1060. 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),
  1061. 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),
  1062. }, .3, false)
  1063. FSwordHandleWeld.C0 = clerp(FSwordHandleWeld.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), 1)
  1064. end
  1065. swordtrail.Enabled = false
  1066. con:Disconnect()
  1067. Attack = false
  1068. end
  1069.  
  1070.  
  1071. function dodgeball()
  1072. Attack = true
  1073. humanoid.AutoRotate = false
  1074. local spawnPos = Torso.Position
  1075. orb1=CFuncs.Part.Create(Torso, "Neon", 0, 0, BrickColor.new("Crimson"), "ref", Vector3.new(2,2,2))
  1076. orb1.Anchored=true
  1077. orb1.CanCollide=false
  1078.  
  1079. game:GetService("Debris"):AddItem(orb1, 10)
  1080. orb1.Elasticity = 1
  1081. local mbewm2 = Instance.new("SpecialMesh", orb1)
  1082. mbewm2.MeshType = "Sphere"
  1083. mbewm2.Scale = Vector3.new(1,1,1)
  1084. game:GetService("Debris"):AddItem(orb1, 3)
  1085. for i = 0, 2, 0.1 do
  1086. orb1.CFrame = Dodgebox.CFrame
  1087. swait()
  1088. PlayAnimationFromTable({
  1089. 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),
  1090. 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),
  1091. 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),
  1092. 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),
  1093. 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),
  1094. 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),
  1095. }, .3, false)
  1096. RootPart.CFrame = CFrame.new(RootPart.Position, Vector3.new(Mouse.Hit.p.X, 0, Mouse.Hit.p.Z))
  1097. end
  1098. local con = orb1.Touched:connect(function(hit)
  1099. CFuncs.Sound.Create("112503990", Torso, 1, .8)end)
  1100. orb1.Anchored=false
  1101. orb1.CanCollide=true
  1102.  
  1103. local roketsped = 500
  1104. local spawnPosition = (RootPart.CFrame * CFrame.new(0, 0, -3)).p
  1105. orb1.CFrame = CFrame.new(spawnPosition, Mouse.hit.p)
  1106. orb1.Velocity = orb1.CFrame.lookVector * roketsped
  1107. local GRAVITY_ACCELERATION = 196.2
  1108. local bodyForce = Instance.new('BodyForce', orb1)
  1109. bodyForce.Name = 'Antigravity'
  1110. bodyForce.force = Vector3.new(0, orb1:GetMass() * GRAVITY_ACCELERATION, 0)
  1111.  
  1112. game:GetService("Debris"):AddItem(orb1, 8)
  1113.  
  1114. for i = 0, 1, 0.1 do
  1115. swait()
  1116. PlayAnimationFromTable({
  1117. 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),
  1118. 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),
  1119. 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),
  1120. 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),
  1121. 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),
  1122. 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),
  1123. }, .3, false)
  1124. RootPart.CFrame = CFrame.new(RootPart.Position, Vector3.new(Mouse.Hit.p.X, 0, Mouse.Hit.p.Z))
  1125. end
  1126. humanoid.AutoRotate = true
  1127. Attack = false
  1128. while orb1 do
  1129. swait()
  1130. MagnitudeDamage(orb1, 4, 0, 0, 100, "Normal", "112503990", 1)
  1131. end
  1132.  
  1133. end
  1134.  
  1135.  
  1136. function roketlunch()
  1137. Attack = true
  1138. humanoid.WalkSpeed = 0
  1139. humanoid.JumpPower = 0
  1140. RHandle.Transparency = 0
  1141. Sword.Transparency = 1
  1142. for i = 0, 1, 0.1 do
  1143. swait()
  1144. PlayAnimationFromTable({
  1145. 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),
  1146. 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),
  1147. 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),
  1148. 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),
  1149. 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),
  1150. 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),
  1151. }, .3, false)
  1152. end
  1153.  
  1154.  
  1155. for i = 0, 3, 0.1 do
  1156. swait()
  1157. PlayAnimationFromTable({
  1158. 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),
  1159. 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),
  1160. 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),
  1161. 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),
  1162. 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),
  1163. 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),
  1164. }, .3, false)
  1165. RootPart.CFrame = CFrame.new(RootPart.Position, Vector3.new(Mouse.Hit.p.X, 0, Mouse.Hit.p.Z))
  1166. end
  1167.  
  1168. local roket=CFuncs.Part.Create(Torso, "Neon", 0, 0, BrickColor.new("Smoky grey"), "ref", Vector3.new(1,1,2))
  1169. roket.Anchored=false
  1170. roket.CanCollide=true
  1171. local roketsped = 100
  1172. local spawnPosition = (RootPart.CFrame * CFrame.new(0, 0, -6)).p
  1173. roket.CFrame = CFrame.new(spawnPosition, Mouse.hit.p) --NOTE: This must be done before assigning Parent
  1174. roket.Velocity = roket.CFrame.lookVector * roketsped
  1175. CFuncs.Sound.Create("31761785", roket, 3, 1)
  1176. local GRAVITY_ACCELERATION = 196.2
  1177. local bodyForce = Instance.new('BodyForce', roket)
  1178. bodyForce.Name = 'Antigravity'
  1179. bodyForce.force = Vector3.new(0, roket:GetMass() * GRAVITY_ACCELERATION, 0)
  1180.  
  1181. game:GetService("Debris"):AddItem(roket, 8)
  1182. local con = roket.Touched:connect(function(hit)
  1183. 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
  1184. boo.BlastPressure = 500 roket:Destroy() end)
  1185. for i = 0, 2, 0.1 do
  1186. swait()
  1187. PlayAnimationFromTable({
  1188. 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),
  1189. 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),
  1190. 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),
  1191. 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),
  1192. 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),
  1193. 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),
  1194. }, .3, false)
  1195. Torso.Velocity=RootPart.CFrame.lookVector*-20
  1196. RootPart.CFrame = CFrame.new(RootPart.Position, Vector3.new(Mouse.Hit.p.X, 0, Mouse.Hit.p.Z))
  1197. end
  1198. RHandle.Transparency = 1
  1199. Sword.Transparency = 0
  1200.  
  1201. humanoid.WalkSpeed = 13
  1202. humanoid.JumpPower = 60
  1203. Attack = false
  1204. end
  1205.  
  1206.  
  1207.  
  1208. function fireinDhole()
  1209. Attack = true
  1210. local bomb1=CFuncs.Part.Create(Torso, "Neon", 0, 0, BrickColor.new("Crimson"), "ref", Vector3.new(1,1,1))
  1211. bomb1.Anchored=true
  1212. bomb1.CanCollide=true
  1213. game:GetService("Debris"):AddItem(orb1, 10)
  1214. bomb1.Elasticity = .3
  1215. local mbewm2 = Instance.new("SpecialMesh", bomb1)
  1216. mbewm2.MeshId = "rbxasset://fonts/timebomb.mesh"
  1217. mbewm2.TextureId = "rbxasset://textures/bombtex.png"
  1218. mbewm2.Scale = Vector3.new(1,1,1)
  1219.  
  1220. CFuncs.Sound.Create("11565378", bomb1, 1, 1)
  1221. for i = 0, 2, 0.1 do
  1222. swait()
  1223. PlayAnimationFromTable({
  1224. 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),
  1225. 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),
  1226. 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),
  1227. 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),
  1228. 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),
  1229. 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),
  1230. }, .3, false)
  1231. bomb1.CFrame = Dodgebox.CFrame
  1232. end
  1233. for i = 0, .5, 0.1 do
  1234. swait()
  1235. PlayAnimationFromTable({
  1236. 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),
  1237. 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),
  1238. 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),
  1239. 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),
  1240. 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),
  1241. 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),
  1242. }, .3, false)
  1243. bomb1.CFrame = Dodgebox.CFrame
  1244. end
  1245. bomb1.CFrame = RootPart.CFrame * CFrame.new(0,0,-3)
  1246. bomb1.Anchored=false
  1247. bomb1.Velocity=RootPart.CFrame.lookVector*50
  1248. for i = 0, .5, 0.1 do
  1249. swait()
  1250. PlayAnimationFromTable({
  1251. 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),
  1252. 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),
  1253. 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),
  1254. 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),
  1255. 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),
  1256. 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),
  1257. }, .3, false)
  1258. end
  1259. Attack = false
  1260. wait(4)
  1261. MagnitudeDamage(bomb1, 30, 0, 0, 400, "Normal", "112503990", 1)
  1262. Effects.Sphere.Create(BrickColor.new(Torso.Color), bomb1.CFrame, 3, 3, 3, 3, 3, 3, 0.03)
  1263. CFuncs.Sound.Create("169628396", bomb1, 3, 1)
  1264. bomb1.Transparency = 1
  1265. bomb1.Anchored=true
  1266. bomb1.CanCollide=false
  1267. local boo = Instance.new("Explosion", bomb1)
  1268. boo.Position = bomb1.Position
  1269. boo.BlastRadius = 30
  1270. boo.BlastPressure = 500
  1271. end
  1272.  
  1273.  
  1274.  
  1275.  
  1276. Mouse.KeyDown:connect(function(Key)
  1277. Key = Key:lower()
  1278. if Attack == false and Key == 'z' then
  1279. dodgeball()
  1280. elseif Attack == false and Key == 'x' then
  1281. roketlunch()
  1282. elseif Attack == false and Key == 'c' then
  1283. fireinDhole()
  1284. end
  1285. end)
  1286.  
  1287.  
  1288.  
  1289. Mouse.Button1Up:connect(function()
  1290. if Attack == false and Combo== 1 then
  1291. basicatk1()
  1292. Combo=2
  1293. elseif Attack == false and Combo== 2 then
  1294. basicatk2()
  1295. Combo=3
  1296. elseif Attack == false and Combo== 3 then
  1297. basicatk3()
  1298. Combo=1
  1299. end
  1300. end)
  1301.  
  1302.  
  1303.  
  1304.  
  1305.  
  1306. --{{Linked Sword remake by SezHu. Made for WolfyKi11er.}}--
  1307. while true do
  1308. swait()
  1309. for i, v in pairs(Character:GetChildren()) do
  1310. if v:IsA("Part") then
  1311. v.Material = "SmoothPlastic"
  1312. elseif v:IsA("Accessory") then
  1313. v:WaitForChild("Handle").Material = "SmoothPlastic"
  1314. end
  1315. end
  1316. for i, v in pairs(Character:GetChildren()) do
  1317. if v:IsA'Model' then
  1318. for _, c in pairs(v:GetChildren()) do
  1319. if c:IsA'Part' then
  1320. c.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1321. end
  1322. end
  1323. end
  1324. end
  1325. TorsoVelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1326. Velocity = RootPart.Velocity.y
  1327. Sine = Sine + Change
  1328. local hit, pos = RayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1329. if RootPart.Velocity.y > 1 and hit == nil then
  1330. Anim = "Jump"
  1331. if Attack == false then
  1332. Change = 1
  1333. PlayAnimationFromTable({
  1334. 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),
  1335. 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),
  1336. 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),
  1337. 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),
  1338. 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),
  1339. 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),
  1340. }, .3, false)
  1341. FSwordHandleWeld.C0 = clerp(FSwordHandleWeld.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), 1)
  1342. end
  1343. elseif RootPart.Velocity.y < -1 and hit == nil then
  1344. Anim = "Fall"
  1345. if Attack == false then
  1346. Change = 1
  1347. PlayAnimationFromTable({
  1348. 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),
  1349. 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),
  1350. 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),
  1351. 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),
  1352. 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),
  1353. 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),
  1354. }, .3, false)
  1355. FSwordHandleWeld.C0 = clerp(FSwordHandleWeld.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), 1)
  1356. end
  1357. elseif TorsoVelocity < 1 and hit ~= nil then
  1358. Anim = "Idle"
  1359. if Attack == false then
  1360. Change = 1
  1361. PlayAnimationFromTable({
  1362. 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),
  1363. 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),
  1364. 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)),
  1365. 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))),
  1366. 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)),
  1367. 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),
  1368. }, .3, false)
  1369. FSwordHandleWeld.C0 = clerp(FSwordHandleWeld.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), 1)
  1370. end
  1371. elseif TorsoVelocity > 2 and hit ~= nil then
  1372. Anim = "Walk"
  1373. if Attack == false then
  1374. PlayAnimationFromTable({
  1375. 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),
  1376. 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),
  1377. 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),
  1378. 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),
  1379. 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)),
  1380. 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)
  1381. FSwordHandleWeld.C0 = clerp(FSwordHandleWeld.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), 1)
  1382. end
  1383. end
  1384.  
  1385. if #Effects > 0 then
  1386. for e = 1, #Effects do
  1387. if Effects[e] ~= nil then
  1388. local Thing = Effects[e]
  1389. if Thing ~= nil then
  1390. local Part = Thing[1]
  1391. local Mode = Thing[2]
  1392. local Delay = Thing[3]
  1393. local IncX = Thing[4]
  1394. local IncY = Thing[5]
  1395. if Thing[1].Transparency <= 1 then
  1396. if Thing[2] == "Block1" then
  1397. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1398. Mesh = Thing[7]
  1399. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1400. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1401. elseif Thing[2] == "Ice" then
  1402. if Thing[6] <= Thing[5] then
  1403. Thing[6] = Thing[6] + .05
  1404. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, .4, 0)
  1405. else
  1406. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1407. end
  1408. elseif Thing[2] == "Shatter" then
  1409. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1410. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1411. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1412. Thing[6] = Thing[6] + Thing[5]
  1413. elseif Thing[2] == "Block2" then
  1414. Thing[1].CFrame = Thing[1].CFrame
  1415. Mesh = Thing[7]
  1416. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1417. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1418. elseif Thing[2] == "Block3" then
  1419. Thing[1].CFrame = Thing[8].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1420. Mesh = Thing[7]
  1421. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1422. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1423. elseif Thing[2] == "Block4" then
  1424. Thing[1].CFrame = Thing[8].CFrame * CFrame.new(0, -Thing[7].Scale.Y, 0) * CFrame.fromEulerAnglesXYZ(3.14, 0, 0)
  1425. Mesh = Thing[7]
  1426. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1427. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1428. elseif Thing[2] == "Block2Fire" then
  1429. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1430. Mesh = Thing[7]
  1431. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1432. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1433. if Thing[1].Transparency >= .3 then
  1434. Thing[1].BrickColor = BrickColor.new("Bright red")
  1435. else
  1436. Thing[1].BrickColor = BrickColor.new("Bright yellow")
  1437. end
  1438. elseif Thing[2] == "Cylinder" then
  1439. Mesh = Thing[7]
  1440. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1441. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1442. elseif Thing[2] == "Blood" then
  1443. Mesh = Thing[7]
  1444. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, -.5, 0)
  1445. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1446. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1447. elseif Thing[2] == "Elec" then
  1448. Mesh = Thing[10]
  1449. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1450. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1451. Thing[1].CFrame = Thing[1].CFrame * Thing[11] * CFrame.new(0, 0, .2)
  1452. Thing[1].Rotation = Vector3.new(0, 0, 0)
  1453. elseif Thing[2] == "Disappear" then
  1454. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1455. end
  1456. else
  1457. Part.Parent = nil
  1458. table.remove(Effects, e)
  1459. end
  1460. end
  1461. end
  1462. end
  1463. end
  1464. Humanoid.Health = math.huge
  1465. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement