Advertisement
SheeityArtist

Masked ROBLOXian

Sep 9th, 2017
690
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 45.85 KB | None | 0 0
  1. ------------------------
  2. --The Masked ROBLOXian--
  3. ------------------------
  4. --By CKbackup--
  5. ---------------
  6.  
  7. player = game.Players.LocalPlayer
  8. mouse = player:GetMouse()
  9. chara = player.Character
  10. equipped = false
  11. del = false
  12. attacking = false
  13. atkd = false
  14. hum = chara:FindFirstChildOfClass("Humanoid")
  15. hum.WalkSpeed = 10
  16. debby = game.Debris
  17.  
  18. ArtificialHB = Instance.new("BindableEvent", script)
  19. ArtificialHB.Name = "Heartbeat"
  20. script:WaitForChild("Heartbeat")
  21. frame = 0.03333333333333
  22. tf = 0
  23. allowframeloss = false
  24. tossremainder = false
  25. lastframe = tick()
  26. script.Heartbeat:Fire()
  27. game:GetService("RunService").Heartbeat:connect(function(s, p)
  28. tf = tf + s
  29. if tf >= frame then
  30. if allowframeloss then
  31. script.Heartbeat:Fire()
  32. lastframe = tick()
  33. else
  34. for i = 1, math.floor(tf / frame) do
  35. script.Heartbeat:Fire()
  36. end
  37. lastframe = tick()
  38. end
  39. if tossremainder then
  40. tf = 0
  41. else
  42. tf = tf - frame * math.floor(tf / frame)
  43. end
  44. end
  45. end)
  46. function swait(num)
  47. if num == 0 or num == nil then
  48. ArtificialHB.Event:wait()
  49. else
  50. for i = 0, num*30 do
  51. ArtificialHB.Event:wait()
  52. end
  53. end
  54. end
  55.  
  56. New = function(Object, Parent, Name, Data)
  57. local Object = Instance.new(Object)
  58. for Index, Value in pairs(Data or {}) do
  59. Object[Index] = Value
  60. end
  61. Object.Parent = Parent
  62. Object.Name = Name
  63. return Object
  64. end
  65.  
  66. Blaster = nil
  67. meshpresent = false
  68. ShootPart = nil
  69. for i, v in pairs(chara:GetChildren()) do
  70. if v:IsA("CharacterMesh") and v.BodyPart == Enum.BodyPart.RightArm then
  71. meshpresent = true
  72. end
  73. end
  74.  
  75. if meshpresent == false then
  76. Blaster = New("Model",chara,"Blaster",{})
  77. MainPart = New("Part",Blaster,"MainPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.30000001192093,Size = Vector3.new(0.99999994, 1.60000014, 1),CFrame = CFrame.new(-9.5, 0.99999994, -15.4999971, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  78. Mesh = New("BlockMesh",MainPart,"Mesh",{Scale = Vector3.new(1.04999995, 1, 1.04999995),})
  79. Weld = New("ManualWeld",MainPart,"Weld",{Part0 = MainPart,Part1 = chara["Right Arm"],C1 = CFrame.new(0, -0.600000083, 2.86102295e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  80. Part = New("Part",Blaster,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.30000001192093,Size = Vector3.new(0.399999917, 0.200000033, 0.200000003),CFrame = CFrame.new(-8.99999905, 1.29999924, -15.4999971, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  81. Mesh = New("CylinderMesh",Part,"Mesh",{})
  82. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = MainPart,C1 = CFrame.new(0.500000954, 0.299999297, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  83. Part = New("Part",Blaster,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.99999994, 0.200000003, 1),CFrame = CFrame.new(-9.5, 0.0999997854, -15.4999971, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  84. Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.800000012, 1.04999995, 0.800000012),})
  85. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = MainPart,C1 = CFrame.new(0, -0.900000155, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  86. ShootPart = New("Part",Blaster,"ShootPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.30000001192093,Size = Vector3.new(0.99999994, 0.200000003, 1),CFrame = CFrame.new(-9.5, 0.0999997854, -15.4999971, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  87. Mesh = New("CylinderMesh",ShootPart,"Mesh",{})
  88. Weld = New("ManualWeld",ShootPart,"Weld",{Part0 = ShootPart,Part1 = MainPart,C1 = CFrame.new(0, -0.900000155, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  89. Part = New("Part",Blaster,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.30000001192093,Size = Vector3.new(0.399999917, 0.200000033, 0.200000003),CFrame = CFrame.new(-8.99999905, 0.50000006, -15.4999971, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  90. Mesh = New("CylinderMesh",Part,"Mesh",{})
  91. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = MainPart,C1 = CFrame.new(0.500000954, -0.499999881, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  92. Part = New("Part",Blaster,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.399999917, 0.600000024, 0.200000003),CFrame = CFrame.new(-8.99999905, 0.899999559, -15.4999971, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  93. Mesh = New("CylinderMesh",Part,"Mesh",{})
  94. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = MainPart,C1 = CFrame.new(0.500000954, -0.100000381, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  95. elseif meshpresent == true then
  96. Blaster = New("Model",chara,"Blaster",{})
  97. MainPart = New("Part",Blaster,"MainPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.30000001192093,Size = Vector3.new(0.99999994, 1.40000021, 1),CFrame = CFrame.new(-10.6999989, 0.900003612, -15.4999962, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  98. Mesh = New("CylinderMesh",MainPart,"Mesh",{})
  99. Weld = New("ManualWeld",MainPart,"Weld",{Part0 = MainPart,Part1 = chara["Right Arm"],C1 = CFrame.new(-0.199998856, -0.699999869, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  100. Part = New("Part",Blaster,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.30000001192093,Size = Vector3.new(0.399999917, 0.200000033, 0.200000003),CFrame = CFrame.new(-10.1999979, 1.30000281, -15.4999962, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  101. Mesh = New("CylinderMesh",Part,"Mesh",{})
  102. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = MainPart,C1 = CFrame.new(0.500000954, 0.399999201, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  103. Part = New("Part",Blaster,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.99999994, 0.200000003, 1),CFrame = CFrame.new(-10.6999989, 0.100003421, -15.4999962, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  104. Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.600000024, 1.04999995, 0.600000024),})
  105. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = MainPart,C1 = CFrame.new(0, -0.800000191, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  106. ShootPart = New("Part",Blaster,"ShootPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.30000001192093,Size = Vector3.new(0.99999994, 0.200000003, 1),CFrame = CFrame.new(-10.6999989, 0.100003421, -15.4999962, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  107. Mesh = New("CylinderMesh",ShootPart,"Mesh",{Scale = Vector3.new(0.699999988, 1, 0.699999988),})
  108. Weld = New("ManualWeld",ShootPart,"Weld",{Part0 = ShootPart,Part1 = MainPart,C1 = CFrame.new(0, -0.800000191, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  109. Part = New("Part",Blaster,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.30000001192093,Size = Vector3.new(0.399999917, 0.200000033, 0.200000003),CFrame = CFrame.new(-10.1999979, 0.500003695, -15.4999962, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  110. Mesh = New("CylinderMesh",Part,"Mesh",{})
  111. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = MainPart,C1 = CFrame.new(0.500000954, -0.399999917, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  112. Part = New("Part",Blaster,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.399999917, 0.600000024, 0.200000003),CFrame = CFrame.new(-10.1999979, 0.900003195, -15.4999962, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  113. Mesh = New("CylinderMesh",Part,"Mesh",{})
  114. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = MainPart,C1 = CFrame.new(0.500000954, -4.17232513e-07, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  115. Part = New("Part",Blaster,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.30000001192093,Size = Vector3.new(0.99999994, 0.200000003, 1),CFrame = CFrame.new(-10.6999989, 1.50000334, -15.4999962, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  116. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 5, 1),MeshType = Enum.MeshType.Sphere,})
  117. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = MainPart,C1 = CFrame.new(0, 0.599999726, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  118. end
  119.  
  120. Sword = New("Model",chara,"Sword",{})
  121. HandlePart = New("Part",Sword,"HandlePart",{BrickColor = BrickColor.new("Gold"),Material = Enum.Material.Neon,Size = Vector3.new(0.200000003, 0.99999994, 0.200000003),CFrame = CFrame.new(-3.69999695, 0.700078905, -9.30000019, 0.999991417, 0, 0, 0, 1.00001717, 0, 0, 0, 1.00001717),CanCollide = false,Color = Color3.new(0.937255, 0.721569, 0.219608),})
  122. Mesh = New("CylinderMesh",HandlePart,"Mesh",{})
  123. GWeld = New("Weld",HandlePart,"GWeld",{Part0 = HandlePart,Part1 = chara["Left Arm"],})
  124. Part = New("Part",Sword,"Part",{BrickColor = BrickColor.new("Gold"),Material = Enum.Material.Neon,Size = Vector3.new(0.200000003, 0.199999943, 0.200000003),CFrame = CFrame.new(-3.69999695, 0.100065172, -9.30000019, 0.999994278, 0, 0, 0, 1.00001144, 0, 0, 0, 1.00001144),CanCollide = false,Color = Color3.new(0.937255, 0.721569, 0.219608),})
  125. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.5, 1.5, 1.5),MeshType = Enum.MeshType.Sphere,})
  126. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = HandlePart,C0 = CFrame.new(0, 0, 0, 0.999998569, 0, 0, 0, 1.00000286, 0, 0, 0, 1.00000286),C1 = CFrame.new(0, -0.600003421, 0, 0.999998569, 0, 0, 0, 1.00000286, 0, 0, 0, 1.00000286),})
  127. Part = New("Part",Sword,"Part",{BrickColor = BrickColor.new("Gold"),Material = Enum.Material.Neon,Size = Vector3.new(0.200000003, 0.199999943, 0.600000024),CFrame = CFrame.new(-3.69999695, 1.15866339, -9.75859165, 0.999991417, 0, 0, 0, 0.707118869, 0.707118988, 0, -0.707118988, 0.707118869),CanCollide = false,Color = Color3.new(0.937255, 0.721569, 0.219608),})
  128. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.5, 1, 1),MeshType = Enum.MeshType.Wedge,})
  129. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = HandlePart,C0 = CFrame.new(0, 0, 0, 0.999998391, 0, 0, 0, 0.707108915, -0.707109034, 0, 0.707109034, 0.707108915),C1 = CFrame.new(0, 0.45857662, -0.458583832, 0.999995708, 0, 0, 0, 1.00000858, 0, 0, 0, 1.00000858),})
  130. Part = New("Part",Sword,"Part",{BrickColor = BrickColor.new("Gold"),Material = Enum.Material.Neon,Size = Vector3.new(0.200000003, 0.199999943, 0.600000024),CFrame = CFrame.new(-3.69999695, 1.30010247, -9.30000019, 0.999987125, 0, 0, 0, 1.00002575, 0, 0, 0, 1.00002575),CanCollide = false,Color = Color3.new(0.937255, 0.721569, 0.219608),})
  131. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.5, 1, 1),})
  132. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = HandlePart,C1 = CFrame.new(0, 0.600013196, 0, 0.999995708, 0, 0, 0, 1.00000858, 0, 0, 0, 1.00000858),})
  133. Part = New("Part",Sword,"Part",{BrickColor = BrickColor.new("Gold"),Material = Enum.Material.Neon,Size = Vector3.new(0.200000003, 0.599999964, 0.600000024),CFrame = CFrame.new(-3.69999647, 5.10027504, -9.29999924, 0.999987125, 0, 0, 0, 1.00002575, 0, 0, 0, 1.00002575),CanCollide = false,Color = Color3.new(0.937255, 0.721569, 0.219608),})
  134. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.300000012, 1, 0.699999988),MeshType = Enum.MeshType.Wedge,})
  135. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = HandlePart,C1 = CFrame.new(4.76837158e-07, 4.40012074, 9.53674316e-07, 0.999995708, 0, 0, 0, 1.00000858, 0, 0, 0, 1.00000858),})
  136. Part = New("Part",Sword,"Part",{BrickColor = BrickColor.new("Gold"),Material = Enum.Material.Neon,Size = Vector3.new(0.200000003, 0.199999943, 0.600000024),CFrame = CFrame.new(-3.69999695, 1.15866399, -8.84140778, -0.999991417, 2.51216356e-15, 2.51218325e-15, 3.55284073e-15, 0.707116961, 0.707121074, -3.60000312e-21, 0.707121015, -0.707116902),CanCollide = false,Color = Color3.new(0.937255, 0.721569, 0.219608),})
  137. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.5, 1, 1),MeshType = Enum.MeshType.Wedge,})
  138. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = HandlePart,C0 = CFrame.new(0, 0, 0, -0.999998569, 3.55272893e-15, -3.59989003e-21, 2.51215149e-15, 0.707109749, 0.707113802, 2.5121589e-15, 0.70710963, -0.707112253),C1 = CFrame.new(0, 0.458577216, 0.458584785, 0.999995708, 0, 0, 0, 1.00000858, 0, 0, 0, 1.00000858),})
  139. Part = New("Part",Sword,"Part",{BrickColor = BrickColor.new("Gold"),Material = Enum.Material.Neon,Size = Vector3.new(0.200000003, 3.40000033, 0.600000024),CFrame = CFrame.new(-3.69999695, 3.1002686, -9.30000019, 0.999987125, 0, 0, 0, 1.00002575, 0, 0, 0, 1.00002575),CanCollide = false,Color = Color3.new(0.937255, 0.721569, 0.219608),})
  140. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.300000012, 1, 0.699999988),})
  141. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = HandlePart,C1 = CFrame.new(0, 2.40014839, 0, 0.999995708, 0, 0, 0, 1.00000858, 0, 0, 0, 1.00000858),})
  142. Hitbox = New("Part",Sword,"Hitbox",{Transparency = 1,Transparency = 1,Size = Vector3.new(0.200000003, 4.00000048, 0.600000024),CFrame = CFrame.new(-3.69999695, 3.40013981, -9.30000019, 0.999988556, 0, 0, 0, 1.00002289, 0, 0, 0, 1.00002289),CanCollide = false,})
  143. Mesh = New("BlockMesh",Hitbox,"Mesh",{Scale = Vector3.new(0.300000012, 1, 0.699999988),})
  144. Weld = New("ManualWeld",Hitbox,"Weld",{Part0 = Hitbox,Part1 = HandlePart,C0 = CFrame.new(0, 0, 0, 0.999998569, 0, 0, 0, 1.00000286, 0, 0, 0, 1.00000286),C1 = CFrame.new(0, 2.70001459, 0, 0.999998569, 0, 0, 0, 1.00000286, 0, 0, 0, 1.00000286),})
  145.  
  146. Helmet = New("Part",chara,"Helmet",{BrickColor = BrickColor.new("Dark stone grey"),FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(2, 0.800000012, 1),CFrame = CFrame.new(-6.48999977, 0.800009966, -11.2199984, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
  147. Mesh = New("SpecialMesh",Helmet,"Mesh",{MeshId = "http://www.roblox.com/asset/?id=11185622",MeshType = Enum.MeshType.FileMesh,})
  148. Weld = New("ManualWeld",Helmet,"Weld",{Part0 = Helmet,Part1 = chara.Head,C1 = CFrame.new(0, 0.299999952, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  149.  
  150. SHead = New("Part",chara,"SHead",{BrickColor = BrickColor.new("Really black"),Size = Vector3.new(1.20000005, 0.600000024, 1),CFrame = CFrame.new(68.5999985, 0.700013041, 9.89999962, 1, 0, 0, 0, 1, 0, 0, 0, 1),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  151. Mesh = New("SpecialMesh",SHead,"Mesh",{Scale = Vector3.new(1.25999999, 1.5, 1.25999999),})
  152. Weld = New("ManualWeld",SHead,"Weld",{Part0 = SHead,Part1 = chara.Head,C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  153.  
  154. Wings = New("Part",chara,"Wings",{BrickColor = BrickColor.new("Really black"),Reflectance = 0.30000001192093,FormFactor = Enum.FormFactor.Custom,Transparency = 1,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-11, 2.5, -19.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  155. Mesh = New("SpecialMesh",Wings,"Mesh",{Scale = Vector3.new(2, 2, 1),MeshId = "http://www.roblox.com/asset/?id=93715902",MeshType = Enum.MeshType.FileMesh,})
  156. Weld = New("ManualWeld",Wings,"Weld",{Part0 = Wings,Part1 = chara.Torso,C1 = CFrame.new(0, 1.5, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  157.  
  158. RightArm = New("Model",chara,"RightArm",{})
  159. MainPart = New("Part",RightArm,"MainPart",{Transparency = 1,Transparency = 1,Size = Vector3.new(1, 2, 1),CFrame = CFrame.new(0.5, 3.00000787, -3.50019717, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  160. Weld = New("ManualWeld",MainPart,"Weld",{Part0 = MainPart,Part1 = chara["Right Arm"],C1 = CFrame.new(0, -1.00135803e-005, -0.000197172165, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  161. Emit2Part = New("Part",RightArm,"Emit2Part",{BrickColor = BrickColor.new("Hot pink"),Material = Enum.Material.Neon,Transparency = 1,Transparency = 1,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(0.5, 2.10001373, -3.5001967, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(1, 0, 0.74902),})
  162. Mesh = New("SpecialMesh",Emit2Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
  163. Weld = New("ManualWeld",Emit2Part,"Weld",{Part0 = Emit2Part,Part1 = MainPart,C1 = CFrame.new(0, -0.899994135, 4.76837158e-007, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  164. LeftArm = New("Model",chara,"LeftArm",{})
  165. MainPart = New("Part",LeftArm,"MainPart",{Transparency = 1,Transparency = 1,Size = Vector3.new(1, 2, 1),CFrame = CFrame.new(-2.50000024, 3.00000787, -3.50019717, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  166. Weld = New("ManualWeld",MainPart,"Weld",{Part0 = MainPart,Part1 = chara["Left Arm"],C1 = CFrame.new(-2.38418579e-007, -1.00135803e-005, -0.000197172165, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  167. EmitPart = New("Part",LeftArm,"EmitPart",{BrickColor = BrickColor.new("Hot pink"),Material = Enum.Material.Neon,Transparency = 1,Transparency = 1,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-2.5, 2.10001373, -3.5001967, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(1, 0, 0.74902),})
  168. Mesh = New("SpecialMesh",EmitPart,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
  169. Weld = New("ManualWeld",EmitPart,"Weld",{Part0 = EmitPart,Part1 = MainPart,C1 = CFrame.new(2.38418579e-007, -0.899994135, 4.76837158e-007, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  170.  
  171. lach = LeftArm:GetChildren()
  172. rach = RightArm:GetChildren()
  173.  
  174. Shirt = chara:FindFirstChildOfClass("Shirt")
  175. Pants = chara:FindFirstChildOfClass("Pants")
  176. if Shirt == nil then
  177. Shirt = Instance.new("Shirt",chara)
  178. end
  179. if Pants == nil then
  180. Pants = Instance.new("Pants",chara)
  181. end
  182. Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=90811696"
  183. Pants.PantsTemplate = "http://www.roblox.com/asset/?id=2577832"
  184.  
  185. --Sounds--
  186. function LoadSnd(id,loop,vol,pit)
  187. local snd = New("Sound",HandlePart,"Sound",{SoundId = "rbxassetid://"..id,Looped = loop,Volume = vol,Pitch = pit})
  188. return snd
  189. end
  190. Music = LoadSnd(161783960,true,1,1)
  191. Music.Parent = chara
  192. if player.Name == "CKbackup" then
  193. Music.SoundId = "rbxassetid://300671319"
  194. end
  195. Music:Play()
  196. StartUpSnd = LoadSnd(153092315,false,1,.8)
  197. SwingSnd = LoadSnd(200633108,false,1,1)
  198. Swing2Snd = LoadSnd(536642316,false,1,1)
  199. HitSnd = LoadSnd(153092274,false,1,1)
  200. HitPunchSnd = LoadSnd(153092227,false,1,1)
  201. SV2Snd = LoadSnd(2697431,false,1,.3)
  202. SVHitSnd = LoadSnd(62339698,false,1,.3)
  203. LaserSnd = LoadSnd(178452221,false,1,.6)
  204. LaserSnd = LoadSnd(2974000,false,1,.8)
  205. PewSnd = LoadSnd(410543238,false,1,.5)
  206.  
  207. --Play Sound in Part--
  208. function PlaySnd(snd,part)
  209. local sound = snd:Clone()
  210. sound.PlayOnRemove = true
  211. sound.Parent = part
  212. sound:Destroy()
  213. end
  214.  
  215. function CreateTrailObj(parent,color1,color2,ofsx,ofsz)
  216. local Att1 = New("Attachment",parent,"Att1",{Position = Vector3.new(ofsx,parent.Size.Y/2,ofsz)})
  217. local Att2 = New("Attachment",parent,"Att2",{Position = Vector3.new(ofsx,-(parent.Size.Y/2),ofsz)})
  218. local TEff = New("Trail",parent,"TrailEff",{Color = ColorSequence.new({ColorSequenceKeypoint.new(0,BrickColor.new(color1).Color),ColorSequenceKeypoint.new(1,BrickColor.new(color2).Color)}),Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.5),NumberSequenceKeypoint.new(1,1)}),Attachment0 = Att1,Attachment1 = Att2,Enabled = false,Lifetime = .5,MinLength = .001})
  219. return TEff
  220. end
  221.  
  222. SlashT = CreateTrailObj(Hitbox,"Bright orange","Bright yellow",0,.3)
  223. --PunchT = CreateTrailObj(chara["Left Arm"],"White","White",0,0)
  224. --KickT = CreateTrailObj(chara["Right Leg"],"White","White",0,0)
  225.  
  226. --Punch Hit Effect--
  227. function PunchEff(pos)
  228. local p = Instance.new("Part",game.Workspace)
  229. p.Size = Vector3.new(1,1,1)
  230. p.BrickColor = BrickColor.new("Really red")
  231. p.Material = "Neon"
  232. p.Anchored = true
  233. p.CanCollide = false
  234. p.CFrame = pos
  235. local pm = Instance.new("SpecialMesh",p)
  236. pm.MeshType = "Sphere"
  237. local disp = coroutine.wrap(function()
  238. for i = 0,1,.2 do
  239. swait()
  240. p.Transparency = i
  241. pm.Scale = Vector3.new(2*i,2*i,2*i)
  242. end
  243. swait()
  244. p:Destroy()
  245. end)
  246. disp()
  247. end
  248.  
  249. function SlashEff(pos)
  250. local p = Instance.new("Part",game.Workspace)
  251. p.Size = Vector3.new(1,1,1)
  252. p.BrickColor = BrickColor.new("Neon orange")
  253. p.Material = "Neon"
  254. p.Anchored = true
  255. p.CanCollide = false
  256. p.CFrame = pos * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
  257. local pm = Instance.new("SpecialMesh",p)
  258. pm.MeshType = "Sphere"
  259. local disp = coroutine.wrap(function()
  260. for i = 0,1,.2 do
  261. swait()
  262. p.Transparency = i
  263. pm.Scale = Vector3.new(.3,10*i,.3)
  264. end
  265. swait()
  266. p:Destroy()
  267. end)
  268. disp()
  269. end
  270.  
  271. --Handle Wielding--
  272. idlec0 = CFrame.new(-.2,-.2,1) * CFrame.fromEulerAnglesXYZ(math.rad(120),0,0)
  273. pointc0 = CFrame.new(0,-.7,0) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0)
  274. GWeld.C0 = idlec0
  275.  
  276. --Damage Function--
  277. function dealdmg(dude,damage,env,toim,kby,kbx)
  278. coroutine.resume(coroutine.create(function()
  279. if dude ~= chara and dude:FindFirstChild("IsHit") == nil then
  280. finaldmg = damage + math.random(-env,env)
  281. dudehum = dude:FindFirstChildOfClass("Humanoid")
  282. dudehum.MaxHealth = 100
  283. dudehum.Health = dudehum.Health - finaldmg
  284. local vall = Instance.new("ObjectValue",dude)
  285. vall.Name = "IsHit"
  286. game.Debris:AddItem(vall,toim)
  287. local bfos = Instance.new("BodyVelocity",dude.Head)
  288. bfos.P = 20000
  289. bfos.MaxForce = Vector3.new(bfos.P,bfos.P,bfos.P)
  290. bfos.Velocity = Vector3.new(0,kby,0) + chara.HumanoidRootPart.CFrame.lookVector * kbx
  291. game.Debris:AddItem(bfos,.1)
  292. local naeeym2 = Instance.new("BillboardGui",dude)
  293. naeeym2.Size = UDim2.new(0,100,0,40)
  294. naeeym2.StudsOffset = Vector3.new(0,3,0)
  295. naeeym2.Adornee = dude.Head
  296. naeeym2.Name = "TalkingBillBoard"
  297. local tecks2 = Instance.new("TextLabel",naeeym2)
  298. tecks2.BackgroundTransparency = 1
  299. tecks2.BorderSizePixel = 0
  300. tecks2.Text = "-"..finaldmg
  301. tecks2.Font = "Fantasy"
  302. tecks2.FontSize = "Size24"
  303. tecks2.TextStrokeTransparency = 0
  304. tecks2.TextColor3 = Color3.new(1,0.6,0)
  305. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  306. tecks2.Size = UDim2.new(1,0,0.5,0)
  307. for i = 1, 5 do
  308. wait(.1)
  309. tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0)
  310. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2
  311. tecks2.TextTransparency = tecks2.TextTransparency + .2
  312. end
  313. naeeym2:Destroy()
  314. end
  315. end))
  316. end
  317.  
  318. --Explode Hitbox--
  319. function ExHitbox(rad,pos,damage,env,toim,kby,kbx)
  320. local E = Instance.new("Explosion")
  321. E.Position = pos
  322. E.Parent = game.Workspace
  323. E.BlastRadius = rad
  324. E.BlastPressure = 0
  325. E.Visible = false
  326. E.Hit:connect(function(hit)
  327. if hit.Parent:FindFirstChildOfClass("Humanoid")~=nil then
  328. dealdmg(hit.Parent,damage,env,toim,kby,kbx)
  329. end
  330. end)
  331. end
  332.  
  333. --Punch Touch--
  334. dela = .5
  335. punchactive = false
  336. function punchhit(hit)
  337. if punchactive == true then
  338. if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("IsHit")==nil then
  339. dealdmg(hit.Parent,10,2,dela,0,5)
  340. PlaySnd(HitPunchSnd,hit.Parent.Head)
  341. PunchEff(hit.CFrame)
  342. end
  343. end
  344. end
  345. --Emit2Part.Touched:connect(punchhit)
  346. EmitPart.Touched:connect(punchhit)
  347.  
  348. --Kick Touch--
  349. kickactive = false
  350. function kickhit(hit)
  351. if kickactive == true then
  352. if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("IsHit")==nil then
  353. PlaySnd(HitPunchSnd,hit.Parent.Head)
  354. PunchEff(hit.CFrame)
  355. dealdmg(hit.Parent,15,2,dela,0,10)
  356. end
  357. end
  358. end
  359. chara["Right Leg"].Touched:connect(kickhit)
  360.  
  361. --Blade Touch--
  362. bladeactive = false
  363. function bladehit(hit)
  364. if bladeactive == true then
  365. if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("IsHit")==nil then
  366. dealdmg(hit.Parent,15,2,.05,0,0)
  367. PlaySnd(HitSnd,hit.Parent.Head)
  368. SlashEff(hit.CFrame)
  369. end
  370. end
  371. end
  372. Hitbox.Touched:connect(bladehit)
  373.  
  374. --Chat Function--
  375. function chatfunc(text)
  376. local chat = coroutine.wrap(function()
  377. if chara:FindFirstChild("TalkingBillBoard")~= nil then
  378. chara:FindFirstChild("TalkingBillBoard"):destroy()
  379. end
  380. local naeeym2 = Instance.new("BillboardGui",chara)
  381. naeeym2.Size = UDim2.new(0,100,0,40)
  382. naeeym2.StudsOffset = Vector3.new(0,3,0)
  383. naeeym2.Adornee = chara.Head
  384. naeeym2.Name = "TalkingBillBoard"
  385. local tecks2 = Instance.new("TextLabel",naeeym2)
  386. tecks2.BackgroundTransparency = 1
  387. tecks2.BorderSizePixel = 0
  388. tecks2.Text = ""
  389. tecks2.Font = "Fantasy"
  390. tecks2.FontSize = "Size24"
  391. tecks2.TextStrokeTransparency = 0
  392. tecks2.TextColor3 = Color3.new(.3,.3,.3)
  393. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  394. tecks2.Size = UDim2.new(1,0,0.5,0)
  395. coroutine.resume(coroutine.create(function()
  396. while tecks2 ~= nil do
  397. swait(.05)
  398. tecks2.Position = UDim2.new(0,math.random(-3,3),0,math.random(-3,3))
  399. end
  400. end))
  401. for i = 1,string.len(text),1 do
  402. tecks2.Text = string.sub(text,1,i)
  403. swait(0.01)
  404. end
  405. swait(1)
  406. for i = 1, 5 do
  407. swait(.01)
  408. tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0)
  409. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2
  410. tecks2.TextTransparency = tecks2.TextTransparency + .2
  411. end
  412. naeeym2:Destroy()
  413. end)
  414. chat()
  415. end
  416.  
  417. function onChatted(msg)
  418. chatfunc(msg)
  419. end
  420. player.Chatted:connect(onChatted)
  421.  
  422. --Clerp Animations--
  423. TC = chara.HumanoidRootPart.RootJoint
  424. HC = chara.Torso.Neck
  425. RAC = chara.Torso["Right Shoulder"]
  426. LAC = chara.Torso["Left Shoulder"]
  427. RLC = chara.Torso["Right Hip"]
  428. LLC = chara.Torso["Left Hip"]
  429. TCF = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  430. HCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  431. RACF = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  432. LACF = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  433. RLCF = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  434. LLCF = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  435. RWF = CFrame.new(-1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  436. LWF = CFrame.new(1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  437. RLWF = CFrame.new(-.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  438. LLWF = CFrame.new(.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  439. RW = Instance.new("Weld",HC.Parent)
  440. RW.Part1 = HC.Parent
  441. RW.Part0 = chara["Right Arm"]
  442. RW.C0 = RWF
  443. LW = Instance.new("Weld",HC.Parent)
  444. LW.Part1 = HC.Parent
  445. LW.Part0 = chara["Left Arm"]
  446. LW.C0 = LWF
  447. RLW = nil
  448. LLW = nil
  449. grp = Instance.new("Model",chara)
  450.  
  451. function AddLegWelds()
  452. RLW = Instance.new("Weld",chara["Right Leg"])
  453. RLW.Part1 = HC.Parent
  454. RLW.Part0 = chara["Right Leg"]
  455. RLW.C0 = RLWF
  456. LLW = Instance.new("Weld",chara["Left Leg"])
  457. LLW.Part1 = HC.Parent
  458. LLW.Part0 = chara["Left Leg"]
  459. LLW.C0 = LLWF
  460. end
  461.  
  462. function DestroyLegWelds()
  463. RLC = New("Motor6D",chara.Torso,"Right Hip",{Part0 = chara.Torso,Part1 = chara["Right Leg"],C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0),C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0),})
  464. LLC = New("Motor6D",chara.Torso,"Left Hip",{Part0 = chara.Torso,Part1 = chara["Left Leg"],C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),})
  465. RLW:Destroy()
  466. LLW:Destroy()
  467. end
  468.  
  469. function clerp(a,b,c)
  470. return a:lerp(b,c)
  471. end
  472.  
  473. ITCF = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-30))
  474. IHCF = HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(30))
  475. IRWF = (RWF - Vector3.new(-.5,.5,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-60),math.rad(-50),0)
  476. ILWF = (LWF + Vector3.new(-.5,-.5,.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(50),0)
  477.  
  478. function res()
  479. TC.C0 = ITCF
  480. HC.C0 = IHCF
  481. RW.C0 = IRWF
  482. LW.C0 = ILWF
  483. end
  484. res()
  485.  
  486. hum.Name = "hoomanood"
  487. Instance.new("ForceField",chara).Visible = false
  488.  
  489. --Cannon--
  490. function Cannon()
  491. del = true
  492. hum.WalkSpeed = 0
  493. SlashT.Enabled = true
  494. for i = 0,.6,.1 do
  495. swait()
  496. TC.C0 = clerp(ITCF,TCF,.4+i)
  497. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(20),0,0),.4+i)
  498. LW.C0 = clerp(ILWF,(LWF + Vector3.new(-.5,-.5,.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(70),0),.4+i)
  499. RW.C0 = clerp(IRWF,RWF * CFrame.fromEulerAnglesXYZ(0,math.rad(5),math.rad(-5)),.4+i)
  500. end
  501. swait(.5)
  502. SVHitSnd:Play()
  503. for i = 0,.6,.2 do
  504. swait()
  505. HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(20),0,0),HCF,.4+i)
  506. LW.C0 = clerp((LWF + Vector3.new(-.5,-.5,.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(70),0),(LWF - Vector3.new(2.5,-2.5,-.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(120)),.4+i)
  507. RW.C0 = clerp(RWF * CFrame.fromEulerAnglesXYZ(0,math.rad(5),math.rad(-5)),RWF * CFrame.fromEulerAnglesXYZ(0,math.rad(10),math.rad(-10)),.4+i)
  508. GWeld.C0 = clerp(idlec0,pointc0,.4+i)
  509. end
  510. swait(.1)
  511. SVHitSnd:Play()
  512. for i = 0,.6,.2 do
  513. swait()
  514. LW.C0 = clerp((LWF - Vector3.new(2.5,-2.5,-.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(120)),(LWF + Vector3.new(0,-.5,-.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-70),math.rad(70),0),.4+i)
  515. end
  516. swait(.1)
  517. SVHitSnd:Play()
  518. for i = 0,.6,.2 do
  519. swait()
  520. HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(20),0,0),HCF * CFrame.fromEulerAnglesXYZ(math.rad(-20),0,0),.4+i)
  521. LW.C0 = clerp((LWF + Vector3.new(0,-.5,-.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-70),math.rad(70),0),(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),.4+i)
  522. end
  523. swait(.1)
  524. SVHitSnd:Play()
  525. for i = 0,.6,.2 do
  526. swait()
  527. HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(-20),0,0),IHCF,.4+i)
  528. TC.C0 = clerp(TCF,ITCF,.4+i)
  529. LW.C0 = clerp((LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),(LWF + Vector3.new(-1,1,.25)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(-30),0),.4+i)
  530. end
  531. LW.C0 = (LWF + Vector3.new(-1,1,.25)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(-30),0)
  532. GWeld.C0 = pointc0
  533. local EffectPart = Instance.new("Part",chara)
  534. EffectPart.Size = Vector3.new(1,1,1)
  535. EffectPart.Anchored = true
  536. EffectPart.BrickColor = BrickColor.new("Neon orange")
  537. EffectPart.Position = mouse.Hit.p
  538. EffectPart.CFrame = mouse.Hit
  539. EffectPart.Material = "Neon"
  540. local EffectPart2 = Instance.new("Part",chara)
  541. EffectPart2.Size = Vector3.new(1,1,1)
  542. EffectPart2.Anchored = true
  543. EffectPart2.BrickColor = BrickColor.new("Neon orange")
  544. EffectPart2.Position = mouse.Hit.p
  545. EffectPart2.CFrame = CFrame.new(mouse.Hit.p.X,mouse.Hit.p.Y,mouse.Hit.p.Z)
  546. EffectPart2.Material = "Neon"
  547. local mehs1 = Instance.new("SpecialMesh",EffectPart)
  548. mehs1.MeshType = "Sphere"
  549. mehs1.Scale = Vector3.new(10,10,10)
  550. local mehs2 = Instance.new("CylinderMesh",EffectPart2)
  551. mehs2.Scale = Vector3.new(1,9999,1)
  552. local Place0 = EmitPart.CFrame
  553. local Place1 = EffectPart.CFrame
  554. local leng = (Place0.p - Place1.p).magnitude
  555. local P = Instance.new("Part")
  556. local meshla = Instance.new("BlockMesh", P)
  557. meshla.Scale = Vector3.new(1,1,1)
  558. P.Size = Vector3.new(1,1,(Place0.p - Place1.p).magnitude)
  559. P.Name = "Laser"
  560. P.CFrame = CFrame.new((Place0.p + Place1.p)/2,Place0.p)
  561. P.Parent = chara
  562. P.BrickColor = BrickColor.new("Neon orange")
  563. P.Material = "Neon"
  564. P.Anchored = true
  565. P.CanCollide = false
  566. P.Locked = true
  567. P.BottomSurface = "Smooth"
  568. P.TopSurface = "Smooth"
  569. PlaySnd(LaserSnd,chara)
  570. ExHitbox(15,Place1.p,40,1,.05,50,50)
  571. for i = 1, 5 do
  572. coroutine.resume(coroutine.create(function()
  573. local hitp = Instance.new("Part",chara)
  574. hitp.Size = Vector3.new(1,1,1)
  575. hitp.Anchored = true
  576. hitp.CanCollide = false
  577. hitp.BrickColor = BrickColor.new("Neon orange")
  578. hitp.Transparency = 1
  579. hitp.CFrame = EffectPart.CFrame * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
  580. local hitm = Instance.new("SpecialMesh",hitp)
  581. hitm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  582. hitm.Scale = Vector3.new(4,4,1)
  583. for i = 0,1,.1 do
  584. swait(.001)
  585. hitp.Transparency = i
  586. hitm.Scale = Vector3.new(i*80,i*80,i)
  587. end
  588. hitp:Destroy()
  589. end))
  590. end
  591. coroutine.resume(coroutine.create(function()
  592. for i = 0,1,.05 do
  593. swait()
  594. mehs1.Scale = Vector3.new(5*i,5*i,5*i)
  595. mehs2.Scale = Vector3.new(2*i,9999,2*i)
  596. meshla.Scale = Vector3.new(2.5*i,2.5*i,1)
  597. EffectPart.Transparency = i
  598. EffectPart2.Transparency = i
  599. P.Transparency = i
  600. end
  601. ----
  602. P:Destroy()
  603. EffectPart:Destroy()
  604. EffectPart2:Destroy()
  605. end))
  606. swait(.5)
  607. for i = 0,.6,.1 do
  608. swait()
  609. LW.C0 = clerp((LWF + Vector3.new(-1,-.5,.25)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(-30),0),ILWF,.4+i)
  610. RW.C0 = clerp(RWF * CFrame.fromEulerAnglesXYZ(0,math.rad(10),math.rad(-10)),IRWF,.4+i)
  611. GWeld.C0 = clerp(idlec0,pointc0,.6-i)
  612. end
  613. GWeld.C0 = idlec0
  614. SlashT.Enabled = false
  615. hum.WalkSpeed = 10
  616. walking = false
  617. del = false
  618. end
  619.  
  620. --Blast--
  621. function Blast()
  622. del = true
  623. for i = 0,.6,.2 do
  624. swait()
  625. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
  626. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  627. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  628. LW.C0 = clerp(ILWF,LWF * CFrame.fromEulerAnglesXYZ(0,math.rad(-10),math.rad(10)),.4+i)
  629. end
  630. TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90))
  631. HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
  632. RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
  633. local p1 = Instance.new("Part",chara)
  634. p1.CFrame = ShootPart.CFrame
  635. p1.Position = ShootPart.Position
  636. p1.Size = Vector3.new(.5,.5,.5)
  637. p1.BrickColor = BrickColor.new("Bright blue")
  638. p1.Material = "Neon"
  639. p1.CanCollide = false
  640. p1.Transparency = 1
  641. local pm1 = Instance.new("SpecialMesh",p1)
  642. pm1.MeshType = "Sphere"
  643. local wd1 = Instance.new("Weld",p1)
  644. wd1.Part0 = p1
  645. wd1.Part1 = ShootPart
  646. local p2 = Instance.new("Part",chara)
  647. p2.CFrame = ShootPart.CFrame
  648. p2.Position = ShootPart.Position
  649. p2.Size = Vector3.new(.5,.5,.5)
  650. p2.BrickColor = BrickColor.new("Bright blue")
  651. p2.Material = "Neon"
  652. p2.CanCollide = false
  653. p2.Transparency = 1
  654. local pm2 = Instance.new("SpecialMesh",p2)
  655. pm2.MeshType = "Sphere"
  656. local wd2 = Instance.new("Weld",p2)
  657. wd2.Part0 = p2
  658. wd2.Part1 = ShootPart
  659. PewSnd:Play()
  660. for i = 0,1,.2 do
  661. swait()
  662. p1.Transparency = i/2
  663. p2.Transparency = i/2
  664. pm1.Scale = Vector3.new(5*i,1,1)
  665. pm2.Scale = Vector3.new(1,1,5*i)
  666. end
  667. local missile = Instance.new("Part",game.Workspace)
  668. missile.Size = Vector3.new(.6,1,.6)
  669. missile.Name = "Blast"
  670. missile.BrickColor = BrickColor.new("Bright blue")
  671. missile.Material = "Neon"
  672. missile.CanCollide = false
  673. missile.TopSurface = 0
  674. missile.BottomSurface = 0
  675. missile.Position = ShootPart.Position
  676. missile.CFrame = (ShootPart.CFrame + chara.HumanoidRootPart.CFrame.lookVector*2)
  677. missile.Velocity = chara.HumanoidRootPart.CFrame.lookVector*150
  678. local pmit = Instance.new("ParticleEmitter",missile)
  679. pmit.Texture = "rbxasset://textures/particles/smoke_main.dds"
  680. pmit.Color = ColorSequence.new(BrickColor.new("Bright blue").Color)
  681. pmit.LightEmission = 1
  682. pmit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
  683. pmit.Lifetime = NumberRange.new(1)
  684. pmit.Rate = 10000
  685. pmit.Rotation = NumberRange.new(0,359)
  686. pmit.RotSpeed = NumberRange.new(100)
  687. pmit.Speed = NumberRange.new(0)
  688. local mesh1 = Instance.new("SpecialMesh",missile)
  689. mesh1.MeshType = "Sphere"
  690. local force = Instance.new("BodyForce")
  691. force.force = Vector3.new(0,missile:GetMass()*game.Workspace.Gravity,0)
  692. force.Parent = missile
  693. missile.Touched:connect(function(hit)
  694. if (hit.Parent.Parent ~= chara and hit.Parent ~= chara and hit.Name ~= "Blast" and missile.Anchored == false) then
  695. missile.Anchored = true
  696. ExHitbox(3,missile.Position,30,1,.1,0,0)
  697. for i = 0,1,.1 do
  698. swait()
  699. mesh1.Scale = Vector3.new(3*i,3*i,3*i)
  700. end
  701. missile:Destroy()
  702. end
  703. end)
  704. debby:AddItem(missile,10)
  705. for i = 0,1,.2 do
  706. swait()
  707. p1.Transparency = .5+(i/2)
  708. p2.Transparency = .5+(i/2)
  709. pm1.Scale = Vector3.new(5-5*i,1,1)
  710. pm2.Scale = Vector3.new(1,1,5-5*i)
  711. end
  712. p1:Destroy()
  713. p2:Destroy()
  714. for i = 0,.6,.2 do
  715. swait()
  716. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
  717. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  718. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  719. LW.C0 = clerp(ILWF,LWF * CFrame.fromEulerAnglesXYZ(0,math.rad(-10),math.rad(10)),.6-i)
  720. end
  721. walking = false
  722. del = false
  723. res()
  724. end
  725.  
  726. --Flip--
  727. function Flip()
  728. del = true
  729. res()
  730. hum.WalkSpeed = 0
  731. AddLegWelds()
  732. Swing2Snd:Play()
  733. for i = 0,.6,.2 do
  734. swait()
  735. TC.C0 = clerp(ITCF,TCF - Vector3.new(0,1,0),.4+i)
  736. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),.4+i)
  737. RW.C0 = clerp(IRWF,RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),.4+i)
  738. LW.C0 = clerp(ILWF,LWF,.4+i)
  739. RLW.C0 = clerp(RLWF,RLWF - Vector3.new(0,1,-.5),.4+i)
  740. LLW.C0 = clerp(LLWF,(LLWF - Vector3.new(0,1,-1))*CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),.4+i)
  741. Wings.Transparency = .6-i
  742. end
  743. Wings.Transparency = 0
  744. local bf = Instance.new("BodyVelocity",chara.Torso)
  745. bf.P = 100000
  746. bf.MaxForce = Vector3.new(bf.P,bf.P,bf.P)
  747. bf.Velocity = Vector3.new(0,60,0) + chara.HumanoidRootPart.CFrame.lookVector*30
  748. debby:AddItem(bf,.5)
  749. for i = 0,1,.25 do
  750. swait()
  751. TC.C0 = clerp(TCF - Vector3.new(0,1,0),TCF * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),i)
  752. HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),HCF * CFrame.fromEulerAnglesXYZ(math.rad(-20),0,0),i)
  753. RW.C0 = clerp(RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),i)
  754. LW.C0 = clerp(LWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),i)
  755. LLW.C0 = clerp((LLWF - Vector3.new(0,1,-1))*CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),LLWF,i)
  756. end
  757. bf.MaxForce = Vector3.new(bf.P,0,bf.P)
  758. for i = 0,1,.25 do
  759. swait()
  760. TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),TCF * CFrame.fromEulerAnglesXYZ(math.rad(-360),0,0),i)
  761. end
  762. swait(.5)
  763. bf:Destroy()
  764. for i = 0,1,.25 do
  765. swait()
  766. TC.C0 = clerp(TCF,TCF - Vector3.new(0,1,0),i)
  767. HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(-20),0,0),HCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),i)
  768. RW.C0 = clerp((RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),i)
  769. LW.C0 = clerp((LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),LWF,i)
  770. LLW.C0 = clerp(LLWF,(LLWF - Vector3.new(0,1,-1))*CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),i)
  771. end
  772. for i = 0,.6,.2 do
  773. swait()
  774. TC.C0 = clerp(ITCF,TCF - Vector3.new(0,1,0),.6-i)
  775. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),.6-i)
  776. RW.C0 = clerp(IRWF,RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),.6-i)
  777. LW.C0 = clerp(ILWF,LWF,.6-i)
  778. RLW.C0 = clerp(RLWF,RLWF - Vector3.new(0,1,-.5),.6-i)
  779. LLW.C0 = clerp(LLWF,(LLWF - Vector3.new(0,1,-1))*CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),.6-i)
  780. Wings.Transparency = .4+i
  781. end
  782. Wings.Transparency = 1
  783. DestroyLegWelds()
  784. res()
  785. hum.WalkSpeed = 10
  786. walking = false
  787. del = false
  788. end
  789. function BackFlip()
  790. del = true
  791. res()
  792. hum.WalkSpeed = 0
  793. AddLegWelds()
  794. Swing2Snd:Play()
  795. for i = 0,.6,.2 do
  796. swait()
  797. TC.C0 = clerp(ITCF,TCF - Vector3.new(0,1,0),.4+i)
  798. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),.4+i)
  799. RW.C0 = clerp(IRWF,RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),.4+i)
  800. LW.C0 = clerp(ILWF,LWF,.4+i)
  801. RLW.C0 = clerp(RLWF,RLWF - Vector3.new(0,1,-.5),.4+i)
  802. LLW.C0 = clerp(LLWF,(LLWF - Vector3.new(0,1,-1))*CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),.4+i)
  803. Wings.Transparency = .6-i
  804. end
  805. Wings.Transparency = 0
  806. local bf = Instance.new("BodyVelocity",chara.Torso)
  807. bf.P = 100000
  808. bf.MaxForce = Vector3.new(bf.P,bf.P,bf.P)
  809. bf.Velocity = Vector3.new(0,60,0) + chara.HumanoidRootPart.CFrame.lookVector*-30
  810. for i = 0,1,.25 do
  811. swait()
  812. TC.C0 = clerp(TCF - Vector3.new(0,1,0),TCF * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),i)
  813. HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),HCF * CFrame.fromEulerAnglesXYZ(math.rad(-20),0,0),i)
  814. RW.C0 = clerp(RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),i)
  815. LW.C0 = clerp(LWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),i)
  816. LLW.C0 = clerp((LLWF - Vector3.new(0,1,-1))*CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),LLWF,i)
  817. end
  818. bf.MaxForce = Vector3.new(bf.P,0,bf.P)
  819. for i = 0,1,.25 do
  820. swait()
  821. TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),TCF * CFrame.fromEulerAnglesXYZ(math.rad(360),0,0),i)
  822. end
  823. swait(.5)
  824. bf:Destroy()
  825. for i = 0,1,.25 do
  826. swait()
  827. TC.C0 = clerp(TCF,TCF - Vector3.new(0,1,0),i)
  828. HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(-20),0,0),HCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),i)
  829. RW.C0 = clerp((RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),i)
  830. LW.C0 = clerp((LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),LWF,i)
  831. LLW.C0 = clerp(LLWF,(LLWF - Vector3.new(0,1,-1))*CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),i)
  832. end
  833. for i = 0,.6,.2 do
  834. swait()
  835. TC.C0 = clerp(ITCF,TCF - Vector3.new(0,1,0),.6-i)
  836. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),.6-i)
  837. RW.C0 = clerp(IRWF,RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),.6-i)
  838. LW.C0 = clerp(ILWF,LWF,.6-i)
  839. RLW.C0 = clerp(RLWF,RLWF - Vector3.new(0,1,-.5),.6-i)
  840. LLW.C0 = clerp(LLWF,(LLWF - Vector3.new(0,1,-1))*CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),.6-i)
  841. Wings.Transparency = .4+i
  842. end
  843. Wings.Transparency = 1
  844. DestroyLegWelds()
  845. res()
  846. hum.WalkSpeed = 10
  847. walking = false
  848. del = false
  849. end
  850.  
  851. --Keys--
  852. combo = 0
  853. function onKeyDown(key)
  854. if del == false then
  855. if key == "z" then
  856. Cannon()
  857. elseif key == "x" then
  858. Blast()
  859. elseif key == "r" then
  860. BackFlip()
  861. elseif key == "t" then
  862. Flip()
  863. elseif key == "k" then
  864. Music:Stop()
  865. Music.SoundId = "rbxassetid://161783960"
  866. Music:Play()
  867. elseif key == "l" then
  868. Music:Stop()
  869. Music.SoundId = "rbxassetid://300671319"
  870. Music:Play()
  871. elseif key == "m" then
  872. if Music.IsPlaying == true then
  873. Music:Stop()
  874. elseif Music.IsPlaying == false then
  875. Music:Play()
  876. end
  877. end
  878. end
  879. end
  880. function onButton1Down()
  881. if del == false then
  882. del = true
  883. res()
  884. Swing2Snd:Play()
  885. bladeactive = true
  886. SlashT.Enabled = true
  887. for i = 0,.6,.1 do
  888. swait()
  889. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  890. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
  891. LW.C0 = clerp(LWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
  892. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  893. end
  894. for i = 0,.6,.2 do
  895. swait()
  896. TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-80)),TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
  897. HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(80)),HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  898. end
  899. bladeactive = false
  900. swait(.1)
  901. for i = 0,.6,.1 do
  902. swait()
  903. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
  904. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  905. LW.C0 = clerp(LWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
  906. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  907. end
  908. SlashT.Enabled = false
  909. res()
  910. walking = false
  911. del = false
  912. end
  913. end
  914. if mouse then
  915. mouse.Button1Down:connect(onButton1Down)
  916. mouse.KeyDown:connect(onKeyDown)
  917. end
  918.  
  919. --Loop Function--
  920. walking = false
  921. toim = 0
  922. while true do
  923. swait()
  924. toim = toim + .1
  925. if del == false then attacking = false elseif del == true then attacking = true end
  926. if atkd == true then
  927. TC.C0 = TCF
  928. HC.C0 = HCF
  929. RW.C0 = RWF
  930. LW.C0 = LWF
  931. atkd = false
  932. end
  933. if atkdd == true then
  934. TC.C0 = ITCF
  935. HC.C0 = IHCF
  936. RW.C0 = IRWF
  937. LW.C0 = ILWF
  938. atkdd = false
  939. end
  940. hum.Name = "hoomanood"
  941. hum.MaxHealth = math.huge
  942. hum.Health = math.huge
  943. torvel = (chara.HumanoidRootPart.Velocity*Vector3.new(1,0,1)).magnitude
  944. if torvel < 1 and walking == true and del == false and atkd == false and attacking == false then
  945. for i = 0,1,.5 do
  946. swait(.001)
  947. if del == false and attacking == false then
  948. TC.C0 = clerp(TCF,ITCF,i)
  949. HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,0),IHCF,i)
  950. RW.C0 = clerp(RWF * CFrame.fromEulerAnglesXYZ(0,math.rad(5),math.rad(-5)),IRWF,i)
  951. LW.C0 = clerp(LWF * CFrame.fromEulerAnglesXYZ(0,math.rad(-5),math.rad(5)),ILWF,i)
  952. end
  953. end
  954. walking = false
  955. elseif torvel > 1 and walking == false and del == false and atkd == false and attacking == false then
  956. for i = 0,1,.5 do
  957. swait(.001)
  958. if del == false and attacking == false then
  959. TC.C0 = clerp(TCF,ITCF,1-i)
  960. HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,0),IHCF,1-i)
  961. RW.C0 = clerp(RWF * CFrame.fromEulerAnglesXYZ(0,math.rad(5),math.rad(-5)),IRWF,1-i)
  962. LW.C0 = clerp(LWF * CFrame.fromEulerAnglesXYZ(0,math.rad(-5),math.rad(5)),ILWF,1-i)
  963. end
  964. end
  965. walking = true
  966. else
  967. end
  968. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement