Advertisement
memberhero

Zen Master

Jul 6th, 2018
435
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 61.88 KB | None | 0 0
  1.  
  2. --//====================================================\\--
  3. --|| CREATED BY SHACKLUSTER ||--
  4. --|| CONVERTED BY BASSTRACKER1970 ||--
  5. --\\====================================================//--
  6.  
  7. function Create()
  8. function sandbox(var,func)
  9. local env = getfenv(func)
  10. local newenv = setmetatable({},{
  11. __index = function(self,k)
  12. if k=="script" then
  13. return var
  14. else
  15. return env[k]
  16. end
  17. end,
  18. })
  19. setfenv(func,newenv)
  20. return func
  21. end
  22. cors = {}
  23. mas = Instance.new("Model",game:GetService("Lighting"))
  24. ParticleEmitter0 = Instance.new("ParticleEmitter")
  25. ParticleEmitter1 = Instance.new("ParticleEmitter")
  26. Model2 = Instance.new("Model")
  27. Part3 = Instance.new("Part")
  28. SpecialMesh4 = Instance.new("SpecialMesh")
  29. Part5 = Instance.new("Part")
  30. Weld6 = Instance.new("Weld")
  31. SpecialMesh7 = Instance.new("SpecialMesh")
  32. UnionOperation8 = Instance.new("UnionOperation")
  33. Weld9 = Instance.new("Weld")
  34. UnionOperation10 = Instance.new("UnionOperation")
  35. Weld11 = Instance.new("Weld")
  36. Model12 = Instance.new("Model")
  37. Part13 = Instance.new("Part")
  38. UnionOperation14 = Instance.new("UnionOperation")
  39. Weld15 = Instance.new("Weld")
  40. Model16 = Instance.new("Model")
  41. Part17 = Instance.new("Part")
  42. UnionOperation18 = Instance.new("UnionOperation")
  43. Weld19 = Instance.new("Weld")
  44. UnionOperation20 = Instance.new("UnionOperation")
  45. Weld21 = Instance.new("Weld")
  46. Model22 = Instance.new("Model")
  47. MeshPart23 = Instance.new("MeshPart")
  48. Trail24 = Instance.new("Trail")
  49. Weld25 = Instance.new("Weld")
  50. MeshPart26 = Instance.new("MeshPart")
  51. Weld27 = Instance.new("Weld")
  52. MeshPart28 = Instance.new("MeshPart")
  53. Weld29 = Instance.new("Weld")
  54. UnionOperation30 = Instance.new("UnionOperation")
  55. Weld31 = Instance.new("Weld")
  56. Part32 = Instance.new("Part")
  57. ParticleEmitter0.Name = "Vortex"
  58. ParticleEmitter0.Parent = mas
  59. ParticleEmitter0.Speed = NumberRange.new(0, 0)
  60. ParticleEmitter0.Rotation = NumberRange.new(0, 360)
  61. ParticleEmitter0.Color = ColorSequence.new(Color3.new(0.423529, 0.345098, 0.294118),Color3.new(0.423529, 0.345098, 0.294118))
  62. ParticleEmitter0.Enabled = false
  63. ParticleEmitter0.LightEmission = 1
  64. ParticleEmitter0.Texture = "rbxassetid://1084969997"
  65. ParticleEmitter0.Transparency = NumberSequence.new(1,0.5,0.5)
  66. ParticleEmitter0.ZOffset = -2
  67. ParticleEmitter0.Size = NumberSequence.new(0,0)
  68. ParticleEmitter0.Lifetime = NumberRange.new(1, 1)
  69. ParticleEmitter0.LockedToPart = true
  70. ParticleEmitter0.Rate = 0
  71. ParticleEmitter0.RotSpeed = NumberRange.new(360, 360)
  72. ParticleEmitter1.Name = "Wave"
  73. ParticleEmitter1.Parent = mas
  74. ParticleEmitter1.Speed = NumberRange.new(0, 0)
  75. ParticleEmitter1.Rotation = NumberRange.new(-180, 180)
  76. ParticleEmitter1.Enabled = false
  77. ParticleEmitter1.LightEmission = 1
  78. ParticleEmitter1.Texture = "rbxassetid://1084991215"
  79. ParticleEmitter1.Transparency = NumberSequence.new(0,0.39344263076782,0.66120219230652,0.83606559038162,1)
  80. ParticleEmitter1.ZOffset = 1
  81. ParticleEmitter1.Size = NumberSequence.new(0,0)
  82. ParticleEmitter1.Lifetime = NumberRange.new(0.30000001192093, 0.30000001192093)
  83. ParticleEmitter1.Rate = 1
  84. Model2.Name = "Head"
  85. Model2.Parent = mas
  86. Model2.PrimaryPart = Part5
  87. Part3.Name = "Hood"
  88. Part3.Parent = Model2
  89. Part3.CFrame = CFrame.new(-5.39999914, 1.61983001, -6.17999601, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  90. Part3.Position = Vector3.new(-5.39999914, 1.61983001, -6.17999601)
  91. Part3.Size = Vector3.new(1.79999924, 2.20000052, 2.00000024)
  92. Part3.Anchored = true
  93. Part3.BottomSurface = Enum.SurfaceType.Smooth
  94. Part3.CanCollide = false
  95. Part3.TopSurface = Enum.SurfaceType.Smooth
  96. Part3.FormFactor = Enum.FormFactor.Custom
  97. Part3.formFactor = Enum.FormFactor.Custom
  98. SpecialMesh4.Parent = Part3
  99. SpecialMesh4.MeshId = "http://www.roblox.com/asset/?id=93129244"
  100. SpecialMesh4.TextureId = "http://www.roblox.com/asset/?id=93129336"
  101. SpecialMesh4.MeshType = Enum.MeshType.FileMesh
  102. Part5.Name = "Base"
  103. Part5.Parent = Model2
  104. Part5.CFrame = CFrame.new(-5.39999914, 1.219836, -6.12999296, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  105. Part5.Position = Vector3.new(-5.39999914, 1.219836, -6.12999296)
  106. Part5.Transparency = 1
  107. Part5.Size = Vector3.new(2, 1, 1)
  108. Part5.Anchored = true
  109. Part5.BottomSurface = Enum.SurfaceType.Smooth
  110. Part5.CanCollide = false
  111. Part5.Material = Enum.Material.SmoothPlastic
  112. Part5.TopSurface = Enum.SurfaceType.Smooth
  113. Weld6.Name = "Joint"
  114. Weld6.Parent = Part5
  115. Weld6.C0 = CFrame.new(0, 0.399993896, -0.0500011444, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  116. Weld6.Part0 = Part5
  117. Weld6.Part1 = Part3
  118. Weld6.part1 = Part3
  119. SpecialMesh7.Parent = Part5
  120. SpecialMesh7.Scale = Vector3.new(1.25, 1.25, 1.25)
  121. UnionOperation8.Parent = Model2
  122. UnionOperation8.CFrame = CFrame.new(-5.6099968, 1.41984105, -6.55999708, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849, 0, 0, 0, 1)
  123. UnionOperation8.Orientation = Vector3.new(0, 0, 10)
  124. UnionOperation8.Position = Vector3.new(-5.6099968, 1.41984105, -6.55999708)
  125. UnionOperation8.Rotation = Vector3.new(0, 0, 10)
  126. UnionOperation8.Color = Color3.new(0.972549, 0.972549, 0.972549)
  127. UnionOperation8.Size = Vector3.new(0.299999148, 0.150003329, 0.299999297)
  128. UnionOperation8.Anchored = true
  129. UnionOperation8.CanCollide = false
  130. UnionOperation8.Material = Enum.Material.Neon
  131. Weld9.Name = "Joint"
  132. Weld9.Parent = UnionOperation8
  133. Weld9.C0 = CFrame.new(0.241538048, 0.160499573, 0.380000114, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849, 0, 0, 0, 1)
  134. Weld9.Part0 = UnionOperation8
  135. Weld9.Part1 = Part3
  136. Weld9.part1 = Part3
  137. UnionOperation10.Parent = Model2
  138. UnionOperation10.CFrame = CFrame.new(-5.33529711, 1.56131196, -6.12999678, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388, 0, 0, 0, 1)
  139. UnionOperation10.Orientation = Vector3.new(0, 0, -30)
  140. UnionOperation10.Position = Vector3.new(-5.33529711, 1.56131196, -6.12999678)
  141. UnionOperation10.Rotation = Vector3.new(0, 0, -30)
  142. UnionOperation10.Size = Vector3.new(1.30000305, 0.300018311, 1.29999924)
  143. UnionOperation10.Anchored = true
  144. UnionOperation10.CanCollide = false
  145. UnionOperation10.Material = Enum.Material.Fabric
  146. Weld11.Name = "Joint"
  147. Weld11.Parent = UnionOperation10
  148. Weld11.C0 = CFrame.new(-0.0853004456, 0.0183410645, -0.0499992371, 0.866025388, -0.500000238, 0, 0.500000238, 0.866025388, 0, 0, 0, 1)
  149. Weld11.Part0 = UnionOperation10
  150. Weld11.Part1 = Part3
  151. Weld11.part1 = Part3
  152. Model12.Name = "Right Arm"
  153. Model12.Parent = mas
  154. Model12.PrimaryPart = Part13
  155. Part13.Name = "Base"
  156. Part13.Parent = Model12
  157. Part13.CFrame = CFrame.new(2.90001798, 1.719836, -6.17999601, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  158. Part13.Position = Vector3.new(2.90001798, 1.719836, -6.17999601)
  159. Part13.Transparency = 1
  160. Part13.Size = Vector3.new(1, 2, 1)
  161. Part13.Anchored = true
  162. Part13.BottomSurface = Enum.SurfaceType.Smooth
  163. Part13.CanCollide = false
  164. Part13.Material = Enum.Material.SmoothPlastic
  165. Part13.TopSurface = Enum.SurfaceType.Smooth
  166. UnionOperation14.Parent = Model12
  167. UnionOperation14.CFrame = CFrame.new(2.89999008, 1.21986496, -6.1798892, -1, 0, -0, 0, 0, -1, 0, -1, -0)
  168. UnionOperation14.Orientation = Vector3.new(90, 180, 0)
  169. UnionOperation14.Position = Vector3.new(2.89999008, 1.21986496, -6.1798892)
  170. UnionOperation14.Rotation = Vector3.new(90, 0, -180)
  171. UnionOperation14.Color = Color3.new(0.972549, 0.972549, 0.972549)
  172. UnionOperation14.Size = Vector3.new(1.92824566, 1.928262, 0.199996948)
  173. UnionOperation14.Material = Enum.Material.Metal
  174. Weld15.Name = "Joint"
  175. Weld15.Parent = UnionOperation14
  176. Weld15.C0 = CFrame.new(-2.78949738e-05, 0.000108242035, -0.499984741, -1, 0, -0, 0, 0, -1, 0, -1, -0)
  177. Weld15.Part0 = UnionOperation14
  178. Weld15.Part1 = Part13
  179. Weld15.part1 = Part13
  180. Model16.Name = "Torso"
  181. Model16.Parent = mas
  182. Model16.PrimaryPart = Part17
  183. Part17.Name = "Base"
  184. Part17.Parent = Model16
  185. Part17.CFrame = CFrame.new(0.194646001, 1.78298295, -4.42007017, 0.990866959, 0, -0.134853125, 0, 1, 0, 0.134853125, 0, 0.990866959)
  186. Part17.Orientation = Vector3.new(0, -7.75, 0)
  187. Part17.Position = Vector3.new(0.194646001, 1.78298295, -4.42007017)
  188. Part17.Rotation = Vector3.new(0, -7.75, 0)
  189. Part17.Transparency = 1
  190. Part17.Size = Vector3.new(2.00000143, 2.00000024, 0.999999523)
  191. Part17.Anchored = true
  192. Part17.BottomSurface = Enum.SurfaceType.Smooth
  193. Part17.Material = Enum.Material.SmoothPlastic
  194. Part17.TopSurface = Enum.SurfaceType.Smooth
  195. UnionOperation18.Parent = Model16
  196. UnionOperation18.CFrame = CFrame.new(0.25771001, 1.85151994, -4.46697617, 0.418757796, 0.898028553, -0.13485226, -0.906306803, 0.422617823, 6.83113285e-07, 0.0569899194, 0.12221811, 0.990865886)
  197. UnionOperation18.Orientation = Vector3.new(0, -7.75, -65)
  198. UnionOperation18.Position = Vector3.new(0.25771001, 1.85151994, -4.46697617)
  199. UnionOperation18.Rotation = Vector3.new(0, -7.75, -65)
  200. UnionOperation18.Color = Color3.new(0.972549, 0.972549, 0.972549)
  201. UnionOperation18.Size = Vector3.new(1.78060913, 1.4895668, 0.910001755)
  202. UnionOperation18.CanCollide = false
  203. UnionOperation18.Material = Enum.Material.SmoothPlastic
  204. Weld19.Name = "Joint"
  205. Weld19.Parent = UnionOperation18
  206. Weld19.C0 = CFrame.new(0.0383834839, -0.079864502, 0.0549826622, 0.422618538, -0.906306803, -1.36718154e-06, 0.906308353, 0.422617823, -6.70552254e-08, 7.15255737e-07, 6.83113285e-07, 1.00000155)
  207. Weld19.Part0 = UnionOperation18
  208. Weld19.Part1 = Part17
  209. Weld19.part1 = Part17
  210. UnionOperation20.Parent = Model16
  211. UnionOperation20.CFrame = CFrame.new(0.194999993, 2.8828299, -4.41999388, -1, -5.96046448e-08, 0, 0, 0, -0.99999994, 5.96046448e-08, -1, 0)
  212. UnionOperation20.Orientation = Vector3.new(89.9799957, 0, 0)
  213. UnionOperation20.Position = Vector3.new(0.194999993, 2.8828299, -4.41999388)
  214. UnionOperation20.Rotation = Vector3.new(90, 0, 180)
  215. UnionOperation20.Color = Color3.new(0.639216, 0.635294, 0.647059)
  216. UnionOperation20.Size = Vector3.new(2.05999804, 2.06000805, 0.200012207)
  217. UnionOperation20.BrickColor = BrickColor.new("Medium stone grey")
  218. UnionOperation20.Material = Enum.Material.Metal
  219. UnionOperation20.brickColor = BrickColor.new("Medium stone grey")
  220. Weld21.Name = "Joint"
  221. Weld21.Parent = UnionOperation20
  222. Weld21.C0 = CFrame.new(0.00035405159, 7.34329224e-05, 1.09985352, -0.990866959, 0, 0.134853184, -0.134853184, 0, -0.990866959, 0, -0.99999994, 0)
  223. Weld21.Part0 = UnionOperation20
  224. Weld21.Part1 = Part17
  225. Weld21.part1 = Part17
  226. Model22.Name = "Weapon"
  227. Model22.Parent = mas
  228. Model22.PrimaryPart = UnionOperation30
  229. MeshPart23.Name = "TrailBlade"
  230. MeshPart23.Parent = Model22
  231. MeshPart23.CFrame = CFrame.new(8.69999886, 7.97447968, -18.380003, 1, 0, 0, 0, -1, 0, 0, 0, -1)
  232. MeshPart23.Orientation = Vector3.new(0, 180, 180)
  233. MeshPart23.Position = Vector3.new(8.69999886, 7.97447968, -18.380003)
  234. MeshPart23.Rotation = Vector3.new(-180, 0, 0)
  235. MeshPart23.Color = Color3.new(0, 0, 0)
  236. MeshPart23.Velocity = Vector3.new(0, -16.3500004, 0)
  237. MeshPart23.Size = Vector3.new(0.200000003, 2.12599993, 0.600000024)
  238. MeshPart23.BrickColor = BrickColor.new("Really black")
  239. MeshPart23.CanCollide = false
  240. MeshPart23.Material = Enum.Material.Neon
  241. MeshPart23.brickColor = BrickColor.new("Really black")
  242. Trail24.Parent = MeshPart23
  243. Trail24.Attachment0 = nil
  244. Trail24.Attachment1 = nil
  245. Trail24.Color = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0))
  246. Trail24.Transparency = NumberSequence.new(0.5,0.76249998807907,0.91874998807907,1)
  247. Trail24.Lifetime = 0.10000000149012
  248. Weld25.Name = "Joint"
  249. Weld25.Parent = MeshPart23
  250. Weld25.C0 = CFrame.new(9.53674316e-07, 1.91990662, -4.29153442e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1)
  251. Weld25.Part0 = MeshPart23
  252. Weld25.Part1 = Part32
  253. Weld25.part1 = Part32
  254. MeshPart26.Name = "Blade"
  255. MeshPart26.Parent = Model22
  256. MeshPart26.CFrame = CFrame.new(8.69999886, 7.62445831, -18.380003, 1, 0, 0, 0, -1, 0, 0, 0, -1)
  257. MeshPart26.Orientation = Vector3.new(0, 180, 180)
  258. MeshPart26.Position = Vector3.new(8.69999886, 7.62445831, -18.380003)
  259. MeshPart26.Rotation = Vector3.new(-180, 0, 0)
  260. MeshPart26.Color = Color3.new(0.972549, 0.972549, 0.972549)
  261. MeshPart26.Velocity = Vector3.new(0, -16.3500004, 0)
  262. MeshPart26.Size = Vector3.new(0.200000003, 1.22599995, 0.600000024)
  263. MeshPart26.BrickColor = BrickColor.new("Institutional white")
  264. MeshPart26.CanCollide = false
  265. MeshPart26.Material = Enum.Material.Wood
  266. MeshPart26.brickColor = BrickColor.new("Institutional white")
  267. Weld27.Name = "Joint"
  268. Weld27.Parent = MeshPart26
  269. Weld27.C0 = CFrame.new(9.53674316e-07, 1.56988525, -4.29153442e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1)
  270. Weld27.Part0 = MeshPart26
  271. Weld27.Part1 = Part32
  272. Weld27.part1 = Part32
  273. MeshPart28.Name = "Blade"
  274. MeshPart28.Parent = Model22
  275. MeshPart28.CFrame = CFrame.new(8.69999886, 7.62445831, -18.380003, 1, 0, 0, 0, -1, 0, 0, 0, -1)
  276. MeshPart28.Orientation = Vector3.new(0, 180, 180)
  277. MeshPart28.Position = Vector3.new(8.69999886, 7.62445831, -18.380003)
  278. MeshPart28.Rotation = Vector3.new(-180, 0, 0)
  279. MeshPart28.Color = Color3.new(0.972549, 0.972549, 0.972549)
  280. MeshPart28.Velocity = Vector3.new(0, -16.3500004, 0)
  281. MeshPart28.Size = Vector3.new(0.300000012, 1.22599995, 0.0500000007)
  282. MeshPart28.BrickColor = BrickColor.new("Institutional white")
  283. MeshPart28.CanCollide = false
  284. MeshPart28.Material = Enum.Material.Wood
  285. MeshPart28.brickColor = BrickColor.new("Institutional white")
  286. Weld29.Name = "Joint"
  287. Weld29.Parent = MeshPart28
  288. Weld29.C0 = CFrame.new(9.53674316e-07, 1.56988525, -4.29153442e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1)
  289. Weld29.Part0 = MeshPart28
  290. Weld29.Part1 = Part32
  291. Weld29.part1 = Part32
  292. UnionOperation30.Name = "Bostaff"
  293. UnionOperation30.Parent = Model22
  294. UnionOperation30.CFrame = CFrame.new(8.69999981, 3.45453644, -18.3800049, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  295. UnionOperation30.Position = Vector3.new(8.69999981, 3.45453644, -18.3800049)
  296. UnionOperation30.Color = Color3.new(0.972549, 0.972549, 0.972549)
  297. UnionOperation30.Velocity = Vector3.new(0, -16.3500004, 0)
  298. UnionOperation30.Size = Vector3.new(0.250000954, 6.90002441, 0.25)
  299. UnionOperation30.CanCollide = false
  300. UnionOperation30.Material = Enum.Material.Wood
  301. Weld31.Name = "Joint"
  302. Weld31.Parent = UnionOperation30
  303. Weld31.C0 = CFrame.new(0, 2.60003662, 6.19888306e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  304. Weld31.Part0 = UnionOperation30
  305. Weld31.Part1 = Part32
  306. Weld31.part1 = Part32
  307. Part32.Name = "MainBlade"
  308. Part32.Parent = Model22
  309. Part32.CFrame = CFrame.new(8.69999981, 6.05457306, -18.3799992, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  310. Part32.Position = Vector3.new(8.69999981, 6.05457306, -18.3799992)
  311. Part32.Transparency = 1
  312. Part32.Velocity = Vector3.new(0, -16.3500004, 0)
  313. Part32.Size = Vector3.new(0.400000006, 6.19999838, 0.800000072)
  314. Part32.BottomSurface = Enum.SurfaceType.Smooth
  315. Part32.CanCollide = false
  316. Part32.Material = Enum.Material.SmoothPlastic
  317. Part32.TopSurface = Enum.SurfaceType.Smooth
  318. for i,v in pairs(mas:GetChildren()) do
  319. v.Parent = script
  320. pcall(function() v:MakeJoints() end)
  321. end
  322. mas:Destroy()
  323. for i,v in pairs(cors) do
  324. spawn(function()
  325. pcall(v)
  326. end)
  327. end
  328. end
  329. Create()
  330.  
  331. wait(1)
  332.  
  333. Player = game:GetService("Players").LocalPlayer
  334. PlayerGui = Player.PlayerGui
  335. Cam = workspace.CurrentCamera
  336. Backpack = Player.Backpack
  337. Character = Player.Character
  338. Humanoid = Character.Humanoid
  339. Mouse = Player:GetMouse()
  340. RootPart = Character["HumanoidRootPart"]
  341. Torso = Character["Torso"]
  342. Head = Character["Head"]
  343. RightArm = Character["Right Arm"]
  344. LeftArm = Character["Left Arm"]
  345. RightLeg = Character["Right Leg"]
  346. LeftLeg = Character["Left Leg"]
  347. RootJoint = RootPart["RootJoint"]
  348. Neck = Torso["Neck"]
  349. RightShoulder = Torso["Right Shoulder"]
  350. LeftShoulder = Torso["Left Shoulder"]
  351. RightHip = Torso["Right Hip"]
  352. LeftHip = Torso["Left Hip"]
  353. local sick = Instance.new("Sound",Character)
  354.  
  355. IT = Instance.new
  356. CF = CFrame.new
  357. VT = Vector3.new
  358. RAD = math.rad
  359. C3 = Color3.new
  360. UD2 = UDim2.new
  361. BRICKC = BrickColor.new
  362. ANGLES = CFrame.Angles
  363. EULER = CFrame.fromEulerAnglesXYZ
  364. COS = math.cos
  365. ACOS = math.acos
  366. SIN = math.sin
  367. ASIN = math.asin
  368. ABS = math.abs
  369. MRANDOM = math.random
  370. FLOOR = math.floor
  371.  
  372. --//=================================\\
  373. --|| USEFUL VALUES
  374. --\\=================================//
  375.  
  376. Animation_Speed = 3
  377. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  378. local Speed = 16
  379. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  380. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  381. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  382. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  383. local DAMAGEMULTIPLIER = 1
  384. local ANIM = "Idle"
  385. local ATTACK = false
  386. local MELEE = false
  387. local EQUIPPED = false
  388. local HOLD = false
  389. local COMBO = 1
  390. local Rooted = false
  391. local SINE = 0
  392. local KEYHOLD = false
  393. local CHANGE = 2 / Animation_Speed
  394. local WALKINGANIM = false
  395. local VALUE1 = false
  396. local VALUE2 = false
  397. local ROBLOXIDLEANIMATION = IT("Animation")
  398. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  399. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  400. --ROBLOXIDLEANIMATION.Parent = Humanoid
  401. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  402. WEAPONGUI.Name = "Weapon GUI"
  403. local Effects = IT("Folder", Character)
  404. Effects.Name = "Effects"
  405. local ANIMATOR = Humanoid.Animator
  406. local ANIMATE = Character.Animate
  407. local UNANCHOR = true
  408. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  409. local EXTRATRANS = 0
  410. local DASHING = false
  411.  
  412. --//=================================\\
  413. --\\=================================//
  414.  
  415.  
  416. --//=================================\\
  417. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  418. --\\=================================//
  419.  
  420. ArtificialHB = Instance.new("BindableEvent", script)
  421. ArtificialHB.Name = "ArtificialHB"
  422.  
  423. script:WaitForChild("ArtificialHB")
  424.  
  425. frame = Frame_Speed
  426. tf = 0
  427. allowframeloss = false
  428. tossremainder = false
  429. lastframe = tick()
  430. script.ArtificialHB:Fire()
  431.  
  432. game:GetService("RunService").Heartbeat:connect(function(s, p)
  433. tf = tf + s
  434. if tf >= frame then
  435. if allowframeloss then
  436. script.ArtificialHB:Fire()
  437. lastframe = tick()
  438. else
  439. for i = 1, math.floor(tf / frame) do
  440. script.ArtificialHB:Fire()
  441. end
  442. lastframe = tick()
  443. end
  444. if tossremainder then
  445. tf = 0
  446. else
  447. tf = tf - frame * math.floor(tf / frame)
  448. end
  449. end
  450. end)
  451.  
  452. --//=================================\\
  453. --\\=================================//
  454.  
  455. --//=================================\\
  456. --|| SOME FUNCTIONS
  457. --\\=================================//
  458.  
  459. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  460. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  461. end
  462.  
  463. function PositiveAngle(NUMBER)
  464. if NUMBER >= 0 then
  465. NUMBER = 0
  466. end
  467. return NUMBER
  468. end
  469.  
  470. function NegativeAngle(NUMBER)
  471. if NUMBER <= 0 then
  472. NUMBER = 0
  473. end
  474. return NUMBER
  475. end
  476.  
  477. function Swait(NUMBER)
  478. if NUMBER == 0 or NUMBER == nil then
  479. ArtificialHB.Event:wait()
  480. else
  481. for i = 1, NUMBER do
  482. ArtificialHB.Event:wait()
  483. end
  484. end
  485. end
  486.  
  487. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  488. local NEWMESH = IT(MESH)
  489. if MESH == "SpecialMesh" then
  490. NEWMESH.MeshType = MESHTYPE
  491. if MESHID ~= "nil" and MESHID ~= "" then
  492. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  493. end
  494. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  495. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  496. end
  497. end
  498. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  499. NEWMESH.Scale = SCALE
  500. NEWMESH.Parent = PARENT
  501. return NEWMESH
  502. end
  503.  
  504. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  505. local NEWPART = IT("Part")
  506. NEWPART.formFactor = FORMFACTOR
  507. NEWPART.Reflectance = REFLECTANCE
  508. NEWPART.Transparency = TRANSPARENCY
  509. NEWPART.CanCollide = false
  510. NEWPART.Locked = true
  511. NEWPART.Anchored = true
  512. if ANCHOR == false then
  513. NEWPART.Anchored = false
  514. end
  515. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  516. NEWPART.Name = NAME
  517. NEWPART.Size = SIZE
  518. NEWPART.Position = Torso.Position
  519. NEWPART.Material = MATERIAL
  520. NEWPART:BreakJoints()
  521. NEWPART.Parent = PARENT
  522. return NEWPART
  523. end
  524.  
  525. local function weldBetween(a, b)
  526. local weldd = Instance.new("ManualWeld")
  527. weldd.Part0 = a
  528. weldd.Part1 = b
  529. weldd.C0 = CFrame.new()
  530. weldd.C1 = b.CFrame:inverse() * a.CFrame
  531. weldd.Parent = a
  532. return weldd
  533. end
  534.  
  535.  
  536. function QuaternionFromCFrame(cf)
  537. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  538. local trace = m00 + m11 + m22
  539. if trace > 0 then
  540. local s = math.sqrt(1 + trace)
  541. local recip = 0.5 / s
  542. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  543. else
  544. local i = 0
  545. if m11 > m00 then
  546. i = 1
  547. end
  548. if m22 > (i == 0 and m00 or m11) then
  549. i = 2
  550. end
  551. if i == 0 then
  552. local s = math.sqrt(m00 - m11 - m22 + 1)
  553. local recip = 0.5 / s
  554. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  555. elseif i == 1 then
  556. local s = math.sqrt(m11 - m22 - m00 + 1)
  557. local recip = 0.5 / s
  558. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  559. elseif i == 2 then
  560. local s = math.sqrt(m22 - m00 - m11 + 1)
  561. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  562. end
  563. end
  564. end
  565.  
  566. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  567. local xs, ys, zs = x + x, y + y, z + z
  568. local wx, wy, wz = w * xs, w * ys, w * zs
  569. local xx = x * xs
  570. local xy = x * ys
  571. local xz = x * zs
  572. local yy = y * ys
  573. local yz = y * zs
  574. local zz = z * zs
  575. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  576. end
  577.  
  578. function QuaternionSlerp(a, b, t)
  579. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  580. local startInterp, finishInterp;
  581. if cosTheta >= 0.0001 then
  582. if (1 - cosTheta) > 0.0001 then
  583. local theta = ACOS(cosTheta)
  584. local invSinTheta = 1 / SIN(theta)
  585. startInterp = SIN((1 - t) * theta) * invSinTheta
  586. finishInterp = SIN(t * theta) * invSinTheta
  587. else
  588. startInterp = 1 - t
  589. finishInterp = t
  590. end
  591. else
  592. if (1 + cosTheta) > 0.0001 then
  593. local theta = ACOS(-cosTheta)
  594. local invSinTheta = 1 / SIN(theta)
  595. startInterp = SIN((t - 1) * theta) * invSinTheta
  596. finishInterp = SIN(t * theta) * invSinTheta
  597. else
  598. startInterp = t - 1
  599. finishInterp = t
  600. end
  601. end
  602. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  603. end
  604.  
  605. function Clerp(a, b, t)
  606. local qa = {QuaternionFromCFrame(a)}
  607. local qb = {QuaternionFromCFrame(b)}
  608. local ax, ay, az = a.x, a.y, a.z
  609. local bx, by, bz = b.x, b.y, b.z
  610. local _t = 1 - t
  611. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  612. end
  613.  
  614. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  615. local frame = IT("Frame")
  616. frame.BackgroundTransparency = TRANSPARENCY
  617. frame.BorderSizePixel = BORDERSIZEPIXEL
  618. frame.Position = POSITION
  619. frame.Size = SIZE
  620. frame.BackgroundColor3 = COLOR
  621. frame.BorderColor3 = BORDERCOLOR
  622. frame.Name = NAME
  623. frame.Parent = PARENT
  624. return frame
  625. end
  626.  
  627. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  628. local label = IT("TextLabel")
  629. label.BackgroundTransparency = 1
  630. label.Size = UD2(1, 0, 1, 0)
  631. label.Position = UD2(0, 0, 0, 0)
  632. label.TextColor3 = TEXTCOLOR
  633. label.TextStrokeTransparency = STROKETRANSPARENCY
  634. label.TextTransparency = TRANSPARENCY
  635. label.FontSize = TEXTFONTSIZE
  636. label.Font = TEXTFONT
  637. label.BorderSizePixel = BORDERSIZEPIXEL
  638. label.TextScaled = false
  639. label.Text = TEXT
  640. label.Name = NAME
  641. label.Parent = PARENT
  642. return label
  643. end
  644.  
  645. function NoOutlines(PART)
  646. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  647. end
  648.  
  649. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  650. local NEWWELD = IT(TYPE)
  651. NEWWELD.Part0 = PART0
  652. NEWWELD.Part1 = PART1
  653. NEWWELD.C0 = C0
  654. NEWWELD.C1 = C1
  655. NEWWELD.Parent = PARENT
  656. return NEWWELD
  657. end
  658.  
  659. local S = IT("Sound")
  660. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  661. local NEWSOUND = nil
  662. coroutine.resume(coroutine.create(function()
  663. NEWSOUND = S:Clone()
  664. NEWSOUND.Parent = PARENT
  665. NEWSOUND.Volume = VOLUME
  666. NEWSOUND.Pitch = PITCH
  667. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  668. NEWSOUND:play()
  669. if DOESLOOP == true then
  670. NEWSOUND.Looped = true
  671. else
  672. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  673. NEWSOUND.Playing = false
  674. NEWSOUND:remove()
  675. end
  676. end))
  677. return NEWSOUND
  678. end
  679.  
  680. function CFrameFromTopBack(at, top, back)
  681. local right = top:Cross(back)
  682. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  683. end
  684.  
  685. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  686. function WACKYEFFECT(Table)
  687. local TYPE = (Table.EffectType or "Sphere")
  688. local SIZE = (Table.Size or VT(1,1,1))
  689. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  690. local TRANSPARENCY = (Table.Transparency or 0)
  691. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  692. local CFRAME = (Table.CFrame or Torso.CFrame)
  693. local MOVEDIRECTION = (Table.MoveToPos or nil)
  694. local ROTATION1 = (Table.RotationX or 0)
  695. local ROTATION2 = (Table.RotationY or 0)
  696. local ROTATION3 = (Table.RotationZ or 0)
  697. local MATERIAL = (Table.Material or "Neon")
  698. local COLOR = (Table.Color or C3(1,1,1))
  699. local TIME = (Table.Time or 45)
  700. local SOUNDID = (Table.SoundID or nil)
  701. local SOUNDPITCH = (Table.SoundPitch or nil)
  702. local SOUNDVOLUME = (Table.SoundVolume or nil)
  703. coroutine.resume(coroutine.create(function()
  704. local PLAYSSOUND = false
  705. local SOUND = nil
  706. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  707. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  708. PLAYSSOUND = true
  709. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  710. end
  711. EFFECT.Color = COLOR
  712. local MSH = nil
  713. if TYPE == "Sphere" then
  714. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  715. elseif TYPE == "Block" then
  716. MSH = IT("BlockMesh",EFFECT)
  717. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  718. elseif TYPE == "Wave" then
  719. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  720. elseif TYPE == "Ring" then
  721. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  722. elseif TYPE == "Slash" then
  723. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  724. elseif TYPE == "Round Slash" then
  725. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  726. elseif TYPE == "Swirl" then
  727. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  728. elseif TYPE == "Skull" then
  729. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  730. elseif TYPE == "Crystal" then
  731. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  732. end
  733. if MSH ~= nil then
  734. local MOVESPEED = nil
  735. if MOVEDIRECTION ~= nil then
  736. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  737. end
  738. local GROWTH = SIZE - ENDSIZE
  739. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  740. if TYPE == "Block" then
  741. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  742. else
  743. EFFECT.CFrame = CFRAME
  744. end
  745. for LOOP = 1, TIME+1 do
  746. Swait()
  747. MSH.Scale = MSH.Scale - GROWTH/TIME
  748. if TYPE == "Wave" then
  749. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  750. end
  751. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  752. if TYPE == "Block" then
  753. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  754. else
  755. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  756. end
  757. if MOVEDIRECTION ~= nil then
  758. local ORI = EFFECT.Orientation
  759. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  760. EFFECT.Orientation = ORI
  761. end
  762. end
  763. if PLAYSSOUND == false then
  764. EFFECT:remove()
  765. else
  766. repeat Swait() until SOUND.Playing == false
  767. EFFECT:remove()
  768. end
  769. else
  770. if PLAYSSOUND == false then
  771. EFFECT:remove()
  772. else
  773. repeat Swait() until SOUND.Playing == false
  774. EFFECT:remove()
  775. end
  776. end
  777. end))
  778. end
  779.  
  780. function MakeForm(PART,TYPE)
  781. if TYPE == "Cyl" then
  782. local MSH = IT("CylinderMesh",PART)
  783. elseif TYPE == "Ball" then
  784. local MSH = IT("SpecialMesh",PART)
  785. MSH.MeshType = "Sphere"
  786. elseif TYPE == "Wedge" then
  787. local MSH = IT("SpecialMesh",PART)
  788. MSH.MeshType = "Wedge"
  789. end
  790. end
  791.  
  792. Debris = game:GetService("Debris")
  793.  
  794. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  795. local DIRECTION = CF(StartPos,EndPos).lookVector
  796. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  797. end
  798.  
  799. function turnto(position)
  800. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  801. end
  802.  
  803. function WaveParticles(Position,Size,Color)
  804. local BASE = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "Shockwave", VT(0,0,0), true)
  805. BASE.CFrame = CF(Position)
  806. local A = IT("Attachment",BASE)
  807. local WAVE = script.Wave:Clone()
  808. WAVE.Parent = A
  809. WAVE.Size = NumberSequence.new(0,Size)
  810. WAVE.Color = ColorSequence.new(Color)
  811. Debris:AddItem(BASE,0.5)
  812. WAVE:Emit(1)
  813. end
  814.  
  815. --//=================================\\
  816. --|| WEAPON CREATION
  817. --\\=================================//
  818.  
  819. for _, c in pairs(Character:GetChildren()) do
  820. if script:FindFirstChild(c.Name) then
  821. local Part = script[c.Name]
  822. Part.Parent = Character
  823. Part.Base.Anchored = false
  824. Part:SetPrimaryPartCFrame(c.CFrame)
  825. weldBetween(c,Part.Base)
  826. for _, e in pairs(Part:GetChildren()) do
  827. if e:IsA("BasePart") and e.Name ~= "Base" then
  828. e.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  829. e.Locked = true
  830. e.Anchored = false
  831. e.Parent = Character
  832. weldBetween(c,e)
  833. end
  834. end
  835. Part:remove()
  836. end
  837. end
  838. local Weapon = script.Weapon
  839. Weapon.Parent = Character
  840. local Grip = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Weapon.Bostaff, CF(0, -1, 0)*ANGLES(RAD(-90),RAD(0),RAD(0)), CF(0, 0, 0))
  841.  
  842. --[[local BONE = CreatePart(3, nil, "SmoothPlastic", 0, 0, BRICKC("Bright yellow"), "Tail", VT(0.3,0.5,0.3), false)
  843. MakeForm(BONE,"Cyl")
  844.  
  845. local TAIL = {}
  846. local LASTPART = Torso
  847. local SIZE = BONE.Size
  848. for i = 1, 15 do
  849. local PART = BONE:Clone()
  850. PART.Anchored = false
  851. PART.Parent = Character
  852. PART.Size = SIZE*((17-i)/10)/1.6
  853. if LASTPART == Torso then
  854. local WELD = CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, PART, CF(0,-1,0.6)* ANGLES(RAD(-55), RAD(0), RAD(0)), CF(0, 0, 0))
  855. LASTPART = PART
  856. table.insert(TAIL,WELD)
  857. else
  858. local WELD = CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, PART, CF(0,-PART.Size.Y/2,0), CF(0, PART.Size.Y/2, 0))
  859. LASTPART = PART
  860. table.insert(TAIL,WELD)
  861. end
  862. end]]--
  863.  
  864. for _, c in pairs(Character:GetChildren()) do
  865. if c.ClassName == "Part" and c.Name ~= "Eye" then
  866. c.Material = "SmoothPlastic"
  867. if c:FindFirstChildOfClass("ParticleEmitter") then
  868. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  869. end
  870. if c == LeftLeg or c == RightLeg then
  871. c.Color = C3(0.12,0.12,0.12)
  872. elseif c == Torso then
  873. c.Color = C3(0.15,0.15,0.15)
  874. else
  875. c.BrickColor = BRICKC"Bright yellow"
  876. end
  877. if c == Head then
  878. if c:FindFirstChild("face") then
  879. c.face:remove()
  880. end
  881. end
  882. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  883. c:remove()
  884. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  885. c:remove()
  886. end
  887. end
  888. local BODY = {}
  889. for _, c in pairs(Character:GetDescendants()) do
  890. if c:IsA("BasePart") and c.Name ~= "Handle" then
  891. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  892. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  893. end
  894. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  895. elseif c:IsA("JointInstance") then
  896. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  897. end
  898. end
  899. for e = 1, #BODY do
  900. if BODY[e] ~= nil then
  901. local STUFF = BODY[e]
  902. local PART = STUFF[1]
  903. local PARENT = STUFF[2]
  904. local MATERIAL = STUFF[3]
  905. local COLOR = STUFF[4]
  906. local TRANSPARENCY = STUFF[5]
  907. if PART.ClassName == "Part" and PART ~= RootPart then
  908. PART.Material = MATERIAL
  909. PART.Color = COLOR
  910. PART.Transparency = TRANSPARENCY
  911. end
  912. PART.AncestryChanged:Connect(function()
  913. PART.Parent = PARENT
  914. end)
  915. end
  916. end
  917. function refit()
  918. Character.Parent = workspace
  919. for e = 1, #BODY do
  920. if BODY[e] ~= nil then
  921. local STUFF = BODY[e]
  922. local PART = STUFF[1]
  923. local PARENT = STUFF[2]
  924. local MATERIAL = STUFF[3]
  925. local COLOR = STUFF[4]
  926. local TRANSPARENCY = STUFF[5]
  927. if PART:IsA("BasePart") and PART ~= RootPart then
  928. PART.Material = MATERIAL
  929. PART.Color = COLOR
  930. PART.Transparency = TRANSPARENCY+EXTRATRANS
  931. end
  932. if PART.Parent ~= PARENT then
  933. Humanoid:remove()
  934. PART.Parent = PARENT
  935. Humanoid = IT("Humanoid",Character)
  936. end
  937. end
  938. end
  939. end
  940.  
  941. Humanoid.Died:connect(function()
  942. refit()
  943. end)
  944.  
  945. local SKILLTEXTCOLOR = C3(1,1,1)
  946. local SKILLFONT = "Fantasy"
  947. local SKILLTEXTSIZE = 5
  948.  
  949. local MOBILITY = {"Z","B","C","G","H"}
  950. local ATTACKS = {"Mouse","Q","E","V","X","M"}
  951. local MOBILITYFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.71, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill Frame")
  952. local TEXT = CreateLabel(MOBILITYFRAME, "[MOBILITY]", SKILLTEXTCOLOR, SKILLTEXTSIZE+1, SKILLFONT, 0, 2, 0.5, "Skill text")
  953. local ATTACKSFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill Frame")
  954. local TEXT = CreateLabel(ATTACKSFRAME, "[ATTACKS]", SKILLTEXTCOLOR, SKILLTEXTSIZE+1, SKILLFONT, 0, 2, 0.5, "Skill text")
  955.  
  956. for i = 1, #MOBILITY do
  957. local SKILLFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.71, 0, 0.90-(0.04*i), 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill Frame")
  958. local SKILLTEXT = CreateLabel(SKILLFRAME, "["..MOBILITY[i].."]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Skill text")
  959. end
  960. for i = 1, #ATTACKS do
  961. local SKILLFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.90-(0.04*i), 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill Frame")
  962. local SKILLTEXT = CreateLabel(SKILLFRAME, "["..ATTACKS[i].."]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Skill text")
  963. end
  964.  
  965. --//=================================\\
  966. --|| DAMAGING
  967. --\\=================================//
  968.  
  969. function ApplyDamage(Humanoid,Damage)
  970. Damage = Damage * DAMAGEMULTIPLIER
  971. if Humanoid.Health < 2000 then
  972. if Humanoid.Health - Damage > 0 then
  973. Humanoid.Health = Humanoid.Health - Damage
  974. else
  975. Humanoid.Parent:BreakJoints()
  976. end
  977. else
  978. Humanoid.Parent:BreakJoints()
  979. end
  980. end
  981.  
  982. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  983. local CHILDREN = workspace:GetDescendants()
  984. for index, CHILD in pairs(CHILDREN) do
  985. if CHILD.ClassName == "Model" and CHILD ~= Character then
  986. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  987. if HUM then
  988. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  989. if TORSO then
  990. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  991. if INSTAKILL == true then
  992. CHILD:BreakJoints()
  993. else
  994. local DMG = MRANDOM(MINDMG,MAXDMG)
  995. ApplyDamage(HUM,DMG)
  996. end
  997. if FLING > 0 then
  998. for _, c in pairs(CHILD:GetChildren()) do
  999. if c:IsA("BasePart") then
  1000. local bv = Instance.new("BodyVelocity")
  1001. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1002. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1003. bv.Parent = c
  1004. Debris:AddItem(bv,0.05)
  1005. end
  1006. end
  1007. end
  1008. end
  1009. end
  1010. end
  1011. end
  1012. end
  1013. end
  1014.  
  1015. function APPLYMELEE(PART,MINDMG,MAXDMG,CANSTUN)
  1016. local HITS = {}
  1017. local TOUCH = PART.Touched:Connect(function(hit)
  1018. if hit.Parent:FindFirstChildOfClass("Humanoid") then
  1019. local HUM = hit.Parent:FindFirstChildOfClass("Humanoid")
  1020. local TORSO = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  1021. if TORSO and HUM.Health > 0 then
  1022. local PASS = true
  1023. for i = 1, #HITS do
  1024. if HITS[i] == hit.Parent then
  1025. PASS = false
  1026. end
  1027. end
  1028. table.insert(HITS,hit.Parent)
  1029. if PASS == true then
  1030. for i = 1, 3 do
  1031. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0.3,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  1032. end
  1033. ApplyDamage(HUM,MRANDOM(MINDMG,MAXDMG),TORSO,CANSTUN)
  1034. CreateSound(HITPLAYERSOUNDS[MRANDOM(1,#HITPLAYERSOUNDS)],TORSO,2,MRANDOM(8,12)/10,false)
  1035. end
  1036. end
  1037. end
  1038. end)
  1039. return TOUCH
  1040. end
  1041.  
  1042. --//=================================\\
  1043. --|| MOBILITY STUFF
  1044. --\\=================================//
  1045.  
  1046. function Mobility(CFR)
  1047. Weapon.TrailBlade.Trail.Enabled = false
  1048. local POS = RootPart.Position
  1049. EXTRATRANS = 1
  1050. DASHING = true
  1051. WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(12,12,12), Transparency = 0, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 182765513, SoundPitch = 1, SoundVolume = 3})
  1052. repeat
  1053. RootPart.CFrame = RootPart.CFrame*CFR
  1054. for i = 1, 5 do
  1055. WACKYEFFECT({Time = MRANDOM(10,40), EffectType = "Sphere", Size = VT(2,2,0.7), Size2 = VT(0,0,10), Transparency = 0, Transparency2 = 1, CFrame = CF(CF(POS) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))*CF(0,0,2).p,RootPart.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1056. end
  1057. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(6,8,6), Size2 = VT(0,4,0), Transparency = 1, Transparency2 = 0.8, CFrame = CF(RootPart.Position,POS) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = CF(RootPart.Position,POS)*CF(0,0,-35).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1058. POS = RootPart.Position
  1059. RootPart.Velocity = VT(0,0,0)
  1060. Swait()
  1061. until KEYHOLD == false or ATTACK == true or MELEE == true
  1062. EXTRATRANS = 0
  1063. DASHING = false
  1064. WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(12,12,12), Transparency = 0, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 182765513, SoundPitch = 1, SoundVolume = 3})
  1065. RootPart.Velocity = VT(0,0,0)
  1066. Weapon.TrailBlade.Trail.Enabled = true
  1067. end
  1068.  
  1069. --//=================================\\
  1070. --|| ATTACK FUNCTIONS AND STUFF
  1071. --\\=================================//
  1072.  
  1073. function Clicks()
  1074. MELEE = true
  1075. Rooted = false
  1076. Weapon.MainBlade.CanCollide = true
  1077. repeat
  1078. if COMBO == 1 and ATTACK == false then
  1079. COMBO = 2
  1080. for i=0, 0.15, 0.1 / Animation_Speed do
  1081. Swait()
  1082. if ATTACK == true then
  1083. break
  1084. end
  1085. Grip.C1 = Clerp(Grip.C1,CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1086. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), 2 / Animation_Speed)
  1087. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10), RAD(0), RAD(40)), 2 / Animation_Speed)
  1088. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1089. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.4) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1090. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 2 / Animation_Speed)
  1091. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-60), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 2 / Animation_Speed)
  1092. end
  1093. CreateSound(143501853,Weapon.TrailBlade,2,MRANDOM(8,13)/10,false)
  1094. local DMGER = APPLYMELEE(Weapon.MainBlade,8,12,false)
  1095. for i=0, 0.4, 0.1 / Animation_Speed do
  1096. Swait()
  1097. if ATTACK == true then
  1098. break
  1099. end
  1100. Grip.C1 = Clerp(Grip.C1,CF(0, -1, 0.35) * ANGLES(RAD(80), RAD(0), RAD(0)), 1 / Animation_Speed)
  1101. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(80)), 1 / Animation_Speed)
  1102. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(-50)), 1 / Animation_Speed)
  1103. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1104. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.4) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1105. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(50), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  1106. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  1107. end
  1108. DMGER:Disconnect()
  1109. elseif COMBO == 2 and ATTACK == false then
  1110. COMBO = 3
  1111. local DMGER = APPLYMELEE(Weapon.MainBlade,25,35,false)
  1112. CreateSound(134012322,Weapon.TrailBlade,4,MRANDOM(8,13)/10,false)
  1113. for i = 1, 15 do
  1114. Swait()
  1115. if ATTACK == true then
  1116. break
  1117. end
  1118. RootPart.CFrame = RootPart.CFrame * CF(0,0,-0.02)
  1119. Grip.C1 = Clerp(Grip.C1,CF(0, 1, 0) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed)
  1120. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(80-(i*(360/15)))), 2.5 / Animation_Speed)
  1121. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(30), RAD(0), RAD(0)), 1 / Animation_Speed)
  1122. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.4) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1123. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.4) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1124. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.25, -0.6) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  1125. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  1126. end
  1127. DMGER:Disconnect()
  1128. elseif COMBO == 3 and ATTACK == false then
  1129. COMBO = 1
  1130. for i=0, 0.5, 0.1 / Animation_Speed do
  1131. Swait()
  1132. if ATTACK == true then
  1133. break
  1134. end
  1135. Grip.C1 = Clerp(Grip.C1,CF(0, 0, 0) * ANGLES(RAD(60), RAD(0), RAD(0)), 1 / Animation_Speed)
  1136. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), 2 / Animation_Speed)
  1137. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10), RAD(0), RAD(25)), 1 / Animation_Speed)
  1138. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(45)) * ANGLES(RAD(0), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1139. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.4) * ANGLES(RAD(-45), RAD(0), RAD(15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1140. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  1141. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  1142. end
  1143. CreateSound(143501853,Weapon.TrailBlade,2,MRANDOM(8,13)/10,false)
  1144. local DMGER = APPLYMELEE(Weapon.MainBlade,10,15,false)
  1145. for i=0, 0.6, 0.1 / Animation_Speed do
  1146. Swait()
  1147. if ATTACK == true then
  1148. break
  1149. end
  1150. Grip.C1 = Clerp(Grip.C1,CF(0, 0, 0) * ANGLES(RAD(55), RAD(0), RAD(0)), 1 / Animation_Speed)
  1151. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(80)), 1 / Animation_Speed)
  1152. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(-40)), 1 / Animation_Speed)
  1153. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(120), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1154. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.4) * ANGLES(RAD(5), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1155. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  1156. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  1157. end
  1158. DMGER:Disconnect()
  1159. end
  1160. until HOLD == false or ATTACK == true
  1161. if COMBO == 2 and ATTACK == false then
  1162. for i=0, 0.5, 0.1 / Animation_Speed do
  1163. Swait()
  1164. if ATTACK == true then
  1165. break
  1166. end
  1167. Grip.C1 = Clerp(Grip.C1,CF(0, -1, 0.35) * ANGLES(RAD(80), RAD(0), RAD(0)), 1 / Animation_Speed)
  1168. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(80)), 1 / Animation_Speed)
  1169. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(-50)), 1 / Animation_Speed)
  1170. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1171. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.4) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1172. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(50), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  1173. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  1174. end
  1175. end
  1176. Weapon.MainBlade.CanCollide = false
  1177. coroutine.resume(coroutine.create(function()
  1178. for i = 1, 50 do
  1179. Swait()
  1180. if MELEE == true then
  1181. break
  1182. end
  1183. end
  1184. if MELEE == false then
  1185. COMBO = 1
  1186. end
  1187. end))
  1188. MELEE = false
  1189. Rooted = false
  1190. end
  1191.  
  1192. function Aerial()
  1193. ATTACK = true
  1194. Rooted = false
  1195. local DMGER = APPLYMELEE(Weapon.MainBlade,35,45,false)
  1196. CreateSound(134012322,Weapon.TrailBlade,4,MRANDOM(8,13)/10,false)
  1197. for i = 1, 12 do
  1198. Swait()
  1199. Grip.C1 = Clerp(Grip.C1,CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1200. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(-i*(360/10))), 2 / Animation_Speed)
  1201. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(-65)), 1 / Animation_Speed)
  1202. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1203. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1204. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  1205. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  1206. end
  1207. DMGER:Disconnect()
  1208. ATTACK = false
  1209. Rooted = false
  1210. end
  1211.  
  1212. function ZenBullet()
  1213. ATTACK = true
  1214. Rooted = false
  1215. if MELEE == true then
  1216. for i=0, 0.3, 0.1 / Animation_Speed do
  1217. Swait()
  1218. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1219. Grip.C1 = Clerp(Grip.C1,CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1220. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1221. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10), RAD(0), RAD(0)), 1 / Animation_Speed)
  1222. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.4) * ANGLES(RAD(95), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1223. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.4) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1224. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  1225. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  1226. end
  1227. else
  1228. local GYRO = IT("BodyGyro",RootPart)
  1229. GYRO.D = 2
  1230. GYRO.P = 2000
  1231. GYRO.MaxTorque = VT(0,4000000,0)
  1232. coroutine.resume(coroutine.create(function()
  1233. repeat
  1234. Swait()
  1235. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  1236. until ATTACK == false
  1237. GYRO:Remove()
  1238. end))
  1239. for i=0, 1, 0.1 / Animation_Speed do
  1240. Swait()
  1241. Grip.C1 = Clerp(Grip.C1,CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1242. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1243. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10), RAD(0), RAD(0)), 1 / Animation_Speed)
  1244. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.4) * ANGLES(RAD(95), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1245. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.4) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1246. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  1247. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  1248. end
  1249. end
  1250. ATTACK = false
  1251. Rooted = false
  1252. end
  1253.  
  1254. function AttackTemplate()
  1255. ATTACK = true
  1256. Rooted = false
  1257. for i=0, 1, 0.1 / Animation_Speed do
  1258. Swait()
  1259. Grip.C1 = Clerp(Grip.C1,CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1260. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1261. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10), RAD(0), RAD(0)), 1 / Animation_Speed)
  1262. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.4) * ANGLES(RAD(95), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1263. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.4) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1264. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  1265. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  1266. end
  1267. ATTACK = false
  1268. Rooted = false
  1269. end
  1270.  
  1271. --//=================================\\
  1272. --|| ASSIGN THINGS TO KEYS
  1273. --\\=================================//
  1274.  
  1275. function MouseDown(Mouse)
  1276. HOLD = true
  1277. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1278. if HITFLOOR then
  1279. if ATTACK == false and MELEE == false then
  1280. Clicks()
  1281. end
  1282. elseif ATTACK == false then
  1283. Aerial()
  1284. end
  1285. end
  1286.  
  1287. function MouseUp(Mouse)
  1288. HOLD = false
  1289. end
  1290.  
  1291. function KeyDown(Key)
  1292. KEYHOLD = true
  1293. --MOBILITY--
  1294. if DASHING == false and MELEE == false then
  1295. if Key == "z" and ATTACK == false then
  1296. Mobility(CF(0,5,0))
  1297. end
  1298.  
  1299. if Key == "b" and ATTACK == false then
  1300. Mobility(CF(0,0,-5))
  1301. end
  1302.  
  1303. if Key == "c" and ATTACK == false then
  1304. Mobility(CF(0,0,5))
  1305. end
  1306.  
  1307. if Key == "g" and ATTACK == false then
  1308. Mobility(CF(5,0,0))
  1309. end
  1310.  
  1311. if Key == "h" and ATTACK == false then
  1312. Mobility(CF(-5,0,0))
  1313. end
  1314. end
  1315. --ATTACKS--
  1316. if Key == "q" and ATTACK == false then
  1317. end
  1318.  
  1319. if Key == "e" and ATTACK == false then
  1320. end
  1321.  
  1322. if Key == "v" and ATTACK == false then
  1323. end
  1324.  
  1325. if Key == "x" and ATTACK == false then
  1326. end
  1327.  
  1328. if Key == "m" and ATTACK == false then
  1329. end
  1330. end
  1331.  
  1332. function KeyUp(Key)
  1333. KEYHOLD = false
  1334. end
  1335.  
  1336. Mouse.Button1Down:connect(function(NEWKEY)
  1337. MouseDown(NEWKEY)
  1338. end)
  1339. Mouse.Button1Up:connect(function(NEWKEY)
  1340. MouseUp(NEWKEY)
  1341. end)
  1342. Mouse.KeyDown:connect(function(NEWKEY)
  1343. KeyDown(NEWKEY)
  1344. end)
  1345. Mouse.KeyUp:connect(function(NEWKEY)
  1346. KeyUp(NEWKEY)
  1347. end)
  1348.  
  1349. --//=================================\\
  1350. --\\=================================//
  1351.  
  1352. function unanchor()
  1353. for _, c in pairs(Character:GetChildren()) do
  1354. if c:IsA("BasePart") and c ~= RootPart then
  1355. c.Anchored = false
  1356. end
  1357. end
  1358. if UNANCHOR == true then
  1359. RootPart.Anchored = false
  1360. else
  1361. RootPart.Anchored = true
  1362. end
  1363. end
  1364.  
  1365. --//=================================\\
  1366. --|| WRAP THE WHOLE SCRIPT UP
  1367. --\\=================================//
  1368.  
  1369. Humanoid.Changed:connect(function(Jump)
  1370. if Jump == "Jump" and (Disable_Jump == true) then
  1371. Humanoid.Jump = false
  1372. end
  1373. end)
  1374.  
  1375. while true do
  1376. Swait()
  1377. script.Parent = WEAPONGUI
  1378. ANIMATE.Parent = nil
  1379. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1380. v:Stop();
  1381. end
  1382. if Character:FindFirstChildOfClass("Humanoid") == nil then
  1383. Humanoid = IT("Humanoid",Character)
  1384. end
  1385. SINE = SINE + CHANGE
  1386. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1387. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1388. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1389. local WALKSPEEDVALUE = 4
  1390. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1391. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.05 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1392. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1393. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2- 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1394. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1395. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1396. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1397. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1398. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1399. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1400. end
  1401. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1402. ANIM = "Jump"
  1403. if ATTACK == false and MELEE == false then
  1404. Grip.C1 = Clerp(Grip.C1,CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1405. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1406. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed)
  1407. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(25 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1408. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(-25 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1409. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -0.6) * ANGLES(RAD(1), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1410. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1411. end
  1412. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1413. ANIM = "Fall"
  1414. if ATTACK == false and MELEE == false then
  1415. Grip.C1 = Clerp(Grip.C1,CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1416. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1417. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1418. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(35 - 4 * COS(SINE / 6)), RAD(0), RAD(45 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1419. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(35 - 4 * COS(SINE / 6)), RAD(0), RAD(-45 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1420. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.7) * ANGLES(RAD(-25 + 5 * SIN(SINE / 12)), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1421. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8, -0.3) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1422. end
  1423. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1424. ANIM = "Idle"
  1425. if ATTACK == false and MELEE == false then
  1426. Grip.C1 = Clerp(Grip.C1,CF(0, 0.2 + 0.1 * SIN(SINE / 12), 0) * ANGLES(RAD(5), RAD(2 * COS(SINE / 12)), RAD(0)), 1 / Animation_Speed)
  1427. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * SIN(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1428. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12) + ((1) - 1)) * ANGLES(RAD(10), RAD(0), RAD(0)), 1 / Animation_Speed)
  1429. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.4) * ANGLES(RAD(95), RAD(0), RAD(15+1 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1430. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.4) * ANGLES(RAD(-45-2 * COS(SINE / 12)), RAD(0), RAD(45+2 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1431. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * SIN(SINE / 12), 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  1432. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(SINE / 12), 0) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  1433. end
  1434. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1435. ANIM = "Walk"
  1436. if ATTACK == false and MELEE == false then
  1437. Grip.C1 = Clerp(Grip.C1,CF(0, 0, 0) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1438. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.05) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1439. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 1 / Animation_Speed)
  1440. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(5)) * ANGLES(RAD(0), RAD(25), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1441. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1442. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(-5), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1443. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-5), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1444. end
  1445. end
  1446. --[[for E = 1, #TAIL do
  1447. TAIL[E].C1 = Clerp(TAIL[E].C1,CF(0, 0, 0) * ANGLES(RAD(5-1 * SIN(SINE / 3)), RAD(-2 * COS(SINE / 6)), RAD(4 * SIN(SINE / 6))), 1 / Animation_Speed)
  1448. end]]
  1449. unanchor()
  1450. Humanoid.MaxHealth = 15e15
  1451. Humanoid.Health = 15e15
  1452. if Rooted == false then
  1453. Disable_Jump = false
  1454. Humanoid.WalkSpeed = Speed
  1455. elseif Rooted == true then
  1456. Disable_Jump = true
  1457. Humanoid.WalkSpeed = 0
  1458. end
  1459. refit()
  1460. for _, c in pairs(Character:GetChildren()) do
  1461. if c.ClassName == "Part" and c.Name ~= "Eye" then
  1462. c.Material = "SmoothPlastic"
  1463. if c:FindFirstChildOfClass("ParticleEmitter") then
  1464. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1465. end
  1466. if c == LeftLeg or c == RightLeg then
  1467. c.Color = C3(0.12,0.12,0.12)
  1468. if c:FindFirstChildOfClass("BlockMesh") == nil then
  1469. IT("BlockMesh",c)
  1470. end
  1471. elseif c == Torso then
  1472. c.Color = C3(0.15,0.15,0.15)
  1473. if c:FindFirstChildOfClass("BlockMesh") == nil then
  1474. IT("BlockMesh",c)
  1475. end
  1476. else
  1477. c.BrickColor = BRICKC"Bright yellow"
  1478. end
  1479. if c == Head then
  1480. if c:FindFirstChild("face") then
  1481. c.face:remove()
  1482. end
  1483. end
  1484. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  1485. c:remove()
  1486. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  1487. c:remove()
  1488. end
  1489. end
  1490. sick.SoundId = "rbxassetid://601021377"
  1491. sick.Looped = true
  1492. sick.Pitch = 1
  1493. sick.Volume = 1
  1494. sick.Parent = Character
  1495. sick.Playing = true
  1496. Humanoid.Name = "ZenMan"
  1497. Effects.Parent = Character
  1498. for _, c in pairs(Character:GetChildren()) do
  1499. if c:IsA("BasePart") and ATTACK == false then
  1500. for _, e in pairs(c:GetChildren()) do
  1501. if e:IsA("ParticleEmitter") or e:IsA("BodyPosition") or e:IsA("BodyGyro") then
  1502. e:remove()
  1503. end
  1504. end
  1505. end
  1506. end
  1507. if Head:FindFirstChild("face") then
  1508. Head.face:remove()
  1509. elseif Head:FindFirstChildOfClass("Sound") then
  1510. Head:FindFirstChildOfClass("Sound"):remove()
  1511. end
  1512. end
  1513.  
  1514. --//=================================\\
  1515. --\\=================================//
  1516.  
  1517.  
  1518.  
  1519.  
  1520.  
  1521. --//====================================================\\--
  1522. --|| END OF SCRIPT
  1523. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement