Advertisement
sawgamer1

Untitled

Nov 25th, 2018
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 54.89 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.  
  1314. function kdown(k)
  1315. if k == "e" then
  1316. equipunequip()
  1317. elseif k == "c" then
  1318. if buttonC == false then
  1319. buttonC = true
  1320. Choke()
  1321. end
  1322. end
  1323. end
  1324.  
  1325. function kup(k)
  1326. if k == "c" then
  1327. if buttonC == true then
  1328. buttonC = false
  1329. end
  1330. end
  1331. end
  1332.  
  1333. elseif k == "b" then
  1334. buttonC == false then
  1335. buttonC = true
  1336. Lightstorm()
  1337. end
  1338. end
  1339. end
  1340.  
  1341. function kup(k)
  1342. if k == "b" then
  1343. if buttonC == true then
  1344. buttonC = false
  1345. end
  1346. end
  1347. end
  1348.  
  1349.  
  1350. function lmdown()
  1351. Swing()
  1352. end
  1353.  
  1354. Mouse.KeyDown:connect(kdown)
  1355. Mouse.KeyUp:connect(kup)
  1356. Mouse.Button1Down:connect(lmdown)
  1357.  
  1358. -----------------------------------------------------------------------------
  1359.  
  1360. warn([[The Corrupted Nobody.
  1361. last updated: 2018/11/23, 20:14 JST.
  1362.  
  1363. Please do not leak this script.]])
  1364.  
  1365. -----------------------------------------------------------------------------
  1366.  
  1367. while true do
  1368. swait()
  1369. sine = sine + 1
  1370. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  1371. if Changing == true then
  1372. state = "Change"
  1373. elseif Swinging == true then
  1374. state = "Swing"
  1375. elseif Choking == true then
  1376. state = "Choking"
  1377. elseif 1 < root.Velocity.y then
  1378. state = "Jump"
  1379. elseif -1 > root.Velocity.y then
  1380. state = "Fall"
  1381. elseif torvel < 1 then
  1382. state = "Idle"
  1383. elseif tor.Velocity.magnitude < 50 then
  1384. state = "Walk"
  1385. end
  1386.  
  1387. if state == "Jump" then
  1388. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-10), 0, 0), 0.15)
  1389. rootj.C1 = clerp(rootj.C1, rootj1 * CFa(Rad(-10), 0, 0), 0.15)
  1390. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(10), 0, 0), 0.15)
  1391. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(10), 0, 0), 0.15)
  1392. LH.C1 = clerp(LH.C1, LH1 * CFn(0.5, -1, -0.1) * CFa(Rad(-10), 0, Rad(-40)), 0.15)
  1393. RH.C1 = clerp(RH.C1, RH1 * CFn(-0.3, -0.8, 0) * CFa(Rad(-5), 0, Rad(15)), 0.15)
  1394. neck.C0 = clerp(neck.C0, neck0, 0.15)
  1395. rootj.C0 = clerp(rootj.C0, rootj0, 0.15)
  1396. LS.C0 = clerp(LS.C0, LS0, 0.15)
  1397. RS.C0 = clerp(RS.C0, RS0, 0.15)
  1398. LH.C0 = clerp(LH.C0, LH0, 0.15)
  1399. RH.C0 = clerp(RH.C0, RH0, 0.15)
  1400. elseif state == "Fall" then
  1401. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-5), 0, 0), 0.15)
  1402. rootj.C1 = clerp(rootj.C1, rootj1 * CFa(Rad(10), 0, 0), 0.15)
  1403. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(20), 0, 0), 0.15)
  1404. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(20), 0, 0), 0.15)
  1405. LH.C1 = clerp(LH.C1, LH1 * CFn(0.1, -0.4, -0.1) * CFa(Rad(-2), 0, 0), 0.15)
  1406. RH.C1 = clerp(RH.C1, RH1 * CFn(-0.1, -0.4, -0.1) * CFa(Rad(-2), 0, 0), 0.15)
  1407. neck.C0 = clerp(neck.C0, neck0, 0.15)
  1408. rootj.C0 = clerp(rootj.C0, rootj0, 0.15)
  1409. LS.C0 = clerp(LS.C0, LS0, 0.15)
  1410. RS.C0 = clerp(RS.C0, RS0, 0.15)
  1411. LH.C0 = clerp(LH.C0, LH0 * CFa(0, 0, Rad(20)), 0.15)
  1412. RH.C0 = clerp(RH.C0, RH0 * CFa(0, 0, Rad(-20)), 0.15)
  1413. elseif state == "Idle" then
  1414. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-7 * Sin(sine / 15)), 0, 0), 0.15)
  1415. rootj.C1 = clerp(rootj.C1, rootj1 * CFn(0, 0, 0.1 * Cos(sine / 15)) * CFa(Rad(-2 * Sin(sine / 15)), 0, 0), 0.15)
  1416. LS.C1 = clerp(LS.C1, LS1 * CFn(0, 0.1 * Cos(sine / 15), 0) * CFa(Rad(5), 0, 0), 0.15)
  1417. RS.C1 = clerp(RS.C1, RS1 * CFn(0, 0.1 * Cos(sine / 15), 0) * CFa(Rad(5), 0, 0), 0.15)
  1418. 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)
  1419. 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)
  1420. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(10), 0, 0), 0.15)
  1421. rootj.C0 = clerp(rootj.C0, rootj0 * CFa(Rad(2), 0, 0), 0.15)
  1422. LS.C0 = clerp(LS.C0, LS0, 0.15)
  1423. RS.C0 = clerp(RS.C0, RS0, 0.15)
  1424. LH.C0 = clerp(LH.C0, LH0, 0.15)
  1425. RH.C0 = clerp(RH.C0, RH0, 0.15)
  1426. elseif state == "Walk" then
  1427. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-5 * Sin(sine / 4)), 0, 0), 0.15)
  1428. 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)
  1429. LS.C1 = clerp(LS.C1, LS1 * CFa(0, 0, Rad(-25 * Sin(sine / 8))), 0.15)
  1430. RS.C1 = clerp(RS.C1, RS1 * CFa(0, 0, Rad(-25 * Sin(sine / 8))), 0.15)
  1431. 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)
  1432. 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)
  1433. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(5), 0, 0), 0.15)
  1434. rootj.C0 = clerp(rootj.C0, rootj0, 0.15)
  1435. LS.C0 = clerp(LS.C0, LS0, 0.15)
  1436. RS.C0 = clerp(RS.C0, RS0, 0.15)
  1437. LH.C0 = clerp(LH.C0, LH0 * CFa(0, 0, Rad(20)), 0.15)
  1438. RH.C0 = clerp(RH.C0, RH0 * CFa(0, 0, Rad(-20)), 0.15)
  1439. end
  1440. if not head:FindFirstChild("KOOOHAAA") then
  1441. koohaa = Instance.new("Sound", head)
  1442. koohaa.SoundId = "rbxassetid://149840174"
  1443. koohaa.Name = "KOOOHAAA"
  1444. koohaa.Volume = 2
  1445. koohaa.TimePosition = thepos
  1446. koohaa.Looped = true
  1447. koohaa:Play()
  1448. end
  1449. thepos = koohaa.TimePosition
  1450. end
  1451. -----------------------------------------------------------------------------
  1452.  
  1453. while true do
  1454. swait()
  1455. sine = sine + 1
  1456. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  1457. if Changing == true then
  1458. state = "Change"
  1459. elseif Swinging == true then
  1460. state = "Swing"
  1461. elseif Choking == true then
  1462. state = "Choking"
  1463. elseif 1 < root.Velocity.y then
  1464. state = "Jump"
  1465. elseif -1 > root.Velocity.y then
  1466. state = "Fall"
  1467. elseif torvel < 1 then
  1468. state = "Idle"
  1469. elseif tor.Velocity.magnitude < 50 then
  1470. state = "Walk"
  1471. end
  1472.  
  1473. if state == "Jump" then
  1474. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-10), 0, 0), 0.15)
  1475. rootj.C1 = clerp(rootj.C1, rootj1 * CFa(Rad(-10), 0, 0), 0.15)
  1476. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(10), 0, 0), 0.15)
  1477. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(10), 0, 0), 0.15)
  1478. LH.C1 = clerp(LH.C1, LH1 * CFn(0.5, -1, -0.1) * CFa(Rad(-10), 0, Rad(-40)), 0.15)
  1479. RH.C1 = clerp(RH.C1, RH1 * CFn(-0.3, -0.8, 0) * CFa(Rad(-5), 0, Rad(15)), 0.15)
  1480. neck.C0 = clerp(neck.C0, neck0, 0.15)
  1481. rootj.C0 = clerp(rootj.C0, rootj0, 0.15)
  1482. LS.C0 = clerp(LS.C0, LS0, 0.15)
  1483. RS.C0 = clerp(RS.C0, RS0, 0.15)
  1484. LH.C0 = clerp(LH.C0, LH0, 0.15)
  1485. RH.C0 = clerp(RH.C0, RH0, 0.15)
  1486. elseif state == "Fall" then
  1487. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-5), 0, 0), 0.15)
  1488. rootj.C1 = clerp(rootj.C1, rootj1 * CFa(Rad(10), 0, 0), 0.15)
  1489. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(20), 0, 0), 0.15)
  1490. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(20), 0, 0), 0.15)
  1491. LH.C1 = clerp(LH.C1, LH1 * CFn(0.1, -0.4, -0.1) * CFa(Rad(-2), 0, 0), 0.15)
  1492. RH.C1 = clerp(RH.C1, RH1 * CFn(-0.1, -0.4, -0.1) * CFa(Rad(-2), 0, 0), 0.15)
  1493. neck.C0 = clerp(neck.C0, neck0, 0.15)
  1494. rootj.C0 = clerp(rootj.C0, rootj0, 0.15)
  1495. LS.C0 = clerp(LS.C0, LS0, 0.15)
  1496. RS.C0 = clerp(RS.C0, RS0, 0.15)
  1497. LH.C0 = clerp(LH.C0, LH0 * CFa(0, 0, Rad(20)), 0.15)
  1498. RH.C0 = clerp(RH.C0, RH0 * CFa(0, 0, Rad(-20)), 0.15)
  1499. elseif state == "Idle" then
  1500. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-7 * Sin(sine / 15)), 0, 0), 0.15)
  1501. rootj.C1 = clerp(rootj.C1, rootj1 * CFn(0, 0, 0.1 * Cos(sine / 15)) * CFa(Rad(-2 * Sin(sine / 15)), 0, 0), 0.15)
  1502. LS.C1 = clerp(LS.C1, LS1 * CFn(0, 0.1 * Cos(sine / 15), 0) * CFa(Rad(5), 0, 0), 0.15)
  1503. RS.C1 = clerp(RS.C1, RS1 * CFn(0, 0.1 * Cos(sine / 15), 0) * CFa(Rad(5), 0, 0), 0.15)
  1504. 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)
  1505. 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)
  1506. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(10), 0, 0), 0.15)
  1507. rootj.C0 = clerp(rootj.C0, rootj0 * CFa(Rad(2), 0, 0), 0.15)
  1508. LS.C0 = clerp(LS.C0, LS0, 0.15)
  1509. RS.C0 = clerp(RS.C0, RS0, 0.15)
  1510. LH.C0 = clerp(LH.C0, LH0, 0.15)
  1511. RH.C0 = clerp(RH.C0, RH0, 0.15)
  1512. elseif state == "Walk" then
  1513. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-5 * Sin(sine / 4)), 0, 0), 0.15)
  1514. 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)
  1515. LS.C1 = clerp(LS.C1, LS1 * CFa(0, 0, Rad(-25 * Sin(sine / 8))), 0.15)
  1516. RS.C1 = clerp(RS.C1, RS1 * CFa(0, 0, Rad(-25 * Sin(sine / 8))), 0.15)
  1517. 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)
  1518. 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)
  1519. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(5), 0, 0), 0.15)
  1520. rootj.C0 = clerp(rootj.C0, rootj0, 0.15)
  1521. LS.C0 = clerp(LS.C0, LS0, 0.15)
  1522. RS.C0 = clerp(RS.C0, RS0, 0.15)
  1523. LH.C0 = clerp(LH.C0, LH0 * CFa(0, 0, Rad(20)), 0.15)
  1524. RH.C0 = clerp(RH.C0, RH0 * CFa(0, 0, Rad(-20)), 0.15)
  1525. end
  1526. if not head:FindFirstChild("KOOOHAAA") then
  1527. koohaa = Instance.new("Sound", head)
  1528. koohaa.SoundId = "rbxassetid://149840174"
  1529. koohaa.Name = "KOOOHAAA"
  1530. koohaa.Volume = 2
  1531. koohaa.TimePosition = thepos
  1532. koohaa.Looped = true
  1533. koohaa:Play()
  1534. end
  1535. thepos = koohaa.TimePosition
  1536. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement