Advertisement
sawgamer1

Untitled

Nov 23rd, 2018
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 46.00 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 txt = Instance.new("BillboardGui", Char)
  104. CV="Plum"
  105. txt.Name = "_status"
  106. txt.Size = UDim2.new(2, 0, 1.2, 0)
  107. txt.StudsOffset = Vector3.new(-14, 6, 0)
  108. local text = Instance.new("TextLabel", txt)
  109. text.Size = UDim2.new(15, 0,2, 0)
  110. text.FontSize = "Size24"
  111. text.TextScaled = true
  112. text.TextTransparency = 0
  113. text.BackgroundTransparency = 1
  114. text.TextTransparency = 0
  115. text.TextStrokeTransparency = 0
  116. text.Font = Enum.Font.SourceSansBold
  117. text.TextStrokeColor3 = Color3.new(0,0,0)
  118. text.TextColor3 = Color3.new(26, 234, 33)
  119. text.Text = "The Corrupted Nobody"
  120.  
  121. local plrs = game:GetService("Players")
  122. local plr = owner
  123. local char = plr.Character
  124. local tweenserv = game:GetService("TweenService")
  125. local lighting = game:GetService("Lighting")
  126. local hum = char:FindFirstChildOfClass("Humanoid")
  127. local tor = char:FindFirstChild("Torso") or char:FindFirstChild("UpperTorso")
  128. local root = char:FindFirstChild("HumanoidRootPart")
  129. local head = char:FindFirstChild("Head")
  130. local face = head:FindFirstChildOfClass("Decal")
  131. local larm = char:FindFirstChild("Left Arm") or char:FindFirstChild("LeftUpperArm")
  132. local rarm = char:FindFirstChild("Right Arm") or char:FindFirstChild("RightUpperArm")
  133. local rleg = char:FindFirstChild("Right Leg") or char:FindFirstChild("RightUpperLeg")
  134. local lleg = char:FindFirstChild("Left Leg") or char:FindFirstChild("LeftUpperLeg")
  135. local neck = tor:FindFirstChild("Neck")
  136. local rootj = root:FindFirstChild("RootJoint")
  137. local LS = tor:FindFirstChild("Left Shoulder")
  138. local RS = tor:FindFirstChild("Right Shoulder")
  139. local LH = tor:FindFirstChild("Left Hip")
  140. local RH = tor:FindFirstChild("Right Hip")
  141. local bp = plr:FindFirstChild("Backpack")
  142. local cam = workspace.CurrentCamera
  143.  
  144. hum:ClearAllChildren()
  145. char.Animate:remove()
  146.  
  147.  
  148. --Converted with ttyyuu12345's model to script plugin v4
  149. function sandbox(var,func)
  150. local env = getfenv(func)
  151. local newenv = setmetatable({},{
  152. __index = function(self,k)
  153. if k=="script" then
  154. return var
  155. else
  156. return env[k]
  157. end
  158. end,
  159. })
  160. setfenv(func,newenv)
  161. return func
  162. end
  163. cors = {}
  164. mas = Instance.new("Model",game:GetService("Lighting"))
  165. Model0 = Instance.new("Model")
  166. Part1 = Instance.new("Part")
  167. ManualWeld2 = Instance.new("ManualWeld")
  168. Part3 = Instance.new("Part")
  169. Part4 = Instance.new("Part")
  170. ManualWeld5 = Instance.new("ManualWeld")
  171. Part6 = Instance.new("Part")
  172. ManualWeld7 = Instance.new("ManualWeld")
  173. Part8 = Instance.new("Part")
  174. ParticleEmitter9 = Instance.new("ParticleEmitter")
  175. ManualWeld10 = Instance.new("ManualWeld")
  176. Part11 = Instance.new("Part")
  177. ManualWeld12 = Instance.new("ManualWeld")
  178. Part19 = Instance.new("Part")
  179. ManualWeld20 = Instance.new("ManualWeld")
  180. Part21 = Instance.new("Part")
  181. ManualWeld22 = Instance.new("ManualWeld")
  182. Model0.Name = "saber"
  183. Model0.Parent = mas
  184. Part1.Name = "hand"
  185. Part1.Parent = Model0
  186. Part1.Material = Enum.Material.SmoothPlastic
  187. Part1.BrickColor = BrickColor.new("Really black")
  188. Part1.Rotation = Vector3.new(0, -90, 0)
  189. Part1.CanCollide = false
  190. Part1.Shape = Enum.PartType.Cylinder
  191. Part1.Size = Vector3.new(1.29999995, 0.299999952, 0.299999952)
  192. Part1.CFrame = CFrame.new(-1741.76343, 117.599991, -204.231796, 1.19248806e-08, 0, -1, 0, 1, 0, 1, 0, 1.19248806e-08)
  193. Part1.BottomSurface = Enum.SurfaceType.Smooth
  194. Part1.TopSurface = Enum.SurfaceType.Smooth
  195. Part1.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  196. Part1.Position = Vector3.new(-1741.76343, 117.599991, -204.231796)
  197. Part1.Orientation = Vector3.new(0, -90, 0)
  198. Part1.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  199. ManualWeld2.Name = "Weld"
  200. ManualWeld2.Parent = Part1
  201. ManualWeld2.C0 = CFrame.new(0, 0, 0, 1.19248806e-08, 0, 1, 0, 1, 0, -1, 0, 1.19248806e-08)
  202. ManualWeld2.C1 = CFrame.new(0.0347900391, 0, 0.0680541992, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  203. ManualWeld2.Part0 = Part1
  204. ManualWeld2.Part1 = Part3
  205. Part3.Name = "main"
  206. Part3.Parent = Model0
  207. Part3.Transparency = 1
  208. Part3.CanCollide = false
  209. Part3.Size = Vector3.new(1, 1, 1)
  210. Part3.CFrame = CFrame.new(-1741.79822, 117.599991, -204.29985, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  211. Part3.BottomSurface = Enum.SurfaceType.Smooth
  212. Part3.TopSurface = Enum.SurfaceType.Smooth
  213. Part3.Position = Vector3.new(-1741.79822, 117.599991, -204.29985)
  214. Part4.Name = "cap2"
  215. Part4.Parent = Model0
  216. Part4.Material = Enum.Material.SmoothPlastic
  217. Part4.BrickColor = BrickColor.new("Really black")
  218. Part4.Rotation = Vector3.new(0, -90, 0)
  219. Part4.CanCollide = false
  220. Part4.Shape = Enum.PartType.Cylinder
  221. Part4.Size = Vector3.new(0.0999999046, 0.349999994, 0.349999994)
  222. Part4.CFrame = CFrame.new(-1741.76343, 117.599991, -203.531723, 1.19248806e-08, 0, -1, 0, 1, 0, 1, 0, 1.19248806e-08)
  223. Part4.BottomSurface = Enum.SurfaceType.Smooth
  224. Part4.TopSurface = Enum.SurfaceType.Smooth
  225. Part4.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  226. Part4.Position = Vector3.new(-1741.76343, 117.599991, -203.531723)
  227. Part4.Orientation = Vector3.new(0, -90, 0)
  228. Part4.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  229. ManualWeld5.Name = "Weld"
  230. ManualWeld5.Parent = Part4
  231. ManualWeld5.C0 = CFrame.new(0, 0, 0, 1.19248806e-08, 0, 1, 0, 1, 0, -1, 0, 1.19248806e-08)
  232. ManualWeld5.C1 = CFrame.new(0.0347900391, 0, 0.768127441, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  233. ManualWeld5.Part0 = Part4
  234. ManualWeld5.Part1 = Part3
  235. Part6.Name = "bot1"
  236. Part6.Parent = Model0
  237. Part6.Material = Enum.Material.SmoothPlastic
  238. Part6.BrickColor = BrickColor.new("Really black")
  239. Part6.Rotation = Vector3.new(0, -90, 0)
  240. Part6.CanCollide = false
  241. Part6.Shape = Enum.PartType.Cylinder
  242. Part6.Size = Vector3.new(0.0999999046, 0.349999994, 0.349999994)
  243. Part6.CFrame = CFrame.new(-1741.76343, 117.599991, -204.931747, 1.19248806e-08, 0, -1, 0, 1, 0, 1, 0, 1.19248806e-08)
  244. Part6.BottomSurface = Enum.SurfaceType.Smooth
  245. Part6.TopSurface = Enum.SurfaceType.Smooth
  246. Part6.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  247. Part6.Position = Vector3.new(-1741.76343, 117.599991, -204.931747)
  248. Part6.Orientation = Vector3.new(0, -90, 0)
  249. Part6.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  250. ManualWeld7.Name = "Weld"
  251. ManualWeld7.Parent = Part6
  252. ManualWeld7.C0 = CFrame.new(0, 0, 0, 1.19248806e-08, 0, 1, 0, 1, 0, -1, 0, 1.19248806e-08)
  253. ManualWeld7.C1 = CFrame.new(0.0347900391, 0, -0.631896973, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  254. ManualWeld7.Part0 = Part6
  255. ManualWeld7.Part1 = Part3
  256. Part8.Name = "cap"
  257. Part8.Parent = Model0
  258. Part8.Material = Enum.Material.SmoothPlastic
  259. Part8.BrickColor = BrickColor.new("Gold")
  260. Part8.Rotation = Vector3.new(0, -90, 0)
  261. Part8.CanCollide = false
  262. Part8.Shape = Enum.PartType.Cylinder
  263. Part8.Size = Vector3.new(0.0999999046, 0.300000012, 0.300000012)
  264. Part8.CFrame = CFrame.new(-1741.76343, 117.599991, -203.431747, 1.19248806e-08, 0, -1, 0, 1, 0, 1, 0, 1.19248806e-08)
  265. Part8.BottomSurface = Enum.SurfaceType.Smooth
  266. Part8.TopSurface = Enum.SurfaceType.Smooth
  267. Part8.Color = Color3.new(0.937255, 0.721569, 0.219608)
  268. Part8.Position = Vector3.new(-1741.76343, 117.599991, -203.431747)
  269. Part8.Orientation = Vector3.new(0, -90, 0)
  270. Part8.Color = Color3.new(0.937255, 0.721569, 0.219608)
  271. ParticleEmitter9.Parent = Part8
  272. ParticleEmitter9.LockedToPart = true
  273. ParticleEmitter9.Transparency = NumberSequence.new(0,0.1)
  274. ParticleEmitter9.Size = NumberSequence.new(0.5,0.5)
  275. ParticleEmitter9.Color = ColorSequence.new(Color3.new(0.333333, 0, 0),Color3.new(0.666667, 0, 0))
  276. ParticleEmitter9.EmissionDirection = "Right"
  277. ParticleEmitter9.LightEmission = 0.44999998807907
  278. ParticleEmitter9.Texture = "rbxassetid://147313514"
  279. ParticleEmitter9.Lifetime = NumberRange.new(0.5, 0.5)
  280. ParticleEmitter9.Rate = 200
  281. ParticleEmitter9.RotSpeed = NumberRange.new(360, 360)
  282. ParticleEmitter9.Speed = NumberRange.new(10, 10)
  283. ParticleEmitter9.VelocitySpread = 2
  284. ParticleEmitter9.Color = ColorSequence.new(Color3.new(0.333333, 0, 0),Color3.new(0.666667, 0, 0))
  285. ManualWeld10.Name = "Weld"
  286. ManualWeld10.Parent = Part8
  287. ManualWeld10.C0 = CFrame.new(0, 0, 0, 1.19248806e-08, 0, 1, 0, 1, 0, -1, 0, 1.19248806e-08)
  288. ManualWeld10.C1 = CFrame.new(0.0347900391, 0, 0.868103027, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  289. ManualWeld10.Part0 = Part8
  290. ManualWeld10.Part1 = Part3
  291. Part11.Name = "bot2"
  292. Part11.Parent = Model0
  293. Part11.Material = Enum.Material.SmoothPlastic
  294. Part11.BrickColor = BrickColor.new("Really black")
  295. Part11.Rotation = Vector3.new(0, -90, 0)
  296. Part11.CanCollide = false
  297. Part11.Shape = Enum.PartType.Cylinder
  298. Part11.Size = Vector3.new(0.0999999046, 0.300000012, 0.300000012)
  299. Part11.CFrame = CFrame.new(-1741.76343, 117.599991, -205.031723, 1.19248806e-08, 0, -1, 0, 1, 0, 1, 0, 1.19248806e-08)
  300. Part11.BottomSurface = Enum.SurfaceType.Smooth
  301. Part11.TopSurface = Enum.SurfaceType.Smooth
  302. Part11.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  303. Part11.Position = Vector3.new(-1741.76343, 117.599991, -205.031723)
  304. Part11.Orientation = Vector3.new(0, -90, 0)
  305. Part11.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  306. ManualWeld12.Name = "Weld"
  307. ManualWeld12.Parent = Part11
  308. ManualWeld12.C0 = CFrame.new(0, 0, 0, 1.19248806e-08, 0, 1, 0, 1, 0, -1, 0, 1.19248806e-08)
  309. ManualWeld12.C1 = CFrame.new(0.0347900391, 0, -0.731872559, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  310. ManualWeld12.Part0 = Part11
  311. ManualWeld12.Part1 = Part3
  312. Part19.Name = "outblade"
  313. Part19.Parent = Model0
  314. Part19.Material = Enum.Material.Neon
  315. Part19.BrickColor = BrickColor.new("Maroon")
  316. Part19.Rotation = Vector3.new(0, -90, 0)
  317. Part19.CanCollide = false
  318. Part19.Shape = Enum.PartType.Cylinder
  319. Part19.Size = Vector3.new(4.39999962, 0.2500000012, 0.2500000012)
  320. Part19.CFrame = CFrame.new(-1741.76343, 117.599991, -201.181747, 1.19248806e-08, 0, -1, 0, 1, 0, 1, 0, 1.19248806e-08)
  321. Part19.BottomSurface = Enum.SurfaceType.Smooth
  322. Part19.TopSurface = Enum.SurfaceType.Smooth
  323. Part19.Color = Color3.new(0.458824, 0, 0)
  324. Part19.Position = Vector3.new(-1741.76343, 117.599991, -201.181747)
  325. Part19.Orientation = Vector3.new(0, -90, 0)
  326. Part19.Color = Color3.new(0.458824, 0, 0)
  327. ManualWeld20.Name = "Weld"
  328. ManualWeld20.Parent = Part19
  329. ManualWeld20.C0 = CFrame.new(0, 0, 0, 1.19248806e-08, 0, 1, 0, 1, 0, -1, 0, 1.19248806e-08)
  330. ManualWeld20.C1 = CFrame.new(0.0347900391, 0, 3.11810303, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  331. ManualWeld20.Part0 = Part19
  332. ManualWeld20.Part1 = Part3
  333. Part21.Name = "outball"
  334. Part21.Parent = Model0
  335. Part21.Material = Enum.Material.Neon
  336. Part21.BrickColor = BrickColor.new("Maroon")
  337. Part21.Rotation = Vector3.new(0, -90, 0)
  338. Part21.CanCollide = false
  339. Part21.Shape = Enum.PartType.Ball
  340. Part21.Size = Vector3.new(0.25, 0.25, 0.25)
  341. Part21.CFrame = CFrame.new(-1741.76343, 117.599991, -198.981674, 1.19248806e-08, 0, -1, 0, 1, 0, 1, 0, 1.19248806e-08)
  342. Part21.BottomSurface = Enum.SurfaceType.Smooth
  343. Part21.TopSurface = Enum.SurfaceType.Smooth
  344. Part21.Color = Color3.new(0.458824, 0, 0)
  345. Part21.Position = Vector3.new(-1741.76343, 117.599991, -198.981674)
  346. Part21.Orientation = Vector3.new(0, -90, 0)
  347. Part21.Color = Color3.new(0.458824, 0, 0)
  348. ManualWeld22.Name = "Weld"
  349. ManualWeld22.Parent = Part21
  350. ManualWeld22.C0 = CFrame.new(0, 0, 0, 1.19248806e-08, 0, 1, 0, 1, 0, -1, 0, 1.19248806e-08)
  351. ManualWeld22.C1 = CFrame.new(0.0347900391, 0, 5.31817627, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  352. ManualWeld22.Part0 = Part21
  353. ManualWeld22.Part1 = Part3
  354. for i,v in pairs(mas:GetChildren()) do
  355. v.Parent = char
  356. saber = v
  357. outblade = Part19
  358. outball = Part21
  359. particle = ParticleEmitter9
  360. main = Part3
  361. cap = Part8
  362. pcall(function() v:MakeJoints() end)
  363. end
  364. mas:Destroy()
  365. for i,v in pairs(cors) do
  366. spawn(function()
  367. pcall(v)
  368. end)
  369. end
  370.  
  371. local ws = hum.WalkSpeed
  372. local jp = hum.JumpPower
  373. local nws = ws
  374. local njp = jp
  375.  
  376. local rootj0 = rootj.C0
  377. local neck0 = neck.C0
  378. local LS0 = LS.C0
  379. local RS0 = RS.C0
  380. local LH0 = LH.C0
  381. local RH0 = RH.C0
  382. local rootj1 = rootj.C1
  383. local neck1 = neck.C1
  384. local LS1 = LS.C1
  385. local RS1 = RS.C1
  386. local LH1 = LH.C1
  387. local RH1 = RH.C1
  388.  
  389. local pshew = Instance.new("Sound", cap)
  390. pshew.SoundId = "rbxassetid://605604103"
  391. pshew.Volume = 2
  392. pshew.Name = "PSHEW"
  393.  
  394. local sheww = Instance.new("Sound", cap)
  395. sheww.SoundId = "rbxassetid://605607641"
  396. sheww.Volume = 2
  397. sheww.Name = "SHEWW"
  398.  
  399. local wanwan = Instance.new("Sound", outblade)
  400. wanwan.SoundId = "rbxassetid://1460966017"
  401. wanwan.Volume = 1
  402. wanwan.Name = "WANWAN"
  403. wanwan.Looped = true
  404.  
  405. local chwan = Instance.new("Sound", outblade)
  406. chwan.SoundId = "rbxassetid://1647165403"
  407. chwan.Volume = 1
  408. chwan.Name = "CHWAN"
  409.  
  410. local pssps = Instance.new("Sound", outblade)
  411. pssps.SoundId = "rbxassetid://1335649595"
  412. pssps.Volume = 1
  413. pssps.Name = "PSSPS"
  414.  
  415. local vomb = Instance.new("Sound", outblade)
  416. vomb.SoundId = "rbxassetid://2088308141"
  417. vomb.Volume = 2
  418. vomb.Name = "VOMB"
  419.  
  420. local ooowa = Instance.new("Sound", larm)
  421. ooowa.SoundId = "rbxassetid://1386781853"
  422. ooowa.Volume = 2.5
  423. ooowa.Name = "OOOWA"
  424.  
  425. local koohaa = Instance.new("Sound", head)
  426. koohaa.SoundId = "rbxassetid://149840174"
  427. koohaa.Volume = 2
  428. koohaa.Name = "KOOOHAAA"
  429. koohaa.Looped = true
  430. koohaa:Play()
  431. local thepos = koohaa.TimePosition
  432.  
  433. -----------------------------------------------------------------------------
  434.  
  435. local CFn = CFrame.new
  436. local CFa = CFrame.Angles
  437. local Rad = math.rad
  438. local Cos = math.cos
  439. local Sin = math.sin
  440. local sine = 1
  441. local attacking = false
  442. local equipped = false
  443. local Changing = false
  444. local Swinging = false
  445. local kill = false
  446. local attackstate = 1
  447. local Choking = false
  448. local buttonC = false
  449.  
  450. -----------------------------------------------------------------------------
  451.  
  452. for i,v in pairs(char:GetChildren()) do
  453. if v:IsA("Shirt") then
  454. v:Destroy()
  455. end
  456. if v:IsA("Pants") then
  457. v:Destroy()
  458. end
  459. if v:IsA("Accessory") then
  460. v:Destroy()
  461. end
  462. end
  463.  
  464. local ff = Instance.new("ForceField", char)
  465. ff.Visible = false
  466. hum.MaxHealth = math.huge
  467. hum.Health = math.huge
  468.  
  469. local shirt = Instance.new("Shirt", char)
  470. shirt.ShirtTemplate = "rbxassetid://1692712023"
  471. local pants = Instance.new("Pants", char)
  472. pants.PantsTemplate = "rbxassetid://1460022985"
  473.  
  474. head.Transparency = 1
  475.  
  476. local hair = Instance.new("Part", char)
  477. hair.Size = Vector3.new(1, 1, 1)
  478. hair.CanCollide = false
  479. local hairm = Instance.new("SpecialMesh", hair)
  480. hairm.MeshId = "rbxassetid://16952952"
  481. hairm.TextureId = "rbxassetid://17388648"
  482.  
  483. local hairw = Instance.new("Weld", hair)
  484. hairw.Part0 = head
  485. hairw.Part1 = hair
  486. hairw.C1 = CFn(0, -0.1, 0)
  487.  
  488. local AT0 = Instance.new("Attachment", outblade)
  489. AT0.Position = Vector3.new(-2.2, 0, 0)
  490.  
  491. local AT1 = Instance.new("Attachment", outblade)
  492. AT1.Position = Vector3.new(2.4, 0, 0)
  493.  
  494. local trail = Instance.new("Trail", outblade)
  495. trail.Attachment0 = AT0
  496. trail.Attachment1 = AT1
  497. trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0, 0), NumberSequenceKeypoint.new(1, 0.9, 0)})
  498. trail.LightEmission = 0.7
  499. trail.Lifetime = 0.5
  500. trail.MaxLength = 2
  501. trail.MinLength = 0.05
  502. trail.WidthScale = NumberSequence.new({NumberSequenceKeypoint.new(0, 1, 0), NumberSequenceKeypoint.new(1, 0.2, 0)})
  503. trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(85, 0, 0), 0), ColorSequenceKeypoint.new(1, Color3.fromRGB(170, 0, 0), 0)})
  504.  
  505. local mainw = Instance.new("Weld", main)
  506. mainw.Part0 = tor
  507. mainw.Part1 = main
  508. mainw.C1 = CFn(1, 1, 0)
  509.  
  510. local bld = Instance.new("Part", saber)
  511. bld.Size = Vector3.new(4.7, 1, 1)
  512. bld.CanCollide = false
  513. bld.Transparency = 1
  514.  
  515. local bldw = Instance.new("Weld", bld)
  516. bldw.Part0 = outblade
  517. bldw.Part1 = bld
  518.  
  519. local cape = Instance.new("Part", char)
  520. cape.Size = Vector3.new(2, 3.6, 1)
  521. cape.Material = "SmoothPlastic"
  522. cape.BrickColor = BrickColor.new("Really black")
  523. local capem = Instance.new("SpecialMesh", cape)
  524. capem.MeshType = "FileMesh"
  525. capem.MeshId = "rbxassetid://114046169"
  526. capem.Scale = Vector3.new(1.2, 1.8, 1.1)
  527.  
  528. local capew = Instance.new("Weld", cape)
  529. capew.Part0 = tor
  530. capew.Part1 = cape
  531. capew.C1 = CFn(0, 0.7, -0.35)
  532.  
  533. outblade.Transparency = 1
  534. outball.Transparency = 1
  535. trail.Enabled = false
  536. particle.Transparency = NumberSequence.new(0, 1)
  537. particle.LockedToPart = false
  538. particle.Enabled = false
  539.  
  540. -----------------------------------------------------------------------------
  541.  
  542. ArtificialHB = Instance.new("BindableEvent", script)
  543. ArtificialHB.Name = "Heartbeat"
  544. script:WaitForChild("Heartbeat")
  545.  
  546. frame = 1 / 60
  547. tf = 0
  548. allowframeloss = false
  549. tossremainder = false
  550.  
  551.  
  552. lastframe = tick()
  553. script.Heartbeat:Fire()
  554.  
  555.  
  556. game:GetService("RunService").Heartbeat:connect(function(s, p)
  557. tf = tf + s
  558. if tf >= frame then
  559. if allowframeloss then
  560. script.Heartbeat:Fire()
  561. lastframe = tick()
  562. else
  563. for i = 1, math.floor(tf / frame) do
  564. script.Heartbeat:Fire()
  565. end
  566. lastframe = tick()
  567. end
  568. if tossremainder then
  569. tf = 0
  570. else
  571. tf = tf - frame * math.floor(tf / frame)
  572. end
  573. end
  574. end)
  575.  
  576. function swait(num)
  577. if num == 0 or num == nil then
  578. game:service("RunService").Stepped:wait(0)
  579. else
  580. for i = 0, num do
  581. game:service("RunService").Stepped:wait(0)
  582. end
  583. end
  584. end
  585.  
  586. function clerp(a, b, t)
  587. return a:lerp(b, t)
  588. end
  589.  
  590. function Sound(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:Play()
  600. return sound
  601. else
  602. local sound = par:FindFirstChild(name)
  603. sound:Play()
  604. return sound
  605. end
  606. end
  607.  
  608. function StopSound(id, vol, par, name, looped)
  609. if not par:FindFirstChild(name) then
  610. local sound = Instance.new("Sound", par)
  611. sound.SoundId = id
  612. sound.Volume = vol
  613. if looped == true then
  614. sound.Looped = true
  615. end
  616. sound.Name = name
  617. sound:Stop()
  618. return sound
  619. else
  620. local sound = par:FindFirstChild(name)
  621. sound:Stop()
  622. return sound
  623. end
  624. end
  625.  
  626. function Force(part, pos, part2, pos2, par2)
  627. local parp = Instance.new("Part", char)
  628. parp.Size = Vector3.new(1, 1, 1)
  629. parp.Transparency = 1
  630. parp.CanCollide = false
  631. local parpw = Instance.new("Weld", parp)
  632. parpw.Part0 = part
  633. parpw.Part1 = parp
  634. parpw.C1 = pos
  635. local pare = Instance.new("ParticleEmitter", parp)
  636. pare.LockedToPart = true
  637. pare.Transparency = NumberSequence.new(0.4, 1)
  638. pare.Size = NumberSequence.new(1.25, 0)
  639. pare.Lifetime = NumberRange.new(1)
  640. pare.Rotation = NumberRange.new(0, 360)
  641. pare.Rate = 200
  642. pare.RotSpeed = NumberRange.new(360, 360)
  643. pare.Speed = NumberRange.new(4)
  644. pare.Color = ColorSequence.new(Color3.fromRGB(170, 0, 0),Color3.fromRGB(255, 255, 255))
  645. pare.SpreadAngle = Vector2.new(360, 360)
  646. pare.Texture = "rbxassetid://1539341292"
  647. local parp2 = parp:Clone()
  648. parp2.Parent = par2
  649. local parp2w = parp2:FindFirstChild("Weld")
  650. parp2w.Part0 = part2
  651. parp2w.Part1 = parp2
  652. parp2w.C1 = pos2
  653. return parp, parp2
  654. end
  655.  
  656. function equipunequip()
  657. if attacking == false and equipped == false and Changing == false then
  658. attacking = true
  659. Changing = true
  660. hum.WalkSpeed = 0
  661. hum.JumpPower = 0
  662. for i = 0,1,.1 do
  663. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-20), 0, Rad(-60)), i)
  664. rootj.C1 = clerp(rootj.C1, rootj1, i)
  665. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(10), 0, 0), i)
  666. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(30), Rad(-30), Rad(-3)), i)
  667. LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), 0, 0), i)
  668. RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), 0, 0), i)
  669. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(5), 0, 0), i)
  670. rootj.C0 = clerp(rootj.C0, rootj0, i)
  671. LS.C0 = clerp(LS.C0, LS0, i)
  672. RS.C0 = clerp(RS.C0, RS0 * CFn(0, 0, -0.5) * CFa(0, Rad(90), 0), i)
  673. LH.C0 = clerp(LH.C0, LH0, i)
  674. RH.C0 = clerp(RH.C0, RH0, i)
  675. swait()
  676. end
  677. StopSound("rbxassetid://605607641", 2, cap, "SHEWW", false)
  678. Sound("rbxassetid://605604103", 2, cap, "PSHEW", false)
  679. Sound("rbxassetid://1460966017", 1, cap, "WANWAN", true)
  680. equipped = true
  681. mainw.Part0 = rarm
  682. mainw.C1 = CFn(0, 1, 0) * CFa(0, Rad(180), 0)
  683. outblade.Transparency = 0
  684. outball.Transparency = 0
  685. trail.Enabled = true
  686. particle.Transparency = NumberSequence.new(0, 0.1)
  687. particle.LockedToPart = true
  688. particle.Enabled = true
  689. for i = 0,1,.1 do
  690. neck.C1 = clerp(neck.C1, neck1, i)
  691. rootj.C1 = clerp(rootj.C1, rootj1, i)
  692. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(10), 0, 0), i)
  693. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(50), 0, 0), i)
  694. LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), 0, 0), i)
  695. RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), 0, 0), i)
  696. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(5), 0, 0), i)
  697. rootj.C0 = clerp(rootj.C0, rootj0, i)
  698. LS.C0 = clerp(LS.C0, LS0, i)
  699. RS.C0 = clerp(RS.C0, RS0, i)
  700. LH.C0 = clerp(LH.C0, LH0, i)
  701. RH.C0 = clerp(RH.C0, RH0, i)
  702. swait()
  703. end
  704. hum.WalkSpeed = nws
  705. hum.JumpPower = njp
  706. Changing = false
  707. attacking = false
  708. elseif attacking == false and equipped == true and Changing == false then
  709. attacking = true
  710. Changing = true
  711. hum.WalkSpeed = 0
  712. hum.JumpPower = 0
  713. StopSound("rbxassetid://605604103", 2, cap, "PSHEW", false)
  714. Sound("rbxassetid://605607641", 2, cap, "SHEWW", false)
  715. StopSound("rbxassetid://1460966017", 1, cap, "WANWAN", true)
  716. outblade.Transparency = 1
  717. outball.Transparency = 1
  718. trail.Enabled = false
  719. particle.Transparency = NumberSequence.new(0, 1)
  720. particle.LockedToPart = false
  721. particle.Enabled = false
  722. for i = 0,1,.1 do
  723. neck.C1 = clerp(neck.C1, neck1, i)
  724. rootj.C1 = clerp(rootj.C1, rootj1, i)
  725. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(10), 0, 0), i)
  726. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(50), 0, 0), i)
  727. LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), 0, 0), i)
  728. RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), 0, 0), i)
  729. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(5), 0, 0), i)
  730. rootj.C0 = clerp(rootj.C0, rootj0, i)
  731. LS.C0 = clerp(LS.C0, LS0, i)
  732. RS.C0 = clerp(RS.C0, RS0, i)
  733. LH.C0 = clerp(LH.C0, LH0, i)
  734. RH.C0 = clerp(RH.C0, RH0, i)
  735. swait()
  736. end
  737. for i = 0,1,.1 do
  738. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-20), 0, Rad(-60)), i)
  739. rootj.C1 = clerp(rootj.C1, rootj1, i)
  740. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(10), 0, 0), i)
  741. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(30), Rad(-30), Rad(-3)), i)
  742. LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), 0, 0), i)
  743. RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), 0, 0), i)
  744. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(5), 0, 0), i)
  745. rootj.C0 = clerp(rootj.C0, rootj0, i)
  746. LS.C0 = clerp(LS.C0, LS0, i)
  747. RS.C0 = clerp(RS.C0, RS0 * CFn(0, 0, -0.5) * CFa(0, Rad(90), 0), i)
  748. LH.C0 = clerp(LH.C0, LH0, i)
  749. RH.C0 = clerp(RH.C0, RH0, i)
  750. swait()
  751. end
  752. mainw.Part0 = tor
  753. mainw.C1 = CFn(1, 1, 0)
  754. equipped = false
  755. hum.WalkSpeed = nws
  756. hum.JumpPower = njp
  757. Changing = false
  758. attacking = false
  759. end
  760. end
  761.  
  762. function Swing()
  763. if attacking == false and equipped == true and Swinging == false then
  764. attacking = true
  765. Swinging = true
  766. kill = true
  767. hum.WalkSpeed = 3
  768. hum.JumpPower = 5
  769. local hey = bld.Touched:connect(function(hit)
  770. if kill == true and hit.Parent:FindFirstChildOfClass("Humanoid") and not hit:IsDescendantOf(char) then
  771. kill = false
  772. local killman = hit.Parent
  773. local killhum = killman:FindFirstChildOfClass("Humanoid")
  774. local up = true
  775. for i = 1,2 do
  776. local cutpart = Instance.new("Part", killman)
  777. cutpart.Size = Vector3.new(hit.Size.X, hit.Size.Y / 2, hit.Size.Z)
  778. cutpart.BrickColor = hit.BrickColor
  779. cutpart.Material = hit.Material
  780. cutpart.Transparency = hit.Transparency
  781. cutpart.Reflectance = hit.Reflectance
  782. cutpart.BackSurface = hit.BackSurface
  783. cutpart.BottomSurface = hit.BottomSurface
  784. cutpart.FrontSurface = hit.FrontSurface
  785. cutpart.LeftSurface = hit.LeftSurface
  786. cutpart.RightSurface = hit.RightSurface
  787. cutpart.TopSurface = hit.TopSurface
  788. if up == true then
  789. cutpart.CFrame = hit.CFrame * CFn(0, hit.Size.Y / 2, 0)
  790. up = false
  791. else
  792. cutpart.CFrame = hit.CFrame * CFn(0, -(hit.Size.Y / 2), 0)
  793. up = true
  794. end
  795. end
  796. hit:Destroy()
  797. killman:BreakJoints()
  798. if attackstate == 1 then
  799. Sound("rbxassetid://1647165403", 1, outblade, "CHWAN", false)
  800. elseif attackstate == 2 then
  801. Sound("rbxassetid://1335649595", 1, outblade, "PSSPS", false)
  802. end
  803. elseif kill == true and hit.Parent.Parent:FindFirstChildOfClass("Humanoid") and not hit:IsDescendantOf(char) then
  804. kill = false
  805. local killman = hit.Parent.Parent
  806. local killhum = killman:FindFirstChildOfClass("Humanoid")
  807. local up = true
  808. for i = 1,2 do
  809. local cutpart = Instance.new("Part", killman)
  810. cutpart.Size = Vector3.new(hit.Size.X, hit.Size.Y / 2, hit.Size.Z)
  811. cutpart.BrickColor = hit.BrickColor
  812. cutpart.Material = hit.Material
  813. cutpart.Transparency = hit.Transparency
  814. cutpart.Reflectance = hit.Reflectance
  815. cutpart.BackSurface = hit.BackSurface
  816. cutpart.BottomSurface = hit.BottomSurface
  817. cutpart.FrontSurface = hit.FrontSurface
  818. cutpart.LeftSurface = hit.LeftSurface
  819. cutpart.RightSurface = hit.RightSurface
  820. cutpart.TopSurface = hit.TopSurface
  821. if up == true then
  822. cutpart.CFrame = hit.CFrame * CFn(0, hit.Size.Y / 2, 0)
  823. up = false
  824. else
  825. cutpart.CFrame = hit.CFrame * CFn(0, -(hit.Size.Y / 2), 0)
  826. up = true
  827. end
  828. end
  829. hit:Destroy()
  830. killman:BreakJoints()
  831. if attackstate == 1 then
  832. Sound("rbxassetid://1647165403", 1, outblade, "CHWAN", false)
  833. elseif attackstate == 2 then
  834. Sound("rbxassetid://1335649595", 1, outblade, "PSSPS", false)
  835. end
  836. end
  837. end)
  838. if attackstate == 1 then
  839. attackstate = 2
  840. for i = 0,1,.15 do
  841. neck.C1 = clerp(neck.C1, neck1 * CFa(0, 0, Rad(-10)), i)
  842. rootj.C1 = clerp(rootj.C1, rootj1, i)
  843. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(10), 0, 0), i)
  844. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(30), Rad(-80), Rad(-40)), i)
  845. LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), 0, 0), i)
  846. RH.C1 = clerp(RH.C1, RH1 * CFn(0.3, 0, 0) * CFa(Rad(5), 0, 0), i)
  847. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(5), 0, 0), i)
  848. rootj.C0 = clerp(rootj.C0, rootj0, i)
  849. LS.C0 = clerp(LS.C0, LS0, i)
  850. RS.C0 = clerp(RS.C0, RS0 * CFa(0, Rad(30), 0), i)
  851. LH.C0 = clerp(LH.C0, LH0, i)
  852. RH.C0 = clerp(RH.C0, RH0, i)
  853. swait()
  854. end
  855. Sound("rbxassetid://2088308141", 2, outblade, "VOMB", false)
  856. for i = 0,1,.15 do
  857. neck.C1 = clerp(neck.C1, neck1 * CFa(0, 0, Rad(10)), i)
  858. rootj.C1 = clerp(rootj.C1, rootj1, i)
  859. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(10), 0, 0), i)
  860. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(30), Rad(-80), Rad(-50)), i)
  861. LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), 0, 0), i)
  862. RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), 0, 0), i)
  863. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(5), 0, 0), i)
  864. rootj.C0 = clerp(rootj.C0, rootj0, i)
  865. LS.C0 = clerp(LS.C0, LS0, i)
  866. RS.C0 = clerp(RS.C0, RS0 * CFa(0, Rad(-75), 0), i)
  867. LH.C0 = clerp(LH.C0, LH0, i)
  868. RH.C0 = clerp(RH.C0, RH0, i)
  869. swait()
  870. end
  871. elseif attackstate == 2 then
  872. attackstate = 1
  873. for i = 0,1,.15 do
  874. neck.C1 = clerp(neck.C1, neck1 * CFa(0, 0, Rad(10)), i)
  875. rootj.C1 = clerp(rootj.C1, rootj1, i)
  876. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(10), 0, 0), i)
  877. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(110), Rad(-20), Rad(-90)), i)
  878. LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), 0, 0), i)
  879. RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), 0, 0), i)
  880. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(5), 0, 0), i)
  881. rootj.C0 = clerp(rootj.C0, rootj0, i)
  882. LS.C0 = clerp(LS.C0, LS0, i)
  883. RS.C0 = clerp(RS.C0, RS0, i)
  884. LH.C0 = clerp(LH.C0, LH0, i)
  885. RH.C0 = clerp(RH.C0, RH0, i)
  886. swait()
  887. end
  888. Sound("rbxassetid://2088308141", 2, outblade, "VOMB", false)
  889. for i = 0,1,.15 do
  890. neck.C1 = clerp(neck.C1, neck1 * CFa(0, 0, Rad(-10)), i)
  891. rootj.C1 = clerp(rootj.C1, rootj1 * CFa(0, 0, Rad(-40)), i)
  892. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(10), 0, 0), i)
  893. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(-80), Rad(70), Rad(-40)), i)
  894. LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), 0, 0), i)
  895. RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), Rad(40), 0), i)
  896. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(5), 0, 0), i)
  897. rootj.C0 = clerp(rootj.C0, rootj0, i)
  898. LS.C0 = clerp(LS.C0, LS0, i)
  899. RS.C0 = clerp(RS.C0, RS0, i)
  900. LH.C0 = clerp(LH.C0, LH0, i)
  901. RH.C0 = clerp(RH.C0, RH0, i)
  902. swait()
  903. end
  904. end
  905. hum.WalkSpeed = nws
  906. hum.JumpPower = njp
  907. kill = false
  908. hey:disconnect()
  909. Swinging = false
  910. attacking = false
  911. end
  912. end
  913.  
  914. function Choke()
  915. if attacking == false and Choking == false then
  916. attacking = true
  917. Choking = true
  918. hum.WalkSpeed = 0
  919. hum.JumpPower = 0
  920. if Mouse.Target ~= nil and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") then
  921. local theguy = Mouse.Target.Parent
  922. local thehum = theguy:FindFirstChildOfClass("Humanoid")
  923. if thehum.Health > 0 then
  924. local thehead = theguy:FindFirstChild("Head")
  925. local thetor = theguy:FindFirstChild("Torso") or theguy:FindFirstChild("UpperTorso")
  926. root.CFrame = CFn(root.CFrame.p, Vector3.new(Mouse.Hit.x, root.CFrame.y, Mouse.Hit.z))
  927. thetor.CFrame = CFn(thetor.CFrame.p, Vector3.new(root.CFrame.x, thetor.CFrame.y, root.CFrame.z))
  928. local thetorframe = thetor.CFrame
  929. local forpar, forpar2 = Force(larm, CFn(0, 1, 0), thehead, CFn(0, 0.5, 0), theguy)
  930. if thetor.Anchored == true then
  931. thetor.Anchored = false
  932. end
  933. local thebv = Instance.new("BodyPosition", thetor)
  934. thebv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  935. thebv.Position = thetorframe.p
  936. Sound("rbxassetid://1386781853", 2.5, larm, "OOOWA", false)
  937. for i = 0,1,.15 do
  938. neck.C1 = clerp(neck.C1, neck1 * CFa(0, 0, Rad(-20)) , i)
  939. rootj.C1 = clerp(rootj.C1, rootj1 * CFa(0, 0, Rad(20)), i)
  940. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(20), 0, Rad(90)), i)
  941. RS.C1 = clerp(RS.C1, RS1 * CFa(0, Rad(20), 0), i)
  942. LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), Rad(-20), 0), i)
  943. RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), 0, 0), i)
  944. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(5), 0, 0), i)
  945. rootj.C0 = clerp(rootj.C0, rootj0, i)
  946. LS.C0 = clerp(LS.C0, LS0, i)
  947. RS.C0 = clerp(RS.C0, RS0, i)
  948. LH.C0 = clerp(LH.C0, LH0, i)
  949. RH.C0 = clerp(RH.C0, RH0, i)
  950. swait()
  951. end
  952. thebv.Position = thetorframe * CFn(0, 10, 0).p
  953. for i = 0,1,.05 do
  954. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(20), 0, Rad(-20)), i)
  955. rootj.C1 = clerp(rootj.C1, rootj1 * CFa(0, 0, Rad(20)), i)
  956. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(20), 0, Rad(140)), i)
  957. RS.C1 = clerp(RS.C1, RS1 * CFa(0, Rad(20), 0), i)
  958. LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), Rad(-20), 0), i)
  959. RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), 0, 0), i)
  960. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(5), 0, 0), i)
  961. rootj.C0 = clerp(rootj.C0, rootj0, i)
  962. LS.C0 = clerp(LS.C0, LS0, i)
  963. RS.C0 = clerp(RS.C0, RS0, i)
  964. LH.C0 = clerp(LH.C0, LH0, i)
  965. RH.C0 = clerp(RH.C0, RH0, i)
  966. swait()
  967. end
  968. for i = 1,math.huge do
  969. if buttonC == true and thehum.Health > 0 then
  970. thehum.Health = thehum.Health - 1.5
  971. swait()
  972. elseif buttonC == false or thehum.Health <= 0 then
  973. break
  974. end
  975. end
  976. if thehum.Health <= 0 then
  977. theguy:BreakJoints()
  978. Sound("rbxassetid://513153251", 4, thetor, "OUCH", false)
  979. end
  980. thebv:Destroy()
  981. forpar:Destroy()
  982. forpar2:Destroy()
  983. end
  984. elseif Mouse.Target ~= nil and Mouse.Target.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  985. local theguy = Mouse.Target.Parent.Parent
  986. local thehum = theguy:FindFirstChildOfClass("Humanoid")
  987. if thehum.Health > 0 then
  988. local thehead = theguy:FindFirstChild("Head")
  989. local thetor = theguy:FindFirstChild("Torso") or theguy:FindFirstChild("UpperTorso")
  990. root.CFrame = CFn(root.CFrame.p, Vector3.new(Mouse.Hit.x, root.CFrame.y, Mouse.Hit.z))
  991. thetor.CFrame = CFn(thetor.CFrame.p, Vector3.new(root.CFrame.x, root.CFrame.y, root.CFrame.z))
  992. local thetorframe = thetor.CFrame
  993. local forpar, forpar2 = Force(larm, CFn(0, 1, 0), thehead, CFn(0, 0.5, 0), theguy)
  994. if thetor.Anchored == true then
  995. thetor.Anchored = false
  996. end
  997. local thebv = Instance.new("BodyPosition", thetor)
  998. thebv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  999. thebv.Position = thetorframe.p
  1000. Sound("rbxassetid://1386781853", 2.5, larm, "OOOWA", false)
  1001. for i = 0,1,.15 do
  1002. neck.C1 = clerp(neck.C1, neck1 * CFa(0, 0, Rad(-20)) , i)
  1003. rootj.C1 = clerp(rootj.C1, rootj1 * CFa(0, 0, Rad(20)), i)
  1004. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(20), 0, Rad(90)), i)
  1005. RS.C1 = clerp(RS.C1, RS1 * CFa(0, Rad(20), 0), i)
  1006. LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), Rad(-20), 0), i)
  1007. RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), 0, 0), i)
  1008. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(5), 0, 0), i)
  1009. rootj.C0 = clerp(rootj.C0, rootj0, i)
  1010. LS.C0 = clerp(LS.C0, LS0, i)
  1011. RS.C0 = clerp(RS.C0, RS0, i)
  1012. LH.C0 = clerp(LH.C0, LH0, i)
  1013. RH.C0 = clerp(RH.C0, RH0, i)
  1014. swait()
  1015. end
  1016. thebv.Position = thetorframe * CFn(0, 10, 0).p
  1017. for i = 0,1,.05 do
  1018. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(20), 0, Rad(-20)), i)
  1019. rootj.C1 = clerp(rootj.C1, rootj1 * CFa(0, 0, Rad(20)), i)
  1020. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(20), 0, Rad(140)), i)
  1021. RS.C1 = clerp(RS.C1, RS1 * CFa(0, Rad(20), 0), i)
  1022. LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), Rad(-20), 0), i)
  1023. RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), 0, 0), i)
  1024. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(5), 0, 0), i)
  1025. rootj.C0 = clerp(rootj.C0, rootj0, i)
  1026. LS.C0 = clerp(LS.C0, LS0, i)
  1027. RS.C0 = clerp(RS.C0, RS0, i)
  1028. LH.C0 = clerp(LH.C0, LH0, i)
  1029. RH.C0 = clerp(RH.C0, RH0, i)
  1030. swait()
  1031. end
  1032. for i = 1,math.huge do
  1033. if buttonC == true and thehum.Health > 0 then
  1034. thehum.Health = thehum.Health - 1.5
  1035. swait()
  1036. elseif buttonC == false or thehum.Health <= 0 then
  1037. break
  1038. end
  1039. end
  1040. if thehum.Health <= 0 then
  1041. theguy:BreakJoints()
  1042. Sound("rbxassetid://513153251", 4, thetor, "OUCH", false)
  1043. end
  1044. thebv:Destroy()
  1045. forpar:Destroy()
  1046. forpar2:Destroy()
  1047. end
  1048. end
  1049. hum.WalkSpeed = nws
  1050. hum.JumpPower = njp
  1051. Choking = false
  1052. attacking = false
  1053. end
  1054. end
  1055.  
  1056.  
  1057.  
  1058. -----------------------------------------------------------------------------
  1059.  
  1060. function kdown(k)
  1061. if k == "e" then
  1062. equipunequip()
  1063. elseif k == "c" then
  1064. if buttonC == false then
  1065. buttonC = true
  1066. Choke()
  1067. end
  1068. end
  1069. end
  1070.  
  1071. function kup(k)
  1072. if k == "c" then
  1073. if buttonC == true then
  1074. buttonC = false
  1075. end
  1076. end
  1077. end
  1078.  
  1079. function lmdown()
  1080. Swing()
  1081. end
  1082.  
  1083. Mouse.KeyDown:connect(kdown)
  1084. Mouse.KeyUp:connect(kup)
  1085. Mouse.Button1Down:connect(lmdown)
  1086.  
  1087. -----------------------------------------------------------------------------
  1088.  
  1089. warn([[The Corrupted Nobody.
  1090. last updated: 2018/11/23, 20:14 JST.
  1091.  
  1092. Please do not leak this script.]])
  1093.  
  1094. -----------------------------------------------------------------------------
  1095.  
  1096. while true do
  1097. swait()
  1098. sine = sine + 1
  1099. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  1100. if Changing == true then
  1101. state = "Change"
  1102. elseif Swinging == true then
  1103. state = "Swing"
  1104. elseif Choking == true then
  1105. state = "Choking"
  1106. elseif 1 < root.Velocity.y then
  1107. state = "Jump"
  1108. elseif -1 > root.Velocity.y then
  1109. state = "Fall"
  1110. elseif torvel < 1 then
  1111. state = "Idle"
  1112. elseif tor.Velocity.magnitude < 50 then
  1113. state = "Walk"
  1114. end
  1115.  
  1116. if state == "Jump" then
  1117. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-10), 0, 0), 0.15)
  1118. rootj.C1 = clerp(rootj.C1, rootj1 * CFa(Rad(-10), 0, 0), 0.15)
  1119. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(10), 0, 0), 0.15)
  1120. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(10), 0, 0), 0.15)
  1121. LH.C1 = clerp(LH.C1, LH1 * CFn(0.5, -1, -0.1) * CFa(Rad(-10), 0, Rad(-40)), 0.15)
  1122. RH.C1 = clerp(RH.C1, RH1 * CFn(-0.3, -0.8, 0) * CFa(Rad(-5), 0, Rad(15)), 0.15)
  1123. neck.C0 = clerp(neck.C0, neck0, 0.15)
  1124. rootj.C0 = clerp(rootj.C0, rootj0, 0.15)
  1125. LS.C0 = clerp(LS.C0, LS0, 0.15)
  1126. RS.C0 = clerp(RS.C0, RS0, 0.15)
  1127. LH.C0 = clerp(LH.C0, LH0, 0.15)
  1128. RH.C0 = clerp(RH.C0, RH0, 0.15)
  1129. elseif state == "Fall" then
  1130. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-5), 0, 0), 0.15)
  1131. rootj.C1 = clerp(rootj.C1, rootj1 * CFa(Rad(10), 0, 0), 0.15)
  1132. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(20), 0, 0), 0.15)
  1133. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(20), 0, 0), 0.15)
  1134. LH.C1 = clerp(LH.C1, LH1 * CFn(0.1, -0.4, -0.1) * CFa(Rad(-2), 0, 0), 0.15)
  1135. RH.C1 = clerp(RH.C1, RH1 * CFn(-0.1, -0.4, -0.1) * CFa(Rad(-2), 0, 0), 0.15)
  1136. neck.C0 = clerp(neck.C0, neck0, 0.15)
  1137. rootj.C0 = clerp(rootj.C0, rootj0, 0.15)
  1138. LS.C0 = clerp(LS.C0, LS0, 0.15)
  1139. RS.C0 = clerp(RS.C0, RS0, 0.15)
  1140. LH.C0 = clerp(LH.C0, LH0 * CFa(0, 0, Rad(20)), 0.15)
  1141. RH.C0 = clerp(RH.C0, RH0 * CFa(0, 0, Rad(-20)), 0.15)
  1142. elseif state == "Idle" then
  1143. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-7 * Sin(sine / 15)), 0, 0), 0.15)
  1144. rootj.C1 = clerp(rootj.C1, rootj1 * CFn(0, 0, 0.1 * Cos(sine / 15)) * CFa(Rad(-2 * Sin(sine / 15)), 0, 0), 0.15)
  1145. LS.C1 = clerp(LS.C1, LS1 * CFn(0, 0.1 * Cos(sine / 15), 0) * CFa(Rad(5), 0, 0), 0.15)
  1146. RS.C1 = clerp(RS.C1, RS1 * CFn(0, 0.1 * Cos(sine / 15), 0) * CFa(Rad(5), 0, 0), 0.15)
  1147. 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)
  1148. 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)
  1149. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(10), 0, 0), 0.15)
  1150. rootj.C0 = clerp(rootj.C0, rootj0 * CFa(Rad(2), 0, 0), 0.15)
  1151. LS.C0 = clerp(LS.C0, LS0, 0.15)
  1152. RS.C0 = clerp(RS.C0, RS0, 0.15)
  1153. LH.C0 = clerp(LH.C0, LH0, 0.15)
  1154. RH.C0 = clerp(RH.C0, RH0, 0.15)
  1155. elseif state == "Walk" then
  1156. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-5 * Sin(sine / 4)), 0, 0), 0.15)
  1157. 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)
  1158. LS.C1 = clerp(LS.C1, LS1 * CFa(0, 0, Rad(-25 * Sin(sine / 8))), 0.15)
  1159. RS.C1 = clerp(RS.C1, RS1 * CFa(0, 0, Rad(-25 * Sin(sine / 8))), 0.15)
  1160. 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)
  1161. 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)
  1162. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(5), 0, 0), 0.15)
  1163. rootj.C0 = clerp(rootj.C0, rootj0, 0.15)
  1164. LS.C0 = clerp(LS.C0, LS0, 0.15)
  1165. RS.C0 = clerp(RS.C0, RS0, 0.15)
  1166. LH.C0 = clerp(LH.C0, LH0 * CFa(0, 0, Rad(20)), 0.15)
  1167. RH.C0 = clerp(RH.C0, RH0 * CFa(0, 0, Rad(-20)), 0.15)
  1168. end
  1169. if not head:FindFirstChild("KOOOHAAA") then
  1170. koohaa = Instance.new("Sound", head)
  1171. koohaa.SoundId = "rbxassetid://149840174"
  1172. koohaa.Name = "KOOOHAAA"
  1173. koohaa.Volume = 2
  1174. koohaa.TimePosition = thepos
  1175. koohaa.Looped = true
  1176. koohaa:Play()
  1177. end
  1178. thepos = koohaa.TimePosition
  1179. end
  1180. -----------------------------------------------------------------------------
  1181.  
  1182. while true do
  1183. swait()
  1184. sine = sine + 1
  1185. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  1186. if Changing == true then
  1187. state = "Change"
  1188. elseif Swinging == true then
  1189. state = "Swing"
  1190. elseif Choking == true then
  1191. state = "Choking"
  1192. elseif 1 < root.Velocity.y then
  1193. state = "Jump"
  1194. elseif -1 > root.Velocity.y then
  1195. state = "Fall"
  1196. elseif torvel < 1 then
  1197. state = "Idle"
  1198. elseif tor.Velocity.magnitude < 50 then
  1199. state = "Walk"
  1200. end
  1201.  
  1202. if state == "Jump" then
  1203. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-10), 0, 0), 0.15)
  1204. rootj.C1 = clerp(rootj.C1, rootj1 * CFa(Rad(-10), 0, 0), 0.15)
  1205. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(10), 0, 0), 0.15)
  1206. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(10), 0, 0), 0.15)
  1207. LH.C1 = clerp(LH.C1, LH1 * CFn(0.5, -1, -0.1) * CFa(Rad(-10), 0, Rad(-40)), 0.15)
  1208. RH.C1 = clerp(RH.C1, RH1 * CFn(-0.3, -0.8, 0) * CFa(Rad(-5), 0, Rad(15)), 0.15)
  1209. neck.C0 = clerp(neck.C0, neck0, 0.15)
  1210. rootj.C0 = clerp(rootj.C0, rootj0, 0.15)
  1211. LS.C0 = clerp(LS.C0, LS0, 0.15)
  1212. RS.C0 = clerp(RS.C0, RS0, 0.15)
  1213. LH.C0 = clerp(LH.C0, LH0, 0.15)
  1214. RH.C0 = clerp(RH.C0, RH0, 0.15)
  1215. elseif state == "Fall" then
  1216. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-5), 0, 0), 0.15)
  1217. rootj.C1 = clerp(rootj.C1, rootj1 * CFa(Rad(10), 0, 0), 0.15)
  1218. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(20), 0, 0), 0.15)
  1219. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(20), 0, 0), 0.15)
  1220. LH.C1 = clerp(LH.C1, LH1 * CFn(0.1, -0.4, -0.1) * CFa(Rad(-2), 0, 0), 0.15)
  1221. RH.C1 = clerp(RH.C1, RH1 * CFn(-0.1, -0.4, -0.1) * CFa(Rad(-2), 0, 0), 0.15)
  1222. neck.C0 = clerp(neck.C0, neck0, 0.15)
  1223. rootj.C0 = clerp(rootj.C0, rootj0, 0.15)
  1224. LS.C0 = clerp(LS.C0, LS0, 0.15)
  1225. RS.C0 = clerp(RS.C0, RS0, 0.15)
  1226. LH.C0 = clerp(LH.C0, LH0 * CFa(0, 0, Rad(20)), 0.15)
  1227. RH.C0 = clerp(RH.C0, RH0 * CFa(0, 0, Rad(-20)), 0.15)
  1228. elseif state == "Idle" then
  1229. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-7 * Sin(sine / 15)), 0, 0), 0.15)
  1230. rootj.C1 = clerp(rootj.C1, rootj1 * CFn(0, 0, 0.1 * Cos(sine / 15)) * CFa(Rad(-2 * Sin(sine / 15)), 0, 0), 0.15)
  1231. LS.C1 = clerp(LS.C1, LS1 * CFn(0, 0.1 * Cos(sine / 15), 0) * CFa(Rad(5), 0, 0), 0.15)
  1232. RS.C1 = clerp(RS.C1, RS1 * CFn(0, 0.1 * Cos(sine / 15), 0) * CFa(Rad(5), 0, 0), 0.15)
  1233. 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)
  1234. 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)
  1235. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(10), 0, 0), 0.15)
  1236. rootj.C0 = clerp(rootj.C0, rootj0 * CFa(Rad(2), 0, 0), 0.15)
  1237. LS.C0 = clerp(LS.C0, LS0, 0.15)
  1238. RS.C0 = clerp(RS.C0, RS0, 0.15)
  1239. LH.C0 = clerp(LH.C0, LH0, 0.15)
  1240. RH.C0 = clerp(RH.C0, RH0, 0.15)
  1241. elseif state == "Walk" then
  1242. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-5 * Sin(sine / 4)), 0, 0), 0.15)
  1243. 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)
  1244. LS.C1 = clerp(LS.C1, LS1 * CFa(0, 0, Rad(-25 * Sin(sine / 8))), 0.15)
  1245. RS.C1 = clerp(RS.C1, RS1 * CFa(0, 0, Rad(-25 * Sin(sine / 8))), 0.15)
  1246. 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)
  1247. 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)
  1248. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(5), 0, 0), 0.15)
  1249. rootj.C0 = clerp(rootj.C0, rootj0, 0.15)
  1250. LS.C0 = clerp(LS.C0, LS0, 0.15)
  1251. RS.C0 = clerp(RS.C0, RS0, 0.15)
  1252. LH.C0 = clerp(LH.C0, LH0 * CFa(0, 0, Rad(20)), 0.15)
  1253. RH.C0 = clerp(RH.C0, RH0 * CFa(0, 0, Rad(-20)), 0.15)
  1254. end
  1255. if not head:FindFirstChild("KOOOHAAA") then
  1256. koohaa = Instance.new("Sound", head)
  1257. koohaa.SoundId = "rbxassetid://149840174"
  1258. koohaa.Name = "KOOOHAAA"
  1259. koohaa.Volume = 2
  1260. koohaa.TimePosition = thepos
  1261. koohaa.Looped = true
  1262. koohaa:Play()
  1263. end
  1264. thepos = koohaa.TimePosition
  1265. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement