Advertisement
sawgamer1

Untitled

Nov 24th, 2018
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 45.39 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.  
  1040. -----------------------------------------------------------------------------
  1041.  
  1042. function kdown(k)
  1043. if k == "e" then
  1044. equipunequip()
  1045. elseif k == "c" then
  1046. if buttonC == false then
  1047. buttonC = true
  1048. Choke()
  1049. end
  1050. end
  1051. end
  1052.  
  1053. function kup(k)
  1054. if k == "c" then
  1055. if buttonC == true then
  1056. buttonC = false
  1057. end
  1058. end
  1059. end
  1060.  
  1061. function lmdown()
  1062. Swing()
  1063. end
  1064.  
  1065. Mouse.KeyDown:connect(kdown)
  1066. Mouse.KeyUp:connect(kup)
  1067. Mouse.Button1Down:connect(lmdown)
  1068.  
  1069. -----------------------------------------------------------------------------
  1070.  
  1071. warn([[The Corrupted Nobody.
  1072. last updated: 2018/11/23, 20:14 JST.
  1073.  
  1074. Please do not leak this script.]])
  1075.  
  1076. -----------------------------------------------------------------------------
  1077.  
  1078. while true do
  1079. swait()
  1080. sine = sine + 1
  1081. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  1082. if Changing == true then
  1083. state = "Change"
  1084. elseif Swinging == true then
  1085. state = "Swing"
  1086. elseif Choking == true then
  1087. state = "Choking"
  1088. elseif 1 < root.Velocity.y then
  1089. state = "Jump"
  1090. elseif -1 > root.Velocity.y then
  1091. state = "Fall"
  1092. elseif torvel < 1 then
  1093. state = "Idle"
  1094. elseif tor.Velocity.magnitude < 50 then
  1095. state = "Walk"
  1096. end
  1097.  
  1098. if state == "Jump" then
  1099. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-10), 0, 0), 0.15)
  1100. rootj.C1 = clerp(rootj.C1, rootj1 * CFa(Rad(-10), 0, 0), 0.15)
  1101. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(10), 0, 0), 0.15)
  1102. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(10), 0, 0), 0.15)
  1103. LH.C1 = clerp(LH.C1, LH1 * CFn(0.5, -1, -0.1) * CFa(Rad(-10), 0, Rad(-40)), 0.15)
  1104. RH.C1 = clerp(RH.C1, RH1 * CFn(-0.3, -0.8, 0) * CFa(Rad(-5), 0, Rad(15)), 0.15)
  1105. neck.C0 = clerp(neck.C0, neck0, 0.15)
  1106. rootj.C0 = clerp(rootj.C0, rootj0, 0.15)
  1107. LS.C0 = clerp(LS.C0, LS0, 0.15)
  1108. RS.C0 = clerp(RS.C0, RS0, 0.15)
  1109. LH.C0 = clerp(LH.C0, LH0, 0.15)
  1110. RH.C0 = clerp(RH.C0, RH0, 0.15)
  1111. elseif state == "Fall" then
  1112. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-5), 0, 0), 0.15)
  1113. rootj.C1 = clerp(rootj.C1, rootj1 * CFa(Rad(10), 0, 0), 0.15)
  1114. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(20), 0, 0), 0.15)
  1115. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(20), 0, 0), 0.15)
  1116. LH.C1 = clerp(LH.C1, LH1 * CFn(0.1, -0.4, -0.1) * CFa(Rad(-2), 0, 0), 0.15)
  1117. RH.C1 = clerp(RH.C1, RH1 * CFn(-0.1, -0.4, -0.1) * CFa(Rad(-2), 0, 0), 0.15)
  1118. neck.C0 = clerp(neck.C0, neck0, 0.15)
  1119. rootj.C0 = clerp(rootj.C0, rootj0, 0.15)
  1120. LS.C0 = clerp(LS.C0, LS0, 0.15)
  1121. RS.C0 = clerp(RS.C0, RS0, 0.15)
  1122. LH.C0 = clerp(LH.C0, LH0 * CFa(0, 0, Rad(20)), 0.15)
  1123. RH.C0 = clerp(RH.C0, RH0 * CFa(0, 0, Rad(-20)), 0.15)
  1124. elseif state == "Idle" then
  1125. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-7 * Sin(sine / 15)), 0, 0), 0.15)
  1126. rootj.C1 = clerp(rootj.C1, rootj1 * CFn(0, 0, 0.1 * Cos(sine / 15)) * CFa(Rad(-2 * Sin(sine / 15)), 0, 0), 0.15)
  1127. LS.C1 = clerp(LS.C1, LS1 * CFn(0, 0.1 * Cos(sine / 15), 0) * CFa(Rad(5), 0, 0), 0.15)
  1128. RS.C1 = clerp(RS.C1, RS1 * CFn(0, 0.1 * Cos(sine / 15), 0) * CFa(Rad(5), 0, 0), 0.15)
  1129. 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)
  1130. 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)
  1131. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(10), 0, 0), 0.15)
  1132. rootj.C0 = clerp(rootj.C0, rootj0 * CFa(Rad(2), 0, 0), 0.15)
  1133. LS.C0 = clerp(LS.C0, LS0, 0.15)
  1134. RS.C0 = clerp(RS.C0, RS0, 0.15)
  1135. LH.C0 = clerp(LH.C0, LH0, 0.15)
  1136. RH.C0 = clerp(RH.C0, RH0, 0.15)
  1137. elseif state == "Walk" then
  1138. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-5 * Sin(sine / 4)), 0, 0), 0.15)
  1139. 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)
  1140. LS.C1 = clerp(LS.C1, LS1 * CFa(0, 0, Rad(-25 * Sin(sine / 8))), 0.15)
  1141. RS.C1 = clerp(RS.C1, RS1 * CFa(0, 0, Rad(-25 * Sin(sine / 8))), 0.15)
  1142. 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)
  1143. 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)
  1144. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(5), 0, 0), 0.15)
  1145. rootj.C0 = clerp(rootj.C0, rootj0, 0.15)
  1146. LS.C0 = clerp(LS.C0, LS0, 0.15)
  1147. RS.C0 = clerp(RS.C0, RS0, 0.15)
  1148. LH.C0 = clerp(LH.C0, LH0 * CFa(0, 0, Rad(20)), 0.15)
  1149. RH.C0 = clerp(RH.C0, RH0 * CFa(0, 0, Rad(-20)), 0.15)
  1150. end
  1151. if not head:FindFirstChild("KOOOHAAA") then
  1152. koohaa = Instance.new("Sound", head)
  1153. koohaa.SoundId = "rbxassetid://149840174"
  1154. koohaa.Name = "KOOOHAAA"
  1155. koohaa.Volume = 2
  1156. koohaa.TimePosition = thepos
  1157. koohaa.Looped = true
  1158. koohaa:Play()
  1159. end
  1160. thepos = koohaa.TimePosition
  1161. end
  1162. -----------------------------------------------------------------------------
  1163.  
  1164. while true do
  1165. swait()
  1166. sine = sine + 1
  1167. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  1168. if Changing == true then
  1169. state = "Change"
  1170. elseif Swinging == true then
  1171. state = "Swing"
  1172. elseif Choking == true then
  1173. state = "Choking"
  1174. elseif 1 < root.Velocity.y then
  1175. state = "Jump"
  1176. elseif -1 > root.Velocity.y then
  1177. state = "Fall"
  1178. elseif torvel < 1 then
  1179. state = "Idle"
  1180. elseif tor.Velocity.magnitude < 50 then
  1181. state = "Walk"
  1182. end
  1183.  
  1184. if state == "Jump" then
  1185. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-10), 0, 0), 0.15)
  1186. rootj.C1 = clerp(rootj.C1, rootj1 * CFa(Rad(-10), 0, 0), 0.15)
  1187. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(10), 0, 0), 0.15)
  1188. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(10), 0, 0), 0.15)
  1189. LH.C1 = clerp(LH.C1, LH1 * CFn(0.5, -1, -0.1) * CFa(Rad(-10), 0, Rad(-40)), 0.15)
  1190. RH.C1 = clerp(RH.C1, RH1 * CFn(-0.3, -0.8, 0) * CFa(Rad(-5), 0, Rad(15)), 0.15)
  1191. neck.C0 = clerp(neck.C0, neck0, 0.15)
  1192. rootj.C0 = clerp(rootj.C0, rootj0, 0.15)
  1193. LS.C0 = clerp(LS.C0, LS0, 0.15)
  1194. RS.C0 = clerp(RS.C0, RS0, 0.15)
  1195. LH.C0 = clerp(LH.C0, LH0, 0.15)
  1196. RH.C0 = clerp(RH.C0, RH0, 0.15)
  1197. elseif state == "Fall" then
  1198. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-5), 0, 0), 0.15)
  1199. rootj.C1 = clerp(rootj.C1, rootj1 * CFa(Rad(10), 0, 0), 0.15)
  1200. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(20), 0, 0), 0.15)
  1201. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(20), 0, 0), 0.15)
  1202. LH.C1 = clerp(LH.C1, LH1 * CFn(0.1, -0.4, -0.1) * CFa(Rad(-2), 0, 0), 0.15)
  1203. RH.C1 = clerp(RH.C1, RH1 * CFn(-0.1, -0.4, -0.1) * CFa(Rad(-2), 0, 0), 0.15)
  1204. neck.C0 = clerp(neck.C0, neck0, 0.15)
  1205. rootj.C0 = clerp(rootj.C0, rootj0, 0.15)
  1206. LS.C0 = clerp(LS.C0, LS0, 0.15)
  1207. RS.C0 = clerp(RS.C0, RS0, 0.15)
  1208. LH.C0 = clerp(LH.C0, LH0 * CFa(0, 0, Rad(20)), 0.15)
  1209. RH.C0 = clerp(RH.C0, RH0 * CFa(0, 0, Rad(-20)), 0.15)
  1210. elseif state == "Idle" then
  1211. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-7 * Sin(sine / 15)), 0, 0), 0.15)
  1212. rootj.C1 = clerp(rootj.C1, rootj1 * CFn(0, 0, 0.1 * Cos(sine / 15)) * CFa(Rad(-2 * Sin(sine / 15)), 0, 0), 0.15)
  1213. LS.C1 = clerp(LS.C1, LS1 * CFn(0, 0.1 * Cos(sine / 15), 0) * CFa(Rad(5), 0, 0), 0.15)
  1214. RS.C1 = clerp(RS.C1, RS1 * CFn(0, 0.1 * Cos(sine / 15), 0) * CFa(Rad(5), 0, 0), 0.15)
  1215. 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)
  1216. 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)
  1217. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(10), 0, 0), 0.15)
  1218. rootj.C0 = clerp(rootj.C0, rootj0 * CFa(Rad(2), 0, 0), 0.15)
  1219. LS.C0 = clerp(LS.C0, LS0, 0.15)
  1220. RS.C0 = clerp(RS.C0, RS0, 0.15)
  1221. LH.C0 = clerp(LH.C0, LH0, 0.15)
  1222. RH.C0 = clerp(RH.C0, RH0, 0.15)
  1223. elseif state == "Walk" then
  1224. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-5 * Sin(sine / 4)), 0, 0), 0.15)
  1225. 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)
  1226. LS.C1 = clerp(LS.C1, LS1 * CFa(0, 0, Rad(-25 * Sin(sine / 8))), 0.15)
  1227. RS.C1 = clerp(RS.C1, RS1 * CFa(0, 0, Rad(-25 * Sin(sine / 8))), 0.15)
  1228. 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)
  1229. 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)
  1230. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(5), 0, 0), 0.15)
  1231. rootj.C0 = clerp(rootj.C0, rootj0, 0.15)
  1232. LS.C0 = clerp(LS.C0, LS0, 0.15)
  1233. RS.C0 = clerp(RS.C0, RS0, 0.15)
  1234. LH.C0 = clerp(LH.C0, LH0 * CFa(0, 0, Rad(20)), 0.15)
  1235. RH.C0 = clerp(RH.C0, RH0 * CFa(0, 0, Rad(-20)), 0.15)
  1236. end
  1237. if not head:FindFirstChild("KOOOHAAA") then
  1238. koohaa = Instance.new("Sound", head)
  1239. koohaa.SoundId = "rbxassetid://149840174"
  1240. koohaa.Name = "KOOOHAAA"
  1241. koohaa.Volume = 2
  1242. koohaa.TimePosition = thepos
  1243. koohaa.Looped = true
  1244. koohaa:Play()
  1245. end
  1246. thepos = koohaa.TimePosition
  1247. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement