Awooslayer699

Untitled

Mar 2nd, 2019
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if game:GetService("RunService"):IsClient()then error("say h/ not hl/ ya dummy")end;print("get rekt");InternalData = {}
  2. do
  3. script.Parent = owner.Character
  4. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
  5. local function NewFakeEvent()
  6. local Bind = Instance.new("BindableEvent")
  7. local Fake;Fake = {Connections = {},
  8. fakeEvent=true;
  9. Connect=function(self,Func)
  10. Bind.Event:connect(Func)
  11. self.Connections[Bind] = true
  12. return setmetatable({Connected = true},{
  13. __index = function (self,Index)
  14. if Index:lower() == "disconnect" then
  15. return function() Fake.Connections[Bind] = false;self.Connected = false end
  16. end
  17. return Fake[Index]
  18. end;
  19. __tostring = function() return "Connection" end;
  20. })
  21. end}
  22. Fake.connect = Fake.Connect;return Fake;
  23. end
  24. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  25. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  26. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  27. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  28. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  29. local function TriggerEvent(self,Event,...)
  30. local Trigger = Mouse[Event]
  31. if Trigger and Trigger.fakeEvent and Trigger.Connections then
  32. for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
  33. end
  34. end
  35. Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
  36. Event.OnServerEvent:Connect(function(FiredBy,Input)
  37. if FiredBy.Name ~= owner.Name then return end
  38. if Input.MouseEvent then
  39. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  40. else
  41. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  42. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
  43. for _,Action in pairs(ContextActionService.Actions) do
  44. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  45. end
  46. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  47. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  48. end
  49. end)
  50. InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  51. Event.Parent = NLS([[
  52. local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
  53. local Input = function(Input,gameProcessedEvent)
  54. if gameProcessedEvent then return end
  55. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  56. end
  57. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  58. local Hit,Target
  59. while wait(1/30) do
  60. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  61. Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  62. end
  63. end
  64. ]],owner.Character)
  65. end
  66. RealGame = game;game = setmetatable({},{
  67. __index = function (self,Index)
  68. local Sandbox = function (Thing)
  69. if Thing:IsA("Player") then
  70. local RealPlayer = Thing
  71. return setmetatable({},{
  72. __index = function (self,Index)
  73. local Type = type(RealPlayer[Index])
  74. if Type == "function" then
  75. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  76. return function (self)return InternalData["Mouse"] end
  77. end
  78. return function (self,...)return RealPlayer[Index](RealPlayer,...) end
  79. end
  80. return RealPlayer[Index]
  81. end;
  82. __tostring = function(self) return RealPlayer.Name end
  83. })
  84. end
  85. end
  86. if RealGame[Index] then
  87. local Type = type(RealGame[Index])
  88. if Type == "function" then
  89. if Index:lower() == "getservice" or Index:lower() == "service" then
  90. return function (self,Service)
  91. local FakeServices = {
  92. ["players"] = function()
  93. return setmetatable({},{
  94. __index = function (self2,Index2)
  95. local RealService = RealGame:GetService(Service)
  96. local Type2 = type(Index2)
  97. if Type2 == "function" then
  98. return function (self,...) return RealService[Index2](RealService,...)end
  99. else
  100. if Index2:lower() == "localplayer" then return Sandbox(owner) end
  101. return RealService[Index2]
  102. end
  103. end;
  104. __tostring = function(self) return RealGame:GetService(Service).Name end
  105. })
  106. end;
  107. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  108. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  109. ["runservice"] = function()
  110. return setmetatable({},{
  111. __index = function(self2,Index2)
  112. local RealService = RealGame:GetService(Service)
  113. local Type2 = type(Index2)
  114. if Type2 == "function" then
  115. return function (self,...) return RealService[Index2](RealService,...) end
  116. else
  117. local RunServices = {
  118. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  119. ["renderstepped"] = function() return RealService["Stepped"] end
  120. }
  121. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  122. return RealService[Index2]
  123. end
  124. end
  125. })
  126. end
  127. }
  128. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  129. return RealGame:GetService(Service)
  130. end
  131. end
  132. return function (self,...) return RealGame[Index](RealGame,...) end
  133. else
  134. if game:GetService(Index) then return game:GetService(Index) end
  135. return RealGame[Index]
  136. end
  137. end
  138. return nil
  139. end
  140. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("running the script noob")
  141.  
  142. ----i didn't made the arrest em original script i just add the avatar.
  143. Character = game.Players.LocalPlayer.Character
  144. Player = game.Players.LocalPlayer
  145. char = Character
  146. hum = Character.Humanoid
  147. Torso = Character.Torso
  148. Head = Character.Head
  149.  
  150. char.Shirt.ShirtTemplate = "rbxassetid://1073211165"
  151. char.Pants.PantsTemplate = "rbxassetid://997496591"
  152.  
  153.  
  154. local BC = char["Body Colors"]
  155. BC.HeadColor = BrickColor.new("Pastel brown")
  156. BC.LeftArmColor = BrickColor.new("Pastel brown")
  157. BC.LeftLegColor = BrickColor.new("Pastel brown")
  158. BC.RightArmColor = BrickColor.new("Pastel brown")
  159. BC.RightLegColor = BrickColor.new("Pastel brown")
  160. BC.TorsoColor = BrickColor.new("Pastel brown")
  161.  
  162. char.Head.face.Texture = "rbxassetid://42070872"
  163.  
  164. hum.MaxHealth = math.huge
  165.  
  166.  
  167.  
  168.  
  169. for i,v in pairs(char:children()) do
  170. if v:IsA("Hat") then
  171. v:Destroy()
  172. end
  173. end
  174. for i,v in pairs(char:children()) do
  175. if v:IsA("Accessory") then
  176. v:Destroy()
  177. end
  178. end
  179. for i,v in pairs(char:children()) do
  180. if v:IsA("Hair") then
  181. v:Destroy()
  182. end
  183. end
  184. --141378828
  185. Reaper = Instance.new("Model")
  186. Reaper.Parent = Player.Character
  187. Reaper.Name = "Reaper"
  188. rh = Instance.new("Part")
  189. rh.Parent = Reaper
  190. rh.BrickColor = BrickColor.new("Really red")
  191. rh.Locked = true
  192. rh.CanCollide = false
  193. mesh = Instance.new("SpecialMesh")
  194. rh.formFactor = "Symmetric"
  195. mesh.MeshType = "FileMesh"
  196. mesh.MeshId = "http://www.roblox.com/asset/?id=1028788"
  197. mesh.TextureId = "http://www.roblox.com/asset/?id=1081380"
  198. mesh.Parent = rh
  199. local weld = Instance.new("Weld")
  200. weld.Parent = rh
  201. rh.Transparency = 0
  202. weld.Part0 = rh
  203. weld.Part1 = Player.Character.Head
  204. weld.C0 = weld.C0 * CFrame.new(0,-0.70,0.10)
  205.  
  206. local s = Instance.new("Sound",char)
  207. s.SoundId = "http://www.roblox.com/asset/?id=458157165"
  208. s.Pitch = 1
  209. s.Volume = 2
  210. s.Looped = true
  211. wait(1)
  212. s:play()
  213.  
  214.  
  215. function sandbox(var,func)
  216. local env = getfenv(func)
  217. local newenv = setmetatable({},{
  218. __index = function(self,k)
  219. if k=="script" then
  220. return var
  221. else
  222. return env[k]
  223. end
  224. end,
  225. })
  226. setfenv(func,newenv)
  227. return func
  228. end
  229. cors = {}
  230. mas = Instance.new("Model",game:GetService("Lighting"))
  231. Tool0 = Instance.new("Tool")
  232. Part1 = Instance.new("Part")
  233. SpecialMesh2 = Instance.new("SpecialMesh")
  234. Script3 = Instance.new("Script")
  235. Tool0.Name = "Arrest"
  236. Tool0.Parent = mas
  237. Tool0.GripForward = Vector3.new(-0.77155745, 0.462976098, 0.43629396)
  238. Tool0.GripPos = Vector3.new(0.899999976, 0.5, 0.400000006)
  239. Tool0.GripRight = Vector3.new(0.632408082, 0.63257581, 0.447110623)
  240. Tool0.GripUp = Vector3.new(0.0689874813, -0.620887339, 0.780858338)
  241. Tool0.ToolTip = "Take those skids to gulag!"
  242. Tool0.CanBeDropped = false
  243. Part1.Name = "Handle"
  244. Part1.Parent = Tool0
  245. Part1.FormFactor = Enum.FormFactor.Custom
  246. Part1.Size = Vector3.new(2, 2, 2)
  247. Part1.CFrame = CFrame.new(1.70000003e-05, 1.00001395, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  248. Part1.Position = Vector3.new(1.70000003e-05, 1.00001395, 0)
  249. SpecialMesh2.Parent = Part1
  250. SpecialMesh2.MeshId = "http://www.roblox.com/asset/?id=88046657"
  251. SpecialMesh2.Scale = Vector3.new(2, 2, 2)
  252. SpecialMesh2.TextureId = "http://www.roblox.com/asset/?id=88046679"
  253. SpecialMesh2.MeshType = Enum.MeshType.FileMesh
  254. SpecialMesh2.Scale = Vector3.new(2, 2, 2)
  255. Script3.Parent = Part1
  256. debounce = false
  257.  
  258. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 50
  259.  
  260. table.insert(cors,sandbox(Script3,function()
  261. function arrest(hit)
  262. if hit.Parent ~= nil and hit.Parent:FindFirstChild("Head") ~= nil and hit.Parent.Name ~= game.Players.LocalPlayer.Name and debounce ~= true and hit.Parent.Head:FindFirstChild("ArrestedGui") == nil then
  263. debounce = true
  264. num = math.random(1,99)
  265. local message = Instance.new("Hint",workspace)
  266. message.Text = hit.Parent.Name.." Has been arrested by "..game.Players.LocalPlayer.Name.."! He or she has to spend "..num.." years in jail!"
  267. --hit.Parent:Destroy()
  268.  
  269. hit.Parent.Humanoid.MaxHealth = math.huge
  270. print("Godded!")
  271. a = Instance.new("ForceField", hit.Parent)
  272. a.Visible = false
  273. print("FFed!")
  274.  
  275. local SOUND = Instance.new("Sound", script.Parent)
  276. SOUND.SoundId = "rbxassetid://460919688"
  277. SOUND.Volume = 10
  278. SOUND:Play()
  279. BillboardGui0 = Instance.new("BillboardGui")
  280. TextLabel1 = Instance.new("TextLabel")
  281. BillboardGui0.Name = "ArrestedGui"
  282. BillboardGui0.Parent = hit.Parent.Head
  283. BillboardGui0.Size = UDim2.new(10, 0, 2, 0)
  284. BillboardGui0.StudsOffset = Vector3.new(0, 3, 0)
  285. TextLabel1.Name = "Text"
  286. TextLabel1.Parent = BillboardGui0
  287. TextLabel1.Transparency = 1
  288. TextLabel1.Size = UDim2.new(1, 0, 1, 0)
  289. TextLabel1.Text = hit.Parent.Name.."| Arrested | "..num.. " Years until release"
  290. TextLabel1.BackgroundColor3 = Color3.new(1, 1, 1)
  291. TextLabel1.BackgroundTransparency = 1
  292. TextLabel1.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  293. TextLabel1.Font = Enum.Font.ArialBold
  294. TextLabel1.FontSize = Enum.FontSize.Size48
  295. TextLabel1.TextColor3 = Color3.new(1, 1, 1)
  296. TextLabel1.TextScaled = true
  297. TextLabel1.TextStrokeTransparency = 0
  298. TextLabel1.TextWrapped = true
  299. TextLabel1.TextYAlignment = Enum.TextYAlignment.Top
  300. game:GetService("Debris"):AddItem(SOUND,5)
  301. game:GetService("Debris"):AddItem(message,5)
  302. hit.Parent.Humanoid:Destroy()
  303. --jailtime(hit.Parent)
  304. wait(3)
  305. debounce = false
  306. end
  307.  
  308. end
  309.  
  310.  
  311. function jailtime(char)
  312. for i = num, 0, -1 do
  313. wait(1)
  314. TextLabel1.Text = char.Name.."| Arrested | "..i.. " Years until release"
  315. end
  316.  
  317. char.Humanoid.MaxHealth = 100
  318. print("Godded!")
  319. char.ForceField:Destroy()
  320. print("UNFFed!")
  321.  
  322. char.Humanoid.PlatformStand = false
  323.  
  324. BillboardGui0:Destroy()
  325. end
  326.  
  327. script.Parent.Touched:connect(arrest)
  328. end))
  329. for i,v in pairs(mas:GetChildren()) do
  330. v.Parent = game:GetService("Players").LocalPlayer.Backpack
  331. pcall(function() v:MakeJoints() end)
  332. end
  333. mas:Destroy()
  334. for i,v in pairs(cors) do
  335. spawn(function()
  336. pcall(v)
  337. end)
  338. end
Add Comment
Please, Sign In to add comment