Advertisement
sawgamer1

Untitled

Nov 25th, 2018
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 109.58 KB | None | 0 0
  1. local txt = Instance.new("BillboardGui", Char)
  2. CV="Plum"
  3. txt.Name = "_status"
  4. txt.Size = UDim2.new(2, 0, 1.2, 0)
  5. txt.StudsOffset = Vector3.new(-14, 6, 0)
  6. local text = Instance.new("TextLabel", txt)
  7. text.Size = UDim2.new(15, 0,2, 0)
  8. text.FontSize = "Size24"
  9. text.TextScaled = true
  10. text.TextTransparency = 0
  11. text.BackgroundTransparency = 1
  12. text.TextTransparency = 0
  13. text.TextStrokeTransparency = 0
  14. text.Font = Enum.Font.SourceSansBold
  15. text.TextStrokeColor3 = Color3.new(0,0,0)
  16. text.TextColor3 = Color3.new(26, 234, 33)
  17. text.Text = "The Corrupted Nobody"
  18.  
  19.  
  20. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  21. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  22. do
  23. print("FE Compatibility code by Mokiros")
  24. script.Parent = Player.Character
  25.  
  26. --RemoteEvent for communicating
  27. local Event = Instance.new("RemoteEvent")
  28. Event.Name = "UserInput_Event"
  29.  
  30. --Fake event to make stuff like Mouse.KeyDown work
  31. local function fakeEvent()
  32. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  33. t.connect = t.Connect
  34. return t
  35. end
  36.  
  37. --Creating fake input objects with fake variables
  38. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  39. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  40. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  41. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  42. end}
  43. --Merged 2 functions into one by checking amount of arguments
  44. CAS.UnbindAction = CAS.BindAction
  45.  
  46. --This function will trigger the events that have been :Connect()'ed
  47. local function te(self,ev,...)
  48. local t = m[ev]
  49. if t and t._fakeEvent and t.Function then
  50. t.Function(...)
  51. end
  52. end
  53. m.TrigEvent = te
  54. UIS.TrigEvent = te
  55.  
  56. Event.OnServerEvent:Connect(function(plr,io)
  57. if plr~=Player then return end
  58. if io.isMouse then
  59. m.Target = io.Target
  60. m.Hit = io.Hit
  61. else
  62. local b = io.UserInputState == Enum.UserInputState.Begin
  63. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  64. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  65. end
  66. for _,t in pairs(CAS.Actions) do
  67. for _,k in pairs(t.Keys) do
  68. if k==io.KeyCode then
  69. t.Function(t.Name,io.UserInputState,io)
  70. end
  71. end
  72. end
  73. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  74. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  75. end
  76. end)
  77. Event.Parent = NLS([==[
  78. local Player = game:GetService("Players").LocalPlayer
  79. local Event = script:WaitForChild("UserInput_Event")
  80.  
  81. local UIS = game:GetService("UserInputService")
  82. local input = function(io,a)
  83. if a then return end
  84. --Since InputObject is a client-side instance, we create and pass table instead
  85. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  86. end
  87. UIS.InputBegan:Connect(input)
  88. UIS.InputEnded:Connect(input)
  89.  
  90. local Mouse = Player:GetMouse()
  91. local h,t
  92. --Give the server mouse data 30 times every second, but only if the values changed
  93. --If player is not moving their mouse, client won't fire events
  94. while wait(1/30) do
  95. if h~=Mouse.Hit or t~=Mouse.Target then
  96. h,t=Mouse.Hit,Mouse.Target
  97. Event:FireServer({isMouse=true,Target=t,Hit=h})
  98. end
  99. end]==],Player.Character)
  100. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  101. end
  102.  
  103. local plrs = game:GetService("Players")
  104. local plr = owner
  105. local char = plr.Character
  106. local tweenserv = game:GetService("TweenService")
  107. local lighting = game:GetService("Lighting")
  108. local hum = char:FindFirstChildOfClass("Humanoid")
  109. local tor = char:FindFirstChild("Torso") or char:FindFirstChild("UpperTorso")
  110. local root = char:FindFirstChild("HumanoidRootPart")
  111. local head = char:FindFirstChild("Head")
  112. local face = head:FindFirstChildOfClass("Decal")
  113. local larm = char:FindFirstChild("Left Arm") or char:FindFirstChild("LeftUpperArm")
  114. local rarm = char:FindFirstChild("Right Arm") or char:FindFirstChild("RightUpperArm")
  115. local rleg = char:FindFirstChild("Right Leg") or char:FindFirstChild("RightUpperLeg")
  116. local lleg = char:FindFirstChild("Left Leg") or char:FindFirstChild("LeftUpperLeg")
  117. local neck = tor:FindFirstChild("Neck")
  118. local rootj = root:FindFirstChild("RootJoint")
  119. local LS = tor:FindFirstChild("Left Shoulder")
  120. local RS = tor:FindFirstChild("Right Shoulder")
  121. local LH = tor:FindFirstChild("Left Hip")
  122. local RH = tor:FindFirstChild("Right Hip")
  123. local bp = plr:FindFirstChild("Backpack")
  124. local cam = workspace.CurrentCamera
  125.  
  126. hum:ClearAllChildren()
  127. char.Animate:remove()
  128.  
  129.  
  130. --Converted with ttyyuu12345's model to script plugin v4
  131. function sandbox(var,func)
  132. local env = getfenv(func)
  133. local newenv = setmetatable({},{
  134. __index = function(self,k)
  135. if k=="script" then
  136. return var
  137. else
  138. return env[k]
  139. end
  140. end,
  141. })
  142. setfenv(func,newenv)
  143. return func
  144. end
  145. cors = {}
  146. mas = Instance.new("Model",game:GetService("Lighting"))
  147. Model0 = Instance.new("Model")
  148. Part1 = Instance.new("Part")
  149. ManualWeld2 = Instance.new("ManualWeld")
  150. Part3 = Instance.new("Part")
  151. Part4 = Instance.new("Part")
  152. ManualWeld5 = Instance.new("ManualWeld")
  153. Part6 = Instance.new("Part")
  154. ManualWeld7 = Instance.new("ManualWeld")
  155. Part8 = Instance.new("Part")
  156. ParticleEmitter9 = Instance.new("ParticleEmitter")
  157. ManualWeld10 = Instance.new("ManualWeld")
  158. Part11 = Instance.new("Part")
  159. ManualWeld12 = Instance.new("ManualWeld")
  160. Part19 = Instance.new("Part")
  161. ManualWeld20 = Instance.new("ManualWeld")
  162. Part21 = Instance.new("Part")
  163. ManualWeld22 = Instance.new("ManualWeld")
  164. Model0.Name = "saber"
  165. Model0.Parent = mas
  166. Part1.Name = "hand"
  167. Part1.Parent = Model0
  168. Part1.Material = Enum.Material.SmoothPlastic
  169. Part1.BrickColor = BrickColor.new("Really black")
  170. Part1.Rotation = Vector3.new(0, -90, 0)
  171. Part1.CanCollide = false
  172. Part1.Shape = Enum.PartType.Cylinder
  173. Part1.Size = Vector3.new(1.29999995, 0.299999952, 0.299999952)
  174. Part1.CFrame = CFrame.new(-1741.76343, 117.599991, -204.231796, 1.19248806e-08, 0, -1, 0, 1, 0, 1, 0, 1.19248806e-08)
  175. Part1.BottomSurface = Enum.SurfaceType.Smooth
  176. Part1.TopSurface = Enum.SurfaceType.Smooth
  177. Part1.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  178. Part1.Position = Vector3.new(-1741.76343, 117.599991, -204.231796)
  179. Part1.Orientation = Vector3.new(0, -90, 0)
  180. Part1.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  181. ManualWeld2.Name = "Weld"
  182. ManualWeld2.Parent = Part1
  183. ManualWeld2.C0 = CFrame.new(0, 0, 0, 1.19248806e-08, 0, 1, 0, 1, 0, -1, 0, 1.19248806e-08)
  184. ManualWeld2.C1 = CFrame.new(0.0347900391, 0, 0.0680541992, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  185. ManualWeld2.Part0 = Part1
  186. ManualWeld2.Part1 = Part3
  187. Part3.Name = "main"
  188. Part3.Parent = Model0
  189. Part3.Transparency = 1
  190. Part3.CanCollide = false
  191. Part3.Size = Vector3.new(1, 1, 1)
  192. Part3.CFrame = CFrame.new(-1741.79822, 117.599991, -204.29985, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  193. Part3.BottomSurface = Enum.SurfaceType.Smooth
  194. Part3.TopSurface = Enum.SurfaceType.Smooth
  195. Part3.Position = Vector3.new(-1741.79822, 117.599991, -204.29985)
  196. Part4.Name = "cap2"
  197. Part4.Parent = Model0
  198. Part4.Material = Enum.Material.SmoothPlastic
  199. Part4.BrickColor = BrickColor.new("Really black")
  200. Part4.Rotation = Vector3.new(0, -90, 0)
  201. Part4.CanCollide = false
  202. Part4.Shape = Enum.PartType.Cylinder
  203. Part4.Size = Vector3.new(0.0999999046, 0.349999994, 0.349999994)
  204. Part4.CFrame = CFrame.new(-1741.76343, 117.599991, -203.531723, 1.19248806e-08, 0, -1, 0, 1, 0, 1, 0, 1.19248806e-08)
  205. Part4.BottomSurface = Enum.SurfaceType.Smooth
  206. Part4.TopSurface = Enum.SurfaceType.Smooth
  207. Part4.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  208. Part4.Position = Vector3.new(-1741.76343, 117.599991, -203.531723)
  209. Part4.Orientation = Vector3.new(0, -90, 0)
  210. Part4.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  211. ManualWeld5.Name = "Weld"
  212. ManualWeld5.Parent = Part4
  213. ManualWeld5.C0 = CFrame.new(0, 0, 0, 1.19248806e-08, 0, 1, 0, 1, 0, -1, 0, 1.19248806e-08)
  214. ManualWeld5.C1 = CFrame.new(0.0347900391, 0, 0.768127441, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  215. ManualWeld5.Part0 = Part4
  216. ManualWeld5.Part1 = Part3
  217. Part6.Name = "bot1"
  218. Part6.Parent = Model0
  219. Part6.Material = Enum.Material.SmoothPlastic
  220. Part6.BrickColor = BrickColor.new("Really black")
  221. Part6.Rotation = Vector3.new(0, -90, 0)
  222. Part6.CanCollide = false
  223. Part6.Shape = Enum.PartType.Cylinder
  224. Part6.Size = Vector3.new(0.0999999046, 0.349999994, 0.349999994)
  225. Part6.CFrame = CFrame.new(-1741.76343, 117.599991, -204.931747, 1.19248806e-08, 0, -1, 0, 1, 0, 1, 0, 1.19248806e-08)
  226. Part6.BottomSurface = Enum.SurfaceType.Smooth
  227. Part6.TopSurface = Enum.SurfaceType.Smooth
  228. Part6.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  229. Part6.Position = Vector3.new(-1741.76343, 117.599991, -204.931747)
  230. Part6.Orientation = Vector3.new(0, -90, 0)
  231. Part6.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  232. ManualWeld7.Name = "Weld"
  233. ManualWeld7.Parent = Part6
  234. ManualWeld7.C0 = CFrame.new(0, 0, 0, 1.19248806e-08, 0, 1, 0, 1, 0, -1, 0, 1.19248806e-08)
  235. ManualWeld7.C1 = CFrame.new(0.0347900391, 0, -0.631896973, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  236. ManualWeld7.Part0 = Part6
  237. ManualWeld7.Part1 = Part3
  238. Part8.Name = "cap"
  239. Part8.Parent = Model0
  240. Part8.Material = Enum.Material.SmoothPlastic
  241. Part8.BrickColor = BrickColor.new("Gold")
  242. Part8.Rotation = Vector3.new(0, -90, 0)
  243. Part8.CanCollide = false
  244. Part8.Shape = Enum.PartType.Cylinder
  245. Part8.Size = Vector3.new(0.0999999046, 0.300000012, 0.300000012)
  246. Part8.CFrame = CFrame.new(-1741.76343, 117.599991, -203.431747, 1.19248806e-08, 0, -1, 0, 1, 0, 1, 0, 1.19248806e-08)
  247. Part8.BottomSurface = Enum.SurfaceType.Smooth
  248. Part8.TopSurface = Enum.SurfaceType.Smooth
  249. Part8.Color = Color3.new(0.937255, 0.721569, 0.219608)
  250. Part8.Position = Vector3.new(-1741.76343, 117.599991, -203.431747)
  251. Part8.Orientation = Vector3.new(0, -90, 0)
  252. Part8.Color = Color3.new(0.937255, 0.721569, 0.219608)
  253. ParticleEmitter9.Parent = Part8
  254. ParticleEmitter9.LockedToPart = true
  255. ParticleEmitter9.Transparency = NumberSequence.new(0,0.1)
  256. ParticleEmitter9.Size = NumberSequence.new(0.5,0.5)
  257. ParticleEmitter9.Color = ColorSequence.new(Color3.new(0.333333, 0, 0),Color3.new(0.666667, 0, 0))
  258. ParticleEmitter9.EmissionDirection = "Right"
  259. ParticleEmitter9.LightEmission = 0.44999998807907
  260. ParticleEmitter9.Texture = "rbxassetid://147313514"
  261. ParticleEmitter9.Lifetime = NumberRange.new(0.5, 0.5)
  262. ParticleEmitter9.Rate = 200
  263. ParticleEmitter9.RotSpeed = NumberRange.new(360, 360)
  264. ParticleEmitter9.Speed = NumberRange.new(10, 10)
  265. ParticleEmitter9.VelocitySpread = 2
  266. ParticleEmitter9.Color = ColorSequence.new(Color3.new(0.333333, 0, 0),Color3.new(0.666667, 0, 0))
  267. ManualWeld10.Name = "Weld"
  268. ManualWeld10.Parent = Part8
  269. ManualWeld10.C0 = CFrame.new(0, 0, 0, 1.19248806e-08, 0, 1, 0, 1, 0, -1, 0, 1.19248806e-08)
  270. ManualWeld10.C1 = CFrame.new(0.0347900391, 0, 0.868103027, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  271. ManualWeld10.Part0 = Part8
  272. ManualWeld10.Part1 = Part3
  273. Part11.Name = "bot2"
  274. Part11.Parent = Model0
  275. Part11.Material = Enum.Material.SmoothPlastic
  276. Part11.BrickColor = BrickColor.new("Really black")
  277. Part11.Rotation = Vector3.new(0, -90, 0)
  278. Part11.CanCollide = false
  279. Part11.Shape = Enum.PartType.Cylinder
  280. Part11.Size = Vector3.new(0.0999999046, 0.300000012, 0.300000012)
  281. Part11.CFrame = CFrame.new(-1741.76343, 117.599991, -205.031723, 1.19248806e-08, 0, -1, 0, 1, 0, 1, 0, 1.19248806e-08)
  282. Part11.BottomSurface = Enum.SurfaceType.Smooth
  283. Part11.TopSurface = Enum.SurfaceType.Smooth
  284. Part11.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  285. Part11.Position = Vector3.new(-1741.76343, 117.599991, -205.031723)
  286. Part11.Orientation = Vector3.new(0, -90, 0)
  287. Part11.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  288. ManualWeld12.Name = "Weld"
  289. ManualWeld12.Parent = Part11
  290. ManualWeld12.C0 = CFrame.new(0, 0, 0, 1.19248806e-08, 0, 1, 0, 1, 0, -1, 0, 1.19248806e-08)
  291. ManualWeld12.C1 = CFrame.new(0.0347900391, 0, -0.731872559, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  292. ManualWeld12.Part0 = Part11
  293. ManualWeld12.Part1 = Part3
  294. Part19.Name = "outblade"
  295. Part19.Parent = Model0
  296. Part19.Material = Enum.Material.Neon
  297. Part19.BrickColor = BrickColor.new("Maroon")
  298. Part19.Rotation = Vector3.new(0, -90, 0)
  299. Part19.CanCollide = false
  300. Part19.Shape = Enum.PartType.Cylinder
  301. Part19.Size = Vector3.new(4.39999962, 0.2500000012, 0.2500000012)
  302. Part19.CFrame = CFrame.new(-1741.76343, 117.599991, -201.181747, 1.19248806e-08, 0, -1, 0, 1, 0, 1, 0, 1.19248806e-08)
  303. Part19.BottomSurface = Enum.SurfaceType.Smooth
  304. Part19.TopSurface = Enum.SurfaceType.Smooth
  305. Part19.Color = Color3.new(0.458824, 0, 0)
  306. Part19.Position = Vector3.new(-1741.76343, 117.599991, -201.181747)
  307. Part19.Orientation = Vector3.new(0, -90, 0)
  308. Part19.Color = Color3.new(0.458824, 0, 0)
  309. ManualWeld20.Name = "Weld"
  310. ManualWeld20.Parent = Part19
  311. ManualWeld20.C0 = CFrame.new(0, 0, 0, 1.19248806e-08, 0, 1, 0, 1, 0, -1, 0, 1.19248806e-08)
  312. ManualWeld20.C1 = CFrame.new(0.0347900391, 0, 3.11810303, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  313. ManualWeld20.Part0 = Part19
  314. ManualWeld20.Part1 = Part3
  315. Part21.Name = "outball"
  316. Part21.Parent = Model0
  317. Part21.Material = Enum.Material.Neon
  318. Part21.BrickColor = BrickColor.new("Maroon")
  319. Part21.Rotation = Vector3.new(0, -90, 0)
  320. Part21.CanCollide = false
  321. Part21.Shape = Enum.PartType.Ball
  322. Part21.Size = Vector3.new(0.25, 0.25, 0.25)
  323. Part21.CFrame = CFrame.new(-1741.76343, 117.599991, -198.981674, 1.19248806e-08, 0, -1, 0, 1, 0, 1, 0, 1.19248806e-08)
  324. Part21.BottomSurface = Enum.SurfaceType.Smooth
  325. Part21.TopSurface = Enum.SurfaceType.Smooth
  326. Part21.Color = Color3.new(0.458824, 0, 0)
  327. Part21.Position = Vector3.new(-1741.76343, 117.599991, -198.981674)
  328. Part21.Orientation = Vector3.new(0, -90, 0)
  329. Part21.Color = Color3.new(0.458824, 0, 0)
  330. ManualWeld22.Name = "Weld"
  331. ManualWeld22.Parent = Part21
  332. ManualWeld22.C0 = CFrame.new(0, 0, 0, 1.19248806e-08, 0, 1, 0, 1, 0, -1, 0, 1.19248806e-08)
  333. ManualWeld22.C1 = CFrame.new(0.0347900391, 0, 5.31817627, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  334. ManualWeld22.Part0 = Part21
  335. ManualWeld22.Part1 = Part3
  336. for i,v in pairs(mas:GetChildren()) do
  337. v.Parent = char
  338. saber = v
  339. outblade = Part19
  340. outball = Part21
  341. particle = ParticleEmitter9
  342. main = Part3
  343. cap = Part8
  344. pcall(function() v:MakeJoints() end)
  345. end
  346. mas:Destroy()
  347. for i,v in pairs(cors) do
  348. spawn(function()
  349. pcall(v)
  350. end)
  351. end
  352.  
  353. local ws = hum.WalkSpeed
  354. local jp = hum.JumpPower
  355. local nws = ws
  356. local njp = jp
  357.  
  358. local rootj0 = rootj.C0
  359. local neck0 = neck.C0
  360. local LS0 = LS.C0
  361. local RS0 = RS.C0
  362. local LH0 = LH.C0
  363. local RH0 = RH.C0
  364. local rootj1 = rootj.C1
  365. local neck1 = neck.C1
  366. local LS1 = LS.C1
  367. local RS1 = RS.C1
  368. local LH1 = LH.C1
  369. local RH1 = RH.C1
  370.  
  371. local pshew = Instance.new("Sound", cap)
  372. pshew.SoundId = "rbxassetid://605604103"
  373. pshew.Volume = 2
  374. pshew.Name = "PSHEW"
  375.  
  376. local sheww = Instance.new("Sound", cap)
  377. sheww.SoundId = "rbxassetid://605607641"
  378. sheww.Volume = 2
  379. sheww.Name = "SHEWW"
  380.  
  381. local wanwan = Instance.new("Sound", outblade)
  382. wanwan.SoundId = "rbxassetid://1460966017"
  383. wanwan.Volume = 1
  384. wanwan.Name = "WANWAN"
  385. wanwan.Looped = true
  386.  
  387. local chwan = Instance.new("Sound", outblade)
  388. chwan.SoundId = "rbxassetid://1647165403"
  389. chwan.Volume = 1
  390. chwan.Name = "CHWAN"
  391.  
  392. local pssps = Instance.new("Sound", outblade)
  393. pssps.SoundId = "rbxassetid://1335649595"
  394. pssps.Volume = 1
  395. pssps.Name = "PSSPS"
  396.  
  397. local vomb = Instance.new("Sound", outblade)
  398. vomb.SoundId = "rbxassetid://2088308141"
  399. vomb.Volume = 2
  400. vomb.Name = "VOMB"
  401.  
  402. local ooowa = Instance.new("Sound", larm)
  403. ooowa.SoundId = "rbxassetid://1386781853"
  404. ooowa.Volume = 2.5
  405. ooowa.Name = "OOOWA"
  406.  
  407. local koohaa = Instance.new("Sound", head)
  408. koohaa.SoundId = "rbxassetid://149840174"
  409. koohaa.Volume = 2
  410. koohaa.Name = "KOOOHAAA"
  411. koohaa.Looped = true
  412. koohaa:Play()
  413. local thepos = koohaa.TimePosition
  414.  
  415. -----------------------------------------------------------------------------
  416.  
  417. local CFn = CFrame.new
  418. local CFa = CFrame.Angles
  419. local Rad = math.rad
  420. local Cos = math.cos
  421. local Sin = math.sin
  422. local sine = 1
  423. local attacking = false
  424. local equipped = false
  425. local Changing = false
  426. local Swinging = false
  427. local kill = false
  428. local attackstate = 1
  429. local Choking = false
  430. local buttonC = false
  431.  
  432. -----------------------------------------------------------------------------
  433.  
  434. for i,v in pairs(char:GetChildren()) do
  435. if v:IsA("Shirt") then
  436. v:Destroy()
  437. end
  438. if v:IsA("Pants") then
  439. v:Destroy()
  440. end
  441. if v:IsA("Accessory") then
  442. v:Destroy()
  443. end
  444. end
  445.  
  446. local ff = Instance.new("ForceField", char)
  447. ff.Visible = false
  448. hum.MaxHealth = math.huge
  449. hum.Health = math.huge
  450.  
  451. local shirt = Instance.new("Shirt", char)
  452. shirt.ShirtTemplate = "rbxassetid://1692712023"
  453. local pants = Instance.new("Pants", char)
  454. pants.PantsTemplate = "rbxassetid://1460022985"
  455.  
  456. head.Transparency = 1
  457.  
  458. local hair = Instance.new("Part", char)
  459. hair.Size = Vector3.new(1, 1, 1)
  460. hair.CanCollide = false
  461. local hairm = Instance.new("SpecialMesh", hair)
  462. hairm.MeshId = "rbxassetid://16952952"
  463. hairm.TextureId = "rbxassetid://17388648"
  464.  
  465. local hairw = Instance.new("Weld", hair)
  466. hairw.Part0 = head
  467. hairw.Part1 = hair
  468. hairw.C1 = CFn(0, -0.1, 0)
  469.  
  470. local AT0 = Instance.new("Attachment", outblade)
  471. AT0.Position = Vector3.new(-2.2, 0, 0)
  472.  
  473. local AT1 = Instance.new("Attachment", outblade)
  474. AT1.Position = Vector3.new(2.4, 0, 0)
  475.  
  476. local trail = Instance.new("Trail", outblade)
  477. trail.Attachment0 = AT0
  478. trail.Attachment1 = AT1
  479. trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0, 0), NumberSequenceKeypoint.new(1, 0.9, 0)})
  480. trail.LightEmission = 0.7
  481. trail.Lifetime = 0.5
  482. trail.MaxLength = 2
  483. trail.MinLength = 0.05
  484. trail.WidthScale = NumberSequence.new({NumberSequenceKeypoint.new(0, 1, 0), NumberSequenceKeypoint.new(1, 0.2, 0)})
  485. trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(85, 0, 0), 0), ColorSequenceKeypoint.new(1, Color3.fromRGB(170, 0, 0), 0)})
  486.  
  487. local mainw = Instance.new("Weld", main)
  488. mainw.Part0 = tor
  489. mainw.Part1 = main
  490. mainw.C1 = CFn(1, 1, 0)
  491.  
  492. local bld = Instance.new("Part", saber)
  493. bld.Size = Vector3.new(4.7, 1, 1)
  494. bld.CanCollide = false
  495. bld.Transparency = 1
  496.  
  497. local bldw = Instance.new("Weld", bld)
  498. bldw.Part0 = outblade
  499. bldw.Part1 = bld
  500.  
  501. local cape = Instance.new("Part", char)
  502. cape.Size = Vector3.new(2, 3.6, 1)
  503. cape.Material = "SmoothPlastic"
  504. cape.BrickColor = BrickColor.new("Really black")
  505. local capem = Instance.new("SpecialMesh", cape)
  506. capem.MeshType = "FileMesh"
  507. capem.MeshId = "rbxassetid://114046169"
  508. capem.Scale = Vector3.new(1.2, 1.8, 1.1)
  509.  
  510. local capew = Instance.new("Weld", cape)
  511. capew.Part0 = tor
  512. capew.Part1 = cape
  513. capew.C1 = CFn(0, 0.7, -0.35)
  514.  
  515. outblade.Transparency = 1
  516. outball.Transparency = 1
  517. trail.Enabled = false
  518. particle.Transparency = NumberSequence.new(0, 1)
  519. particle.LockedToPart = false
  520. particle.Enabled = false
  521.  
  522. -----------------------------------------------------------------------------
  523.  
  524. ArtificialHB = Instance.new("BindableEvent", script)
  525. ArtificialHB.Name = "Heartbeat"
  526. script:WaitForChild("Heartbeat")
  527.  
  528. frame = 1 / 60
  529. tf = 0
  530. allowframeloss = false
  531. tossremainder = false
  532.  
  533.  
  534. lastframe = tick()
  535. script.Heartbeat:Fire()
  536.  
  537.  
  538. game:GetService("RunService").Heartbeat:connect(function(s, p)
  539. tf = tf + s
  540. if tf >= frame then
  541. if allowframeloss then
  542. script.Heartbeat:Fire()
  543. lastframe = tick()
  544. else
  545. for i = 1, math.floor(tf / frame) do
  546. script.Heartbeat:Fire()
  547. end
  548. lastframe = tick()
  549. end
  550. if tossremainder then
  551. tf = 0
  552. else
  553. tf = tf - frame * math.floor(tf / frame)
  554. end
  555. end
  556. end)
  557.  
  558. function swait(num)
  559. if num == 0 or num == nil then
  560. game:service("RunService").Stepped:wait(0)
  561. else
  562. for i = 0, num do
  563. game:service("RunService").Stepped:wait(0)
  564. end
  565. end
  566. end
  567.  
  568. function clerp(a, b, t)
  569. return a:lerp(b, t)
  570. end
  571.  
  572. function Sound(id, vol, par, name, looped)
  573. if not par:FindFirstChild(name) then
  574. local sound = Instance.new("Sound", par)
  575. sound.SoundId = id
  576. sound.Volume = vol
  577. if looped == true then
  578. sound.Looped = true
  579. end
  580. sound.Name = name
  581. sound:Play()
  582. return sound
  583. else
  584. local sound = par:FindFirstChild(name)
  585. sound:Play()
  586. return sound
  587. end
  588. end
  589.  
  590. function StopSound(id, vol, par, name, looped)
  591. if not par:FindFirstChild(name) then
  592. local sound = Instance.new("Sound", par)
  593. sound.SoundId = id
  594. sound.Volume = vol
  595. if looped == true then
  596. sound.Looped = true
  597. end
  598. sound.Name = name
  599. sound:Stop()
  600. return sound
  601. else
  602. local sound = par:FindFirstChild(name)
  603. sound:Stop()
  604. return sound
  605. end
  606. end
  607.  
  608. function Force(part, pos, part2, pos2, par2)
  609. local parp = Instance.new("Part", char)
  610. parp.Size = Vector3.new(1, 1, 1)
  611. parp.Transparency = 1
  612. parp.CanCollide = false
  613. local parpw = Instance.new("Weld", parp)
  614. parpw.Part0 = part
  615. parpw.Part1 = parp
  616. parpw.C1 = pos
  617. local pare = Instance.new("ParticleEmitter", parp)
  618. pare.LockedToPart = true
  619. pare.Transparency = NumberSequence.new(0.4, 1)
  620. pare.Size = NumberSequence.new(1.25, 0)
  621. pare.Lifetime = NumberRange.new(1)
  622. pare.Rotation = NumberRange.new(0, 360)
  623. pare.Rate = 200
  624. pare.RotSpeed = NumberRange.new(360, 360)
  625. pare.Speed = NumberRange.new(4)
  626. pare.Color = ColorSequence.new(Color3.fromRGB(170, 0, 0),Color3.fromRGB(255, 255, 255))
  627. pare.SpreadAngle = Vector2.new(360, 360)
  628. pare.Texture = "rbxassetid://1539341292"
  629. local parp2 = parp:Clone()
  630. parp2.Parent = par2
  631. local parp2w = parp2:FindFirstChild("Weld")
  632. parp2w.Part0 = part2
  633. parp2w.Part1 = parp2
  634. parp2w.C1 = pos2
  635. return parp, parp2
  636. end
  637.  
  638. function equipunequip()
  639. if attacking == false and equipped == false and Changing == false then
  640. attacking = true
  641. Changing = true
  642. hum.WalkSpeed = 0
  643. hum.JumpPower = 0
  644. for i = 0,1,.1 do
  645. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-20), 0, Rad(-60)), i)
  646. rootj.C1 = clerp(rootj.C1, rootj1, i)
  647. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(10), 0, 0), i)
  648. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(30), Rad(-30), Rad(-3)), i)
  649. LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), 0, 0), i)
  650. RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), 0, 0), i)
  651. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(5), 0, 0), i)
  652. rootj.C0 = clerp(rootj.C0, rootj0, i)
  653. LS.C0 = clerp(LS.C0, LS0, i)
  654. RS.C0 = clerp(RS.C0, RS0 * CFn(0, 0, -0.5) * CFa(0, Rad(90), 0), i)
  655. LH.C0 = clerp(LH.C0, LH0, i)
  656. RH.C0 = clerp(RH.C0, RH0, i)
  657. swait()
  658. end
  659. StopSound("rbxassetid://605607641", 2, cap, "SHEWW", false)
  660. Sound("rbxassetid://605604103", 2, cap, "PSHEW", false)
  661. Sound("rbxassetid://1460966017", 1, cap, "WANWAN", true)
  662. equipped = true
  663. mainw.Part0 = rarm
  664. mainw.C1 = CFn(0, 1, 0) * CFa(0, Rad(180), 0)
  665. outblade.Transparency = 0
  666. outball.Transparency = 0
  667. trail.Enabled = true
  668. particle.Transparency = NumberSequence.new(0, 0.1)
  669. particle.LockedToPart = true
  670. particle.Enabled = true
  671. for i = 0,1,.1 do
  672. neck.C1 = clerp(neck.C1, neck1, i)
  673. rootj.C1 = clerp(rootj.C1, rootj1, i)
  674. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(10), 0, 0), i)
  675. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(50), 0, 0), i)
  676. LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), 0, 0), i)
  677. RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), 0, 0), i)
  678. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(5), 0, 0), i)
  679. rootj.C0 = clerp(rootj.C0, rootj0, i)
  680. LS.C0 = clerp(LS.C0, LS0, i)
  681. RS.C0 = clerp(RS.C0, RS0, i)
  682. LH.C0 = clerp(LH.C0, LH0, i)
  683. RH.C0 = clerp(RH.C0, RH0, i)
  684. swait()
  685. end
  686. hum.WalkSpeed = nws
  687. hum.JumpPower = njp
  688. Changing = false
  689. attacking = false
  690. elseif attacking == false and equipped == true and Changing == false then
  691. attacking = true
  692. Changing = true
  693. hum.WalkSpeed = 0
  694. hum.JumpPower = 0
  695. StopSound("rbxassetid://605604103", 2, cap, "PSHEW", false)
  696. Sound("rbxassetid://605607641", 2, cap, "SHEWW", false)
  697. StopSound("rbxassetid://1460966017", 1, cap, "WANWAN", true)
  698. outblade.Transparency = 1
  699. outball.Transparency = 1
  700. trail.Enabled = false
  701. particle.Transparency = NumberSequence.new(0, 1)
  702. particle.LockedToPart = false
  703. particle.Enabled = false
  704. for i = 0,1,.1 do
  705. neck.C1 = clerp(neck.C1, neck1, i)
  706. rootj.C1 = clerp(rootj.C1, rootj1, i)
  707. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(10), 0, 0), i)
  708. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(50), 0, 0), i)
  709. LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), 0, 0), i)
  710. RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), 0, 0), i)
  711. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(5), 0, 0), i)
  712. rootj.C0 = clerp(rootj.C0, rootj0, i)
  713. LS.C0 = clerp(LS.C0, LS0, i)
  714. RS.C0 = clerp(RS.C0, RS0, i)
  715. LH.C0 = clerp(LH.C0, LH0, i)
  716. RH.C0 = clerp(RH.C0, RH0, i)
  717. swait()
  718. end
  719. for i = 0,1,.1 do
  720. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-20), 0, Rad(-60)), i)
  721. rootj.C1 = clerp(rootj.C1, rootj1, i)
  722. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(10), 0, 0), i)
  723. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(30), Rad(-30), Rad(-3)), i)
  724. LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), 0, 0), i)
  725. RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), 0, 0), i)
  726. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(5), 0, 0), i)
  727. rootj.C0 = clerp(rootj.C0, rootj0, i)
  728. LS.C0 = clerp(LS.C0, LS0, i)
  729. RS.C0 = clerp(RS.C0, RS0 * CFn(0, 0, -0.5) * CFa(0, Rad(90), 0), i)
  730. LH.C0 = clerp(LH.C0, LH0, i)
  731. RH.C0 = clerp(RH.C0, RH0, i)
  732. swait()
  733. end
  734. mainw.Part0 = tor
  735. mainw.C1 = CFn(1, 1, 0)
  736. equipped = false
  737. hum.WalkSpeed = nws
  738. hum.JumpPower = njp
  739. Changing = false
  740. attacking = false
  741. end
  742. end
  743.  
  744. function Swing()
  745. if attacking == false and equipped == true and Swinging == false then
  746. attacking = true
  747. Swinging = true
  748. kill = true
  749. hum.WalkSpeed = 3
  750. hum.JumpPower = 5
  751. local hey = bld.Touched:connect(function(hit)
  752. if kill == true and hit.Parent:FindFirstChildOfClass("Humanoid") and not hit:IsDescendantOf(char) then
  753. kill = false
  754. local killman = hit.Parent
  755. local killhum = killman:FindFirstChildOfClass("Humanoid")
  756. local up = true
  757. for i = 1,2 do
  758. local cutpart = Instance.new("Part", killman)
  759. cutpart.Size = Vector3.new(hit.Size.X, hit.Size.Y / 2, hit.Size.Z)
  760. cutpart.BrickColor = hit.BrickColor
  761. cutpart.Material = hit.Material
  762. cutpart.Transparency = hit.Transparency
  763. cutpart.Reflectance = hit.Reflectance
  764. cutpart.BackSurface = hit.BackSurface
  765. cutpart.BottomSurface = hit.BottomSurface
  766. cutpart.FrontSurface = hit.FrontSurface
  767. cutpart.LeftSurface = hit.LeftSurface
  768. cutpart.RightSurface = hit.RightSurface
  769. cutpart.TopSurface = hit.TopSurface
  770. if up == true then
  771. cutpart.CFrame = hit.CFrame * CFn(0, hit.Size.Y / 2, 0)
  772. up = false
  773. else
  774. cutpart.CFrame = hit.CFrame * CFn(0, -(hit.Size.Y / 2), 0)
  775. up = true
  776. end
  777. end
  778. hit:Destroy()
  779. killman:BreakJoints()
  780. if attackstate == 1 then
  781. Sound("rbxassetid://1647165403", 1, outblade, "CHWAN", false)
  782. elseif attackstate == 2 then
  783. Sound("rbxassetid://1335649595", 1, outblade, "PSSPS", false)
  784. end
  785. elseif kill == true and hit.Parent.Parent:FindFirstChildOfClass("Humanoid") and not hit:IsDescendantOf(char) then
  786. kill = false
  787. local killman = hit.Parent.Parent
  788. local killhum = killman:FindFirstChildOfClass("Humanoid")
  789. local up = true
  790. for i = 1,2 do
  791. local cutpart = Instance.new("Part", killman)
  792. cutpart.Size = Vector3.new(hit.Size.X, hit.Size.Y / 2, hit.Size.Z)
  793. cutpart.BrickColor = hit.BrickColor
  794. cutpart.Material = hit.Material
  795. cutpart.Transparency = hit.Transparency
  796. cutpart.Reflectance = hit.Reflectance
  797. cutpart.BackSurface = hit.BackSurface
  798. cutpart.BottomSurface = hit.BottomSurface
  799. cutpart.FrontSurface = hit.FrontSurface
  800. cutpart.LeftSurface = hit.LeftSurface
  801. cutpart.RightSurface = hit.RightSurface
  802. cutpart.TopSurface = hit.TopSurface
  803. if up == true then
  804. cutpart.CFrame = hit.CFrame * CFn(0, hit.Size.Y / 2, 0)
  805. up = false
  806. else
  807. cutpart.CFrame = hit.CFrame * CFn(0, -(hit.Size.Y / 2), 0)
  808. up = true
  809. end
  810. end
  811. hit:Destroy()
  812. killman:BreakJoints()
  813. if attackstate == 1 then
  814. Sound("rbxassetid://1647165403", 1, outblade, "CHWAN", false)
  815. elseif attackstate == 2 then
  816. Sound("rbxassetid://1335649595", 1, outblade, "PSSPS", false)
  817. end
  818. end
  819. end)
  820. if attackstate == 1 then
  821. attackstate = 2
  822. for i = 0,1,.15 do
  823. neck.C1 = clerp(neck.C1, neck1 * CFa(0, 0, Rad(-10)), i)
  824. rootj.C1 = clerp(rootj.C1, rootj1, i)
  825. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(10), 0, 0), i)
  826. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(30), Rad(-80), Rad(-40)), i)
  827. LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), 0, 0), i)
  828. RH.C1 = clerp(RH.C1, RH1 * CFn(0.3, 0, 0) * CFa(Rad(5), 0, 0), i)
  829. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(5), 0, 0), i)
  830. rootj.C0 = clerp(rootj.C0, rootj0, i)
  831. LS.C0 = clerp(LS.C0, LS0, i)
  832. RS.C0 = clerp(RS.C0, RS0 * CFa(0, Rad(30), 0), i)
  833. LH.C0 = clerp(LH.C0, LH0, i)
  834. RH.C0 = clerp(RH.C0, RH0, i)
  835. swait()
  836. end
  837. Sound("rbxassetid://2088308141", 2, outblade, "VOMB", false)
  838. for i = 0,1,.15 do
  839. neck.C1 = clerp(neck.C1, neck1 * CFa(0, 0, Rad(10)), i)
  840. rootj.C1 = clerp(rootj.C1, rootj1, i)
  841. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(10), 0, 0), i)
  842. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(30), Rad(-80), Rad(-50)), i)
  843. LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), 0, 0), i)
  844. RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), 0, 0), i)
  845. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(5), 0, 0), i)
  846. rootj.C0 = clerp(rootj.C0, rootj0, i)
  847. LS.C0 = clerp(LS.C0, LS0, i)
  848. RS.C0 = clerp(RS.C0, RS0 * CFa(0, Rad(-75), 0), i)
  849. LH.C0 = clerp(LH.C0, LH0, i)
  850. RH.C0 = clerp(RH.C0, RH0, i)
  851. swait()
  852. end
  853. elseif attackstate == 2 then
  854. attackstate = 1
  855. for i = 0,1,.15 do
  856. neck.C1 = clerp(neck.C1, neck1 * CFa(0, 0, Rad(10)), i)
  857. rootj.C1 = clerp(rootj.C1, rootj1, i)
  858. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(10), 0, 0), i)
  859. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(110), Rad(-20), Rad(-90)), i)
  860. LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), 0, 0), i)
  861. RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), 0, 0), i)
  862. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(5), 0, 0), i)
  863. rootj.C0 = clerp(rootj.C0, rootj0, i)
  864. LS.C0 = clerp(LS.C0, LS0, i)
  865. RS.C0 = clerp(RS.C0, RS0, i)
  866. LH.C0 = clerp(LH.C0, LH0, i)
  867. RH.C0 = clerp(RH.C0, RH0, i)
  868. swait()
  869. end
  870. Sound("rbxassetid://2088308141", 2, outblade, "VOMB", false)
  871. for i = 0,1,.15 do
  872. neck.C1 = clerp(neck.C1, neck1 * CFa(0, 0, Rad(-10)), i)
  873. rootj.C1 = clerp(rootj.C1, rootj1 * CFa(0, 0, Rad(-40)), i)
  874. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(10), 0, 0), i)
  875. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(-80), Rad(70), Rad(-40)), i)
  876. LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), 0, 0), i)
  877. RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), Rad(40), 0), i)
  878. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(5), 0, 0), i)
  879. rootj.C0 = clerp(rootj.C0, rootj0, i)
  880. LS.C0 = clerp(LS.C0, LS0, i)
  881. RS.C0 = clerp(RS.C0, RS0, i)
  882. LH.C0 = clerp(LH.C0, LH0, i)
  883. RH.C0 = clerp(RH.C0, RH0, i)
  884. swait()
  885. end
  886. end
  887. hum.WalkSpeed = nws
  888. hum.JumpPower = njp
  889. kill = false
  890. hey:disconnect()
  891. Swinging = false
  892. attacking = false
  893. end
  894. end
  895.  
  896. function Choke()
  897. if attacking == false and Choking == false then
  898. attacking = true
  899. Choking = true
  900. hum.WalkSpeed = 0
  901. hum.JumpPower = 0
  902. if Mouse.Target ~= nil and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") then
  903. local theguy = Mouse.Target.Parent
  904. local thehum = theguy:FindFirstChildOfClass("Humanoid")
  905. if thehum.Health > 0 then
  906. local thehead = theguy:FindFirstChild("Head")
  907. local thetor = theguy:FindFirstChild("Torso") or theguy:FindFirstChild("UpperTorso")
  908. root.CFrame = CFn(root.CFrame.p, Vector3.new(Mouse.Hit.x, root.CFrame.y, Mouse.Hit.z))
  909. thetor.CFrame = CFn(thetor.CFrame.p, Vector3.new(root.CFrame.x, thetor.CFrame.y, root.CFrame.z))
  910. local thetorframe = thetor.CFrame
  911. local forpar, forpar2 = Force(larm, CFn(0, 1, 0), thehead, CFn(0, 0.5, 0), theguy)
  912. if thetor.Anchored == true then
  913. thetor.Anchored = false
  914. end
  915. local thebv = Instance.new("BodyPosition", thetor)
  916. thebv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  917. thebv.Position = thetorframe.p
  918. Sound("rbxassetid://1386781853", 2.5, larm, "OOOWA", false)
  919. for i = 0,1,.15 do
  920. neck.C1 = clerp(neck.C1, neck1 * CFa(0, 0, Rad(-20)) , i)
  921. rootj.C1 = clerp(rootj.C1, rootj1 * CFa(0, 0, Rad(20)), i)
  922. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(20), 0, Rad(90)), i)
  923. RS.C1 = clerp(RS.C1, RS1 * CFa(0, Rad(20), 0), i)
  924. LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), Rad(-20), 0), i)
  925. RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), 0, 0), i)
  926. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(5), 0, 0), i)
  927. rootj.C0 = clerp(rootj.C0, rootj0, i)
  928. LS.C0 = clerp(LS.C0, LS0, i)
  929. RS.C0 = clerp(RS.C0, RS0, i)
  930. LH.C0 = clerp(LH.C0, LH0, i)
  931. RH.C0 = clerp(RH.C0, RH0, i)
  932. swait()
  933. end
  934. thebv.Position = thetorframe * CFn(0, 10, 0).p
  935. for i = 0,1,.05 do
  936. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(20), 0, Rad(-20)), i)
  937. rootj.C1 = clerp(rootj.C1, rootj1 * CFa(0, 0, Rad(20)), i)
  938. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(20), 0, Rad(140)), i)
  939. RS.C1 = clerp(RS.C1, RS1 * CFa(0, Rad(20), 0), i)
  940. LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), Rad(-20), 0), i)
  941. RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), 0, 0), i)
  942. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(5), 0, 0), i)
  943. rootj.C0 = clerp(rootj.C0, rootj0, i)
  944. LS.C0 = clerp(LS.C0, LS0, i)
  945. RS.C0 = clerp(RS.C0, RS0, i)
  946. LH.C0 = clerp(LH.C0, LH0, i)
  947. RH.C0 = clerp(RH.C0, RH0, i)
  948. swait()
  949. end
  950. for i = 1,math.huge do
  951. if buttonC == true and thehum.Health > 0 then
  952. thehum.Health = thehum.Health - 1.5
  953. swait()
  954. elseif buttonC == false or thehum.Health <= 0 then
  955. break
  956. end
  957. end
  958. if thehum.Health <= 0 then
  959. theguy:BreakJoints()
  960. Sound("rbxassetid://513153251", 4, thetor, "OUCH", false)
  961. end
  962. thebv:Destroy()
  963. forpar:Destroy()
  964. forpar2:Destroy()
  965. end
  966. elseif Mouse.Target ~= nil and Mouse.Target.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  967. local theguy = Mouse.Target.Parent.Parent
  968. local thehum = theguy:FindFirstChildOfClass("Humanoid")
  969. if thehum.Health > 0 then
  970. local thehead = theguy:FindFirstChild("Head")
  971. local thetor = theguy:FindFirstChild("Torso") or theguy:FindFirstChild("UpperTorso")
  972. root.CFrame = CFn(root.CFrame.p, Vector3.new(Mouse.Hit.x, root.CFrame.y, Mouse.Hit.z))
  973. thetor.CFrame = CFn(thetor.CFrame.p, Vector3.new(root.CFrame.x, root.CFrame.y, root.CFrame.z))
  974. local thetorframe = thetor.CFrame
  975. local forpar, forpar2 = Force(larm, CFn(0, 1, 0), thehead, CFn(0, 0.5, 0), theguy)
  976. if thetor.Anchored == true then
  977. thetor.Anchored = false
  978. end
  979. local thebv = Instance.new("BodyPosition", thetor)
  980. thebv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  981. thebv.Position = thetorframe.p
  982. Sound("rbxassetid://1386781853", 2.5, larm, "OOOWA", false)
  983. for i = 0,1,.15 do
  984. neck.C1 = clerp(neck.C1, neck1 * CFa(0, 0, Rad(-20)) , i)
  985. rootj.C1 = clerp(rootj.C1, rootj1 * CFa(0, 0, Rad(20)), i)
  986. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(20), 0, Rad(90)), i)
  987. RS.C1 = clerp(RS.C1, RS1 * CFa(0, Rad(20), 0), i)
  988. LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), Rad(-20), 0), i)
  989. RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), 0, 0), i)
  990. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(5), 0, 0), i)
  991. rootj.C0 = clerp(rootj.C0, rootj0, i)
  992. LS.C0 = clerp(LS.C0, LS0, i)
  993. RS.C0 = clerp(RS.C0, RS0, i)
  994. LH.C0 = clerp(LH.C0, LH0, i)
  995. RH.C0 = clerp(RH.C0, RH0, i)
  996. swait()
  997. end
  998. thebv.Position = thetorframe * CFn(0, 10, 0).p
  999. for i = 0,1,.05 do
  1000. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(20), 0, Rad(-20)), i)
  1001. rootj.C1 = clerp(rootj.C1, rootj1 * CFa(0, 0, Rad(20)), i)
  1002. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(20), 0, Rad(140)), i)
  1003. RS.C1 = clerp(RS.C1, RS1 * CFa(0, Rad(20), 0), i)
  1004. LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), Rad(-20), 0), i)
  1005. RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), 0, 0), i)
  1006. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(5), 0, 0), i)
  1007. rootj.C0 = clerp(rootj.C0, rootj0, i)
  1008. LS.C0 = clerp(LS.C0, LS0, i)
  1009. RS.C0 = clerp(RS.C0, RS0, i)
  1010. LH.C0 = clerp(LH.C0, LH0, i)
  1011. RH.C0 = clerp(RH.C0, RH0, i)
  1012. swait()
  1013. end
  1014. for i = 1,math.huge do
  1015. if buttonC == true and thehum.Health > 0 then
  1016. thehum.Health = thehum.Health - 1.5
  1017. swait()
  1018. elseif buttonC == false or thehum.Health <= 0 then
  1019. break
  1020. end
  1021. end
  1022. if thehum.Health <= 0 then
  1023. theguy:BreakJoints()
  1024. Sound("rbxassetid://513153251", 4, thetor, "OUCH", false)
  1025. end
  1026. thebv:Destroy()
  1027. forpar:Destroy()
  1028. forpar2:Destroy()
  1029. end
  1030. end
  1031. hum.WalkSpeed = nws
  1032. hum.JumpPower = njp
  1033. Choking = false
  1034. attacking = false
  1035. end
  1036. end
  1037.  
  1038.  
  1039. function LightStorm()
  1040. HoldingZ = true
  1041. attack = true
  1042. local sbs = Instance.new("BodyPosition", root)
  1043. sbs.P = 3000
  1044. sbs.D = 1000
  1045. sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  1046. sbs.position = RootPart.CFrame.p + Vector3.new(0, 100, 0)
  1047. wait(0.1)
  1048. root.Anchored = true
  1049. hum.WalkSpeed = 0
  1050. local rotation = 0
  1051. local typrot = math.random(1,2)
  1052. local rng = Instance.new("Part", char)
  1053. CFuncs["Sound"].Create("rbxassetid://402981977", rng, 1.5, 0.6)
  1054. rng.Anchored = true
  1055. rng.BrickColor = origcolor
  1056. rng.CanCollide = false
  1057. rng.FormFactor = 3
  1058. rng.Name = "Ring"
  1059. rng.Material = "Neon"
  1060. rng.Size = Vector3.new(1, 0.05, 1)
  1061. rng.Transparency = 1
  1062. rng.TopSurface = 0
  1063. rng.BottomSurface = 0
  1064. local rngm = Instance.new("SpecialMesh", rng)
  1065. rngm.MeshType = "Brick"
  1066. rngm.Scale = vt(0,1,0)
  1067. local dec = Instance.new("Decal",rng)
  1068. dec.Texture = "http://www.roblox.com/asset/?id=342199418"
  1069. dec.Face = "Top"
  1070. dec.Transparency = 1
  1071. local dec2 = dec:Clone()
  1072. dec2.Parent = rng
  1073. dec2.Face = "Bottom"
  1074. dec2.Transparency = 1
  1075.  
  1076.  
  1077. local summoned = Instance.new("ParticleEmitter",rng)
  1078. summoned.LightEmission = 1
  1079. summoned.Color = ColorSequence.new(Color3.new(1,0,1))
  1080. summoned.Rate = 100
  1081. summoned.Texture = "http://www.roblox.com/asset/?id=342199418"
  1082. summoned.Lifetime = NumberRange.new(0.5)
  1083. summoned.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,35,0)})
  1084. summoned.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  1085. summoned.Speed = NumberRange.new(0,0)
  1086. summoned.Rotation = NumberRange.new(-500,500)
  1087. summoned.RotSpeed = NumberRange.new(-500,500)
  1088.  
  1089. for i = 0,1,0.1 do
  1090. swait()
  1091. dec.Transparency = dec.Transparency - 0.1
  1092. dec2.Transparency = dec2.Transparency - 0.1
  1093. rngm.Scale = rngm.Scale + Vector3.new(0.5, 0, 0.5)
  1094. rng.CFrame = root.CFrame*CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(90),math.rad(180),0) + root.CFrame.lookVector*4
  1095. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),0.1)
  1096. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  1097. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(20)), 0.3)
  1098. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-20)), 0.3)
  1099. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  1100. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  1101. RootPart.CFrame = FaceMouse2()[1]
  1102. end
  1103. summoned.Enabled = false
  1104.  
  1105. local Power = 4
  1106. while true do
  1107. swait()
  1108. Power = Power + 0.4
  1109. rngm.Scale = rngm.Scale + Vector3.new(0.085, 0, 0.085)
  1110. if typrot == 1 then
  1111. rotation = rotation + 2.5
  1112. elseif typrot == 2 then
  1113. rotation = rotation - 2.5
  1114. end
  1115. rng.CFrame = root.CFrame*CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(90),math.rad(rotation),0) + root.CFrame.lookVector*4
  1116. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),0.1)
  1117. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  1118. RW.C0 = clerp(RW.C0, CFrame.new(1.05, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-20)), 0.1)
  1119. LW.C0 = clerp(LW.C0, CFrame.new(-1.05, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(20)), 0.1)
  1120. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  1121. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  1122. RootPart.CFrame = FaceMouse2()[1]
  1123. if HoldingZ == false then
  1124. coroutine.resume(coroutine.create(function()
  1125. while true do
  1126. if rng.Parent ~= nil then
  1127. swait()
  1128. if typrot == 1 then
  1129. rotation = rotation + 2.5
  1130. elseif typrot == 2 then
  1131. rotation = rotation - 2.5
  1132. end
  1133. rng.CFrame = root.CFrame*CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(90),math.rad(rotation),0) + root.CFrame.lookVector*4
  1134. elseif rng.Parent == nil then
  1135. break
  1136. end
  1137. end
  1138. end))
  1139. coroutine.resume(coroutine.create(function()
  1140. for i = 0, 24*Power/4 do
  1141. swait(2)
  1142. local a = Instance.new("Part",Character)
  1143. a.Name = "Direction"
  1144. a.Anchored = true
  1145. a.BrickColor = bc("Maroon")
  1146. a.Material = "Neon"
  1147. a.Transparency = 1
  1148. a.CanCollide = false
  1149. local ray = Ray.new(
  1150. rng.CFrame.p, -- origin
  1151. (mouse.Hit.p - rng.CFrame.p).unit * 500 -- direction
  1152. )
  1153. local ignore = Character
  1154. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  1155. a.BottomSurface = 10
  1156. a.TopSurface = 10
  1157. local distance = (rng.CFrame.p - position).magnitude
  1158. a.Size = Vector3.new(0.1, 0.1, 0.1)
  1159. a.CFrame = CFrame.new(rng.CFrame.p, position) * CFrame.new(0, 0, 0)
  1160. local lb = Instance.new("Part")
  1161. CFuncs["Sound"].Create("rbxassetid://1146690130", lb, 1, 2)
  1162. lb.Parent = char
  1163. lb.Color = Color3.new(1,1,0.5)
  1164. lb.CanCollide = false
  1165. lb.Material = "Neon"
  1166. lb.Anchored = true
  1167. lb.TopSurface = 0
  1168. lb.BottomSurface = 0
  1169. lb.Transparency = 0
  1170. lb.Size = vt(1.5,1.5,1.5)
  1171. lb.CFrame = a.CFrame*CFrame.Angles(math.rad(math.random(-1,1)),math.rad(math.random(-1,1)),0)
  1172. lb.Anchored = false
  1173. local thingery = Instance.new("SpecialMesh",lb)
  1174. thingery.MeshType = "Sphere"
  1175. game:GetService("Debris"):AddItem(lb, 10)
  1176. local bv = Instance.new("BodyVelocity")
  1177. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1178. bv.velocity = lb.CFrame.lookVector*250
  1179. bv.Parent = lb
  1180. local hitted = false
  1181. game:GetService("Debris"):AddItem(a, 0.1)
  1182. RootPart.CFrame = FaceMouse2()[1]
  1183. coroutine.resume(coroutine.create(function()
  1184. swait(1)
  1185. lb.Touched:connect(function(hit)
  1186. if hitted == false then
  1187. hitted = true
  1188. lb.Transparency = 1
  1189. lb.Anchored = true
  1190. CFuncs["Sound"].Create("rbxassetid://911792524", lb, 0.75, 1)
  1191. CFuncs["Sound"].Create("rbxassetid://28518734", lb, 1, 1.5)
  1192. MagniDamage(lb, 10, 5,15, 0, "Normal")
  1193. sphere(5,"Add",lb.CFrame,vt(2.5/2,2.5/2,2.5/2),0.2,BrickColor.new("Really black"))
  1194. sphere(10,"Add",lb.CFrame,vt(5/2,5/2,5/2),0.25,BrickColor.new("Maroon"))
  1195. wait(3)
  1196. lb:Destroy()
  1197. end
  1198. end)
  1199. end))
  1200.  
  1201. end
  1202. for i = 0,1,0.1 do
  1203. swait()
  1204. dec.Transparency = dec.Transparency + 0.1
  1205. dec2.Transparency = dec2.Transparency + 0.1
  1206. rngm.Scale = rngm.Scale - Vector3.new(0.5, 0, 0.5)
  1207. end
  1208. rng:Destroy()
  1209. hum.WalkSpeed = 16
  1210. sbs:Destroy()
  1211. root.Anchored = false
  1212. attack = false
  1213. end))
  1214. break
  1215. end
  1216. if Power > 63 and HoldingZ == true then
  1217. coroutine.resume(coroutine.create(function()
  1218. while true do
  1219. if rng.Parent ~= nil then
  1220. swait()
  1221. if typrot == 1 then
  1222. rotation = rotation + 2.5
  1223. elseif typrot == 2 then
  1224. rotation = rotation - 2.5
  1225. end
  1226. rng.CFrame = root.CFrame*CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(90),math.rad(rotation),0) + root.CFrame.lookVector*4
  1227. elseif rng.Parent == nil then
  1228. break
  1229. end
  1230. end
  1231. end))
  1232. coroutine.resume(coroutine.create(function()
  1233. for i = 0, 24*Power/4 do
  1234. swait(1)
  1235. local a = Instance.new("Part",Character)
  1236. a.Name = "Direction"
  1237. a.Anchored = true
  1238. a.BrickColor = bc("Maroon")
  1239. a.Material = "Neon"
  1240. a.Transparency = 1
  1241. a.CanCollide = false
  1242. local ray = Ray.new(
  1243. rng.CFrame.p, -- origin
  1244. (mouse.Hit.p - rng.CFrame.p).unit * 500 -- direction
  1245. )
  1246. local ignore = Character
  1247. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  1248. a.BottomSurface = 10
  1249. a.TopSurface = 10
  1250. local distance = (rng.CFrame.p - position).magnitude
  1251. a.Size = Vector3.new(0.1, 0.1, 0.1)
  1252. a.CFrame = CFrame.new(rng.CFrame.p, position) * CFrame.new(0, 0, 0)
  1253. local lb = Instance.new("Part")
  1254. CFuncs["Sound"].Create("rbxassetid://1146690130", lb, 1, 2)
  1255. lb.Parent = char
  1256. lb.Color = Color3.new(0,0,0)
  1257. lb.CanCollide = false
  1258. lb.Material = "Neon"
  1259. lb.Anchored = true
  1260. lb.TopSurface = 0
  1261. lb.BottomSurface = 0
  1262. lb.Transparency = 0
  1263. lb.Size = vt(1.5,1.5,1.5)
  1264. lb.CFrame = a.CFrame*CFrame.Angles(math.rad(math.random(-1,1)),math.rad(math.random(-1,1)),0)
  1265. lb.Anchored = false
  1266. local thingery = Instance.new("SpecialMesh",lb)
  1267. thingery.MeshType = "Sphere"
  1268. game:GetService("Debris"):AddItem(lb, 10)
  1269. local bv = Instance.new("BodyVelocity")
  1270. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1271. bv.velocity = lb.CFrame.lookVector*250
  1272. bv.Parent = lb
  1273. local hitted = false
  1274. game:GetService("Debris"):AddItem(a, 0.1)
  1275. RootPart.CFrame = FaceMouse2()[1]
  1276. coroutine.resume(coroutine.create(function()
  1277. swait(1)
  1278. lb.Touched:connect(function(hit)
  1279. if hitted == false then
  1280. hitted = true
  1281. lb.Transparency = 1
  1282. lb.Anchored = true
  1283. CFuncs["Sound"].Create("rbxassetid://911792524", lb, 0.75, 1)
  1284. CFuncs["Sound"].Create("rbxassetid://28518734", lb, 1, 1.5)
  1285. MagniDamage(lb, 10, 5,15, 0, "Normal")
  1286. sphere(5,"Add",lb.CFrame,vt(2.5/2,2.5/2,2.5/2),0.2,BrickColor.new("Really black"))
  1287. sphere(10,"Add",lb.CFrame,vt(5/2,5/2,5/2),0.25,BrickColor.new("Maroon"))
  1288. wait(3)
  1289. lb:Destroy()
  1290. end
  1291. end)
  1292. end))
  1293.  
  1294. end
  1295. for i = 0,1,0.1 do
  1296. swait()
  1297. dec.Transparency = dec.Transparency + 0.1
  1298. dec2.Transparency = dec2.Transparency + 0.1
  1299. rngm.Scale = rngm.Scale - Vector3.new(0.5, 0, 0.5)
  1300. end
  1301. rng:Destroy()
  1302. hum.WalkSpeed = 16
  1303. sbs:Destroy()
  1304. root.Anchored = false
  1305. attack = false
  1306. end))
  1307. HoldingZ = false
  1308. break
  1309. end
  1310. end
  1311. end
  1312.  
  1313. local txt = Instance.new("BillboardGui", Char)
  1314. CV="Plum"
  1315. txt.Name = "_status"
  1316. txt.Size = UDim2.new(2, 0, 1.2, 0)
  1317. txt.StudsOffset = Vector3.new(-14, 6, 0)
  1318. local text = Instance.new("TextLabel", txt)
  1319. text.Size = UDim2.new(15, 0,2, 0)
  1320. text.FontSize = "Size24"
  1321. text.TextScaled = true
  1322. text.TextTransparency = 0
  1323. text.BackgroundTransparency = 1
  1324. text.TextTransparency = 0
  1325. text.TextStrokeTransparency = 0
  1326. text.Font = Enum.Font.SourceSansBold
  1327. text.TextStrokeColor3 = Color3.new(0,0,0)
  1328. text.TextColor3 = Color3.new(26, 234, 33)
  1329. text.Text = "The Corrupted Nobody"
  1330.  
  1331.  
  1332. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  1333. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  1334. do
  1335. print("FE Compatibility code by Mokiros")
  1336. script.Parent = Player.Character
  1337.  
  1338. --RemoteEvent for communicating
  1339. local Event = Instance.new("RemoteEvent")
  1340. Event.Name = "UserInput_Event"
  1341.  
  1342. --Fake event to make stuff like Mouse.KeyDown work
  1343. local function fakeEvent()
  1344. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  1345. t.connect = t.Connect
  1346. return t
  1347. end
  1348.  
  1349. --Creating fake input objects with fake variables
  1350. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  1351. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  1352. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  1353. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  1354. end}
  1355. --Merged 2 functions into one by checking amount of arguments
  1356. CAS.UnbindAction = CAS.BindAction
  1357.  
  1358. --This function will trigger the events that have been :Connect()'ed
  1359. local function te(self,ev,...)
  1360. local t = m[ev]
  1361. if t and t._fakeEvent and t.Function then
  1362. t.Function(...)
  1363. end
  1364. end
  1365. m.TrigEvent = te
  1366. UIS.TrigEvent = te
  1367.  
  1368. Event.OnServerEvent:Connect(function(plr,io)
  1369. if plr~=Player then return end
  1370. if io.isMouse then
  1371. m.Target = io.Target
  1372. m.Hit = io.Hit
  1373. else
  1374. local b = io.UserInputState == Enum.UserInputState.Begin
  1375. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  1376. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  1377. end
  1378. for _,t in pairs(CAS.Actions) do
  1379. for _,k in pairs(t.Keys) do
  1380. if k==io.KeyCode then
  1381. t.Function(t.Name,io.UserInputState,io)
  1382. end
  1383. end
  1384. end
  1385. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  1386. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  1387. end
  1388. end)
  1389. Event.Parent = NLS([==[
  1390. local Player = game:GetService("Players").LocalPlayer
  1391. local Event = script:WaitForChild("UserInput_Event")
  1392.  
  1393. local UIS = game:GetService("UserInputService")
  1394. local input = function(io,a)
  1395. if a then return end
  1396. --Since InputObject is a client-side instance, we create and pass table instead
  1397. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  1398. end
  1399. UIS.InputBegan:Connect(input)
  1400. UIS.InputEnded:Connect(input)
  1401.  
  1402. local Mouse = Player:GetMouse()
  1403. local h,t
  1404. --Give the server mouse data 30 times every second, but only if the values changed
  1405. --If player is not moving their mouse, client won't fire events
  1406. while wait(1/30) do
  1407. if h~=Mouse.Hit or t~=Mouse.Target then
  1408. h,t=Mouse.Hit,Mouse.Target
  1409. Event:FireServer({isMouse=true,Target=t,Hit=h})
  1410. end
  1411. end]==],Player.Character)
  1412. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  1413. end
  1414.  
  1415. local plrs = game:GetService("Players")
  1416. local plr = owner
  1417. local char = plr.Character
  1418. local tweenserv = game:GetService("TweenService")
  1419. local lighting = game:GetService("Lighting")
  1420. local hum = char:FindFirstChildOfClass("Humanoid")
  1421. local tor = char:FindFirstChild("Torso") or char:FindFirstChild("UpperTorso")
  1422. local root = char:FindFirstChild("HumanoidRootPart")
  1423. local head = char:FindFirstChild("Head")
  1424. local face = head:FindFirstChildOfClass("Decal")
  1425. local larm = char:FindFirstChild("Left Arm") or char:FindFirstChild("LeftUpperArm")
  1426. local rarm = char:FindFirstChild("Right Arm") or char:FindFirstChild("RightUpperArm")
  1427. local rleg = char:FindFirstChild("Right Leg") or char:FindFirstChild("RightUpperLeg")
  1428. local lleg = char:FindFirstChild("Left Leg") or char:FindFirstChild("LeftUpperLeg")
  1429. local neck = tor:FindFirstChild("Neck")
  1430. local rootj = root:FindFirstChild("RootJoint")
  1431. local LS = tor:FindFirstChild("Left Shoulder")
  1432. local RS = tor:FindFirstChild("Right Shoulder")
  1433. local LH = tor:FindFirstChild("Left Hip")
  1434. local RH = tor:FindFirstChild("Right Hip")
  1435. local bp = plr:FindFirstChild("Backpack")
  1436. local cam = workspace.CurrentCamera
  1437.  
  1438. hum:ClearAllChildren()
  1439. char.Animate:remove()
  1440.  
  1441.  
  1442. --Converted with ttyyuu12345's model to script plugin v4
  1443. function sandbox(var,func)
  1444. local env = getfenv(func)
  1445. local newenv = setmetatable({},{
  1446. __index = function(self,k)
  1447. if k=="script" then
  1448. return var
  1449. else
  1450. return env[k]
  1451. end
  1452. end,
  1453. })
  1454. setfenv(func,newenv)
  1455. return func
  1456. end
  1457. cors = {}
  1458. mas = Instance.new("Model",game:GetService("Lighting"))
  1459. Model0 = Instance.new("Model")
  1460. Part1 = Instance.new("Part")
  1461. ManualWeld2 = Instance.new("ManualWeld")
  1462. Part3 = Instance.new("Part")
  1463. Part4 = Instance.new("Part")
  1464. ManualWeld5 = Instance.new("ManualWeld")
  1465. Part6 = Instance.new("Part")
  1466. ManualWeld7 = Instance.new("ManualWeld")
  1467. Part8 = Instance.new("Part")
  1468. ParticleEmitter9 = Instance.new("ParticleEmitter")
  1469. ManualWeld10 = Instance.new("ManualWeld")
  1470. Part11 = Instance.new("Part")
  1471. ManualWeld12 = Instance.new("ManualWeld")
  1472. Part19 = Instance.new("Part")
  1473. ManualWeld20 = Instance.new("ManualWeld")
  1474. Part21 = Instance.new("Part")
  1475. ManualWeld22 = Instance.new("ManualWeld")
  1476. Model0.Name = "saber"
  1477. Model0.Parent = mas
  1478. Part1.Name = "hand"
  1479. Part1.Parent = Model0
  1480. Part1.Material = Enum.Material.SmoothPlastic
  1481. Part1.BrickColor = BrickColor.new("Really black")
  1482. Part1.Rotation = Vector3.new(0, -90, 0)
  1483. Part1.CanCollide = false
  1484. Part1.Shape = Enum.PartType.Cylinder
  1485. Part1.Size = Vector3.new(1.29999995, 0.299999952, 0.299999952)
  1486. Part1.CFrame = CFrame.new(-1741.76343, 117.599991, -204.231796, 1.19248806e-08, 0, -1, 0, 1, 0, 1, 0, 1.19248806e-08)
  1487. Part1.BottomSurface = Enum.SurfaceType.Smooth
  1488. Part1.TopSurface = Enum.SurfaceType.Smooth
  1489. Part1.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1490. Part1.Position = Vector3.new(-1741.76343, 117.599991, -204.231796)
  1491. Part1.Orientation = Vector3.new(0, -90, 0)
  1492. Part1.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1493. ManualWeld2.Name = "Weld"
  1494. ManualWeld2.Parent = Part1
  1495. ManualWeld2.C0 = CFrame.new(0, 0, 0, 1.19248806e-08, 0, 1, 0, 1, 0, -1, 0, 1.19248806e-08)
  1496. ManualWeld2.C1 = CFrame.new(0.0347900391, 0, 0.0680541992, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1497. ManualWeld2.Part0 = Part1
  1498. ManualWeld2.Part1 = Part3
  1499. Part3.Name = "main"
  1500. Part3.Parent = Model0
  1501. Part3.Transparency = 1
  1502. Part3.CanCollide = false
  1503. Part3.Size = Vector3.new(1, 1, 1)
  1504. Part3.CFrame = CFrame.new(-1741.79822, 117.599991, -204.29985, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1505. Part3.BottomSurface = Enum.SurfaceType.Smooth
  1506. Part3.TopSurface = Enum.SurfaceType.Smooth
  1507. Part3.Position = Vector3.new(-1741.79822, 117.599991, -204.29985)
  1508. Part4.Name = "cap2"
  1509. Part4.Parent = Model0
  1510. Part4.Material = Enum.Material.SmoothPlastic
  1511. Part4.BrickColor = BrickColor.new("Really black")
  1512. Part4.Rotation = Vector3.new(0, -90, 0)
  1513. Part4.CanCollide = false
  1514. Part4.Shape = Enum.PartType.Cylinder
  1515. Part4.Size = Vector3.new(0.0999999046, 0.349999994, 0.349999994)
  1516. Part4.CFrame = CFrame.new(-1741.76343, 117.599991, -203.531723, 1.19248806e-08, 0, -1, 0, 1, 0, 1, 0, 1.19248806e-08)
  1517. Part4.BottomSurface = Enum.SurfaceType.Smooth
  1518. Part4.TopSurface = Enum.SurfaceType.Smooth
  1519. Part4.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1520. Part4.Position = Vector3.new(-1741.76343, 117.599991, -203.531723)
  1521. Part4.Orientation = Vector3.new(0, -90, 0)
  1522. Part4.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1523. ManualWeld5.Name = "Weld"
  1524. ManualWeld5.Parent = Part4
  1525. ManualWeld5.C0 = CFrame.new(0, 0, 0, 1.19248806e-08, 0, 1, 0, 1, 0, -1, 0, 1.19248806e-08)
  1526. ManualWeld5.C1 = CFrame.new(0.0347900391, 0, 0.768127441, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1527. ManualWeld5.Part0 = Part4
  1528. ManualWeld5.Part1 = Part3
  1529. Part6.Name = "bot1"
  1530. Part6.Parent = Model0
  1531. Part6.Material = Enum.Material.SmoothPlastic
  1532. Part6.BrickColor = BrickColor.new("Really black")
  1533. Part6.Rotation = Vector3.new(0, -90, 0)
  1534. Part6.CanCollide = false
  1535. Part6.Shape = Enum.PartType.Cylinder
  1536. Part6.Size = Vector3.new(0.0999999046, 0.349999994, 0.349999994)
  1537. Part6.CFrame = CFrame.new(-1741.76343, 117.599991, -204.931747, 1.19248806e-08, 0, -1, 0, 1, 0, 1, 0, 1.19248806e-08)
  1538. Part6.BottomSurface = Enum.SurfaceType.Smooth
  1539. Part6.TopSurface = Enum.SurfaceType.Smooth
  1540. Part6.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1541. Part6.Position = Vector3.new(-1741.76343, 117.599991, -204.931747)
  1542. Part6.Orientation = Vector3.new(0, -90, 0)
  1543. Part6.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1544. ManualWeld7.Name = "Weld"
  1545. ManualWeld7.Parent = Part6
  1546. ManualWeld7.C0 = CFrame.new(0, 0, 0, 1.19248806e-08, 0, 1, 0, 1, 0, -1, 0, 1.19248806e-08)
  1547. ManualWeld7.C1 = CFrame.new(0.0347900391, 0, -0.631896973, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1548. ManualWeld7.Part0 = Part6
  1549. ManualWeld7.Part1 = Part3
  1550. Part8.Name = "cap"
  1551. Part8.Parent = Model0
  1552. Part8.Material = Enum.Material.SmoothPlastic
  1553. Part8.BrickColor = BrickColor.new("Gold")
  1554. Part8.Rotation = Vector3.new(0, -90, 0)
  1555. Part8.CanCollide = false
  1556. Part8.Shape = Enum.PartType.Cylinder
  1557. Part8.Size = Vector3.new(0.0999999046, 0.300000012, 0.300000012)
  1558. Part8.CFrame = CFrame.new(-1741.76343, 117.599991, -203.431747, 1.19248806e-08, 0, -1, 0, 1, 0, 1, 0, 1.19248806e-08)
  1559. Part8.BottomSurface = Enum.SurfaceType.Smooth
  1560. Part8.TopSurface = Enum.SurfaceType.Smooth
  1561. Part8.Color = Color3.new(0.937255, 0.721569, 0.219608)
  1562. Part8.Position = Vector3.new(-1741.76343, 117.599991, -203.431747)
  1563. Part8.Orientation = Vector3.new(0, -90, 0)
  1564. Part8.Color = Color3.new(0.937255, 0.721569, 0.219608)
  1565. ParticleEmitter9.Parent = Part8
  1566. ParticleEmitter9.LockedToPart = true
  1567. ParticleEmitter9.Transparency = NumberSequence.new(0,0.1)
  1568. ParticleEmitter9.Size = NumberSequence.new(0.5,0.5)
  1569. ParticleEmitter9.Color = ColorSequence.new(Color3.new(0.333333, 0, 0),Color3.new(0.666667, 0, 0))
  1570. ParticleEmitter9.EmissionDirection = "Right"
  1571. ParticleEmitter9.LightEmission = 0.44999998807907
  1572. ParticleEmitter9.Texture = "rbxassetid://147313514"
  1573. ParticleEmitter9.Lifetime = NumberRange.new(0.5, 0.5)
  1574. ParticleEmitter9.Rate = 200
  1575. ParticleEmitter9.RotSpeed = NumberRange.new(360, 360)
  1576. ParticleEmitter9.Speed = NumberRange.new(10, 10)
  1577. ParticleEmitter9.VelocitySpread = 2
  1578. ParticleEmitter9.Color = ColorSequence.new(Color3.new(0.333333, 0, 0),Color3.new(0.666667, 0, 0))
  1579. ManualWeld10.Name = "Weld"
  1580. ManualWeld10.Parent = Part8
  1581. ManualWeld10.C0 = CFrame.new(0, 0, 0, 1.19248806e-08, 0, 1, 0, 1, 0, -1, 0, 1.19248806e-08)
  1582. ManualWeld10.C1 = CFrame.new(0.0347900391, 0, 0.868103027, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1583. ManualWeld10.Part0 = Part8
  1584. ManualWeld10.Part1 = Part3
  1585. Part11.Name = "bot2"
  1586. Part11.Parent = Model0
  1587. Part11.Material = Enum.Material.SmoothPlastic
  1588. Part11.BrickColor = BrickColor.new("Really black")
  1589. Part11.Rotation = Vector3.new(0, -90, 0)
  1590. Part11.CanCollide = false
  1591. Part11.Shape = Enum.PartType.Cylinder
  1592. Part11.Size = Vector3.new(0.0999999046, 0.300000012, 0.300000012)
  1593. Part11.CFrame = CFrame.new(-1741.76343, 117.599991, -205.031723, 1.19248806e-08, 0, -1, 0, 1, 0, 1, 0, 1.19248806e-08)
  1594. Part11.BottomSurface = Enum.SurfaceType.Smooth
  1595. Part11.TopSurface = Enum.SurfaceType.Smooth
  1596. Part11.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1597. Part11.Position = Vector3.new(-1741.76343, 117.599991, -205.031723)
  1598. Part11.Orientation = Vector3.new(0, -90, 0)
  1599. Part11.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1600. ManualWeld12.Name = "Weld"
  1601. ManualWeld12.Parent = Part11
  1602. ManualWeld12.C0 = CFrame.new(0, 0, 0, 1.19248806e-08, 0, 1, 0, 1, 0, -1, 0, 1.19248806e-08)
  1603. ManualWeld12.C1 = CFrame.new(0.0347900391, 0, -0.731872559, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1604. ManualWeld12.Part0 = Part11
  1605. ManualWeld12.Part1 = Part3
  1606. Part19.Name = "outblade"
  1607. Part19.Parent = Model0
  1608. Part19.Material = Enum.Material.Neon
  1609. Part19.BrickColor = BrickColor.new("Maroon")
  1610. Part19.Rotation = Vector3.new(0, -90, 0)
  1611. Part19.CanCollide = false
  1612. Part19.Shape = Enum.PartType.Cylinder
  1613. Part19.Size = Vector3.new(4.39999962, 0.2500000012, 0.2500000012)
  1614. Part19.CFrame = CFrame.new(-1741.76343, 117.599991, -201.181747, 1.19248806e-08, 0, -1, 0, 1, 0, 1, 0, 1.19248806e-08)
  1615. Part19.BottomSurface = Enum.SurfaceType.Smooth
  1616. Part19.TopSurface = Enum.SurfaceType.Smooth
  1617. Part19.Color = Color3.new(0.458824, 0, 0)
  1618. Part19.Position = Vector3.new(-1741.76343, 117.599991, -201.181747)
  1619. Part19.Orientation = Vector3.new(0, -90, 0)
  1620. Part19.Color = Color3.new(0.458824, 0, 0)
  1621. ManualWeld20.Name = "Weld"
  1622. ManualWeld20.Parent = Part19
  1623. ManualWeld20.C0 = CFrame.new(0, 0, 0, 1.19248806e-08, 0, 1, 0, 1, 0, -1, 0, 1.19248806e-08)
  1624. ManualWeld20.C1 = CFrame.new(0.0347900391, 0, 3.11810303, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1625. ManualWeld20.Part0 = Part19
  1626. ManualWeld20.Part1 = Part3
  1627. Part21.Name = "outball"
  1628. Part21.Parent = Model0
  1629. Part21.Material = Enum.Material.Neon
  1630. Part21.BrickColor = BrickColor.new("Maroon")
  1631. Part21.Rotation = Vector3.new(0, -90, 0)
  1632. Part21.CanCollide = false
  1633. Part21.Shape = Enum.PartType.Ball
  1634. Part21.Size = Vector3.new(0.25, 0.25, 0.25)
  1635. Part21.CFrame = CFrame.new(-1741.76343, 117.599991, -198.981674, 1.19248806e-08, 0, -1, 0, 1, 0, 1, 0, 1.19248806e-08)
  1636. Part21.BottomSurface = Enum.SurfaceType.Smooth
  1637. Part21.TopSurface = Enum.SurfaceType.Smooth
  1638. Part21.Color = Color3.new(0.458824, 0, 0)
  1639. Part21.Position = Vector3.new(-1741.76343, 117.599991, -198.981674)
  1640. Part21.Orientation = Vector3.new(0, -90, 0)
  1641. Part21.Color = Color3.new(0.458824, 0, 0)
  1642. ManualWeld22.Name = "Weld"
  1643. ManualWeld22.Parent = Part21
  1644. ManualWeld22.C0 = CFrame.new(0, 0, 0, 1.19248806e-08, 0, 1, 0, 1, 0, -1, 0, 1.19248806e-08)
  1645. ManualWeld22.C1 = CFrame.new(0.0347900391, 0, 5.31817627, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1646. ManualWeld22.Part0 = Part21
  1647. ManualWeld22.Part1 = Part3
  1648. for i,v in pairs(mas:GetChildren()) do
  1649. v.Parent = char
  1650. saber = v
  1651. outblade = Part19
  1652. outball = Part21
  1653. particle = ParticleEmitter9
  1654. main = Part3
  1655. cap = Part8
  1656. pcall(function() v:MakeJoints() end)
  1657. end
  1658. mas:Destroy()
  1659. for i,v in pairs(cors) do
  1660. spawn(function()
  1661. pcall(v)
  1662. end)
  1663. end
  1664.  
  1665. local ws = hum.WalkSpeed
  1666. local jp = hum.JumpPower
  1667. local nws = ws
  1668. local njp = jp
  1669.  
  1670. local rootj0 = rootj.C0
  1671. local neck0 = neck.C0
  1672. local LS0 = LS.C0
  1673. local RS0 = RS.C0
  1674. local LH0 = LH.C0
  1675. local RH0 = RH.C0
  1676. local rootj1 = rootj.C1
  1677. local neck1 = neck.C1
  1678. local LS1 = LS.C1
  1679. local RS1 = RS.C1
  1680. local LH1 = LH.C1
  1681. local RH1 = RH.C1
  1682.  
  1683. local pshew = Instance.new("Sound", cap)
  1684. pshew.SoundId = "rbxassetid://605604103"
  1685. pshew.Volume = 2
  1686. pshew.Name = "PSHEW"
  1687.  
  1688. local sheww = Instance.new("Sound", cap)
  1689. sheww.SoundId = "rbxassetid://605607641"
  1690. sheww.Volume = 2
  1691. sheww.Name = "SHEWW"
  1692.  
  1693. local wanwan = Instance.new("Sound", outblade)
  1694. wanwan.SoundId = "rbxassetid://1460966017"
  1695. wanwan.Volume = 1
  1696. wanwan.Name = "WANWAN"
  1697. wanwan.Looped = true
  1698.  
  1699. local chwan = Instance.new("Sound", outblade)
  1700. chwan.SoundId = "rbxassetid://1647165403"
  1701. chwan.Volume = 1
  1702. chwan.Name = "CHWAN"
  1703.  
  1704. local pssps = Instance.new("Sound", outblade)
  1705. pssps.SoundId = "rbxassetid://1335649595"
  1706. pssps.Volume = 1
  1707. pssps.Name = "PSSPS"
  1708.  
  1709. local vomb = Instance.new("Sound", outblade)
  1710. vomb.SoundId = "rbxassetid://2088308141"
  1711. vomb.Volume = 2
  1712. vomb.Name = "VOMB"
  1713.  
  1714. local ooowa = Instance.new("Sound", larm)
  1715. ooowa.SoundId = "rbxassetid://1386781853"
  1716. ooowa.Volume = 2.5
  1717. ooowa.Name = "OOOWA"
  1718.  
  1719. local koohaa = Instance.new("Sound", head)
  1720. koohaa.SoundId = "rbxassetid://149840174"
  1721. koohaa.Volume = 2
  1722. koohaa.Name = "KOOOHAAA"
  1723. koohaa.Looped = true
  1724. koohaa:Play()
  1725. local thepos = koohaa.TimePosition
  1726.  
  1727. -----------------------------------------------------------------------------
  1728.  
  1729. local CFn = CFrame.new
  1730. local CFa = CFrame.Angles
  1731. local Rad = math.rad
  1732. local Cos = math.cos
  1733. local Sin = math.sin
  1734. local sine = 1
  1735. local attacking = false
  1736. local equipped = false
  1737. local Changing = false
  1738. local Swinging = false
  1739. local kill = false
  1740. local attackstate = 1
  1741. local Choking = false
  1742. local buttonC = false
  1743.  
  1744. -----------------------------------------------------------------------------
  1745.  
  1746. for i,v in pairs(char:GetChildren()) do
  1747. if v:IsA("Shirt") then
  1748. v:Destroy()
  1749. end
  1750. if v:IsA("Pants") then
  1751. v:Destroy()
  1752. end
  1753. if v:IsA("Accessory") then
  1754. v:Destroy()
  1755. end
  1756. end
  1757.  
  1758. local ff = Instance.new("ForceField", char)
  1759. ff.Visible = false
  1760. hum.MaxHealth = math.huge
  1761. hum.Health = math.huge
  1762.  
  1763. local shirt = Instance.new("Shirt", char)
  1764. shirt.ShirtTemplate = "rbxassetid://1692712023"
  1765. local pants = Instance.new("Pants", char)
  1766. pants.PantsTemplate = "rbxassetid://1460022985"
  1767.  
  1768. head.Transparency = 1
  1769.  
  1770. local hair = Instance.new("Part", char)
  1771. hair.Size = Vector3.new(1, 1, 1)
  1772. hair.CanCollide = false
  1773. local hairm = Instance.new("SpecialMesh", hair)
  1774. hairm.MeshId = "rbxassetid://16952952"
  1775. hairm.TextureId = "rbxassetid://17388648"
  1776.  
  1777. local hairw = Instance.new("Weld", hair)
  1778. hairw.Part0 = head
  1779. hairw.Part1 = hair
  1780. hairw.C1 = CFn(0, -0.1, 0)
  1781.  
  1782. local AT0 = Instance.new("Attachment", outblade)
  1783. AT0.Position = Vector3.new(-2.2, 0, 0)
  1784.  
  1785. local AT1 = Instance.new("Attachment", outblade)
  1786. AT1.Position = Vector3.new(2.4, 0, 0)
  1787.  
  1788. local trail = Instance.new("Trail", outblade)
  1789. trail.Attachment0 = AT0
  1790. trail.Attachment1 = AT1
  1791. trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0, 0), NumberSequenceKeypoint.new(1, 0.9, 0)})
  1792. trail.LightEmission = 0.7
  1793. trail.Lifetime = 0.5
  1794. trail.MaxLength = 2
  1795. trail.MinLength = 0.05
  1796. trail.WidthScale = NumberSequence.new({NumberSequenceKeypoint.new(0, 1, 0), NumberSequenceKeypoint.new(1, 0.2, 0)})
  1797. trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(85, 0, 0), 0), ColorSequenceKeypoint.new(1, Color3.fromRGB(170, 0, 0), 0)})
  1798.  
  1799. local mainw = Instance.new("Weld", main)
  1800. mainw.Part0 = tor
  1801. mainw.Part1 = main
  1802. mainw.C1 = CFn(1, 1, 0)
  1803.  
  1804. local bld = Instance.new("Part", saber)
  1805. bld.Size = Vector3.new(4.7, 1, 1)
  1806. bld.CanCollide = false
  1807. bld.Transparency = 1
  1808.  
  1809. local bldw = Instance.new("Weld", bld)
  1810. bldw.Part0 = outblade
  1811. bldw.Part1 = bld
  1812.  
  1813. local cape = Instance.new("Part", char)
  1814. cape.Size = Vector3.new(2, 3.6, 1)
  1815. cape.Material = "SmoothPlastic"
  1816. cape.BrickColor = BrickColor.new("Really black")
  1817. local capem = Instance.new("SpecialMesh", cape)
  1818. capem.MeshType = "FileMesh"
  1819. capem.MeshId = "rbxassetid://114046169"
  1820. capem.Scale = Vector3.new(1.2, 1.8, 1.1)
  1821.  
  1822. local capew = Instance.new("Weld", cape)
  1823. capew.Part0 = tor
  1824. capew.Part1 = cape
  1825. capew.C1 = CFn(0, 0.7, -0.35)
  1826.  
  1827. outblade.Transparency = 1
  1828. outball.Transparency = 1
  1829. trail.Enabled = false
  1830. particle.Transparency = NumberSequence.new(0, 1)
  1831. particle.LockedToPart = false
  1832. particle.Enabled = false
  1833.  
  1834. -----------------------------------------------------------------------------
  1835.  
  1836. ArtificialHB = Instance.new("BindableEvent", script)
  1837. ArtificialHB.Name = "Heartbeat"
  1838. script:WaitForChild("Heartbeat")
  1839.  
  1840. frame = 1 / 60
  1841. tf = 0
  1842. allowframeloss = false
  1843. tossremainder = false
  1844.  
  1845.  
  1846. lastframe = tick()
  1847. script.Heartbeat:Fire()
  1848.  
  1849.  
  1850. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1851. tf = tf + s
  1852. if tf >= frame then
  1853. if allowframeloss then
  1854. script.Heartbeat:Fire()
  1855. lastframe = tick()
  1856. else
  1857. for i = 1, math.floor(tf / frame) do
  1858. script.Heartbeat:Fire()
  1859. end
  1860. lastframe = tick()
  1861. end
  1862. if tossremainder then
  1863. tf = 0
  1864. else
  1865. tf = tf - frame * math.floor(tf / frame)
  1866. end
  1867. end
  1868. end)
  1869.  
  1870. function swait(num)
  1871. if num == 0 or num == nil then
  1872. game:service("RunService").Stepped:wait(0)
  1873. else
  1874. for i = 0, num do
  1875. game:service("RunService").Stepped:wait(0)
  1876. end
  1877. end
  1878. end
  1879.  
  1880. function clerp(a, b, t)
  1881. return a:lerp(b, t)
  1882. end
  1883.  
  1884. function Sound(id, vol, par, name, looped)
  1885. if not par:FindFirstChild(name) then
  1886. local sound = Instance.new("Sound", par)
  1887. sound.SoundId = id
  1888. sound.Volume = vol
  1889. if looped == true then
  1890. sound.Looped = true
  1891. end
  1892. sound.Name = name
  1893. sound:Play()
  1894. return sound
  1895. else
  1896. local sound = par:FindFirstChild(name)
  1897. sound:Play()
  1898. return sound
  1899. end
  1900. end
  1901.  
  1902. function StopSound(id, vol, par, name, looped)
  1903. if not par:FindFirstChild(name) then
  1904. local sound = Instance.new("Sound", par)
  1905. sound.SoundId = id
  1906. sound.Volume = vol
  1907. if looped == true then
  1908. sound.Looped = true
  1909. end
  1910. sound.Name = name
  1911. sound:Stop()
  1912. return sound
  1913. else
  1914. local sound = par:FindFirstChild(name)
  1915. sound:Stop()
  1916. return sound
  1917. end
  1918. end
  1919.  
  1920. function Force(part, pos, part2, pos2, par2)
  1921. local parp = Instance.new("Part", char)
  1922. parp.Size = Vector3.new(1, 1, 1)
  1923. parp.Transparency = 1
  1924. parp.CanCollide = false
  1925. local parpw = Instance.new("Weld", parp)
  1926. parpw.Part0 = part
  1927. parpw.Part1 = parp
  1928. parpw.C1 = pos
  1929. local pare = Instance.new("ParticleEmitter", parp)
  1930. pare.LockedToPart = true
  1931. pare.Transparency = NumberSequence.new(0.4, 1)
  1932. pare.Size = NumberSequence.new(1.25, 0)
  1933. pare.Lifetime = NumberRange.new(1)
  1934. pare.Rotation = NumberRange.new(0, 360)
  1935. pare.Rate = 200
  1936. pare.RotSpeed = NumberRange.new(360, 360)
  1937. pare.Speed = NumberRange.new(4)
  1938. pare.Color = ColorSequence.new(Color3.fromRGB(170, 0, 0),Color3.fromRGB(255, 255, 255))
  1939. pare.SpreadAngle = Vector2.new(360, 360)
  1940. pare.Texture = "rbxassetid://1539341292"
  1941. local parp2 = parp:Clone()
  1942. parp2.Parent = par2
  1943. local parp2w = parp2:FindFirstChild("Weld")
  1944. parp2w.Part0 = part2
  1945. parp2w.Part1 = parp2
  1946. parp2w.C1 = pos2
  1947. return parp, parp2
  1948. end
  1949.  
  1950. function equipunequip()
  1951. if attacking == false and equipped == false and Changing == false then
  1952. attacking = true
  1953. Changing = true
  1954. hum.WalkSpeed = 0
  1955. hum.JumpPower = 0
  1956. for i = 0,1,.1 do
  1957. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-20), 0, Rad(-60)), i)
  1958. rootj.C1 = clerp(rootj.C1, rootj1, i)
  1959. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(10), 0, 0), i)
  1960. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(30), Rad(-30), Rad(-3)), i)
  1961. LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), 0, 0), i)
  1962. RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), 0, 0), i)
  1963. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(5), 0, 0), i)
  1964. rootj.C0 = clerp(rootj.C0, rootj0, i)
  1965. LS.C0 = clerp(LS.C0, LS0, i)
  1966. RS.C0 = clerp(RS.C0, RS0 * CFn(0, 0, -0.5) * CFa(0, Rad(90), 0), i)
  1967. LH.C0 = clerp(LH.C0, LH0, i)
  1968. RH.C0 = clerp(RH.C0, RH0, i)
  1969. swait()
  1970. end
  1971. StopSound("rbxassetid://605607641", 2, cap, "SHEWW", false)
  1972. Sound("rbxassetid://605604103", 2, cap, "PSHEW", false)
  1973. Sound("rbxassetid://1460966017", 1, cap, "WANWAN", true)
  1974. equipped = true
  1975. mainw.Part0 = rarm
  1976. mainw.C1 = CFn(0, 1, 0) * CFa(0, Rad(180), 0)
  1977. outblade.Transparency = 0
  1978. outball.Transparency = 0
  1979. trail.Enabled = true
  1980. particle.Transparency = NumberSequence.new(0, 0.1)
  1981. particle.LockedToPart = true
  1982. particle.Enabled = true
  1983. for i = 0,1,.1 do
  1984. neck.C1 = clerp(neck.C1, neck1, i)
  1985. rootj.C1 = clerp(rootj.C1, rootj1, i)
  1986. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(10), 0, 0), i)
  1987. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(50), 0, 0), i)
  1988. LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), 0, 0), i)
  1989. RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), 0, 0), i)
  1990. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(5), 0, 0), i)
  1991. rootj.C0 = clerp(rootj.C0, rootj0, i)
  1992. LS.C0 = clerp(LS.C0, LS0, i)
  1993. RS.C0 = clerp(RS.C0, RS0, i)
  1994. LH.C0 = clerp(LH.C0, LH0, i)
  1995. RH.C0 = clerp(RH.C0, RH0, i)
  1996. swait()
  1997. end
  1998. hum.WalkSpeed = nws
  1999. hum.JumpPower = njp
  2000. Changing = false
  2001. attacking = false
  2002. elseif attacking == false and equipped == true and Changing == false then
  2003. attacking = true
  2004. Changing = true
  2005. hum.WalkSpeed = 0
  2006. hum.JumpPower = 0
  2007. StopSound("rbxassetid://605604103", 2, cap, "PSHEW", false)
  2008. Sound("rbxassetid://605607641", 2, cap, "SHEWW", false)
  2009. StopSound("rbxassetid://1460966017", 1, cap, "WANWAN", true)
  2010. outblade.Transparency = 1
  2011. outball.Transparency = 1
  2012. trail.Enabled = false
  2013. particle.Transparency = NumberSequence.new(0, 1)
  2014. particle.LockedToPart = false
  2015. particle.Enabled = false
  2016. for i = 0,1,.1 do
  2017. neck.C1 = clerp(neck.C1, neck1, i)
  2018. rootj.C1 = clerp(rootj.C1, rootj1, i)
  2019. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(10), 0, 0), i)
  2020. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(50), 0, 0), i)
  2021. LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), 0, 0), i)
  2022. RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), 0, 0), i)
  2023. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(5), 0, 0), i)
  2024. rootj.C0 = clerp(rootj.C0, rootj0, i)
  2025. LS.C0 = clerp(LS.C0, LS0, i)
  2026. RS.C0 = clerp(RS.C0, RS0, i)
  2027. LH.C0 = clerp(LH.C0, LH0, i)
  2028. RH.C0 = clerp(RH.C0, RH0, i)
  2029. swait()
  2030. end
  2031. for i = 0,1,.1 do
  2032. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-20), 0, Rad(-60)), i)
  2033. rootj.C1 = clerp(rootj.C1, rootj1, i)
  2034. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(10), 0, 0), i)
  2035. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(30), Rad(-30), Rad(-3)), i)
  2036. LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), 0, 0), i)
  2037. RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), 0, 0), i)
  2038. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(5), 0, 0), i)
  2039. rootj.C0 = clerp(rootj.C0, rootj0, i)
  2040. LS.C0 = clerp(LS.C0, LS0, i)
  2041. RS.C0 = clerp(RS.C0, RS0 * CFn(0, 0, -0.5) * CFa(0, Rad(90), 0), i)
  2042. LH.C0 = clerp(LH.C0, LH0, i)
  2043. RH.C0 = clerp(RH.C0, RH0, i)
  2044. swait()
  2045. end
  2046. mainw.Part0 = tor
  2047. mainw.C1 = CFn(1, 1, 0)
  2048. equipped = false
  2049. hum.WalkSpeed = nws
  2050. hum.JumpPower = njp
  2051. Changing = false
  2052. attacking = false
  2053. end
  2054. end
  2055.  
  2056. function Swing()
  2057. if attacking == false and equipped == true and Swinging == false then
  2058. attacking = true
  2059. Swinging = true
  2060. kill = true
  2061. hum.WalkSpeed = 3
  2062. hum.JumpPower = 5
  2063. local hey = bld.Touched:connect(function(hit)
  2064. if kill == true and hit.Parent:FindFirstChildOfClass("Humanoid") and not hit:IsDescendantOf(char) then
  2065. kill = false
  2066. local killman = hit.Parent
  2067. local killhum = killman:FindFirstChildOfClass("Humanoid")
  2068. local up = true
  2069. for i = 1,2 do
  2070. local cutpart = Instance.new("Part", killman)
  2071. cutpart.Size = Vector3.new(hit.Size.X, hit.Size.Y / 2, hit.Size.Z)
  2072. cutpart.BrickColor = hit.BrickColor
  2073. cutpart.Material = hit.Material
  2074. cutpart.Transparency = hit.Transparency
  2075. cutpart.Reflectance = hit.Reflectance
  2076. cutpart.BackSurface = hit.BackSurface
  2077. cutpart.BottomSurface = hit.BottomSurface
  2078. cutpart.FrontSurface = hit.FrontSurface
  2079. cutpart.LeftSurface = hit.LeftSurface
  2080. cutpart.RightSurface = hit.RightSurface
  2081. cutpart.TopSurface = hit.TopSurface
  2082. if up == true then
  2083. cutpart.CFrame = hit.CFrame * CFn(0, hit.Size.Y / 2, 0)
  2084. up = false
  2085. else
  2086. cutpart.CFrame = hit.CFrame * CFn(0, -(hit.Size.Y / 2), 0)
  2087. up = true
  2088. end
  2089. end
  2090. hit:Destroy()
  2091. killman:BreakJoints()
  2092. if attackstate == 1 then
  2093. Sound("rbxassetid://1647165403", 1, outblade, "CHWAN", false)
  2094. elseif attackstate == 2 then
  2095. Sound("rbxassetid://1335649595", 1, outblade, "PSSPS", false)
  2096. end
  2097. elseif kill == true and hit.Parent.Parent:FindFirstChildOfClass("Humanoid") and not hit:IsDescendantOf(char) then
  2098. kill = false
  2099. local killman = hit.Parent.Parent
  2100. local killhum = killman:FindFirstChildOfClass("Humanoid")
  2101. local up = true
  2102. for i = 1,2 do
  2103. local cutpart = Instance.new("Part", killman)
  2104. cutpart.Size = Vector3.new(hit.Size.X, hit.Size.Y / 2, hit.Size.Z)
  2105. cutpart.BrickColor = hit.BrickColor
  2106. cutpart.Material = hit.Material
  2107. cutpart.Transparency = hit.Transparency
  2108. cutpart.Reflectance = hit.Reflectance
  2109. cutpart.BackSurface = hit.BackSurface
  2110. cutpart.BottomSurface = hit.BottomSurface
  2111. cutpart.FrontSurface = hit.FrontSurface
  2112. cutpart.LeftSurface = hit.LeftSurface
  2113. cutpart.RightSurface = hit.RightSurface
  2114. cutpart.TopSurface = hit.TopSurface
  2115. if up == true then
  2116. cutpart.CFrame = hit.CFrame * CFn(0, hit.Size.Y / 2, 0)
  2117. up = false
  2118. else
  2119. cutpart.CFrame = hit.CFrame * CFn(0, -(hit.Size.Y / 2), 0)
  2120. up = true
  2121. end
  2122. end
  2123. hit:Destroy()
  2124. killman:BreakJoints()
  2125. if attackstate == 1 then
  2126. Sound("rbxassetid://1647165403", 1, outblade, "CHWAN", false)
  2127. elseif attackstate == 2 then
  2128. Sound("rbxassetid://1335649595", 1, outblade, "PSSPS", false)
  2129. end
  2130. end
  2131. end)
  2132. if attackstate == 1 then
  2133. attackstate = 2
  2134. for i = 0,1,.15 do
  2135. neck.C1 = clerp(neck.C1, neck1 * CFa(0, 0, Rad(-10)), i)
  2136. rootj.C1 = clerp(rootj.C1, rootj1, i)
  2137. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(10), 0, 0), i)
  2138. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(30), Rad(-80), Rad(-40)), i)
  2139. LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), 0, 0), i)
  2140. RH.C1 = clerp(RH.C1, RH1 * CFn(0.3, 0, 0) * CFa(Rad(5), 0, 0), i)
  2141. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(5), 0, 0), i)
  2142. rootj.C0 = clerp(rootj.C0, rootj0, i)
  2143. LS.C0 = clerp(LS.C0, LS0, i)
  2144. RS.C0 = clerp(RS.C0, RS0 * CFa(0, Rad(30), 0), i)
  2145. LH.C0 = clerp(LH.C0, LH0, i)
  2146. RH.C0 = clerp(RH.C0, RH0, i)
  2147. swait()
  2148. end
  2149. Sound("rbxassetid://2088308141", 2, outblade, "VOMB", false)
  2150. for i = 0,1,.15 do
  2151. neck.C1 = clerp(neck.C1, neck1 * CFa(0, 0, Rad(10)), i)
  2152. rootj.C1 = clerp(rootj.C1, rootj1, i)
  2153. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(10), 0, 0), i)
  2154. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(30), Rad(-80), Rad(-50)), i)
  2155. LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), 0, 0), i)
  2156. RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), 0, 0), i)
  2157. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(5), 0, 0), i)
  2158. rootj.C0 = clerp(rootj.C0, rootj0, i)
  2159. LS.C0 = clerp(LS.C0, LS0, i)
  2160. RS.C0 = clerp(RS.C0, RS0 * CFa(0, Rad(-75), 0), i)
  2161. LH.C0 = clerp(LH.C0, LH0, i)
  2162. RH.C0 = clerp(RH.C0, RH0, i)
  2163. swait()
  2164. end
  2165. elseif attackstate == 2 then
  2166. attackstate = 1
  2167. for i = 0,1,.15 do
  2168. neck.C1 = clerp(neck.C1, neck1 * CFa(0, 0, Rad(10)), i)
  2169. rootj.C1 = clerp(rootj.C1, rootj1, i)
  2170. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(10), 0, 0), i)
  2171. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(110), Rad(-20), Rad(-90)), i)
  2172. LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), 0, 0), i)
  2173. RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), 0, 0), i)
  2174. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(5), 0, 0), i)
  2175. rootj.C0 = clerp(rootj.C0, rootj0, i)
  2176. LS.C0 = clerp(LS.C0, LS0, i)
  2177. RS.C0 = clerp(RS.C0, RS0, i)
  2178. LH.C0 = clerp(LH.C0, LH0, i)
  2179. RH.C0 = clerp(RH.C0, RH0, i)
  2180. swait()
  2181. end
  2182. Sound("rbxassetid://2088308141", 2, outblade, "VOMB", false)
  2183. for i = 0,1,.15 do
  2184. neck.C1 = clerp(neck.C1, neck1 * CFa(0, 0, Rad(-10)), i)
  2185. rootj.C1 = clerp(rootj.C1, rootj1 * CFa(0, 0, Rad(-40)), i)
  2186. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(10), 0, 0), i)
  2187. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(-80), Rad(70), Rad(-40)), i)
  2188. LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), 0, 0), i)
  2189. RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), Rad(40), 0), i)
  2190. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(5), 0, 0), i)
  2191. rootj.C0 = clerp(rootj.C0, rootj0, i)
  2192. LS.C0 = clerp(LS.C0, LS0, i)
  2193. RS.C0 = clerp(RS.C0, RS0, i)
  2194. LH.C0 = clerp(LH.C0, LH0, i)
  2195. RH.C0 = clerp(RH.C0, RH0, i)
  2196. swait()
  2197. end
  2198. end
  2199. hum.WalkSpeed = nws
  2200. hum.JumpPower = njp
  2201. kill = false
  2202. hey:disconnect()
  2203. Swinging = false
  2204. attacking = false
  2205. end
  2206. end
  2207.  
  2208. function Choke()
  2209. if attacking == false and Choking == false then
  2210. attacking = true
  2211. Choking = true
  2212. hum.WalkSpeed = 0
  2213. hum.JumpPower = 0
  2214. if Mouse.Target ~= nil and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") then
  2215. local theguy = Mouse.Target.Parent
  2216. local thehum = theguy:FindFirstChildOfClass("Humanoid")
  2217. if thehum.Health > 0 then
  2218. local thehead = theguy:FindFirstChild("Head")
  2219. local thetor = theguy:FindFirstChild("Torso") or theguy:FindFirstChild("UpperTorso")
  2220. root.CFrame = CFn(root.CFrame.p, Vector3.new(Mouse.Hit.x, root.CFrame.y, Mouse.Hit.z))
  2221. thetor.CFrame = CFn(thetor.CFrame.p, Vector3.new(root.CFrame.x, thetor.CFrame.y, root.CFrame.z))
  2222. local thetorframe = thetor.CFrame
  2223. local forpar, forpar2 = Force(larm, CFn(0, 1, 0), thehead, CFn(0, 0.5, 0), theguy)
  2224. if thetor.Anchored == true then
  2225. thetor.Anchored = false
  2226. end
  2227. local thebv = Instance.new("BodyPosition", thetor)
  2228. thebv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  2229. thebv.Position = thetorframe.p
  2230. Sound("rbxassetid://1386781853", 2.5, larm, "OOOWA", false)
  2231. for i = 0,1,.15 do
  2232. neck.C1 = clerp(neck.C1, neck1 * CFa(0, 0, Rad(-20)) , i)
  2233. rootj.C1 = clerp(rootj.C1, rootj1 * CFa(0, 0, Rad(20)), i)
  2234. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(20), 0, Rad(90)), i)
  2235. RS.C1 = clerp(RS.C1, RS1 * CFa(0, Rad(20), 0), i)
  2236. LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), Rad(-20), 0), i)
  2237. RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), 0, 0), i)
  2238. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(5), 0, 0), i)
  2239. rootj.C0 = clerp(rootj.C0, rootj0, i)
  2240. LS.C0 = clerp(LS.C0, LS0, i)
  2241. RS.C0 = clerp(RS.C0, RS0, i)
  2242. LH.C0 = clerp(LH.C0, LH0, i)
  2243. RH.C0 = clerp(RH.C0, RH0, i)
  2244. swait()
  2245. end
  2246. thebv.Position = thetorframe * CFn(0, 10, 0).p
  2247. for i = 0,1,.05 do
  2248. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(20), 0, Rad(-20)), i)
  2249. rootj.C1 = clerp(rootj.C1, rootj1 * CFa(0, 0, Rad(20)), i)
  2250. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(20), 0, Rad(140)), i)
  2251. RS.C1 = clerp(RS.C1, RS1 * CFa(0, Rad(20), 0), i)
  2252. LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), Rad(-20), 0), i)
  2253. RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), 0, 0), i)
  2254. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(5), 0, 0), i)
  2255. rootj.C0 = clerp(rootj.C0, rootj0, i)
  2256. LS.C0 = clerp(LS.C0, LS0, i)
  2257. RS.C0 = clerp(RS.C0, RS0, i)
  2258. LH.C0 = clerp(LH.C0, LH0, i)
  2259. RH.C0 = clerp(RH.C0, RH0, i)
  2260. swait()
  2261. end
  2262. for i = 1,math.huge do
  2263. if buttonC == true and thehum.Health > 0 then
  2264. thehum.Health = thehum.Health - 1.5
  2265. swait()
  2266. elseif buttonC == false or thehum.Health <= 0 then
  2267. break
  2268. end
  2269. end
  2270. if thehum.Health <= 0 then
  2271. theguy:BreakJoints()
  2272. Sound("rbxassetid://513153251", 4, thetor, "OUCH", false)
  2273. end
  2274. thebv:Destroy()
  2275. forpar:Destroy()
  2276. forpar2:Destroy()
  2277. end
  2278. elseif Mouse.Target ~= nil and Mouse.Target.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  2279. local theguy = Mouse.Target.Parent.Parent
  2280. local thehum = theguy:FindFirstChildOfClass("Humanoid")
  2281. if thehum.Health > 0 then
  2282. local thehead = theguy:FindFirstChild("Head")
  2283. local thetor = theguy:FindFirstChild("Torso") or theguy:FindFirstChild("UpperTorso")
  2284. root.CFrame = CFn(root.CFrame.p, Vector3.new(Mouse.Hit.x, root.CFrame.y, Mouse.Hit.z))
  2285. thetor.CFrame = CFn(thetor.CFrame.p, Vector3.new(root.CFrame.x, root.CFrame.y, root.CFrame.z))
  2286. local thetorframe = thetor.CFrame
  2287. local forpar, forpar2 = Force(larm, CFn(0, 1, 0), thehead, CFn(0, 0.5, 0), theguy)
  2288. if thetor.Anchored == true then
  2289. thetor.Anchored = false
  2290. end
  2291. local thebv = Instance.new("BodyPosition", thetor)
  2292. thebv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  2293. thebv.Position = thetorframe.p
  2294. Sound("rbxassetid://1386781853", 2.5, larm, "OOOWA", false)
  2295. for i = 0,1,.15 do
  2296. neck.C1 = clerp(neck.C1, neck1 * CFa(0, 0, Rad(-20)) , i)
  2297. rootj.C1 = clerp(rootj.C1, rootj1 * CFa(0, 0, Rad(20)), i)
  2298. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(20), 0, Rad(90)), i)
  2299. RS.C1 = clerp(RS.C1, RS1 * CFa(0, Rad(20), 0), i)
  2300. LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), Rad(-20), 0), i)
  2301. RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), 0, 0), i)
  2302. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(5), 0, 0), i)
  2303. rootj.C0 = clerp(rootj.C0, rootj0, i)
  2304. LS.C0 = clerp(LS.C0, LS0, i)
  2305. RS.C0 = clerp(RS.C0, RS0, i)
  2306. LH.C0 = clerp(LH.C0, LH0, i)
  2307. RH.C0 = clerp(RH.C0, RH0, i)
  2308. swait()
  2309. end
  2310. thebv.Position = thetorframe * CFn(0, 10, 0).p
  2311. for i = 0,1,.05 do
  2312. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(20), 0, Rad(-20)), i)
  2313. rootj.C1 = clerp(rootj.C1, rootj1 * CFa(0, 0, Rad(20)), i)
  2314. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(20), 0, Rad(140)), i)
  2315. RS.C1 = clerp(RS.C1, RS1 * CFa(0, Rad(20), 0), i)
  2316. LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), Rad(-20), 0), i)
  2317. RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), 0, 0), i)
  2318. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(5), 0, 0), i)
  2319. rootj.C0 = clerp(rootj.C0, rootj0, i)
  2320. LS.C0 = clerp(LS.C0, LS0, i)
  2321. RS.C0 = clerp(RS.C0, RS0, i)
  2322. LH.C0 = clerp(LH.C0, LH0, i)
  2323. RH.C0 = clerp(RH.C0, RH0, i)
  2324. swait()
  2325. end
  2326. for i = 1,math.huge do
  2327. if buttonC == true and thehum.Health > 0 then
  2328. thehum.Health = thehum.Health - 1.5
  2329. swait()
  2330. elseif buttonC == false or thehum.Health <= 0 then
  2331. break
  2332. end
  2333. end
  2334. if thehum.Health <= 0 then
  2335. theguy:BreakJoints()
  2336. Sound("rbxassetid://513153251", 4, thetor, "OUCH", false)
  2337. end
  2338. thebv:Destroy()
  2339. forpar:Destroy()
  2340. forpar2:Destroy()
  2341. end
  2342. end
  2343. hum.WalkSpeed = nws
  2344. hum.JumpPower = njp
  2345. Choking = false
  2346. attacking = false
  2347. end
  2348. end
  2349.  
  2350.  
  2351. function LightStorm()
  2352. HoldingZ = true
  2353. attack = true
  2354. local sbs = Instance.new("BodyPosition", root)
  2355. sbs.P = 3000
  2356. sbs.D = 1000
  2357. sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  2358. sbs.position = RootPart.CFrame.p + Vector3.new(0, 100, 0)
  2359. wait(0.1)
  2360. root.Anchored = true
  2361. hum.WalkSpeed = 0
  2362. local rotation = 0
  2363. local typrot = math.random(1,2)
  2364. local rng = Instance.new("Part", char)
  2365. CFuncs["Sound"].Create("rbxassetid://402981977", rng, 1.5, 0.6)
  2366. rng.Anchored = true
  2367. rng.BrickColor = origcolor
  2368. rng.CanCollide = false
  2369. rng.FormFactor = 3
  2370. rng.Name = "Ring"
  2371. rng.Material = "Neon"
  2372. rng.Size = Vector3.new(1, 0.05, 1)
  2373. rng.Transparency = 1
  2374. rng.TopSurface = 0
  2375. rng.BottomSurface = 0
  2376. local rngm = Instance.new("SpecialMesh", rng)
  2377. rngm.MeshType = "Brick"
  2378. rngm.Scale = vt(0,1,0)
  2379. local dec = Instance.new("Decal",rng)
  2380. dec.Texture = "http://www.roblox.com/asset/?id=342199418"
  2381. dec.Face = "Top"
  2382. dec.Transparency = 1
  2383. local dec2 = dec:Clone()
  2384. dec2.Parent = rng
  2385. dec2.Face = "Bottom"
  2386. dec2.Transparency = 1
  2387.  
  2388.  
  2389. local summoned = Instance.new("ParticleEmitter",rng)
  2390. summoned.LightEmission = 1
  2391. summoned.Color = ColorSequence.new(Color3.new(1,0,1))
  2392. summoned.Rate = 100
  2393. summoned.Texture = "http://www.roblox.com/asset/?id=342199418"
  2394. summoned.Lifetime = NumberRange.new(0.5)
  2395. summoned.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,35,0)})
  2396. summoned.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  2397. summoned.Speed = NumberRange.new(0,0)
  2398. summoned.Rotation = NumberRange.new(-500,500)
  2399. summoned.RotSpeed = NumberRange.new(-500,500)
  2400.  
  2401. for i = 0,1,0.1 do
  2402. swait()
  2403. dec.Transparency = dec.Transparency - 0.1
  2404. dec2.Transparency = dec2.Transparency - 0.1
  2405. rngm.Scale = rngm.Scale + Vector3.new(0.5, 0, 0.5)
  2406. rng.CFrame = root.CFrame*CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(90),math.rad(180),0) + root.CFrame.lookVector*4
  2407. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),0.1)
  2408. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2409. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(20)), 0.3)
  2410. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-20)), 0.3)
  2411. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  2412. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  2413. RootPart.CFrame = FaceMouse2()[1]
  2414. end
  2415. summoned.Enabled = false
  2416.  
  2417. local Power = 4
  2418. while true do
  2419. swait()
  2420. Power = Power + 0.4
  2421. rngm.Scale = rngm.Scale + Vector3.new(0.085, 0, 0.085)
  2422. if typrot == 1 then
  2423. rotation = rotation + 2.5
  2424. elseif typrot == 2 then
  2425. rotation = rotation - 2.5
  2426. end
  2427. rng.CFrame = root.CFrame*CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(90),math.rad(rotation),0) + root.CFrame.lookVector*4
  2428. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),0.1)
  2429. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2430. RW.C0 = clerp(RW.C0, CFrame.new(1.05, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-20)), 0.1)
  2431. LW.C0 = clerp(LW.C0, CFrame.new(-1.05, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(20)), 0.1)
  2432. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  2433. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  2434. RootPart.CFrame = FaceMouse2()[1]
  2435. if HoldingZ == false then
  2436. coroutine.resume(coroutine.create(function()
  2437. while true do
  2438. if rng.Parent ~= nil then
  2439. swait()
  2440. if typrot == 1 then
  2441. rotation = rotation + 2.5
  2442. elseif typrot == 2 then
  2443. rotation = rotation - 2.5
  2444. end
  2445. rng.CFrame = root.CFrame*CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(90),math.rad(rotation),0) + root.CFrame.lookVector*4
  2446. elseif rng.Parent == nil then
  2447. break
  2448. end
  2449. end
  2450. end))
  2451. coroutine.resume(coroutine.create(function()
  2452. for i = 0, 24*Power/4 do
  2453. swait(2)
  2454. local a = Instance.new("Part",Character)
  2455. a.Name = "Direction"
  2456. a.Anchored = true
  2457. a.BrickColor = bc("Maroon")
  2458. a.Material = "Neon"
  2459. a.Transparency = 1
  2460. a.CanCollide = false
  2461. local ray = Ray.new(
  2462. rng.CFrame.p, -- origin
  2463. (mouse.Hit.p - rng.CFrame.p).unit * 500 -- direction
  2464. )
  2465. local ignore = Character
  2466. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  2467. a.BottomSurface = 10
  2468. a.TopSurface = 10
  2469. local distance = (rng.CFrame.p - position).magnitude
  2470. a.Size = Vector3.new(0.1, 0.1, 0.1)
  2471. a.CFrame = CFrame.new(rng.CFrame.p, position) * CFrame.new(0, 0, 0)
  2472. local lb = Instance.new("Part")
  2473. CFuncs["Sound"].Create("rbxassetid://1146690130", lb, 1, 2)
  2474. lb.Parent = char
  2475. lb.Color = Color3.new(1,1,0.5)
  2476. lb.CanCollide = false
  2477. lb.Material = "Neon"
  2478. lb.Anchored = true
  2479. lb.TopSurface = 0
  2480. lb.BottomSurface = 0
  2481. lb.Transparency = 0
  2482. lb.Size = vt(1.5,1.5,1.5)
  2483. lb.CFrame = a.CFrame*CFrame.Angles(math.rad(math.random(-1,1)),math.rad(math.random(-1,1)),0)
  2484. lb.Anchored = false
  2485. local thingery = Instance.new("SpecialMesh",lb)
  2486. thingery.MeshType = "Sphere"
  2487. game:GetService("Debris"):AddItem(lb, 10)
  2488. local bv = Instance.new("BodyVelocity")
  2489. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2490. bv.velocity = lb.CFrame.lookVector*250
  2491. bv.Parent = lb
  2492. local hitted = false
  2493. game:GetService("Debris"):AddItem(a, 0.1)
  2494. RootPart.CFrame = FaceMouse2()[1]
  2495. coroutine.resume(coroutine.create(function()
  2496. swait(1)
  2497. lb.Touched:connect(function(hit)
  2498. if hitted == false then
  2499. hitted = true
  2500. lb.Transparency = 1
  2501. lb.Anchored = true
  2502. CFuncs["Sound"].Create("rbxassetid://911792524", lb, 0.75, 1)
  2503. CFuncs["Sound"].Create("rbxassetid://28518734", lb, 1, 1.5)
  2504. MagniDamage(lb, 10, 5,15, 0, "Normal")
  2505. sphere(5,"Add",lb.CFrame,vt(2.5/2,2.5/2,2.5/2),0.2,BrickColor.new("Really black"))
  2506. sphere(10,"Add",lb.CFrame,vt(5/2,5/2,5/2),0.25,BrickColor.new("Maroon"))
  2507. wait(3)
  2508. lb:Destroy()
  2509. end
  2510. end)
  2511. end))
  2512.  
  2513. end
  2514. for i = 0,1,0.1 do
  2515. swait()
  2516. dec.Transparency = dec.Transparency + 0.1
  2517. dec2.Transparency = dec2.Transparency + 0.1
  2518. rngm.Scale = rngm.Scale - Vector3.new(0.5, 0, 0.5)
  2519. end
  2520. rng:Destroy()
  2521. hum.WalkSpeed = 16
  2522. sbs:Destroy()
  2523. root.Anchored = false
  2524. attack = false
  2525. end))
  2526. break
  2527. end
  2528. if Power > 63 and HoldingZ == true then
  2529. coroutine.resume(coroutine.create(function()
  2530. while true do
  2531. if rng.Parent ~= nil then
  2532. swait()
  2533. if typrot == 1 then
  2534. rotation = rotation + 2.5
  2535. elseif typrot == 2 then
  2536. rotation = rotation - 2.5
  2537. end
  2538. rng.CFrame = root.CFrame*CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(90),math.rad(rotation),0) + root.CFrame.lookVector*4
  2539. elseif rng.Parent == nil then
  2540. break
  2541. end
  2542. end
  2543. end))
  2544. coroutine.resume(coroutine.create(function()
  2545. for i = 0, 24*Power/4 do
  2546. swait(1)
  2547. local a = Instance.new("Part",Character)
  2548. a.Name = "Direction"
  2549. a.Anchored = true
  2550. a.BrickColor = bc("Maroon")
  2551. a.Material = "Neon"
  2552. a.Transparency = 1
  2553. a.CanCollide = false
  2554. local ray = Ray.new(
  2555. rng.CFrame.p, -- origin
  2556. (mouse.Hit.p - rng.CFrame.p).unit * 500 -- direction
  2557. )
  2558. local ignore = Character
  2559. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  2560. a.BottomSurface = 10
  2561. a.TopSurface = 10
  2562. local distance = (rng.CFrame.p - position).magnitude
  2563. a.Size = Vector3.new(0.1, 0.1, 0.1)
  2564. a.CFrame = CFrame.new(rng.CFrame.p, position) * CFrame.new(0, 0, 0)
  2565. local lb = Instance.new("Part")
  2566. CFuncs["Sound"].Create("rbxassetid://1146690130", lb, 1, 2)
  2567. lb.Parent = char
  2568. lb.Color = Color3.new(0,0,0)
  2569. lb.CanCollide = false
  2570. lb.Material = "Neon"
  2571. lb.Anchored = true
  2572. lb.TopSurface = 0
  2573. lb.BottomSurface = 0
  2574. lb.Transparency = 0
  2575. lb.Size = vt(1.5,1.5,1.5)
  2576. lb.CFrame = a.CFrame*CFrame.Angles(math.rad(math.random(-1,1)),math.rad(math.random(-1,1)),0)
  2577. lb.Anchored = false
  2578. local thingery = Instance.new("SpecialMesh",lb)
  2579. thingery.MeshType = "Sphere"
  2580. game:GetService("Debris"):AddItem(lb, 10)
  2581. local bv = Instance.new("BodyVelocity")
  2582. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2583. bv.velocity = lb.CFrame.lookVector*250
  2584. bv.Parent = lb
  2585. local hitted = false
  2586. game:GetService("Debris"):AddItem(a, 0.1)
  2587. RootPart.CFrame = FaceMouse2()[1]
  2588. coroutine.resume(coroutine.create(function()
  2589. swait(1)
  2590. lb.Touched:connect(function(hit)
  2591. if hitted == false then
  2592. hitted = true
  2593. lb.Transparency = 1
  2594. lb.Anchored = true
  2595. CFuncs["Sound"].Create("rbxassetid://911792524", lb, 0.75, 1)
  2596. CFuncs["Sound"].Create("rbxassetid://28518734", lb, 1, 1.5)
  2597. MagniDamage(lb, 10, 5,15, 0, "Normal")
  2598. sphere(5,"Add",lb.CFrame,vt(2.5/2,2.5/2,2.5/2),0.2,BrickColor.new("Really black"))
  2599. sphere(10,"Add",lb.CFrame,vt(5/2,5/2,5/2),0.25,BrickColor.new("Maroon"))
  2600. wait(3)
  2601. lb:Destroy()
  2602. end
  2603. end)
  2604. end))
  2605.  
  2606. end
  2607. for i = 0,1,0.1 do
  2608. swait()
  2609. dec.Transparency = dec.Transparency + 0.1
  2610. dec2.Transparency = dec2.Transparency + 0.1
  2611. rngm.Scale = rngm.Scale - Vector3.new(0.5, 0, 0.5)
  2612. end
  2613. rng:Destroy()
  2614. hum.WalkSpeed = 16
  2615. sbs:Destroy()
  2616. root.Anchored = false
  2617. attack = false
  2618. end))
  2619. HoldingZ = false
  2620. break
  2621. end
  2622. end
  2623. end
  2624. -----------------------------------------------------------------------------
  2625.  
  2626. function kdown(k)
  2627. if k == "e" then
  2628. equipunequip()
  2629. elseif k == "c" then
  2630. if buttonC == false then
  2631. buttonC = true
  2632. Choke()
  2633. end
  2634. end
  2635. end
  2636.  
  2637. function kup(k)
  2638. if k == "c" then
  2639. if buttonC == true then
  2640. buttonC = false
  2641. end
  2642. end
  2643. end
  2644.  
  2645. mouse.KeyDown:connect(function(k)
  2646. if k == "z" and attack == false and HoldingZ == false then
  2647. LightStorm()
  2648.  
  2649. function lmdown()
  2650. Swing()
  2651. end
  2652.  
  2653. Mouse.KeyDown:connect(kdown)
  2654. Mouse.KeyUp:connect(kup)
  2655. Mouse.Button1Down:connect(lmdown)
  2656.  
  2657. -----------------------------------------------------------------------------
  2658.  
  2659. warn([[The Corrupted Nobody.
  2660. last updated: 2018/11/23, 20:14 JST.
  2661.  
  2662. Please do not leak this script.]])
  2663.  
  2664. -----------------------------------------------------------------------------
  2665.  
  2666. while true do
  2667. swait()
  2668. sine = sine + 1
  2669. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  2670. if Changing == true then
  2671. state = "Change"
  2672. elseif Swinging == true then
  2673. state = "Swing"
  2674. elseif Choking == true then
  2675. state = "Choking"
  2676. elseif 1 < root.Velocity.y then
  2677. state = "Jump"
  2678. elseif -1 > root.Velocity.y then
  2679. state = "Fall"
  2680. elseif torvel < 1 then
  2681. state = "Idle"
  2682. elseif tor.Velocity.magnitude < 50 then
  2683. state = "Walk"
  2684. end
  2685.  
  2686. if state == "Jump" then
  2687. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-10), 0, 0), 0.15)
  2688. rootj.C1 = clerp(rootj.C1, rootj1 * CFa(Rad(-10), 0, 0), 0.15)
  2689. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(10), 0, 0), 0.15)
  2690. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(10), 0, 0), 0.15)
  2691. LH.C1 = clerp(LH.C1, LH1 * CFn(0.5, -1, -0.1) * CFa(Rad(-10), 0, Rad(-40)), 0.15)
  2692. RH.C1 = clerp(RH.C1, RH1 * CFn(-0.3, -0.8, 0) * CFa(Rad(-5), 0, Rad(15)), 0.15)
  2693. neck.C0 = clerp(neck.C0, neck0, 0.15)
  2694. rootj.C0 = clerp(rootj.C0, rootj0, 0.15)
  2695. LS.C0 = clerp(LS.C0, LS0, 0.15)
  2696. RS.C0 = clerp(RS.C0, RS0, 0.15)
  2697. LH.C0 = clerp(LH.C0, LH0, 0.15)
  2698. RH.C0 = clerp(RH.C0, RH0, 0.15)
  2699. elseif state == "Fall" then
  2700. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-5), 0, 0), 0.15)
  2701. rootj.C1 = clerp(rootj.C1, rootj1 * CFa(Rad(10), 0, 0), 0.15)
  2702. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(20), 0, 0), 0.15)
  2703. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(20), 0, 0), 0.15)
  2704. LH.C1 = clerp(LH.C1, LH1 * CFn(0.1, -0.4, -0.1) * CFa(Rad(-2), 0, 0), 0.15)
  2705. RH.C1 = clerp(RH.C1, RH1 * CFn(-0.1, -0.4, -0.1) * CFa(Rad(-2), 0, 0), 0.15)
  2706. neck.C0 = clerp(neck.C0, neck0, 0.15)
  2707. rootj.C0 = clerp(rootj.C0, rootj0, 0.15)
  2708. LS.C0 = clerp(LS.C0, LS0, 0.15)
  2709. RS.C0 = clerp(RS.C0, RS0, 0.15)
  2710. LH.C0 = clerp(LH.C0, LH0 * CFa(0, 0, Rad(20)), 0.15)
  2711. RH.C0 = clerp(RH.C0, RH0 * CFa(0, 0, Rad(-20)), 0.15)
  2712. elseif state == "Idle" then
  2713. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-7 * Sin(sine / 15)), 0, 0), 0.15)
  2714. rootj.C1 = clerp(rootj.C1, rootj1 * CFn(0, 0, 0.1 * Cos(sine / 15)) * CFa(Rad(-2 * Sin(sine / 15)), 0, 0), 0.15)
  2715. LS.C1 = clerp(LS.C1, LS1 * CFn(0, 0.1 * Cos(sine / 15), 0) * CFa(Rad(5), 0, 0), 0.15)
  2716. RS.C1 = clerp(RS.C1, RS1 * CFn(0, 0.1 * Cos(sine / 15), 0) * CFa(Rad(5), 0, 0), 0.15)
  2717. LH.C1 = clerp(LH.C1, LH1 * CFn(0, -0.1 * Cos(sine / 15), 0) * CFa(Rad(5), 0, Rad(2 * Sin(sine / 15))), 0.15)
  2718. RH.C1 = clerp(RH.C1, RH1 * CFn(0, -0.1 * Cos(sine / 15), 0) * CFa(Rad(5), 0, Rad(-2 * Sin(sine / 15))), 0.15)
  2719. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(10), 0, 0), 0.15)
  2720. rootj.C0 = clerp(rootj.C0, rootj0 * CFa(Rad(2), 0, 0), 0.15)
  2721. LS.C0 = clerp(LS.C0, LS0, 0.15)
  2722. RS.C0 = clerp(RS.C0, RS0, 0.15)
  2723. LH.C0 = clerp(LH.C0, LH0, 0.15)
  2724. RH.C0 = clerp(RH.C0, RH0, 0.15)
  2725. elseif state == "Walk" then
  2726. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-5 * Sin(sine / 4)), 0, 0), 0.15)
  2727. rootj.C1 = clerp(rootj.C1, rootj1 * CFn(0, 0, 0.1 * Cos(sine / 4)) * CFa(Rad(-5), 0, Rad(5 * Sin(sine / 8))), 0.15)
  2728. LS.C1 = clerp(LS.C1, LS1 * CFa(0, 0, Rad(-25 * Sin(sine / 8))), 0.15)
  2729. RS.C1 = clerp(RS.C1, RS1 * CFa(0, 0, Rad(-25 * Sin(sine / 8))), 0.15)
  2730. LH.C1 = clerp(LH.C1, LH1 * CFn(0.15 * Cos(sine / 8), -0.3 * Cos(sine / 8), 0) * CFa(0, 0, Rad(55 * Sin(sine / 8))), 0.15)
  2731. RH.C1 = clerp(RH.C1, RH1 * CFn(0.15 * Cos(sine / 8), 0.3 * Cos(sine / 8), 0) * CFa(0, 0, Rad(55 * Sin(sine / 8))), 0.15)
  2732. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(5), 0, 0), 0.15)
  2733. rootj.C0 = clerp(rootj.C0, rootj0, 0.15)
  2734. LS.C0 = clerp(LS.C0, LS0, 0.15)
  2735. RS.C0 = clerp(RS.C0, RS0, 0.15)
  2736. LH.C0 = clerp(LH.C0, LH0 * CFa(0, 0, Rad(20)), 0.15)
  2737. RH.C0 = clerp(RH.C0, RH0 * CFa(0, 0, Rad(-20)), 0.15)
  2738. end
  2739. if not head:FindFirstChild("KOOOHAAA") then
  2740. koohaa = Instance.new("Sound", head)
  2741. koohaa.SoundId = "rbxassetid://149840174"
  2742. koohaa.Name = "KOOOHAAA"
  2743. koohaa.Volume = 2
  2744. koohaa.TimePosition = thepos
  2745. koohaa.Looped = true
  2746. koohaa:Play()
  2747. end
  2748. thepos = koohaa.TimePosition
  2749. end
  2750. -----------------------------------------------------------------------------
  2751.  
  2752. while true do
  2753. swait()
  2754. sine = sine + 1
  2755. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  2756. if Changing == true then
  2757. state = "Change"
  2758. elseif Swinging == true then
  2759. state = "Swing"
  2760. elseif Choking == true then
  2761. state = "Choking"
  2762. elseif 1 < root.Velocity.y then
  2763. state = "Jump"
  2764. elseif -1 > root.Velocity.y then
  2765. state = "Fall"
  2766. elseif torvel < 1 then
  2767. state = "Idle"
  2768. elseif tor.Velocity.magnitude < 50 then
  2769. state = "Walk"
  2770. end
  2771.  
  2772. if state == "Jump" then
  2773. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-10), 0, 0), 0.15)
  2774. rootj.C1 = clerp(rootj.C1, rootj1 * CFa(Rad(-10), 0, 0), 0.15)
  2775. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(10), 0, 0), 0.15)
  2776. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(10), 0, 0), 0.15)
  2777. LH.C1 = clerp(LH.C1, LH1 * CFn(0.5, -1, -0.1) * CFa(Rad(-10), 0, Rad(-40)), 0.15)
  2778. RH.C1 = clerp(RH.C1, RH1 * CFn(-0.3, -0.8, 0) * CFa(Rad(-5), 0, Rad(15)), 0.15)
  2779. neck.C0 = clerp(neck.C0, neck0, 0.15)
  2780. rootj.C0 = clerp(rootj.C0, rootj0, 0.15)
  2781. LS.C0 = clerp(LS.C0, LS0, 0.15)
  2782. RS.C0 = clerp(RS.C0, RS0, 0.15)
  2783. LH.C0 = clerp(LH.C0, LH0, 0.15)
  2784. RH.C0 = clerp(RH.C0, RH0, 0.15)
  2785. elseif state == "Fall" then
  2786. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-5), 0, 0), 0.15)
  2787. rootj.C1 = clerp(rootj.C1, rootj1 * CFa(Rad(10), 0, 0), 0.15)
  2788. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(20), 0, 0), 0.15)
  2789. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(20), 0, 0), 0.15)
  2790. LH.C1 = clerp(LH.C1, LH1 * CFn(0.1, -0.4, -0.1) * CFa(Rad(-2), 0, 0), 0.15)
  2791. RH.C1 = clerp(RH.C1, RH1 * CFn(-0.1, -0.4, -0.1) * CFa(Rad(-2), 0, 0), 0.15)
  2792. neck.C0 = clerp(neck.C0, neck0, 0.15)
  2793. rootj.C0 = clerp(rootj.C0, rootj0, 0.15)
  2794. LS.C0 = clerp(LS.C0, LS0, 0.15)
  2795. RS.C0 = clerp(RS.C0, RS0, 0.15)
  2796. LH.C0 = clerp(LH.C0, LH0 * CFa(0, 0, Rad(20)), 0.15)
  2797. RH.C0 = clerp(RH.C0, RH0 * CFa(0, 0, Rad(-20)), 0.15)
  2798. elseif state == "Idle" then
  2799. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-7 * Sin(sine / 15)), 0, 0), 0.15)
  2800. rootj.C1 = clerp(rootj.C1, rootj1 * CFn(0, 0, 0.1 * Cos(sine / 15)) * CFa(Rad(-2 * Sin(sine / 15)), 0, 0), 0.15)
  2801. LS.C1 = clerp(LS.C1, LS1 * CFn(0, 0.1 * Cos(sine / 15), 0) * CFa(Rad(5), 0, 0), 0.15)
  2802. RS.C1 = clerp(RS.C1, RS1 * CFn(0, 0.1 * Cos(sine / 15), 0) * CFa(Rad(5), 0, 0), 0.15)
  2803. LH.C1 = clerp(LH.C1, LH1 * CFn(0, -0.1 * Cos(sine / 15), 0) * CFa(Rad(5), 0, Rad(2 * Sin(sine / 15))), 0.15)
  2804. RH.C1 = clerp(RH.C1, RH1 * CFn(0, -0.1 * Cos(sine / 15), 0) * CFa(Rad(5), 0, Rad(-2 * Sin(sine / 15))), 0.15)
  2805. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(10), 0, 0), 0.15)
  2806. rootj.C0 = clerp(rootj.C0, rootj0 * CFa(Rad(2), 0, 0), 0.15)
  2807. LS.C0 = clerp(LS.C0, LS0, 0.15)
  2808. RS.C0 = clerp(RS.C0, RS0, 0.15)
  2809. LH.C0 = clerp(LH.C0, LH0, 0.15)
  2810. RH.C0 = clerp(RH.C0, RH0, 0.15)
  2811. elseif state == "Walk" then
  2812. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-5 * Sin(sine / 4)), 0, 0), 0.15)
  2813. rootj.C1 = clerp(rootj.C1, rootj1 * CFn(0, 0, 0.1 * Cos(sine / 4)) * CFa(Rad(-5), 0, Rad(5 * Sin(sine / 8))), 0.15)
  2814. LS.C1 = clerp(LS.C1, LS1 * CFa(0, 0, Rad(-25 * Sin(sine / 8))), 0.15)
  2815. RS.C1 = clerp(RS.C1, RS1 * CFa(0, 0, Rad(-25 * Sin(sine / 8))), 0.15)
  2816. LH.C1 = clerp(LH.C1, LH1 * CFn(0.15 * Cos(sine / 8), -0.3 * Cos(sine / 8), 0) * CFa(0, 0, Rad(55 * Sin(sine / 8))), 0.15)
  2817. RH.C1 = clerp(RH.C1, RH1 * CFn(0.15 * Cos(sine / 8), 0.3 * Cos(sine / 8), 0) * CFa(0, 0, Rad(55 * Sin(sine / 8))), 0.15)
  2818. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(5), 0, 0), 0.15)
  2819. rootj.C0 = clerp(rootj.C0, rootj0, 0.15)
  2820. LS.C0 = clerp(LS.C0, LS0, 0.15)
  2821. RS.C0 = clerp(RS.C0, RS0, 0.15)
  2822. LH.C0 = clerp(LH.C0, LH0 * CFa(0, 0, Rad(20)), 0.15)
  2823. RH.C0 = clerp(RH.C0, RH0 * CFa(0, 0, Rad(-20)), 0.15)
  2824. end
  2825. if not head:FindFirstChild("KOOOHAAA") then
  2826. koohaa = Instance.new("Sound", head)
  2827. koohaa.SoundId = "rbxassetid://149840174"
  2828. koohaa.Name = "KOOOHAAA"
  2829. koohaa.Volume = 2
  2830. koohaa.TimePosition = thepos
  2831. koohaa.Looped = true
  2832. koohaa:Play()
  2833. end
  2834. thepos = koohaa.TimePosition
  2835. end
  2836.  
  2837. -----------------------------------------------------------------------------
  2838.  
  2839. function kdown(k)
  2840. if k == "e" then
  2841. equipunequip()
  2842. elseif k == "c" then
  2843. if buttonC == false then
  2844. buttonC = true
  2845. Choke()
  2846. end
  2847. end
  2848. end
  2849.  
  2850. function kdown(k)
  2851. if k == "b" then
  2852. sleepchild()
  2853. end
  2854.  
  2855. function kup(k)
  2856. if k == "c" then
  2857. if buttonC == true then
  2858. buttonC = false
  2859. end
  2860. end
  2861. end
  2862.  
  2863.  
  2864. function lmdown()
  2865. Swing()
  2866. end
  2867.  
  2868. Mouse.KeyDown:connect(kdown)
  2869. Mouse.KeyUp:connect(kup)
  2870. Mouse.Button1Down:connect(lmdown)
  2871.  
  2872. -----------------------------------------------------------------------------
  2873.  
  2874. warn([[The Corrupted Nobody.
  2875. last updated: 2018/11/23, 20:14 JST.
  2876.  
  2877. Please do not leak this script.]])
  2878.  
  2879. -----------------------------------------------------------------------------
  2880.  
  2881. while true do
  2882. swait()
  2883. sine = sine + 1
  2884. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  2885. if Changing == true then
  2886. state = "Change"
  2887. elseif Swinging == true then
  2888. state = "Swing"
  2889. elseif Choking == true then
  2890. state = "Choking"
  2891. elseif 1 < root.Velocity.y then
  2892. state = "Jump"
  2893. elseif -1 > root.Velocity.y then
  2894. state = "Fall"
  2895. elseif torvel < 1 then
  2896. state = "Idle"
  2897. elseif tor.Velocity.magnitude < 50 then
  2898. state = "Walk"
  2899. end
  2900.  
  2901. if state == "Jump" then
  2902. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-10), 0, 0), 0.15)
  2903. rootj.C1 = clerp(rootj.C1, rootj1 * CFa(Rad(-10), 0, 0), 0.15)
  2904. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(10), 0, 0), 0.15)
  2905. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(10), 0, 0), 0.15)
  2906. LH.C1 = clerp(LH.C1, LH1 * CFn(0.5, -1, -0.1) * CFa(Rad(-10), 0, Rad(-40)), 0.15)
  2907. RH.C1 = clerp(RH.C1, RH1 * CFn(-0.3, -0.8, 0) * CFa(Rad(-5), 0, Rad(15)), 0.15)
  2908. neck.C0 = clerp(neck.C0, neck0, 0.15)
  2909. rootj.C0 = clerp(rootj.C0, rootj0, 0.15)
  2910. LS.C0 = clerp(LS.C0, LS0, 0.15)
  2911. RS.C0 = clerp(RS.C0, RS0, 0.15)
  2912. LH.C0 = clerp(LH.C0, LH0, 0.15)
  2913. RH.C0 = clerp(RH.C0, RH0, 0.15)
  2914. elseif state == "Fall" then
  2915. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-5), 0, 0), 0.15)
  2916. rootj.C1 = clerp(rootj.C1, rootj1 * CFa(Rad(10), 0, 0), 0.15)
  2917. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(20), 0, 0), 0.15)
  2918. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(20), 0, 0), 0.15)
  2919. LH.C1 = clerp(LH.C1, LH1 * CFn(0.1, -0.4, -0.1) * CFa(Rad(-2), 0, 0), 0.15)
  2920. RH.C1 = clerp(RH.C1, RH1 * CFn(-0.1, -0.4, -0.1) * CFa(Rad(-2), 0, 0), 0.15)
  2921. neck.C0 = clerp(neck.C0, neck0, 0.15)
  2922. rootj.C0 = clerp(rootj.C0, rootj0, 0.15)
  2923. LS.C0 = clerp(LS.C0, LS0, 0.15)
  2924. RS.C0 = clerp(RS.C0, RS0, 0.15)
  2925. LH.C0 = clerp(LH.C0, LH0 * CFa(0, 0, Rad(20)), 0.15)
  2926. RH.C0 = clerp(RH.C0, RH0 * CFa(0, 0, Rad(-20)), 0.15)
  2927. elseif state == "Idle" then
  2928. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-7 * Sin(sine / 15)), 0, 0), 0.15)
  2929. rootj.C1 = clerp(rootj.C1, rootj1 * CFn(0, 0, 0.1 * Cos(sine / 15)) * CFa(Rad(-2 * Sin(sine / 15)), 0, 0), 0.15)
  2930. LS.C1 = clerp(LS.C1, LS1 * CFn(0, 0.1 * Cos(sine / 15), 0) * CFa(Rad(5), 0, 0), 0.15)
  2931. RS.C1 = clerp(RS.C1, RS1 * CFn(0, 0.1 * Cos(sine / 15), 0) * CFa(Rad(5), 0, 0), 0.15)
  2932. LH.C1 = clerp(LH.C1, LH1 * CFn(0, -0.1 * Cos(sine / 15), 0) * CFa(Rad(5), 0, Rad(2 * Sin(sine / 15))), 0.15)
  2933. RH.C1 = clerp(RH.C1, RH1 * CFn(0, -0.1 * Cos(sine / 15), 0) * CFa(Rad(5), 0, Rad(-2 * Sin(sine / 15))), 0.15)
  2934. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(10), 0, 0), 0.15)
  2935. rootj.C0 = clerp(rootj.C0, rootj0 * CFa(Rad(2), 0, 0), 0.15)
  2936. LS.C0 = clerp(LS.C0, LS0, 0.15)
  2937. RS.C0 = clerp(RS.C0, RS0, 0.15)
  2938. LH.C0 = clerp(LH.C0, LH0, 0.15)
  2939. RH.C0 = clerp(RH.C0, RH0, 0.15)
  2940. elseif state == "Walk" then
  2941. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-5 * Sin(sine / 4)), 0, 0), 0.15)
  2942. rootj.C1 = clerp(rootj.C1, rootj1 * CFn(0, 0, 0.1 * Cos(sine / 4)) * CFa(Rad(-5), 0, Rad(5 * Sin(sine / 8))), 0.15)
  2943. LS.C1 = clerp(LS.C1, LS1 * CFa(0, 0, Rad(-25 * Sin(sine / 8))), 0.15)
  2944. RS.C1 = clerp(RS.C1, RS1 * CFa(0, 0, Rad(-25 * Sin(sine / 8))), 0.15)
  2945. LH.C1 = clerp(LH.C1, LH1 * CFn(0.15 * Cos(sine / 8), -0.3 * Cos(sine / 8), 0) * CFa(0, 0, Rad(55 * Sin(sine / 8))), 0.15)
  2946. RH.C1 = clerp(RH.C1, RH1 * CFn(0.15 * Cos(sine / 8), 0.3 * Cos(sine / 8), 0) * CFa(0, 0, Rad(55 * Sin(sine / 8))), 0.15)
  2947. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(5), 0, 0), 0.15)
  2948. rootj.C0 = clerp(rootj.C0, rootj0, 0.15)
  2949. LS.C0 = clerp(LS.C0, LS0, 0.15)
  2950. RS.C0 = clerp(RS.C0, RS0, 0.15)
  2951. LH.C0 = clerp(LH.C0, LH0 * CFa(0, 0, Rad(20)), 0.15)
  2952. RH.C0 = clerp(RH.C0, RH0 * CFa(0, 0, Rad(-20)), 0.15)
  2953. end
  2954. if not head:FindFirstChild("KOOOHAAA") then
  2955. koohaa = Instance.new("Sound", head)
  2956. koohaa.SoundId = "rbxassetid://149840174"
  2957. koohaa.Name = "KOOOHAAA"
  2958. koohaa.Volume = 2
  2959. koohaa.TimePosition = thepos
  2960. koohaa.Looped = true
  2961. koohaa:Play()
  2962. end
  2963. thepos = koohaa.TimePosition
  2964. end
  2965. -----------------------------------------------------------------------------
  2966.  
  2967. while true do
  2968. swait()
  2969. sine = sine + 1
  2970. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  2971. if Changing == true then
  2972. state = "Change"
  2973. elseif Swinging == true then
  2974. state = "Swing"
  2975. elseif Choking == true then
  2976. state = "Choking"
  2977. elseif 1 < root.Velocity.y then
  2978. state = "Jump"
  2979. elseif -1 > root.Velocity.y then
  2980. state = "Fall"
  2981. elseif torvel < 1 then
  2982. state = "Idle"
  2983. elseif tor.Velocity.magnitude < 50 then
  2984. state = "Walk"
  2985. end
  2986.  
  2987. if state == "Jump" then
  2988. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-10), 0, 0), 0.15)
  2989. rootj.C1 = clerp(rootj.C1, rootj1 * CFa(Rad(-10), 0, 0), 0.15)
  2990. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(10), 0, 0), 0.15)
  2991. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(10), 0, 0), 0.15)
  2992. LH.C1 = clerp(LH.C1, LH1 * CFn(0.5, -1, -0.1) * CFa(Rad(-10), 0, Rad(-40)), 0.15)
  2993. RH.C1 = clerp(RH.C1, RH1 * CFn(-0.3, -0.8, 0) * CFa(Rad(-5), 0, Rad(15)), 0.15)
  2994. neck.C0 = clerp(neck.C0, neck0, 0.15)
  2995. rootj.C0 = clerp(rootj.C0, rootj0, 0.15)
  2996. LS.C0 = clerp(LS.C0, LS0, 0.15)
  2997. RS.C0 = clerp(RS.C0, RS0, 0.15)
  2998. LH.C0 = clerp(LH.C0, LH0, 0.15)
  2999. RH.C0 = clerp(RH.C0, RH0, 0.15)
  3000. elseif state == "Fall" then
  3001. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-5), 0, 0), 0.15)
  3002. rootj.C1 = clerp(rootj.C1, rootj1 * CFa(Rad(10), 0, 0), 0.15)
  3003. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(20), 0, 0), 0.15)
  3004. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(20), 0, 0), 0.15)
  3005. LH.C1 = clerp(LH.C1, LH1 * CFn(0.1, -0.4, -0.1) * CFa(Rad(-2), 0, 0), 0.15)
  3006. RH.C1 = clerp(RH.C1, RH1 * CFn(-0.1, -0.4, -0.1) * CFa(Rad(-2), 0, 0), 0.15)
  3007. neck.C0 = clerp(neck.C0, neck0, 0.15)
  3008. rootj.C0 = clerp(rootj.C0, rootj0, 0.15)
  3009. LS.C0 = clerp(LS.C0, LS0, 0.15)
  3010. RS.C0 = clerp(RS.C0, RS0, 0.15)
  3011. LH.C0 = clerp(LH.C0, LH0 * CFa(0, 0, Rad(20)), 0.15)
  3012. RH.C0 = clerp(RH.C0, RH0 * CFa(0, 0, Rad(-20)), 0.15)
  3013. elseif state == "Idle" then
  3014. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-7 * Sin(sine / 15)), 0, 0), 0.15)
  3015. rootj.C1 = clerp(rootj.C1, rootj1 * CFn(0, 0, 0.1 * Cos(sine / 15)) * CFa(Rad(-2 * Sin(sine / 15)), 0, 0), 0.15)
  3016. LS.C1 = clerp(LS.C1, LS1 * CFn(0, 0.1 * Cos(sine / 15), 0) * CFa(Rad(5), 0, 0), 0.15)
  3017. RS.C1 = clerp(RS.C1, RS1 * CFn(0, 0.1 * Cos(sine / 15), 0) * CFa(Rad(5), 0, 0), 0.15)
  3018. LH.C1 = clerp(LH.C1, LH1 * CFn(0, -0.1 * Cos(sine / 15), 0) * CFa(Rad(5), 0, Rad(2 * Sin(sine / 15))), 0.15)
  3019. RH.C1 = clerp(RH.C1, RH1 * CFn(0, -0.1 * Cos(sine / 15), 0) * CFa(Rad(5), 0, Rad(-2 * Sin(sine / 15))), 0.15)
  3020. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(10), 0, 0), 0.15)
  3021. rootj.C0 = clerp(rootj.C0, rootj0 * CFa(Rad(2), 0, 0), 0.15)
  3022. LS.C0 = clerp(LS.C0, LS0, 0.15)
  3023. RS.C0 = clerp(RS.C0, RS0, 0.15)
  3024. LH.C0 = clerp(LH.C0, LH0, 0.15)
  3025. RH.C0 = clerp(RH.C0, RH0, 0.15)
  3026. elseif state == "Walk" then
  3027. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-5 * Sin(sine / 4)), 0, 0), 0.15)
  3028. rootj.C1 = clerp(rootj.C1, rootj1 * CFn(0, 0, 0.1 * Cos(sine / 4)) * CFa(Rad(-5), 0, Rad(5 * Sin(sine / 8))), 0.15)
  3029. LS.C1 = clerp(LS.C1, LS1 * CFa(0, 0, Rad(-25 * Sin(sine / 8))), 0.15)
  3030. RS.C1 = clerp(RS.C1, RS1 * CFa(0, 0, Rad(-25 * Sin(sine / 8))), 0.15)
  3031. LH.C1 = clerp(LH.C1, LH1 * CFn(0.15 * Cos(sine / 8), -0.3 * Cos(sine / 8), 0) * CFa(0, 0, Rad(55 * Sin(sine / 8))), 0.15)
  3032. RH.C1 = clerp(RH.C1, RH1 * CFn(0.15 * Cos(sine / 8), 0.3 * Cos(sine / 8), 0) * CFa(0, 0, Rad(55 * Sin(sine / 8))), 0.15)
  3033. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(5), 0, 0), 0.15)
  3034. rootj.C0 = clerp(rootj.C0, rootj0, 0.15)
  3035. LS.C0 = clerp(LS.C0, LS0, 0.15)
  3036. RS.C0 = clerp(RS.C0, RS0, 0.15)
  3037. LH.C0 = clerp(LH.C0, LH0 * CFa(0, 0, Rad(20)), 0.15)
  3038. RH.C0 = clerp(RH.C0, RH0 * CFa(0, 0, Rad(-20)), 0.15)
  3039. end
  3040. if not head:FindFirstChild("KOOOHAAA") then
  3041. koohaa = Instance.new("Sound", head)
  3042. koohaa.SoundId = "rbxassetid://149840174"
  3043. koohaa.Name = "KOOOHAAA"
  3044. koohaa.Volume = 2
  3045. koohaa.TimePosition = thepos
  3046. koohaa.Looped = true
  3047. koohaa:Play()
  3048. end
  3049. thepos = koohaa.TimePosition
  3050. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement