Advertisement
lafur

Untitled

Feb 8th, 2019
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,game,owner = owner,game
  4. local RealPlayer = Player
  5. do print("FE Compatibility code V2 by Mokiros")local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer end plr = game.Players.LocalPlayer
  6. repeat wait() until plr.Character
  7. char = plr.Character
  8.  
  9. -- By Theamazingnater
  10.  
  11. local Music = Instance.new("Sound",char)
  12. Music.SoundId = "rbxassetid://486598641"
  13. Music.Volume = 4
  14. Music.Pitch = 1
  15. Music.Looped = true
  16. Music:Play()
  17. gLiTcHiNg = false
  18. cantwitch2 = true
  19. unknown = false -- The form valiblue. Damnit i can't spell today.
  20.  
  21. char["Body Colors"].HeadColor = BrickColor.new("Institutional white")
  22. char["Body Colors"].LeftArmColor = BrickColor.new("Institutional white")
  23. char["Body Colors"].RightArmColor = BrickColor.new("Institutional white")
  24. char["Body Colors"].RightLegColor = BrickColor.new("Institutional white")
  25. char["Body Colors"].LeftLegColor = BrickColor.new("Institutional white")
  26. char["Body Colors"].TorsoColor = BrickColor.new("Institutional white")
  27. for i,v in pairs(char:GetChildren()) do
  28. if v.ClassName == "Accessory" or v.ClassName == "Shirt" or v.ClassName == "Pants" then
  29. v:Destroy()
  30. end
  31. end
  32.  
  33. char.Head.face.Texture = "rbxassetid://"
  34.  
  35. local chara = workspace:WaitForChild(plr.Name)
  36. local human = chara.Humanoid
  37.  
  38. local speed = 0
  39.  
  40. human.Running:connect(function(s)
  41. speed = s
  42. end)
  43. cananimate = true
  44. local update = game:GetService("RunService")
  45. update.RenderStepped:connect(function()
  46. local ray = Ray.new(chara.Torso.Position, (chara.Torso.Position - Vector3.new(0,9999999,0)).unit * 300)
  47. local p, position = game.Workspace:FindPartOnRay(ray, char, true, false)
  48. local dis = (chara.Torso.Position - position).magnitude
  49. if dis > 3.8 and chara.Torso.Velocity.Y > 0 then
  50. pose = "Jumping"
  51. end
  52. if dis> 3.8 and chara.Torso.Velocity.Y < 0 then
  53. pose = "Falling"
  54. end
  55. if dis < 3.8 and speed == 0 then
  56. pose = "Standing"
  57. end
  58. if dis < 3.8 and speed > 0 then
  59. pose = "Walking"
  60. end
  61. end)
  62. function swait(num)
  63. if num==0 or num==nil then
  64. game:service'RunService'.Stepped:wait(0)
  65. else
  66. for i=0,num do
  67. game:service'RunService'.Stepped:wait(0)
  68. end
  69. end
  70. end
  71. VALUE1 = false
  72. local PlayerSize = 1
  73. local FT,RA,LA,RL,LL = Instance.new("SpecialMesh"),Instance.new("SpecialMesh"),Instance.new("SpecialMesh"),Instance.new("SpecialMesh"),Instance.new("SpecialMesh")
  74. FT.MeshId,FT.Scale = "rbxasset://fonts/torso.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize)
  75. RA.MeshId,RA.Scale = "rbxasset://fonts/rightarm.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize)
  76. LA.MeshId,LA.Scale = "rbxasset://fonts/leftarm.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize)
  77. RL.MeshId,RL.Scale = "rbxasset://fonts/rightleg.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize)
  78. LL.MeshId,LL.Scale = "rbxasset://fonts/leftleg.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize)
  79. tors = char.Torso
  80. ra = char["Right Arm"]
  81. la = char["Left Arm"]
  82. rl = char["Right Leg"]
  83. ll = char["Left Leg"]
  84. face = char.Head.face.Texture
  85. local knife = Instance.new("Part",char)
  86. knife.CanCollide = false
  87. knife.Size = Vector3.new(0.4, 3, 0.8)
  88. local mesh = Instance.new("FileMesh",knife)
  89. mesh.MeshId = "http://www.roblox.com/asset/?id=121944778"
  90. mesh.TextureId = "http://www.roblox.com/asset/?id=121944805"
  91. local weld = Instance.new("Weld",knife)
  92. weld.Part0 = knife
  93. weld.Part1 = char["Right Arm"]
  94. weld.C0 = CFrame.new(0, -0.988606453, 1, 1, 0, 0, 0, 0, -1, 0, 0.999999523, 0)
  95. local naeeym2 = Instance.new("BillboardGui",char)
  96. naeeym2.AlwaysOnTop = true
  97. naeeym2.Size = UDim2.new(2, 0, 1, 0)
  98. naeeym2.StudsOffset = Vector3.new(-4, 4, 0)
  99. naeeym2.Adornee = hed
  100. naeeym2.Name = "Name"
  101. --naeeym2.PlayerToHideFrom = plr
  102. local tecks2 = Instance.new("TextLabel",naeeym2)
  103. tecks2.BackgroundTransparency = 1
  104. tecks2.TextScaled = true
  105. tecks2.BorderSizePixel = 0
  106. tecks2.Text = "Untitled"
  107. tecks2.Font = 15
  108. tecks2.TextSize = 24
  109. tecks2.TextStrokeTransparency = 0
  110. tecks2.TextColor3 = BrickColor.new("Really red").Color
  111. tecks2.TextStrokeColor3 = BrickColor.new("Really red").Color
  112. tecks2.Size = UDim2.new(5, 0, 2.5, 0)
  113. tecks2.Parent = naeeym2
  114. textures = {"http://www.roblox.com/asset/?id=1468338882","http://www.roblox.com/asset/?id=177007720","http://www.roblox.com/asset/?id=1083992759","http://www.roblox.com/asset/?id=1045301677","http://www.roblox.com/asset/?id=668532120","http://www.roblox.com/asset/?id=174717392","http://www.roblox.com/asset/?id=476060645"}
  115. nametags = {"iNsAnItY","iNsAnItY", "iNsAnItY", "iNsAnItY", "iNsAnItY", "iNsAnItY", "wHYYYY", "wHy bOtHeR", "dIe fOr mE", "AAaAaaaa", "iM iNsAnE wItH pOwEr", "bEgOnE", "uNtiTl3d","uNtiTl3d", "uNtiTl3d", "uNtiTl3d", "uNtiTl3d"}
  116. nametags2 = {"uNknOwn", "yOu CaN't RuN", "aaAAAaaa", "sTaBbBy sTaBbBy", "the InSanIty BeGinS"}
  117. local anim = Instance.new("Animation",char.Humanoid)
  118. anim.AnimationId = "rbxassetid://186934658"
  119. local ranim = char.Humanoid:LoadAnimation(anim)
  120. coroutine.wrap(function()
  121. while true do
  122. wait()
  123. local chance = math.random(0,10000)/100
  124. if chance <= 5 and cantwitch2 and not unknown then
  125. gLiTcHiNg = true
  126. for i = 1, math.random(25,75) do
  127. swait()
  128. FT.Parent = tors
  129. RA.Parent = ra
  130. LA.Parent = la
  131. RL.Parent = rl
  132. LL.Parent = ll
  133. mesh.TextureId = "rbxassetid://"
  134. char.Head.face.Texture = textures[math.random(1,7)]
  135. tecks2.Text = nametags[math.random(1,17)]
  136. tecks2.TextColor3 = BrickColor.Random().Color
  137. tecks2.TextStrokeColor3 = BrickColor.Random().Color
  138. knife.BrickColor = BrickColor.Random()
  139. for _,v in next, char:GetDescendants() do
  140. if(v:IsA'DataModelMesh')then
  141. v.Offset = Vector3.new(math.random(-20,20)/100,math.random(-20,20)/100,math.random(-20,20)/100)
  142. end
  143. if (v:IsA'Part') then
  144. v.Material = Enum.Material.Neon
  145. v.BrickColor = BrickColor.Random()
  146. end
  147. end
  148. Music.Pitch = math.random(1,1.7)
  149.  
  150. end
  151. Music.Pitch = 1
  152. VALUE1 = false
  153. FT.Parent = nil
  154. RA.Parent = nil
  155. LA.Parent = nil
  156. RL.Parent = nil
  157. LL.Parent = nil
  158. for _,v in next, char:GetDescendants() do
  159. if(v:IsA'DataModelMesh')then
  160. v.Offset = Vector3.new(0,0,0)
  161. end
  162. if (v:IsA'Part') then
  163. v.Material = Enum.Material.Plastic
  164. end
  165. end
  166. ra.BrickColor = char["Body Colors"].RightArmColor
  167. la.BrickColor = char["Body Colors"].LeftArmColor
  168. ll.BrickColor = char["Body Colors"].LeftLegColor
  169. rl.BrickColor = char["Body Colors"].RightLegColor
  170. char.Head.BrickColor = char["Body Colors"].HeadColor
  171. char.Torso.BrickColor = char["Body Colors"].TorsoColor
  172. char.Head.face.Texture = face
  173. mesh.TextureId = "rbxassetid://121944805"
  174. mesh.Offset = Vector3.new()
  175. tecks2.Text = "Untitled"
  176. tecks2.TextColor3 = BrickColor.new("Really red").Color
  177. tecks2.TextStrokeColor3 = BrickColor.new("Really red").Color
  178. end
  179. if chance <= 5 and cantwitch2 and unknown then
  180. gLiTcHiNg = true
  181. for i = 1, math.random(25,75) do
  182. swait()
  183. FT.Parent = tors
  184. RA.Parent = ra
  185. LA.Parent = la
  186. RL.Parent = rl
  187. LL.Parent = ll
  188. mesh.TextureId = "rbxassetid://"
  189. char.Head.face.Texture = textures[math.random(1,7)]
  190. tecks2.Text = nametags2[math.random(1,5)]
  191. tecks2.TextColor3 = BrickColor.Random().Color
  192. tecks2.TextStrokeColor3 = BrickColor.Random().Color
  193. knife.BrickColor = BrickColor.Random()
  194. for _,v in next, char:GetDescendants() do
  195. if(v:IsA'DataModelMesh')then
  196. v.Offset = Vector3.new(math.random(-20,20)/100,math.random(-20,20)/100,math.random(-20,20)/100)
  197. end
  198. if (v:IsA'Part') then
  199. v.Material = Enum.Material.Neon
  200. v.BrickColor = BrickColor.Random()
  201. end
  202. end
  203. Music.Pitch = math.random(.66,1.8)
  204.  
  205. end
  206. Music.Pitch = .66
  207. VALUE1 = false
  208. FT.Parent = nil
  209. RA.Parent = nil
  210. LA.Parent = nil
  211. RL.Parent = nil
  212. LL.Parent = nil
  213. for _,v in next, char:GetDescendants() do
  214. if(v:IsA'DataModelMesh')then
  215. v.Offset = Vector3.new(0,0,0)
  216. end
  217. if (v:IsA'Part') then
  218. v.Material = Enum.Material.Plastic
  219. end
  220. end
  221. ra.BrickColor = char["Body Colors"].RightArmColor
  222. la.BrickColor = char["Body Colors"].LeftArmColor
  223. ll.BrickColor = char["Body Colors"].LeftLegColor
  224. rl.BrickColor = char["Body Colors"].RightLegColor
  225. char.Head.BrickColor = char["Body Colors"].HeadColor
  226. char.Torso.BrickColor = char["Body Colors"].TorsoColor
  227. char.Head.face.Texture = face
  228. mesh.TextureId = "rbxassetid://121944805"
  229. mesh.Offset = Vector3.new()
  230. tecks2.Text = "Unknown"
  231. tecks2.TextColor3 = BrickColor.new("Really red").Color
  232. tecks2.TextStrokeColor3 = BrickColor.new("Really red").Color
  233. end
  234. end
  235. end)()
  236. cantwitch = true
  237. mouse = plr:GetMouse()
  238. local sound = Instance.new("Sound",char)
  239. sound.SoundId = "rbxassetid://357417055"
  240. sound.Volume = 4
  241. local hit = Instance.new("Sound",char)
  242. hit.SoundId = "rbxassetid://388826051"
  243. hit.Volume = 4
  244. canattack = false
  245. local run = Instance.new("Animation",char)
  246. run.AnimationId = "http://www.roblox.com/Asset?ID=252557606"
  247. run.Name = "Running"
  248. local runanim = char.Humanoid:LoadAnimation(run)
  249. mouse.Button1Down:connect(function()
  250. if not canattack then
  251. ranim:Play()
  252. sound:Play()
  253. canattack = true
  254. wait(.6)
  255. canattack = false
  256. end
  257. end)
  258. knife.Touched:Connect(function(part)
  259. local human = part.Parent:FindFirstChildOfClass("Humanoid")
  260. if human and human.Parent.Name ~= char.Name and human.Parent.Name ~= "Theamazingnater" and canattack then
  261. human.Health = 0
  262. hit:Play()
  263. end
  264. end)
  265. isrunning = false
  266. function run()
  267. if isrunning == false then
  268. isrunning = true
  269. runanim:Play()
  270. char.Animate.Disabled = true
  271. char.Humanoid.WalkSpeed = 60
  272. end
  273. end
  274. function stoprunning()
  275. if isrunning == true then
  276. isrunning = false
  277. runanim:Stop()
  278. char.Animate.Disabled = false
  279. char.Humanoid.WalkSpeed = 16
  280. end
  281. end
  282. function suicide()
  283. Character = char
  284. Model = Instance.new("Model",char)
  285. cantwitch2 = false
  286. local Scale = game.Players.LocalPlayer.Character.Torso.Size.X/2*(game.Players.LocalPlayer.Character.Torso:FindFirstChild("ScaleInserted") ~= nil and game.Players.LocalPlayer.Character.Torso:FindFirstChild("ScaleInserted").Scale.Z or 1)*0.8
  287. local Speed = 20*Scale
  288. local Gravity = 0.1
  289.  
  290. local Part0Joint = CFrame.new(Vector3.new(1,0.75,0)*Scale*1.25)
  291. local Part1Joint = CFrame.new(Vector3.new(-0.5,0.75,0)*Scale*1.25)
  292. local RotationOffset = CFrame.Angles(math.rad(90),math.rad(0),0)
  293. local Gangster = false
  294.  
  295. local Part0JointHead = CFrame.new(Vector3.new(0,1,0)*Scale*1.25)
  296. local Part1JointHead = CFrame.new(Vector3.new(0,-0.5,0)*Scale*1.25)
  297. local RotationOffsetHead = CFrame.Angles(0,0,0)
  298.  
  299. local Handle = Instance.new("Part",Model)
  300. Handle.CanCollide = false
  301. Handle.Name = "Handle"
  302. Handle.Position = Vector3.new(0,100,0)
  303. Handle:BreakJoints()
  304. Handle.FormFactor = "Custom"
  305. Handle.Size = Vector3.new(0.2,0.2,0.2)
  306. Handle.TopSurface = "SmoothNoOutlines"
  307. Handle.BottomSurface = "SmoothNoOutlines"
  308. Handle.FrontSurface = "SmoothNoOutlines"
  309. Handle.BackSurface = "SmoothNoOutlines"
  310. Handle.RightSurface = "SmoothNoOutlines"
  311. Handle.LeftSurface = "SmoothNoOutlines"
  312. Handle.BrickColor = BrickColor.new("Black")
  313. local Mesh = Instance.new("BlockMesh",Handle)
  314. Mesh.Scale = Vector3.new(0.25,1,0.4) / 0.2 * Scale
  315. local HandleWeld = Instance.new("Motor6D")
  316. HandleWeld.Part0 = Character["Right Arm"]
  317. HandleWeld.Part1 = Handle
  318. HandleWeld.C0 = CFrame.new(Vector3.new(0,-1,0)*Scale) * CFrame.Angles(math.rad(-105),0,0)
  319. HandleWeld.Parent = Handle
  320.  
  321. local Part = Instance.new("Part",Model)
  322. Part.CanCollide = false
  323. Part.Position = Vector3.new(0,100,0)
  324. Part:BreakJoints()
  325. Part.FormFactor = "Custom"
  326. Part.Size = Vector3.new(0.2,0.2,0.2)
  327. Part.TopSurface = "SmoothNoOutlines"
  328. Part.BottomSurface = "SmoothNoOutlines"
  329. Part.FrontSurface = "SmoothNoOutlines"
  330. Part.BackSurface = "SmoothNoOutlines"
  331. Part.RightSurface = "SmoothNoOutlines"
  332. Part.LeftSurface = "SmoothNoOutlines"
  333. Part.BrickColor = BrickColor.new("Black")
  334. local Mesh = Instance.new("CylinderMesh",Part)
  335. Mesh.Scale = Vector3.new(0.07,0.2,0.07) / 0.2 * Scale
  336. local PartWeld = Instance.new("Motor6D")
  337. PartWeld.Part0 = Handle
  338. PartWeld.Part1 = Part
  339. PartWeld.C0 = CFrame.new(Vector3.new(-0.115,-0.475,-0.190)*Scale) * CFrame.Angles(0,0,0)
  340. PartWeld.Parent = Part
  341.  
  342. local Part = Instance.new("Part",Model)
  343. Part.CanCollide = false
  344. Part.Position = Vector3.new(0,100,0)
  345. Part:BreakJoints()
  346. Part.FormFactor = "Custom"
  347. Part.Size = Vector3.new(0.2,0.2,0.2)
  348. Part.TopSurface = "SmoothNoOutlines"
  349. Part.BottomSurface = "SmoothNoOutlines"
  350. Part.FrontSurface = "SmoothNoOutlines"
  351. Part.BackSurface = "SmoothNoOutlines"
  352. Part.RightSurface = "SmoothNoOutlines"
  353. Part.LeftSurface = "SmoothNoOutlines"
  354. Part.BrickColor = BrickColor.new("Black")
  355. local Mesh = Instance.new("CylinderMesh",Part)
  356. Mesh.Scale = Vector3.new(0.07,0.2,0.07) / 0.2 * Scale
  357. local PartWeld = Instance.new("Motor6D")
  358. PartWeld.Part0 = Handle
  359. PartWeld.Part1 = Part
  360. PartWeld.C0 = CFrame.new(Vector3.new(0.115,-0.475,0.190)*Scale) * CFrame.Angles(0,0,0)
  361. PartWeld.Parent = Part
  362.  
  363. local Part = Instance.new("Part",Model)
  364. Part.CanCollide = false
  365. Part.Position = Vector3.new(0,100,0)
  366. Part:BreakJoints()
  367. Part.FormFactor = "Custom"
  368. Part.Size = Vector3.new(0.2,0.2,0.2)
  369. Part.TopSurface = "SmoothNoOutlines"
  370. Part.BottomSurface = "SmoothNoOutlines"
  371. Part.FrontSurface = "SmoothNoOutlines"
  372. Part.BackSurface = "SmoothNoOutlines"
  373. Part.RightSurface = "SmoothNoOutlines"
  374. Part.LeftSurface = "SmoothNoOutlines"
  375. Part.BrickColor = BrickColor.new("Black")
  376. local Mesh = Instance.new("CylinderMesh",Part)
  377. Mesh.Scale = Vector3.new(0.07,0.2,0.07) / 0.2 * Scale
  378. local PartWeld = Instance.new("Motor6D")
  379. PartWeld.Part0 = Handle
  380. PartWeld.Part1 = Part
  381. PartWeld.C0 = CFrame.new(Vector3.new(-0.115,-0.475,0.190)*Scale) * CFrame.Angles(0,0,0)
  382. PartWeld.Parent = Part
  383.  
  384. local Part = Instance.new("Part",Model)
  385. Part.CanCollide = false
  386. Part.Position = Vector3.new(0,100,0)
  387. Part:BreakJoints()
  388. Part.FormFactor = "Custom"
  389. Part.Size = Vector3.new(0.2,0.2,0.2)
  390. Part.TopSurface = "SmoothNoOutlines"
  391. Part.BottomSurface = "SmoothNoOutlines"
  392. Part.FrontSurface = "SmoothNoOutlines"
  393. Part.BackSurface = "SmoothNoOutlines"
  394. Part.RightSurface = "SmoothNoOutlines"
  395. Part.LeftSurface = "SmoothNoOutlines"
  396. Part.BrickColor = BrickColor.new("Black")
  397. local Mesh = Instance.new("CylinderMesh",Part)
  398. Mesh.Scale = Vector3.new(0.07,0.2,0.07) / 0.2 * Scale
  399. local PartWeld = Instance.new("Motor6D")
  400. PartWeld.Part0 = Handle
  401. PartWeld.Part1 = Part
  402. PartWeld.C0 = CFrame.new(Vector3.new(0.115,-0.475,-0.190)*Scale) * CFrame.Angles(0,0,0)
  403. PartWeld.Parent = Part
  404.  
  405. local Part = Instance.new("Part",Model)
  406. Part.CanCollide = false
  407. Part.Position = Vector3.new(0,100,0)
  408. Part:BreakJoints()
  409. Part.FormFactor = "Custom"
  410. Part.Size = Vector3.new(0.2,0.2,0.2)
  411. Part.TopSurface = "SmoothNoOutlines"
  412. Part.BottomSurface = "SmoothNoOutlines"
  413. Part.FrontSurface = "SmoothNoOutlines"
  414. Part.BackSurface = "SmoothNoOutlines"
  415. Part.RightSurface = "SmoothNoOutlines"
  416. Part.LeftSurface = "SmoothNoOutlines"
  417. Part.BrickColor = BrickColor.new("Black")
  418. local Mesh = Instance.new("BlockMesh",Part)
  419. Mesh.Scale = Vector3.new(0.23,0.2,0.1) / 0.2 * Scale
  420. local PartWeld = Instance.new("Motor6D")
  421. PartWeld.Part0 = Handle
  422. PartWeld.Part1 = Part
  423. PartWeld.C0 = CFrame.new(Vector3.new(0,-0.475,-0.175)*Scale) * CFrame.Angles(0,0,0)
  424. PartWeld.Parent = Part
  425.  
  426. local Part = Instance.new("Part",Model)
  427. Part.CanCollide = false
  428. Part.Position = Vector3.new(0,100,0)
  429. Part:BreakJoints()
  430. Part.FormFactor = "Custom"
  431. Part.Size = Vector3.new(0.2,0.2,0.2)
  432. Part.TopSurface = "SmoothNoOutlines"
  433. Part.BottomSurface = "SmoothNoOutlines"
  434. Part.FrontSurface = "SmoothNoOutlines"
  435. Part.BackSurface = "SmoothNoOutlines"
  436. Part.RightSurface = "SmoothNoOutlines"
  437. Part.LeftSurface = "SmoothNoOutlines"
  438. Part.BrickColor = BrickColor.new("Black")
  439. local Mesh = Instance.new("BlockMesh",Part)
  440. Mesh.Scale = Vector3.new(0.23,0.2,0.1) / 0.2 * Scale
  441. local PartWeld = Instance.new("Motor6D")
  442. PartWeld.Part0 = Handle
  443. PartWeld.Part1 = Part
  444. PartWeld.C0 = CFrame.new(Vector3.new(0,-0.475,0.175)*Scale) * CFrame.Angles(0,0,0)
  445. PartWeld.Parent = Part
  446.  
  447. local Part = Instance.new("Part",Model)
  448. Part.CanCollide = false
  449. Part.Position = Vector3.new(0,100,0)
  450. Part:BreakJoints()
  451. Part.FormFactor = "Custom"
  452. Part.Size = Vector3.new(0.2,0.2,0.2)
  453. Part.TopSurface = "SmoothNoOutlines"
  454. Part.BottomSurface = "SmoothNoOutlines"
  455. Part.FrontSurface = "SmoothNoOutlines"
  456. Part.BackSurface = "SmoothNoOutlines"
  457. Part.RightSurface = "SmoothNoOutlines"
  458. Part.LeftSurface = "SmoothNoOutlines"
  459. Part.BrickColor = BrickColor.new("Black")
  460. local Mesh = Instance.new("BlockMesh",Part)
  461. Mesh.Scale = Vector3.new(0.1,0.2,0.38) / 0.2 * Scale
  462. local PartWeld = Instance.new("Motor6D")
  463. PartWeld.Part0 = Handle
  464. PartWeld.Part1 = Part
  465. PartWeld.C0 = CFrame.new(Vector3.new(-0.1,-0.475,0)*Scale) * CFrame.Angles(0,0,0)
  466. PartWeld.Parent = Part
  467.  
  468. local Part = Instance.new("Part",Model)
  469. Part.CanCollide = false
  470. Part.Position = Vector3.new(0,100,0)
  471. Part:BreakJoints()
  472. Part.FormFactor = "Custom"
  473. Part.Size = Vector3.new(0.2,0.2,0.2)
  474. Part.TopSurface = "SmoothNoOutlines"
  475. Part.BottomSurface = "SmoothNoOutlines"
  476. Part.FrontSurface = "SmoothNoOutlines"
  477. Part.BackSurface = "SmoothNoOutlines"
  478. Part.RightSurface = "SmoothNoOutlines"
  479. Part.LeftSurface = "SmoothNoOutlines"
  480. Part.BrickColor = BrickColor.new("Black")
  481. local Mesh = Instance.new("BlockMesh",Part)
  482. Mesh.Scale = Vector3.new(0.1,0.2,0.38) / 0.2 * Scale
  483. local PartWeld = Instance.new("Motor6D")
  484. PartWeld.Part0 = Handle
  485. PartWeld.Part1 = Part
  486. PartWeld.C0 = CFrame.new(Vector3.new(0.1,-0.475,0)*Scale) * CFrame.Angles(0,0,0)
  487. PartWeld.Parent = Part
  488.  
  489. local Part = Instance.new("Part",Model)
  490. Part.CanCollide = false
  491. Part.Position = Vector3.new(0,100,0)
  492. Part:BreakJoints()
  493. Part.FormFactor = "Custom"
  494. Part.Size = Vector3.new(0.2,0.2,0.2)
  495. Part.TopSurface = "SmoothNoOutlines"
  496. Part.BottomSurface = "SmoothNoOutlines"
  497. Part.FrontSurface = "SmoothNoOutlines"
  498. Part.BackSurface = "SmoothNoOutlines"
  499. Part.RightSurface = "SmoothNoOutlines"
  500. Part.LeftSurface = "SmoothNoOutlines"
  501. Part.BrickColor = BrickColor.new("Black")
  502. local Mesh = Instance.new("BlockMesh",Part)
  503. Mesh.Scale = Vector3.new(0.1,0.3,0.05) / 0.2 * Scale
  504. local PartWeld = Instance.new("Motor6D")
  505. PartWeld.Part0 = Handle
  506. PartWeld.Part1 = Part
  507. PartWeld.C0 = CFrame.Angles(math.rad(15),0,0) * CFrame.new(Vector3.new(0,0.25,-0.75)*Scale) * CFrame.Angles(math.rad(-10),0,0)
  508. PartWeld.Parent = Part
  509.  
  510. local Part = Instance.new("Part",Model)
  511. Part.CanCollide = false
  512. Part.Position = Vector3.new(0,100,0)
  513. Part:BreakJoints()
  514. Part.FormFactor = "Custom"
  515. Part.Size = Vector3.new(0.2,0.2,0.2)
  516. Part.TopSurface = "SmoothNoOutlines"
  517. Part.BottomSurface = "SmoothNoOutlines"
  518. Part.FrontSurface = "SmoothNoOutlines"
  519. Part.BackSurface = "SmoothNoOutlines"
  520. Part.RightSurface = "SmoothNoOutlines"
  521. Part.LeftSurface = "SmoothNoOutlines"
  522. Part.BrickColor = BrickColor.new("Black")
  523. local Mesh = Instance.new("BlockMesh",Part)
  524. Mesh.Scale = Vector3.new(0.1,0.05,0.625) / 0.2 * Scale
  525. local PartWeld = Instance.new("Motor6D")
  526. PartWeld.Part0 = Handle
  527. PartWeld.Part1 = Part
  528. PartWeld.C0 = CFrame.Angles(math.rad(15),0,0) * CFrame.new(Vector3.new(0,0.1,-0.435)*Scale)
  529. PartWeld.Parent = Part
  530.  
  531. for i = 0,80,10 do
  532. local Part = Instance.new("Part",Model)
  533. Part.CanCollide = false
  534. Part.Position = Vector3.new(0,100,0)
  535. Part:BreakJoints()
  536. Part.FormFactor = "Custom"
  537. Part.Size = Vector3.new(0.2,0.2,0.2)
  538. Part.TopSurface = "SmoothNoOutlines"
  539. Part.BottomSurface = "SmoothNoOutlines"
  540. Part.FrontSurface = "SmoothNoOutlines"
  541. Part.BackSurface = "SmoothNoOutlines"
  542. Part.RightSurface = "SmoothNoOutlines"
  543. Part.LeftSurface = "SmoothNoOutlines"
  544. Part.BrickColor = BrickColor.new("Black")
  545. local Mesh = Instance.new("BlockMesh",Part)
  546. Mesh.Scale = Vector3.new(0.25,0.15,0.03555*2) / 0.2 * Scale
  547. local PartWeld = Instance.new("Motor6D")
  548. PartWeld.Part0 = Handle
  549. PartWeld.Part1 = Part
  550. PartWeld.C0 = CFrame.new(Vector3.new(0,0.15,0.315)*Scale) * CFrame.Angles(math.rad(i-65),0,0) * CFrame.new(Vector3.new(0,0.2,0)*Scale)
  551. PartWeld.Parent = Part
  552. end
  553.  
  554. local Barrel = Instance.new("Part",Model)
  555. Barrel.CanCollide = false
  556. Barrel.Position = Vector3.new(0,100,0)
  557. Barrel:BreakJoints()
  558. Barrel.FormFactor = "Custom"
  559. Barrel.Size = Vector3.new(0.2,0.2,0.2)
  560. Barrel.TopSurface = "SmoothNoOutlines"
  561. Barrel.BottomSurface = "SmoothNoOutlines"
  562. Barrel.FrontSurface = "SmoothNoOutlines"
  563. Barrel.BackSurface = "SmoothNoOutlines"
  564. Barrel.RightSurface = "SmoothNoOutlines"
  565. Barrel.LeftSurface = "SmoothNoOutlines"
  566. Barrel.BrickColor = BrickColor.new("Black")
  567. local Mesh = Instance.new("BlockMesh",Barrel)
  568. Mesh.Scale = Vector3.new(0.25,0.2,2) / 0.2 * Scale
  569. local BarrelWeld = Instance.new("Motor6D")
  570. BarrelWeld.Part0 = Handle
  571. BarrelWeld.Part1 = Barrel
  572. BarrelWeld.C0 = CFrame.Angles(math.rad(15),0,0) * CFrame.new(Vector3.new(0,0.5,-0.7)*Scale)
  573. BarrelWeld.Parent = Barrel
  574.  
  575. local Barrel1 = Barrel
  576.  
  577. local Barrel2 = Instance.new("Part",Model)
  578. Barrel2.CanCollide = false
  579. Barrel2.Position = Vector3.new(0,100,0)
  580. Barrel2:BreakJoints()
  581. Barrel2.FormFactor = "Custom"
  582. Barrel2.Size = Vector3.new(0.2,0.2,0.2)
  583. Barrel2.TopSurface = "SmoothNoOutlines"
  584. Barrel2.BottomSurface = "SmoothNoOutlines"
  585. Barrel2.FrontSurface = "SmoothNoOutlines"
  586. Barrel2.BackSurface = "SmoothNoOutlines"
  587. Barrel2.RightSurface = "SmoothNoOutlines"
  588. Barrel2.LeftSurface = "SmoothNoOutlines"
  589. Barrel2.BrickColor = BrickColor.new("Really black")
  590. local Mesh = Instance.new("BlockMesh",Barrel2)
  591. Mesh.Scale = Vector3.new(0.25,0.25,2) / 0.2 * Scale
  592. local Barrel2Weld = Instance.new("Motor6D")
  593. Barrel2Weld.Part0 = Barrel
  594. Barrel2Weld.Part1 = Barrel2
  595. Barrel2Weld.C0 = CFrame.new(Vector3.new(0,0.225,0)*Scale)
  596. Barrel2Weld.Parent = Barrel2
  597.  
  598. local RealBarrel = Instance.new("Part",Model)
  599. RealBarrel.CanCollide = false
  600. RealBarrel.Position = Vector3.new(0,100,0)
  601. RealBarrel:BreakJoints()
  602. RealBarrel.FormFactor = "Custom"
  603. RealBarrel.Size = Vector3.new(0.2,0.2,0.2)
  604. RealBarrel.TopSurface = "SmoothNoOutlines"
  605. RealBarrel.BottomSurface = "SmoothNoOutlines"
  606. RealBarrel.FrontSurface = "SmoothNoOutlines"
  607. RealBarrel.BackSurface = "SmoothNoOutlines"
  608. RealBarrel.RightSurface = "SmoothNoOutlines"
  609. RealBarrel.LeftSurface = "SmoothNoOutlines"
  610. RealBarrel.BrickColor = BrickColor.new("Dark grey metallic")
  611. local Mesh = Instance.new("CylinderMesh",RealBarrel)
  612. Mesh.Scale = Vector3.new(0.2,2,0.2) / 0.2 * Scale
  613. local RealBarrelWeld = Instance.new("Motor6D")
  614. RealBarrelWeld.Part0 = Barrel
  615. RealBarrelWeld.Part1 = RealBarrel
  616. RealBarrelWeld.C0 = CFrame.new(Vector3.new(0,0.1,-0.01)*Scale) * CFrame.Angles(math.rad(-90),0,0)
  617. RealBarrelWeld.Parent = RealBarrel
  618.  
  619. for i = 1,75,15 do
  620. local Part = Instance.new("Part",Model)
  621. Part.CanCollide = false
  622. Part.Position = Vector3.new(0,100,0)
  623. Part:BreakJoints()
  624. Part.FormFactor = "Custom"
  625. Part.Size = Vector3.new(0.2,0.2,0.2)
  626. Part.TopSurface = "SmoothNoOutlines"
  627. Part.BottomSurface = "SmoothNoOutlines"
  628. Part.FrontSurface = "SmoothNoOutlines"
  629. Part.BackSurface = "SmoothNoOutlines"
  630. Part.RightSurface = "SmoothNoOutlines"
  631. Part.LeftSurface = "SmoothNoOutlines"
  632. Part.BrickColor = BrickColor.new("Black")
  633. local Mesh = Instance.new("BlockMesh",Part)
  634. Mesh.Scale = Vector3.new(0.05,0.065,0.05) / 0.2 * Scale
  635. local PartWeld = Instance.new("Motor6D")
  636. PartWeld.Part0 = Handle
  637. PartWeld.Part1 = Part
  638. PartWeld.C0 = CFrame.new(Vector3.new(0,0.525,-0.515)*Scale) * CFrame.Angles(math.rad(i),0,0) * CFrame.new(Vector3.new(0,0,0.2)*Scale)
  639. PartWeld.Parent = Part
  640. end
  641.  
  642. local Part = Instance.new("Part",Model)
  643. Part.CanCollide = false
  644. Part.Position = Vector3.new(0,100,0)
  645. Part:BreakJoints()
  646. Part.FormFactor = "Custom"
  647. Part.Size = Vector3.new(0.2,0.2,0.2)
  648. Part.TopSurface = "SmoothNoOutlines"
  649. Part.BottomSurface = "SmoothNoOutlines"
  650. Part.FrontSurface = "SmoothNoOutlines"
  651. Part.BackSurface = "SmoothNoOutlines"
  652. Part.RightSurface = "SmoothNoOutlines"
  653. Part.LeftSurface = "SmoothNoOutlines"
  654. Part.BrickColor = BrickColor.new("Really black")
  655. local Mesh = Instance.new("BlockMesh",Part)
  656. Mesh.Scale = Vector3.new(0.05,0.11,0.1) / 0.2 * Scale
  657. local PartWeld = Instance.new("Motor6D")
  658. PartWeld.Part0 = Barrel2
  659. PartWeld.Part1 = Part
  660. PartWeld.C0 = CFrame.new(Vector3.new(0.06,0.135,0.925)*Scale)
  661. PartWeld.Parent = Part
  662.  
  663. local Part = Instance.new("Part",Model)
  664. Part.CanCollide = false
  665. Part.Position = Vector3.new(0,100,0)
  666. Part:BreakJoints()
  667. Part.FormFactor = "Custom"
  668. Part.Size = Vector3.new(0.2,0.2,0.2)
  669. Part.TopSurface = "SmoothNoOutlines"
  670. Part.BottomSurface = "SmoothNoOutlines"
  671. Part.FrontSurface = "SmoothNoOutlines"
  672. Part.BackSurface = "SmoothNoOutlines"
  673. Part.RightSurface = "SmoothNoOutlines"
  674. Part.LeftSurface = "SmoothNoOutlines"
  675. Part.BrickColor = BrickColor.new("Really black")
  676. local Mesh = Instance.new("BlockMesh",Part)
  677. Mesh.Scale = Vector3.new(0.05,0.11,0.1) / 0.2 * Scale
  678. local PartWeld = Instance.new("Motor6D")
  679. PartWeld.Part0 = Barrel2
  680. PartWeld.Part1 = Part
  681. PartWeld.C0 = CFrame.new(Vector3.new(-0.06,0.135,0.925)*Scale)
  682. PartWeld.Parent = Part
  683.  
  684. local Part = Instance.new("Part",Model)
  685. Part.CanCollide = false
  686. Part.Position = Vector3.new(0,100,0)
  687. Part:BreakJoints()
  688. Part.FormFactor = "Custom"
  689. Part.Size = Vector3.new(0.2,0.2,0.2)
  690. Part.TopSurface = "SmoothNoOutlines"
  691. Part.BottomSurface = "SmoothNoOutlines"
  692. Part.FrontSurface = "SmoothNoOutlines"
  693. Part.BackSurface = "SmoothNoOutlines"
  694. Part.RightSurface = "SmoothNoOutlines"
  695. Part.LeftSurface = "SmoothNoOutlines"
  696. Part.BrickColor = BrickColor.new("Really black")
  697. local Mesh = Instance.new("BlockMesh",Part)
  698. Mesh.Scale = Vector3.new(0.025,0.1,0.1) / 0.2 * Scale
  699. local PartWeld = Instance.new("Motor6D")
  700. PartWeld.Part0 = Barrel2
  701. PartWeld.Part1 = Part
  702. PartWeld.C0 = CFrame.new(Vector3.new(0,0.135,-0.925)*Scale)
  703. PartWeld.Parent = Part
  704.  
  705. local Part = Instance.new("Part",Model)
  706. Part.CanCollide = false
  707. Part.Position = Vector3.new(0,100,0)
  708. Part:BreakJoints()
  709. Part.FormFactor = "Custom"
  710. Part.Size = Vector3.new(0.2,0.2,0.2)
  711. Part.Transparency = 1
  712. Part.TopSurface = "SmoothNoOutlines"
  713. Part.BottomSurface = "SmoothNoOutlines"
  714. Part.FrontSurface = "SmoothNoOutlines"
  715. Part.BackSurface = "SmoothNoOutlines"
  716. Part.RightSurface = "SmoothNoOutlines"
  717. Part.LeftSurface = "SmoothNoOutlines"
  718. Part.BrickColor = BrickColor.new("Really black")
  719. local Mesh = Instance.new("BlockMesh",Part)
  720. Mesh.Scale = Vector3.new(0.1,0.1,0.1) / 0.2 * Scale
  721. local PartWeld = Instance.new("Motor6D")
  722. PartWeld.Part0 = Barrel
  723. PartWeld.Part1 = Part
  724. PartWeld.C0 = CFrame.new(Vector3.new(0,0,-5)*Scale)
  725. PartWeld.Parent = Part
  726.  
  727. local Light = Instance.new("PointLight",Part)
  728. Light.Color = BrickColor.new("Gold").Color
  729. Light.Enabled = true
  730. Light.Shadows = true
  731. Light.Brightness = 0
  732. Light.Range = 6
  733.  
  734. local Part = Instance.new("Part",Model)
  735. Part.Material = "Neon"
  736. Part.CanCollide = false
  737. Part.Position = Vector3.new(0,100,0)
  738. Part:BreakJoints()
  739. Part.FormFactor = "Custom"
  740. Part.Size = Vector3.new(0.2,0.2,0.2)
  741. Part.TopSurface = "SmoothNoOutlines"
  742. Part.BottomSurface = "SmoothNoOutlines"
  743. Part.FrontSurface = "SmoothNoOutlines"
  744. Part.BackSurface = "SmoothNoOutlines"
  745. Part.RightSurface = "SmoothNoOutlines"
  746. Part.LeftSurface = "SmoothNoOutlines"
  747. Part.BrickColor = BrickColor.new("Bright yellow")
  748. Part.Transparency = 0.25
  749. local RecoilMesh = Instance.new("SpecialMesh",Part)
  750. RecoilMesh.MeshType = "FileMesh"
  751. RecoilMesh.MeshId = "http://www.roblox.com/Asset/?id=1323306"
  752. RecoilMesh.TextureId = "http://www.roblox.com/Asset/?id=98896228"
  753. RecoilMesh.Scale = Vector3.new(0.175,0,0.175) * Scale
  754. local PartWeld = Instance.new("Motor6D")
  755. PartWeld.Part0 = RealBarrel
  756. PartWeld.Part1 = Part
  757. PartWeld.C0 = CFrame.new(Vector3.new(0,0.95,0)*Scale)
  758. PartWeld.Parent = Part
  759. knife.Transparency = 1
  760. isrunning = true
  761. canattack = false
  762.  
  763. Torso = Character.Torso
  764. rs = char.Torso["Right Shoulder"]:Clone()
  765.  
  766. local Weld = Instance.new("Weld")
  767. Weld.Part0 = Torso
  768. Weld.Part1 = Character["Right Arm"]
  769. Weld.Parent = Torso
  770. Weld.C0 = CFrame.new(1.92970705, 0.628407478, 0, -0.00517100189, 0.911781251, -0.410643727, -0.00697000232, -0.410672098, -0.911756456, -0.99996233, -0.001852507, 0.00847870391)
  771. Music:Pause()
  772.  
  773. local sound2 = Instance.new("Sound",char)
  774. sound2.SoundId = "rbxassetid://356911785"
  775. sound2.Volume = 10
  776. Character.Humanoid.WalkSpeed = 0
  777.  
  778. wait(1)
  779. sound2:Play()
  780.  
  781. wait(2)
  782. unknown = true
  783. Weld:Destroy()
  784. rs.Parent = tors
  785. char["Body Colors"].HeadColor = BrickColor.new("Really black")
  786. char["Body Colors"].LeftArmColor = BrickColor.new("Really black")
  787. char["Body Colors"].RightArmColor = BrickColor.new("Really black")
  788. char["Body Colors"].RightLegColor = BrickColor.new("Really black")
  789. char["Body Colors"].LeftLegColor = BrickColor.new("Really black")
  790. char["Body Colors"].TorsoColor = BrickColor.new("Really black")
  791. Model:Destroy()
  792. knife.Transparency = 0
  793. cantwitch2 = true
  794. Music.SoundId = "rbxassetid://849713469"
  795. tecks2.Text = "Unknown"
  796. Music:Play()
  797. Character.Humanoid.WalkSpeed = 10
  798. isrunning = false
  799. canattack = false
  800. end
  801. mouse.KeyDown:connect(function(k)
  802. if string.byte(k) == 48 and not isrunning then
  803. run()
  804. end
  805. if k == "q" and not canattack and not isrunning and not unknown then
  806. suicide()
  807. end
  808. end)
  809. mouse.KeyUp:connect(function(k)
  810. if string.byte(k) == 48 and isrunning then
  811. stoprunning()
  812. end
  813. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement