Advertisement
zombieslayerwtf

Guest 666 [Leaked]

Jun 1st, 2018
1,777
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 38.70 KB | None | 0 0
  1. warn("Guest 666 Script by Oilsauce.")
  2. print("Click: Stab")
  3. print("E to throw [Only on players]")
  4.  
  5. wait(0.6)
  6. -----------------------------------------------------------------------------------
  7.  
  8. local plrs = game:GetService("Players")
  9. local plr = plrs.LocalPlayer
  10. local char = plr.Character
  11. local sound = Instance.new("Sound",char.Torso)
  12. sound.SoundId = "rbxassetid://323901968"
  13. sound.Volume = 10
  14. plr:ClearCharacterAppearance()
  15. local tweenserv = game:GetService("TweenService")
  16. local lighting = game:GetService("Lighting")
  17. local hum = char:FindFirstChildOfClass("Humanoid")
  18. local mou = plr:GetMouse()
  19. local tor = char:FindFirstChild("Torso") or char:FindFirstChild("UpperTorso")
  20. local root = char:FindFirstChild("HumanoidRootPart")
  21. local head = char:FindFirstChild("Head")
  22. local face = head:FindFirstChildOfClass("Decal")
  23. local larm = char:FindFirstChild("Left Arm") or char:FindFirstChild("LeftUpperArm")
  24. local rarm = char:FindFirstChild("Right Arm") or char:FindFirstChild("RightUpperArm")
  25. local rleg = char:FindFirstChild("Right Leg") or char:FindFirstChild("RightUpperLeg")
  26. local lleg = char:FindFirstChild("Left Leg") or char:FindFirstChild("LeftUpperLeg")
  27. local neck = tor:FindFirstChild("Neck")
  28. local rootj = root:FindFirstChild("RootJoint")
  29. local LS = tor:FindFirstChild("Left Shoulder")
  30. local RS = tor:FindFirstChild("Right Shoulder")
  31. local LH = tor:FindFirstChild("Left Hip")
  32. local RH = tor:FindFirstChild("Right Hip")
  33. local bp = plr:FindFirstChild("Backpack")
  34. canglitch = true
  35.  
  36. hum:ClearAllChildren()
  37. char.Animate:remove()
  38.  
  39. local shirt = Instance.new("Shirt",char)
  40. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=1100804238"
  41. local pants = Instance.new("Pants",char)
  42. pants.PantsTemplate = "http://www.roblox.com/asset/?id=144076759"
  43.  
  44. --Converted with ttyyuu12345's model to script plugin v4
  45. function sandbox(var,func)
  46. local env = getfenv(func)
  47. local newenv = setmetatable({},{
  48. __index = function(self,k)
  49. if k=="script" then
  50. return var
  51. else
  52. return env[k]
  53. end
  54. end,
  55. })
  56. setfenv(func,newenv)
  57. return func
  58. end
  59. cors = {}
  60. mas = Instance.new("Model",game:GetService("Lighting"))
  61. Model0 = Instance.new("Model")
  62. Part1 = Instance.new("Part")
  63. Part2 = Instance.new("Part")
  64. ManualWeld3 = Instance.new("ManualWeld")
  65. Part4 = Instance.new("Part")
  66. ManualWeld5 = Instance.new("ManualWeld")
  67. Part6 = Instance.new("Part")
  68. ManualWeld7 = Instance.new("ManualWeld")
  69. Part8 = Instance.new("Part")
  70. ManualWeld9 = Instance.new("ManualWeld")
  71. Part10 = Instance.new("Part")
  72. ManualWeld11 = Instance.new("ManualWeld")
  73. Part12 = Instance.new("Part")
  74. ManualWeld13 = Instance.new("ManualWeld")
  75. Model0.Name = "pen"
  76. Model0.Parent = mas
  77. Part1.Name = "handler2"
  78. Part1.Parent = Model0
  79. Part1.Material = Enum.Material.Glass
  80. Part1.BrickColor = BrickColor.new("Really black")
  81. Part1.Shape = Enum.PartType.Cylinder
  82. Part1.Size = Vector3.new(0.099999927, 0.075000003, 0.075000003)
  83. Part1.CFrame = CFrame.new(0.422837317, 4.01673937, 24.1206856, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  84. Part1.BottomSurface = Enum.SurfaceType.Smooth
  85. Part1.TopSurface = Enum.SurfaceType.Smooth
  86. Part1.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  87. Part1.Position = Vector3.new(0.422837317, 4.01673937, 24.1206856)
  88. Part1.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  89. Part2.Name = "handler1"
  90. Part2.Parent = Model0
  91. Part2.Material = Enum.Material.Glass
  92. Part2.BrickColor = BrickColor.new("Really black")
  93. Part2.Shape = Enum.PartType.Cylinder
  94. Part2.Size = Vector3.new(0.099999927, 0.100000001, 0.100000001)
  95. Part2.CFrame = CFrame.new(0.356837302, 4.02223921, 24.1206856, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  96. Part2.BottomSurface = Enum.SurfaceType.Smooth
  97. Part2.TopSurface = Enum.SurfaceType.Smooth
  98. Part2.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  99. Part2.Position = Vector3.new(0.356837302, 4.02223921, 24.1206856)
  100. Part2.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  101. ManualWeld3.Name = "Weld"
  102. ManualWeld3.Parent = Part2
  103. ManualWeld3.C1 = CFrame.new(-0.0660000145, 0.00549983978, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  104. ManualWeld3.Part0 = Part2
  105. ManualWeld3.Part1 = Part1
  106. Part4.Name = "body"
  107. Part4.Parent = Model0
  108. Part4.Material = Enum.Material.Glass
  109. Part4.BrickColor = BrickColor.new("Really black")
  110. Part4.Shape = Enum.PartType.Cylinder
  111. Part4.Size = Vector3.new(1.27499998, 0.125, 0.125)
  112. Part4.CFrame = CFrame.new(-0.320662677, 4.02673912, 24.1206856, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  113. Part4.BottomSurface = Enum.SurfaceType.Smooth
  114. Part4.TopSurface = Enum.SurfaceType.Smooth
  115. Part4.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  116. Part4.Position = Vector3.new(-0.320662677, 4.02673912, 24.1206856)
  117. Part4.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  118. ManualWeld5.Name = "Weld"
  119. ManualWeld5.Parent = Part4
  120. ManualWeld5.C1 = CFrame.new(-0.743499994, 0.00999975204, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  121. ManualWeld5.Part0 = Part4
  122. ManualWeld5.Part1 = Part1
  123. Part6.Name = "clipholder"
  124. Part6.Parent = Model0
  125. Part6.Material = Enum.Material.Glass
  126. Part6.BrickColor = BrickColor.new("Really black")
  127. Part6.Shape = Enum.PartType.Cylinder
  128. Part6.Size = Vector3.new(0.2, 0.150000006, 0.150000006)
  129. Part6.CFrame = CFrame.new(-0.986662686, 4.02623892, 24.1206856, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  130. Part6.BottomSurface = Enum.SurfaceType.Smooth
  131. Part6.TopSurface = Enum.SurfaceType.Smooth
  132. Part6.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  133. Part6.Position = Vector3.new(-0.986662686, 4.02623892, 24.1206856)
  134. Part6.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  135. ManualWeld7.Name = "Weld"
  136. ManualWeld7.Parent = Part6
  137. ManualWeld7.C1 = CFrame.new(-1.4095, 0.00949954987, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  138. ManualWeld7.Part0 = Part6
  139. ManualWeld7.Part1 = Part1
  140. Part8.Name = "clip"
  141. Part8.Parent = Model0
  142. Part8.Material = Enum.Material.Glass
  143. Part8.BrickColor = BrickColor.new("Really black")
  144. Part8.Size = Vector3.new(0.724999905, 0.0500000119, 0.100000001)
  145. Part8.CFrame = CFrame.new(-0.663956106, 4.10453987, 24.1179676, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  146. Part8.BottomSurface = Enum.SurfaceType.Smooth
  147. Part8.TopSurface = Enum.SurfaceType.Smooth
  148. Part8.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  149. Part8.Position = Vector3.new(-0.663956106, 4.10453987, 24.1179676)
  150. Part8.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  151. ManualWeld9.Name = "Weld"
  152. ManualWeld9.Parent = Part8
  153. ManualWeld9.C1 = CFrame.new(-1.08679342, 0.0878005028, -0.0027179718, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  154. ManualWeld9.Part0 = Part8
  155. ManualWeld9.Part1 = Part1
  156. Part10.Name = "button"
  157. Part10.Parent = Model0
  158. Part10.Material = Enum.Material.Glass
  159. Part10.BrickColor = BrickColor.new("Dark indigo")
  160. Part10.Shape = Enum.PartType.Cylinder
  161. Part10.Size = Vector3.new(0.14, 0.125, 0.125)
  162. Part10.CFrame = CFrame.new(-1.09316278, 4.02473927, 24.1206856, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  163. Part10.BottomSurface = Enum.SurfaceType.Smooth
  164. Part10.TopSurface = Enum.SurfaceType.Smooth
  165. Part10.Color = Color3.new(0.239216, 0.0823529, 0.521569)
  166. Part10.Position = Vector3.new(-1.09316278, 4.02473927, 24.1206856)
  167. Part10.Color = Color3.new(0.239216, 0.0823529, 0.521569)
  168. ManualWeld11.Name = "Weld"
  169. ManualWeld11.Parent = Part10
  170. ManualWeld11.C1 = CFrame.new(-1.51600003, 0.007999897, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  171. ManualWeld11.Part0 = Part10
  172. ManualWeld11.Part1 = Part1
  173. Part12.Name = "sharp"
  174. Part12.Parent = Model0
  175. Part12.Material = Enum.Material.Glass
  176. Part12.Shape = Enum.PartType.Cylinder
  177. Part12.Size = Vector3.new(0.099999927, 0.0500000007, 0.0500000007)
  178. Part12.CFrame = CFrame.new(0.484837323, 4.01723957, 24.1206856, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  179. Part12.BottomSurface = Enum.SurfaceType.Smooth
  180. Part12.TopSurface = Enum.SurfaceType.Smooth
  181. Part12.Position = Vector3.new(0.484837323, 4.01723957, 24.1206856)
  182. ManualWeld13.Name = "Weld"
  183. ManualWeld13.Parent = Part12
  184. ManualWeld13.C1 = CFrame.new(0.0620000064, 0.000500202179, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  185. ManualWeld13.Part0 = Part12
  186. ManualWeld13.Part1 = Part1
  187. for i,v in pairs(mas:GetChildren()) do
  188. v.Parent = char
  189. pen = v
  190. body = Part4
  191. button = Part10
  192. pcall(function() v:MakeJoints() end)
  193. end
  194. local knife = Instance.new("Part",char)
  195. knife.CanCollide = false
  196. knife.Size = Vector3.new(0.2, 2, 2)
  197. local knifem = Instance.new("FileMesh",knife)
  198. knifem.MeshId = "rbxassetid://470094777"
  199. knifem.TextureId = "http://www.roblox.com/asset/?id=470149026"
  200. knifem.Scale = Vector3.new(0.2,0.2,0.2)
  201. local knifew = Instance.new("Weld",knife)
  202. knifew.Part0 = knife
  203. knifew.Part1 = char["Right Arm"]
  204. knifew.C0 = CFrame.new(0.0950660706, 1.32505798, -0.203226089, 0.995430529, 0.0954888016, 3.47819062e-09, -0.0619644187, 0.645952582, 0.760858297, 0.072653465, -0.757381439, 0.648918033)
  205.  
  206. mas:Destroy()
  207. for i,v in pairs(cors) do
  208. spawn(function()
  209. pcall(v)
  210. end)
  211. end
  212. for i,v in pairs(Model0:GetChildren()) do
  213. if v.ClassName == "Part" then
  214. v.Transparency = 1
  215. end
  216. end
  217.  
  218.  
  219. local rootj0 = rootj.C0
  220. local neck0 = neck.C0
  221. local LS0 = LS.C0
  222. local RS0 = RS.C0
  223. local LH0 = LH.C0
  224. local RH0 = RH.C0
  225. local rootj1 = rootj.C1
  226. local neck1 = neck.C1
  227. local LS1 = LS.C1
  228. local RS1 = RS.C1
  229. local LH1 = LH.C1
  230. local RH1 = RH.C1
  231.  
  232. -----------------------------------------------------------------------------------
  233.  
  234. local CFn = CFrame.new
  235. local CFa = CFrame.Angles
  236. local Rad = math.rad
  237. local Sin = math.sin
  238. local Cos = math.cos
  239. local sine = 1
  240.  
  241. local penp = Instance.new("Part", char)
  242. penp.Size = Vector3.new(1, 1, 1)
  243. penp.CanCollide = false
  244. penp.Transparency = 1
  245. local penpw = Instance.new("Weld", penp)
  246. penpw.Part0 = rarm
  247. penpw.Part1 = penp
  248. penpw.C1 = CFn(0, -1, 0) * CFa(0, 0, Rad(180))
  249. local penpw0 = penpw.C0
  250. local penpw1 = penpw.C1
  251.  
  252. local penw = Instance.new("Weld", body)
  253. penw.Name = "penWeld22"
  254. penw.Part0 = penp
  255. penw.Part1 = body
  256. penw.C1 = CFa(0, 0, Rad(180))
  257. local penw0 = penw.C0
  258. local penw1 = penw.C1
  259.  
  260. local sharpw = ManualWeld13
  261. local sharpw0 = ManualWeld13.C0
  262. local sharpw1 = ManualWeld13.C1
  263. local sharpw02 = CFn(0.3, 0, 0)
  264. sharpw.C0 = sharpw02
  265.  
  266. local botw = ManualWeld11
  267. local botw0 = ManualWeld11.C0
  268. local botw1 = ManualWeld11.C1
  269. local botw02 = CFn(-0.07, 0, 0)
  270. botw.C0 = botw0
  271.  
  272. -----------------------------------------------------------------------------------
  273.  
  274. local ws = 16
  275. local jp = 50
  276. local out = false
  277. local ouch = false
  278. local hitok = false
  279. local canattack = true
  280. local stabstate = 1
  281. local Stabbing = false
  282. local Throwing = false
  283. local rot = 1
  284. local dmg = 5
  285.  
  286. -----------------------------------------------------------------------------------
  287.  
  288. ArtificialHB = Instance.new("BindableEvent", script)
  289. ArtificialHB.Name = "Heartbeat"
  290. script:WaitForChild("Heartbeat")
  291.  
  292. frame = 1 / 60
  293. tf = 0
  294. allowframeloss = false
  295. tossremainder = false
  296.  
  297.  
  298. lastframe = tick()
  299. script.Heartbeat:Fire()
  300.  
  301.  
  302. game:GetService("RunService").Heartbeat:connect(function(s, p)
  303. tf = tf + s
  304. if tf >= frame then
  305. if allowframeloss then
  306. script.Heartbeat:Fire()
  307. lastframe = tick()
  308. else
  309. for i = 1, math.floor(tf / frame) do
  310. script.Heartbeat:Fire()
  311. end
  312. lastframe = tick()
  313. end
  314. if tossremainder then
  315. tf = 0
  316. else
  317. tf = tf - frame * math.floor(tf / frame)
  318. end
  319. end
  320. end)
  321.  
  322. function swait(num)
  323. if num == 0 or num == nil then
  324. game:service("RunService").Stepped:wait(0)
  325. else
  326. for i = 0, num do
  327. game:service("RunService").Stepped:wait(0)
  328. end
  329. end
  330. end
  331.  
  332. function clerp(a, b, t)
  333. return a:lerp(b, t)
  334. end
  335. out = true
  336.  
  337. function Stab()
  338. if stabstate == 1 and canattack == true then
  339. Stabbing = true
  340. canattack = false
  341. stabstate = 2
  342. hum.WalkSpeed = 3
  343. hum.JumpPower = 7
  344. hitok = true
  345. body.Touched:connect(function(hit)
  346. if hitok == true and not hit:IsDescendantOf(char) and hit.Parent:FindFirstChildOfClass("Humanoid") then
  347. hitok = false
  348. local owdude = hit.Parent
  349. local owhum = owdude:FindFirstChildOfClass("Humanoid")
  350. owhum.Health = owhum.Health - math.huge
  351. if out == true then
  352. local bloodsound = Instance.new("Sound", hit)
  353. bloodsound.Volume = 10
  354. bloodsound.SoundId = "rbxassetid://180083298"
  355. bloodsound:Play()
  356. game:GetService("Debris"):AddItem(bloodsound, 1)
  357. local bloodsplash = Instance.new("ParticleEmitter", hit)
  358. bloodsplash.Lifetime = NumberRange.new(0.7, 1)
  359. bloodsplash.Speed = NumberRange.new(6)
  360. bloodsplash.SpreadAngle = Vector2.new(-360, 360)
  361. bloodsplash.Rate = 1000
  362. bloodsplash.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3), NumberSequenceKeypoint.new(1, 0)})
  363. bloodsplash.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2), NumberSequenceKeypoint.new(1, 1)})
  364. bloodsplash.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 0, 0))})
  365. bloodsplash.Texture = "rbxassetid://771221224"
  366. game:GetService("Debris"):AddItem(bloodsplash, 1)
  367. wait(0.25)
  368. bloodsplash.Enabled = false
  369. end
  370. end
  371. if hitok == true and not hit:IsDescendantOf(char) and hit.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  372. hitok = false
  373. local owdude = hit.Parent.Parent
  374. local owhum = owdude:FindFirstChildOfClass("Humanoid")
  375. owhum.Health = owhum.Health - math.huge
  376. if out == true then
  377. local bloodsound = Instance.new("Sound", hit)
  378. bloodsound.Volume = 10
  379. bloodsound.SoundId = "rbxassetid://180083298"
  380. bloodsound:Play()
  381. game:GetService("Debris"):AddItem(bloodsound, 1)
  382. local bloodsplash = Instance.new("ParticleEmitter", hit)
  383. bloodsplash.Lifetime = NumberRange.new(0.7, 1)
  384. bloodsplash.Speed = NumberRange.new(6)
  385. bloodsplash.SpreadAngle = Vector2.new(-360, 360)
  386. bloodsplash.Rate = 1000
  387. bloodsplash.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3), NumberSequenceKeypoint.new(1, 0)})
  388. bloodsplash.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2), NumberSequenceKeypoint.new(1, 1)})
  389. bloodsplash.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 0, 0))})
  390. bloodsplash.Texture = "rbxassetid://771221224"
  391. game:GetService("Debris"):AddItem(bloodsplash, 1)
  392. wait(0.25)
  393. bloodsplash.Enabled = false
  394. end
  395. end
  396. end)
  397. for i = 0,1,.15 do
  398. penw.C1 = clerp(penw.C1, penw1 * CFa(0, Rad(-90), 0), i)
  399. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-2), 0, 0), i)
  400. rootj.C1 = clerp(rootj.C1, rootj1 * CFn(0, 0, 0.025), i)
  401. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(-30), 0, Rad(-40)), i)
  402. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(-30), Rad(-30), Rad(-3)), i)
  403. LH.C1 = clerp(LH.C1, LH1 * CFn(0, -0.025, 0) * CFa(Rad(5), Rad(-5), 0), i)
  404. RH.C1 = clerp(RH.C1, RH1 * CFn(0, -0.025, 0) * CFa(Rad(5), Rad(5), 0), i)
  405. LS.C0 = clerp(LS.C0, LS0, i)
  406. RS.C0 = clerp(RS.C0, RS0 * CFa(0, 0, Rad(150)), i)
  407. LH.C0 = clerp(LH.C0, LH0, i)
  408. RH.C0 = clerp(RH.C0, RH0, i)
  409. swait()
  410. end
  411. for i = 0,1,.15 do
  412. penw.C1 = clerp(penw.C1, penw1 * CFa(0, Rad(-90), 0), i)
  413. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-2), 0, 0), i)
  414. rootj.C1 = clerp(rootj.C1, rootj1 * CFn(0, 0, 0.025), i)
  415. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(-30), 0, Rad(-40)), i)
  416. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(20), Rad(-30), Rad(-3)), i)
  417. LH.C1 = clerp(LH.C1, LH1 * CFn(0, -0.025, 0) * CFa(Rad(5), Rad(-5), 0), i)
  418. RH.C1 = clerp(RH.C1, RH1 * CFn(0, -0.025, 0) * CFa(Rad(5), Rad(5), 0), i)
  419. LS.C0 = clerp(LS.C0, LS0, i)
  420. RS.C0 = clerp(RS.C0, RS0 * CFa(0, 0, Rad(20)), i)
  421. LH.C0 = clerp(LH.C0, LH0, i)
  422. RH.C0 = clerp(RH.C0, RH0, i)
  423. swait()
  424. end
  425. hitok = false
  426. hum.WalkSpeed = ws
  427. hum.JumpPower = jp
  428. canattack = true
  429. Stabbing = false
  430. elseif stabstate == 2 and canattack == true then
  431. canattack = false
  432. stabstate = 1
  433. hum.WalkSpeed = 3
  434. hum.JumpPower = 7
  435. hitok = true
  436. body.Touched:connect(function(hit)
  437. if hitok == true and not hit:IsDescendantOf(char) and hit.Parent:FindFirstChildOfClass("Humanoid") then
  438. local owdude = hit.Parent
  439. local owhum = owdude:FindFirstChildOfClass("Humanoid")
  440. owhum.Health = owhum.Health - math.huge
  441. if out == true then
  442. local bloodsound = Instance.new("Sound", hit)
  443. bloodsound.Volume = 10
  444. bloodsound.SoundId = "rbxassetid://180083298"
  445. bloodsound:Play()
  446. game:GetService("Debris"):AddItem(bloodsound, 1)
  447. local bloodsplash = Instance.new("ParticleEmitter", hit)
  448. bloodsplash.Lifetime = NumberRange.new(0.7, 1)
  449. bloodsplash.Speed = NumberRange.new(6)
  450. bloodsplash.SpreadAngle = Vector2.new(-360, 360)
  451. bloodsplash.Rate = 1000
  452. bloodsplash.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3), NumberSequenceKeypoint.new(1, 0)})
  453. bloodsplash.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2), NumberSequenceKeypoint.new(1, 1)})
  454. bloodsplash.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 0, 0))})
  455. bloodsplash.Texture = "rbxassetid://771221224"
  456. game:GetService("Debris"):AddItem(bloodsplash, 1)
  457. wait(0.25)
  458. bloodsplash.Enabled = false
  459. end
  460. end
  461. if hitok == true and not hit:IsDescendantOf(char) and hit.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  462. hitok = false
  463. local owdude = hit.Parent.Parent
  464. local owhum = owdude:FindFirstChildOfClass("Humanoid")
  465. owhum.Health = owhum.Health - math.huge
  466. if out == true then
  467. local bloodsound = Instance.new("Sound", hit)
  468. bloodsound.Volume = 10
  469. bloodsound.SoundId = "rbxassetid://180083298"
  470. bloodsound:Play()
  471. game:GetService("Debris"):AddItem(bloodsound, 1)
  472. local bloodsplash = Instance.new("ParticleEmitter", hit)
  473. bloodsplash.Lifetime = NumberRange.new(0.7, 1)
  474. bloodsplash.Speed = NumberRange.new(6)
  475. bloodsplash.SpreadAngle = Vector2.new(-360, 360)
  476. bloodsplash.Rate = 1000
  477. bloodsplash.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3), NumberSequenceKeypoint.new(1, 0)})
  478. bloodsplash.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2), NumberSequenceKeypoint.new(1, 1)})
  479. bloodsplash.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 0, 0))})
  480. bloodsplash.Texture = "rbxassetid://771221224"
  481. game:GetService("Debris"):AddItem(bloodsplash, 1)
  482. wait(0.25)
  483. bloodsplash.Enabled = false
  484. end
  485. end
  486. end)
  487. for i = 0,1,.15 do
  488. penw.C1 = clerp(penw.C1, penw1 * CFa(0, Rad(-90), 0), i)
  489. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-2), 0, 0), i)
  490. rootj.C1 = clerp(rootj.C1, rootj1 * CFn(0, 0, 0.025), i)
  491. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(-30), 0, Rad(-40)), i)
  492. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(30), Rad(30), Rad(-3)), i)
  493. LH.C1 = clerp(LH.C1, LH1 * CFn(0, -0.025, 0) * CFa(Rad(5), Rad(-5), 0), i)
  494. RH.C1 = clerp(RH.C1, RH1 * CFn(0, -0.025, 0) * CFa(Rad(5), Rad(5), 0), i)
  495. LS.C0 = clerp(LS.C0, LS0, i)
  496. RS.C0 = clerp(RS.C0, RS0 * CFa(0, 0, Rad(150)), i)
  497. LH.C0 = clerp(LH.C0, LH0, i)
  498. RH.C0 = clerp(RH.C0, RH0, i)
  499. swait()
  500. end
  501. for i = 0,1,.15 do
  502. penw.C1 = clerp(penw.C1, penw1 * CFa(0, Rad(-90), 0), i)
  503. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-2), 0, 0), i)
  504. rootj.C1 = clerp(rootj.C1, rootj1 * CFn(0, 0, 0.025), i)
  505. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(-30), 0, Rad(-40)), i)
  506. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(-20), Rad(30), Rad(-3)), i)
  507. LH.C1 = clerp(LH.C1, LH1 * CFn(0, -0.025, 0) * CFa(Rad(5), Rad(-5), 0), i)
  508. RH.C1 = clerp(RH.C1, RH1 * CFn(0, -0.025, 0) * CFa(Rad(5), Rad(5), 0), i)
  509. LS.C0 = clerp(LS.C0, LS0, i)
  510. RS.C0 = clerp(RS.C0, RS0 * CFa(0, 0, Rad(20)), i)
  511. LH.C0 = clerp(LH.C0, LH0, i)
  512. RH.C0 = clerp(RH.C0, RH0, i)
  513. swait()
  514. end
  515. hitok = false
  516. hum.WalkSpeed = ws
  517. hum.JumpPower = jp
  518. canattack = true
  519. Stabbing = false
  520. end
  521. end
  522.  
  523. local hair = Instance.new("Part",char)
  524. hair.CanCollide = false
  525. local m = Instance.new("FileMesh",hair)
  526. m.MeshId = "http://www.roblox.com/asset/?id=188004660"
  527. m.TextureId = "http://www.roblox.com/asset/?id=451217406"
  528. local w = Instance.new("Weld",hair)
  529. w.Part0 = hair
  530. w.Part1 = char.Head
  531. w.C0 = CFrame.new(0, -0.450000286, -0.00027179718, 1.00000095, 7.87137822e-09, -3.7608805e-15, -7.87138266e-09, 1.00000048, -4.76837158e-07, 0, -4.76837158e-07, 1.00000048)
  532. local sick = Instance.new("Sound",char.Torso)
  533. sick.SoundId = "rbxassetid://1472374501"
  534. sick.Looped = true
  535. sick.Pitch = 0.7
  536. sick.Volume = 3
  537. sick:Play()
  538.  
  539. function Throw()
  540. if canattack == true then
  541. Throwing = true
  542. canattack = false
  543. hum.WalkSpeed = 3
  544. hum.JumpPower = 7
  545. ouch = true
  546. for i = 0,1,.15 do
  547. penw.C1 = clerp(penw.C1, penw1 * CFa(0, 0, Rad(-90)), i)
  548. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-2), 0, 0), i)
  549. rootj.C1 = clerp(rootj.C1, rootj1 * CFn(0, 0, 0.025), i)
  550. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(-30), 0, Rad(-40)), i)
  551. RS.C1 = clerp(RS.C1, RS1 * CFa(0, Rad(-30), Rad(-3)), i)
  552. LH.C1 = clerp(LH.C1, LH1 * CFn(0, -0.025, 0) * CFa(Rad(5), Rad(-5), 0), i)
  553. RH.C1 = clerp(RH.C1, RH1 * CFn(0, -0.025, 0) * CFa(Rad(5), Rad(5), 0), i)
  554. LS.C0 = clerp(LS.C0, LS0, i)
  555. RS.C0 = clerp(RS.C0, RS0 * CFa(0, Rad(90), Rad(90)), i)
  556. LH.C0 = clerp(LH.C0, LH0, i)
  557. RH.C0 = clerp(RH.C0, RH0, i)
  558. swait()
  559. end
  560. local throwknife = knife:Clone()
  561. throwknife.Parent = workspace
  562. throwknife:BreakJoints()
  563. throwknife.CanCollide = false
  564. knife.Transparency = 1
  565. local vel = Instance.new("BodyVelocity",throwknife)
  566. vel.Velocity = mou.Hit.lookVector * 150
  567. local throwpen = pen:Clone()
  568. for i,v in pairs(throwpen:GetChildren()) do
  569. if v:IsA("BasePart") and v.CanCollide == true then
  570. v.CanCollide = false
  571. end
  572. end
  573. throwpen.Parent = workspace
  574. local throwbod = throwpen:FindFirstChild("body")
  575. if throwbod:FindFirstChild("penWeld22") then
  576. throwbod:FindFirstChild("penWeld22"):Destroy()
  577. end
  578. local throwbv = Instance.new("BodyVelocity", throwbod)
  579. throwbv.Velocity = mou.Hit.lookVector * 100
  580. throwbv.MaxForce = Vector3.new(100000000000000000, 100000000000000000, 100000000000000000)
  581. throwknife.Touched:connect(function(hit)
  582. if ouch == true and not hit:IsDescendantOf(char) then
  583. ouch = false
  584. throwpen:Destroy()
  585. if hit.Parent:FindFirstChildOfClass("Humanoid") then
  586. local throwhum = hit.Parent:FindFirstChildOfClass("Humanoid")
  587. throwhum.Health = throwhum.Health - math.huge
  588. if out == true then
  589. local bloodsound = Instance.new("Sound", hit)
  590. bloodsound.Volume = 10
  591. bloodsound.SoundId = "rbxassetid://180083286"
  592. bloodsound:Play()
  593. game:GetService("Debris"):AddItem(bloodsound, 1)
  594. local bloodsplash = Instance.new("ParticleEmitter", hit)
  595. bloodsplash.Lifetime = NumberRange.new(0.7, 1)
  596. bloodsplash.Speed = NumberRange.new(6)
  597. bloodsplash.SpreadAngle = Vector2.new(-360, 360)
  598. bloodsplash.Rate = 1000
  599. bloodsplash.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3), NumberSequenceKeypoint.new(1, 0)})
  600. bloodsplash.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2), NumberSequenceKeypoint.new(1, 1)})
  601. bloodsplash.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 0, 0))})
  602. bloodsplash.Texture = "rbxassetid://771221224"
  603. game:GetService("Debris"):AddItem(bloodsplash, 1)
  604. wait(0.25)
  605. bloodsplash.Enabled = false
  606. end
  607. end
  608. if hit.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  609. local throwhum = hit.Parent.Parent:FindFirstChildOfClass("Humanoid")
  610. throwhum.Health = throwhum.Health - math.huge
  611. if out == true then
  612. local bloodsound = Instance.new("Sound", hit)
  613. bloodsound.Volume = 10
  614. bloodsound.SoundId = "rbxassetid://180083286"
  615. bloodsound:Play()
  616. game:GetService("Debris"):AddItem(bloodsound, 1)
  617. local bloodsplash = Instance.new("ParticleEmitter", hit)
  618. bloodsplash.Lifetime = NumberRange.new(0.7, 1)
  619. bloodsplash.Speed = NumberRange.new(6)
  620. bloodsplash.SpreadAngle = Vector2.new(-360, 360)
  621. bloodsplash.Rate = 1000
  622. bloodsplash.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3), NumberSequenceKeypoint.new(1, 0)})
  623. bloodsplash.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2), NumberSequenceKeypoint.new(1, 1)})
  624. bloodsplash.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 0, 0))})
  625. bloodsplash.Texture = "rbxassetid://771221224"
  626. game:GetService("Debris"):AddItem(bloodsplash, 1)
  627. wait(0.25)
  628. bloodsplash.Enabled = false
  629. end
  630. end
  631. end
  632. end)
  633. for i,v in pairs(pen:GetChildren()) do
  634. if v:IsA("BasePart") then
  635. v.Transparency = 1
  636. end
  637. end
  638. for i = 0,1,.1 do
  639. penw.C1 = clerp(penw.C1, penw1 * CFa(0, 0, Rad(-90)), i)
  640. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-2), 0, 0), i)
  641. rootj.C1 = clerp(rootj.C1, rootj1 * CFn(0, 0, 0.025) * CFa(Rad(-20), 0, 0), i)
  642. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(-30), 0, Rad(-40)), i)
  643. RS.C1 = clerp(RS.C1, RS1 * CFa(0, Rad(-30), Rad(-3)), i)
  644. LH.C1 = clerp(LH.C1, LH1 * CFn(0, -0.025, 0) * CFa(Rad(5), Rad(-5), Rad(-20)), i)
  645. RH.C1 = clerp(RH.C1, RH1 * CFn(0, -0.025, 0) * CFa(Rad(5), Rad(5), Rad(-20)), i)
  646. LS.C0 = clerp(LS.C0, LS0, i)
  647. RS.C0 = clerp(RS.C0, RS0 * CFa(0, Rad(-80), Rad(90)), i)
  648. LH.C0 = clerp(LH.C0, LH0, i)
  649. RH.C0 = clerp(RH.C0, RH0, i)
  650. swait()
  651. end
  652. for i = 0,1,.1 do
  653. penw.C1 = clerp(penw.C1, penw1 * CFa(0, 0, Rad(-90)), i)
  654. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-30), 0, 0), i)
  655. rootj.C1 = clerp(rootj.C1, rootj1 * CFn(0, 0, 0.025) * CFa(0, 0, Rad(-30)), i)
  656. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(-30), 0, Rad(-40)), i)
  657. RS.C1 = clerp(RS.C1, RS1 * CFa(0, Rad(-30), Rad(-3)), i)
  658. LH.C1 = clerp(LH.C1, LH1 * CFn(0, -0.025, 0) * CFa(Rad(5), Rad(35), 0), i)
  659. RH.C1 = clerp(RH.C1, RH1 * CFn(0, -0.025, 0) * CFa(Rad(5), Rad(35), 0), i)
  660. LS.C0 = clerp(LS.C0, LS0, i)
  661. RS.C0 = clerp(RS.C0, RS0 * CFn(0, 0, -0.5) * CFa(0, Rad(90), Rad(30)), i)
  662. LH.C0 = clerp(LH.C0, LH0, i)
  663. RH.C0 = clerp(RH.C0, RH0, i)
  664. swait()
  665. end
  666. for i,v in pairs(pen:GetChildren()) do
  667. if v:IsA("BasePart") then
  668. v.Transparency = 0
  669. end
  670. end
  671. hum.WalkSpeed = ws
  672. hum.JumpPower = jp
  673. canattack = true
  674. Throwing = false
  675. knife.Transparency = 0
  676. end
  677. end
  678.  
  679. -----------------------------------------------------------------------------------
  680.  
  681. function kdown(k)
  682. if k == "e" then
  683. Throw()
  684. end
  685. end
  686.  
  687. mou.KeyDown:connect(kdown)
  688. mou.Button1Down:connect(Stab)
  689.  
  690. for i,v in pairs(char:GetChildren()) do
  691. if v.ClassName == "Part" then
  692. v.BrickColor = BrickColor.new("Really black")
  693. end
  694. end
  695. -----------------------------------------------------------------------------------
  696.  
  697. local right = Instance.new("CharacterMesh",char)
  698. right.BodyPart = Enum.BodyPart.RightArm
  699. right.MeshId = 27111864
  700. local tors = Instance.new("CharacterMesh",char)
  701. tors.BodyPart = Enum.BodyPart.Torso
  702. tors.MeshId = 27111894
  703. local left = Instance.new("CharacterMesh",char)
  704. left.MeshId = 27111419
  705. left.BodyPart = Enum.BodyPart.LeftArm
  706. local leftl = Instance.new("CharacterMesh",char)
  707. leftl.BodyPart = Enum.BodyPart.LeftLeg
  708. leftl.MeshId = 27111857
  709. local rightl = Instance.new("CharacterMesh",char)
  710. rightl.BodyPart = Enum.BodyPart.RightLeg
  711. rightl.MeshId = 27111882
  712. local BODY = {}
  713. LeftArm = char["Left Arm"]
  714. RightLeg = char["Right Leg"]
  715. LeftLeg = char["Left Leg"]
  716. for _, c in pairs(char:GetDescendants()) do
  717. if c:IsA("BasePart") and c.Name ~= "Handle" then
  718. if c ~= char.HumanoidRootPart and c ~= char.Torso and c ~= char.Head and c ~= char["Right Arm"] and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  719. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  720. end
  721. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  722. elseif c:IsA("JointInstance") then
  723. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  724. end
  725. end
  726. for e = 1, #BODY do
  727. if BODY[e] ~= nil then
  728. local STUFF = BODY[e]
  729. local PART = STUFF[1]
  730. local PARENT = STUFF[2]
  731. local MATERIAL = STUFF[3]
  732. local TRANSPARENCY = STUFF[5]
  733. if PART.ClassName == "Part" and PART ~= char.HumanoidRootPart then
  734. PART.Material = MATERIAL
  735. PART.Transparency = TRANSPARENCY
  736. end
  737. PART.AncestryChanged:Connect(function()
  738. PART.Parent = PARENT
  739. end)
  740. end
  741. end
  742. function refit()
  743. char.Parent = workspace
  744. for e = 1, #BODY do
  745. if BODY[e] ~= nil then
  746. local STUFF = BODY[e]
  747. local PART = STUFF[1]
  748. local PARENT = STUFF[2]
  749. local MATERIAL = STUFF[3]
  750. local TRANSPARENCY = STUFF[5]
  751. if PART.ClassName == "Part" and PART ~= char.HumanoidRootPart then
  752. PART.Material = MATERIAL
  753. PART.Transparency = TRANSPARENCY
  754. end
  755. if PART.Parent ~= PARENT then
  756. char:FindFirstChildOfClass("Humanoid"):remove()
  757. PART.Parent = PARENT
  758. Humanoid = Instance.new("Humanoid",char)
  759. end
  760. end
  761. end
  762. end
  763. char.Humanoid.Died:connect(function()
  764. refit()
  765. sound.Parent = char
  766. sound:Play()
  767. end)
  768. local glitch = Instance.new("Sound",char)
  769. glitch.SoundId = "rbxassetid://372770465"
  770. glitch.Volume = 4
  771.  
  772. normalface = {"http://www.roblox.com/asset/?id=173083239"}
  773. glitchface = {"rbxassetid://592123389", "http://www.roblox.com/asset/?id=752001939", "http://www.roblox.com/asset/?id=1083992759"}
  774.  
  775. local naeeym2 = Instance.new("BillboardGui",char)
  776. naeeym2.AlwaysOnTop = true
  777. naeeym2.Size = UDim2.new(5,35,2,35)
  778. naeeym2.StudsOffset = Vector3.new(0,2,0)
  779. naeeym2.Adornee = hed
  780. naeeym2.Name = "Name"
  781.  
  782. local tecks2 = Instance.new("TextLabel",naeeym2)
  783. tecks2.BackgroundTransparency = 1
  784. tecks2.TextScaled = true
  785. tecks2.BorderSizePixel = 0
  786. tecks2.Text = "Guest"
  787. tecks2.Font = "Garamond"
  788. tecks2.TextSize = 30
  789. tecks2.TextStrokeTransparency = 0
  790. tecks2.TextColor3 = BrickColor.new('Really red').Color
  791. tecks2.TextStrokeColor3 = BrickColor.new('Really red').Color
  792. tecks2.Size = UDim2.new(1,0,0.5,0)
  793. tecks2.Parent = naeeym2
  794. textfag = tecks2
  795. tecks2.Text = "Guest"
  796. function swait(num)
  797. if num == 0 or num == nil then
  798. game:service("RunService").Stepped:wait(0)
  799. else
  800. for i = 0, num do
  801. game:service("RunService").Stepped:wait(0)
  802. end
  803. end
  804. end
  805. coroutine.resume(coroutine.create(function()
  806. while textfag ~= nil do
  807. swait()
  808. textfag.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3))
  809. textfag.Rotation = math.random(-3,3)
  810. end
  811. end))
  812.  
  813. textrandom = {"Guest", "gUeStTTR", "dIEEEEEEEEE", "Guest 6 6 6", "begone thot", "Guest", "Guest", "Guest", "iNsAnItY", "Guest", "Guest", "Guest"}
  814. normaltext = {"Guest"}
  815.  
  816. while true do
  817. swait()
  818. if canglitch then
  819. for i,v in pairs(char:GetChildren()) do
  820. if v.ClassName == "Part" then
  821. v.BrickColor = BrickColor.new("Institutional white")
  822. end
  823. end
  824. local change = math.random(1,50)
  825. if change == 1 then
  826. glitch:Play()
  827. textfag.Text = textrandom[math.random(1,12)]
  828. char.Head.face.Texture = glitchface[math.random(1,3)]
  829. for i,v in pairs(char:GetChildren()) do
  830. if v.ClassName == "Part" then
  831. v.BrickColor = BrickColor.new("Really black")
  832. end
  833. end
  834. end
  835. if change == 2 then
  836. glitch:Pause()
  837. textfag.Text = normaltext[math.random(1,1)]
  838. char.Head.face.Texture = normalface[math.random(1,1)]
  839. for i,v in pairs(char:GetChildren()) do
  840. if v.ClassName == "Part" then
  841. v.BrickColor = BrickColor.new("Institutional white")
  842. end
  843. end
  844. end
  845. if change == 3 then
  846. char.Head.face.Texture = normalface[math.random(1,1)]
  847. textfag.Text = normaltext[math.random(1,1)]
  848. for i,v in pairs(char:GetChildren()) do
  849. if v.ClassName == "Part" then
  850. v.BrickColor = BrickColor.new("Institutional white")
  851. end
  852. end
  853. end
  854. if change == 4 then
  855. char.Head.face.Texture = normalface[math.random(1,1)]
  856. textfag.Text = normaltext[math.random(1,1)]
  857. glitch:Pause()
  858. for i,v in pairs(char:GetChildren()) do
  859. if v.ClassName == "Part" then
  860. v.BrickColor = BrickColor.new("Institutional white")
  861. end
  862. end
  863. end
  864. if change == 5 then
  865. char.Head.face.Texture = normalface[math.random(1,1)]
  866. textfag.Text = normaltext[math.random(1,1)]
  867. glitch:Pause()
  868. for i,v in pairs(char:GetChildren()) do
  869. if v.ClassName == "Part" then
  870. v.BrickColor = BrickColor.new("Institutional white")
  871. end
  872. end
  873. end
  874. if change == 6 then
  875. char.Head.face.Texture = normalface[math.random(1,1)]
  876. textfag.Text = normaltext[math.random(1,1)]
  877. glitch:Pause()
  878. for i,v in pairs(char:GetChildren()) do
  879. if v.ClassName == "Part" then
  880. v.BrickColor = BrickColor.new("Institutional white")
  881. end
  882. end
  883. end
  884. if change == 7 then
  885. char.Head.face.Texture = normalface[math.random(1,1)]
  886. textfag.Text = normaltext[math.random(1,1)]
  887. glitch:Pause()
  888. for i,v in pairs(char:GetChildren()) do
  889. if v.ClassName == "Part" then
  890. v.BrickColor = BrickColor.new("Institutional white")
  891. end
  892. end
  893. end
  894. if change == 8 then
  895. char.Head.face.Texture = normalface[math.random(1,1)]
  896. textfag.Text = normaltext[math.random(1,1)]
  897. glitch:Pause()
  898. for i,v in pairs(char:GetChildren()) do
  899. if v.ClassName == "Part" then
  900. v.BrickColor = BrickColor.new("Institutional white")
  901. end
  902. end
  903. end
  904. if change == 9 then
  905. char.Head.face.Texture = normalface[math.random(1,1)]
  906. textfag.Text = normaltext[math.random(1,1)]
  907. glitch:Pause()
  908. for i,v in pairs(char:GetChildren()) do
  909. if v.ClassName == "Part" then
  910. v.BrickColor = BrickColor.new("Institutional white")
  911. end
  912. end
  913. end
  914. if change == 10 then
  915. char.Head.face.Texture = normalface[math.random(1,1)]
  916. textfag.Text = normaltext[math.random(1,1)]
  917. glitch:Pause()
  918. for i,v in pairs(char:GetChildren()) do
  919. if v.ClassName == "Part" then
  920. v.BrickColor = BrickColor.new("Institutional white")
  921. end
  922. end
  923. end
  924. if change == 11 then
  925. char.Head.face.Texture = normalface[math.random(1,1)]
  926. textfag.Text = normaltext[math.random(1,1)]
  927. glitch:Pause()
  928. for i,v in pairs(char:GetChildren()) do
  929. if v.ClassName == "Part" then
  930. v.BrickColor = BrickColor.new("Institutional white")
  931. end
  932. end
  933. end
  934. if change == 12 then
  935. char.Head.face.Texture = normalface[math.random(1,1)]
  936. textfag.Text = normaltext[math.random(1,1)]
  937. glitch:Pause()
  938. for i,v in pairs(char:GetChildren()) do
  939. if v.ClassName == "Part" then
  940. v.BrickColor = BrickColor.new("Institutional white")
  941. end
  942. end
  943. end
  944. if change == 13 then
  945. char.Head.face.Texture = normalface[math.random(1,1)]
  946. textfag.Text = normaltext[math.random(1,1)]
  947. glitch:Pause()
  948. for i,v in pairs(char:GetChildren()) do
  949. if v.ClassName == "Part" then
  950. v.BrickColor = BrickColor.new("Institutional white")
  951. end
  952. end
  953. end
  954. if change == 14 then
  955. char.Head.face.Texture = normalface[math.random(1,1)]
  956. textfag.Text = normaltext[math.random(1,1)]
  957. glitch:Pause()
  958. for i,v in pairs(char:GetChildren()) do
  959. if v.ClassName == "Part" then
  960. v.BrickColor = BrickColor.new("Institutional white")
  961. end
  962. end
  963. end
  964. if change == 15 then
  965. char.Head.face.Texture = normalface[math.random(1,1)]
  966. textfag.Text = normaltext[math.random(1,1)]
  967. glitch:Pause()
  968. for i,v in pairs(char:GetChildren()) do
  969. if v.ClassName == "Part" then
  970. v.BrickColor = BrickColor.new("Institutional white")
  971. end
  972. end
  973. end
  974. end
  975. refit()
  976. sine = sine + 1
  977. rot = rot + 25
  978. if rot == 360 then
  979. rot = 1
  980. end
  981. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  982. if Stabbing == true then
  983. state = "Stabbing"
  984. elseif Throwing == true then
  985. state = "Throwing"
  986. elseif 1 < root.Velocity.y then
  987. state = "Jump"
  988. elseif -1 > root.Velocity.y then
  989. state = "Fall"
  990. elseif torvel < 1 then
  991. state = "Idle"
  992. elseif tor.Velocity.magnitude < 50 then
  993. state = "Walk"
  994. end
  995. if state == "Jump" then
  996. penw.C1 = clerp(penw.C1, penw1 * CFa(0, Rad(-90), 0), 0.15)
  997. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-2), 0, 0), 0.15)
  998. rootj.C1 = clerp(rootj.C1, rootj1 * CFa(Rad(-15), 0, 0), 0.15)
  999. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(10), 0, 0), 0.15)
  1000. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(10), 0, 0), 0.15)
  1001. LH.C1 = clerp(LH.C1, LH1 * CFn(0, -0.2, 0) * CFa(Rad(2), 0, Rad(-15)), 0.15)
  1002. RH.C1 = clerp(RH.C1, RH1 * CFn(0, -0.5, 0) * CFa(Rad(2), 0, Rad(15)), 0.15)
  1003. LS.C0 = clerp(LS.C0, LS0, 0.15)
  1004. RS.C0 = clerp(RS.C0, RS0, 0.15)
  1005. LH.C0 = clerp(LH.C0, LH0 * CFn(-0.2, 0, 0), 0.15)
  1006. RH.C0 = clerp(RH.C0, RH0 * CFn(0.5, 0, 0), 0.15)
  1007. elseif state == "Fall" then
  1008. penw.C1 = clerp(penw.C1, penw1 * CFa(0, Rad(-90), 0), 0.15)
  1009. neck.C1 = clerp(neck.C1, neck1 * CFa(0, 0, 0), 0.15)
  1010. rootj.C1 = clerp(rootj.C1, rootj1 * CFa(Rad(15), 0, 0), 0.15)
  1011. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(35), 0, 0), 0.15)
  1012. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(35), 0, 0), 0.15)
  1013. LH.C1 = clerp(LH.C1, LH1 * CFn(0.2, -0.2, -0.1) * CFa(Rad(15), 0, Rad(10)), 0.15)
  1014. RH.C1 = clerp(RH.C1, RH1 * CFn(-0.2, -0.2, -0.1) * CFa(Rad(15), 0, Rad(-10)), 0.15)
  1015. LS.C0 = clerp(LS.C0, LS0, 0.15)
  1016. RS.C0 = clerp(RS.C0, RS0, 0.15)
  1017. LH.C0 = clerp(LH.C0, LH0 * CFa(0, 0, Rad(-20)), 0.15)
  1018. RH.C0 = clerp(RH.C0, RH0 * CFa(0, 0, Rad(20)), 0.15)
  1019. elseif state == "Idle" then
  1020. penw.C1 = clerp(penw.C1, penw1 * CFn(0, 0, 0.5) * CFa(0, 0, Rad(rot)), 0.15)
  1021. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-2 * Cos(sine / 15)), 0, 0), 0.15)
  1022. rootj.C1 = clerp(rootj.C1, rootj1 * CFn(0, 0, 0.025 * Cos(sine / 15)), 0.15)
  1023. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(-30), 0, Rad(-40)), 0.15)
  1024. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(2), 0, Rad(-3 * Cos(sine / 15))), 0.15)
  1025. LH.C1 = clerp(LH.C1, LH1 * CFn(0, -0.025 * Cos(sine / 15), 0) * CFa(Rad(5), Rad(-5), 0), 0.15)
  1026. RH.C1 = clerp(RH.C1, RH1 * CFn(0, -0.025 * Cos(sine / 15), 0) * CFa(Rad(5), Rad(5), 0), 0.15)
  1027. LS.C0 = clerp(LS.C0, LS0, 0.15)
  1028. RS.C0 = clerp(RS.C0, RS0 * CFa(0, 0, Rad(80)), 0.15)
  1029. LH.C0 = clerp(LH.C0, LH0, 0.15)
  1030. RH.C0 = clerp(RH.C0, RH0, 0.15)
  1031. elseif state == "Walk" then
  1032. penw.C1 = clerp(penw.C1, penw1 * CFa(0, Rad(-90), 0), 0.15)
  1033. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-5), 0, 0), 0.15)
  1034. rootj.C1 = clerp(rootj.C1, rootj1 * CFn(0, 0.1 * Cos(sine /3), 0.1 * Cos(sine /3)) * CFa(Rad(-5), 0, Rad(5 * Cos(sine / 6))), 0.15)
  1035. LS.C1 = clerp(LS.C1, LS1 * CFa(0, 0, Rad(-50 * Cos(sine / 6))), 0.15)
  1036. RS.C1 = clerp(RS.C1, RS1 * CFa(0, 0, Rad(-50 * Cos(sine / 6))), 0.15)
  1037. LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(2), Rad(-5), Rad(50 * Cos(sine / 6))), 0.15)
  1038. RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(2), Rad(5), Rad(50 * Cos(sine / 6))), 0.15)
  1039. LS.C0 = clerp(LS.C0, LS0, 0.15)
  1040. RS.C0 = clerp(RS.C0, RS0, 0.15)
  1041. LH.C0 = clerp(LH.C0, LH0, 0.15)
  1042. RH.C0 = clerp(RH.C0, RH0, 0.15)
  1043. end
  1044. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement