Advertisement
Void_scripter0

Zen master

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