Homestyle_chicken

testerrr

May 3rd, 2020
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.15 KB | None | 0 0
  1. local main = Instance.new("ScreenGui")
  2. local tpsyes = Instance.new("Frame")
  3. local plr = Instance.new("TextBox")
  4. local makecrim = Instance.new("TextButton")
  5. local spamon = Instance.new("TextButton")
  6. local spamoff = Instance.new("TextButton")
  7. local goto = Instance.new("TextButton")
  8. local kill = Instance.new("TextButton")
  9. local arrest = Instance.new("TextButton")
  10. local taze = Instance.new("TextButton")
  11.  
  12. main.Name = "main"
  13. main.Parent = game.CoreGui
  14.  
  15. tpsyes.Name = "tpsyes"
  16. tpsyes.Parent = main
  17. tpsyes.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  18. tpsyes.Position = UDim2.new(0.616940558, 0, 0.288918197, 0)
  19. tpsyes.Size = UDim2.new(0, 177, 0, 181)
  20. tpsyes.Visible = true
  21. tpsyes.Active = true
  22. tpsyes.Draggable = true
  23.  
  24. plr.Name = "plr"
  25. plr.Parent = tpsyes
  26. plr.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  27. plr.Position = UDim2.new(0.202824682, 0, 0.0275771916, 0)
  28. plr.Size = UDim2.new(0, 119, 0, 30)
  29. plr.Font = Enum.Font.SourceSans
  30. plr.Text = "PLAYERNAME"
  31. plr.TextColor3 = Color3.fromRGB(255, 252, 253)
  32. plr.TextSize = 14.000
  33.  
  34. local Players = game:GetService("Players")
  35. local LocalPlayer = Players.LocalPlayer
  36. local function RemoveSpaces(String)
  37. return String:gsub("%s","") or String
  38. end
  39.  
  40. local function FindPlayer(String)
  41. String = RemoveSpaces(String)
  42. for _, _Player in pairs(Players:GetPlayers()) do
  43. if _Player.Name:lower():match('^'.. String:lower()) then
  44. return _Player
  45. end
  46. end
  47. return nil
  48. end
  49.  
  50. makecrim.Name = "make crim"
  51. makecrim.Parent = tpsyes
  52. makecrim.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  53. makecrim.Position = UDim2.new(0.0463105626, 0, 0.232456148, 0)
  54. makecrim.Size = UDim2.new(0, 75, 0, 23)
  55. makecrim.Font = Enum.Font.SourceSans
  56. makecrim.Text = "make criminal"
  57. makecrim.TextColor3 = Color3.fromRGB(255, 0, 0)
  58. makecrim.TextSize = 14.000
  59. makecrim.MouseButton1Down:connect(function()
  60. local Apart = Instance.new("Part")
  61.  
  62. Apart.Name = "PlrsPos"
  63. Apart.Parent = workspace
  64. Apart.Anchored = true
  65. Apart.Archivable = true
  66. Apart.CFrame = CFrame.new(9e99, 9e99, 9e99)
  67.  
  68. local lol = FindPlayer(plr.Text)
  69.  
  70. game.Workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP)
  71.  
  72. wait(0.1)
  73. Workspace.Remote.TeamEvent:FireServer("Medium stone grey")
  74.  
  75. local A_1 =
  76. {
  77. [1] =
  78. {
  79. ["RayObject"] = Ray.new(Vector3.new(827.412415, 101.489777, 2296.84326), Vector3.new(277.738678, 6.89340925, 287.773712)),
  80. ["Distance"] = 4.7204174995422,
  81. ["Cframe"] = CFrame.new(832.049377, 101.392006, 2300.97168, 0.843892097, -0.0554918349, 0.533635378, 0, 0.994636595, 0.103430569, -0.536512911, -0.0872842371, 0.839366019),
  82. ["Hit"] = lol.Character.Head
  83. },
  84. [2] =
  85. {
  86. ["RayObject"] = Ray.new(Vector3.new(827.412415, 101.489777, 2296.84326), Vector3.new(303.047546, 21.3568707, 260.203888)),
  87. ["Distance"] = 4.8114862442017,
  88. ["Cframe"] = CFrame.new(832.390259, 101.550629, 2300.74097, 0.738044441, -0.112958886, 0.665229917, 7.45057971e-09, 0.985887885, 0.16740793, -0.674752235, -0.123554483, 0.727628946),
  89. ["Hit"] = lol.Character.Head
  90. },
  91. [3] =
  92. {
  93. ["RayObject"] = Ray.new(Vector3.new(827.412415, 101.489777, 2296.84326), Vector3.new(296.800507, 7.00420141, 268.067932)),
  94. ["Distance"] = 4.444625377655,
  95. ["Cframe"] = CFrame.new(832.185486, 101.391617, 2300.70264, 0.775115669, -0.0692948848, 0.628007889, 7.45057971e-09, 0.993967533, 0.109675139, -0.631819367, -0.0850109085, 0.770439863),
  96. ["Hit"] = lol.Character.Head
  97. },
  98. [4] =
  99. {
  100. ["RayObject"] = Ray.new(Vector3.new(827.412415, 101.489777, 2296.84326), Vector3.new(284.930573, 11.9850616, 280.483368)),
  101. ["Distance"] = 4.6211166381836,
  102. ["Cframe"] = CFrame.new(832.10083, 101.445007, 2300.86963, 0.820150614, -0.0735745132, 0.567397356, 0, 0.991697431, 0.128593579, -0.572147667, -0.105466105, 0.81334126),
  103. ["Hit"] = lol.Character.Head
  104. },
  105. [5] =
  106. {
  107. ["RayObject"] = Ray.new(Vector3.new(827.412415, 101.489777, 2296.84326), Vector3.new(294.625824, 2.15741801, 270.538269)),
  108. ["Distance"] = 4.4639973640442,
  109. ["Cframe"] = CFrame.new(832.169434, 101.341301, 2300.73438, 0.784266233, -0.0537625961, 0.618090749, -3.7252903e-09, 0.99623847, 0.086654529, -0.620424569, -0.0679602176, 0.781316102),
  110. ["Hit"] = lol.Character.Head
  111. }
  112. }
  113. local A_2 = game.Players.LocalPlayer.Backpack["Remington 870"]
  114. local Event = game:GetService("ReplicatedStorage").ShootEvent
  115. Event:FireServer(A_1, A_2)
  116.  
  117. workspace.Remote.TeamEvent:FireServer("Bright orange")
  118.  
  119. LCS = game.Workspace["Criminals spawn"].SpawnLocation
  120.  
  121. _G.killAura = true
  122. wait(0.1)
  123.  
  124. Apart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  125. Apart.Transparency = 14
  126. Apart.Anchored = true
  127. Apart.CanCollide = false
  128. wait(0.1)
  129. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = lol.Character.HumanoidRootPart.CFrame
  130.  
  131. istptoplr = true
  132. wait(0.004)
  133.  
  134. if game.Players.LocalPlayer.Team.TeamColor == "Bright orange" then
  135. wait(2)
  136. workspace.Remote.TeamEvent:FireServer("Bright orange")
  137. elseif
  138. game.Players.LocalPlayer.TeamColor == "Bright blue" then
  139. workspace.Remote.TeamEvent:FireServer("Bright blue")
  140. end
  141.  
  142. if istptoplr == true then
  143. while istptoplr do
  144. wait()
  145.  
  146. game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame = lol.Character.HumanoidRootPart.CFrame
  147.  
  148. LCS = game.Workspace["Criminals spawn"].SpawnLocation
  149.  
  150. LCS.CanCollide = false
  151. LCS.Size = Vector3.new(51.05, 23.12, 54.76)
  152. LCS.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  153. LCS.Transparency = 1
  154.  
  155. wait(0.1)
  156.  
  157. istptoplr = false
  158. wait(0.04)
  159.  
  160. if istptoplr == false then
  161. LCS.CFrame = CFrame.new(-920.510803, 92.2271957, 2138.27002, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  162. LCS.Size = Vector3.new(6, 0.2, 6)
  163. LCS.Transparency = 0
  164. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Apart.CFrame
  165. wait()
  166. istptoplr = false
  167. wait(0.1)
  168. workspace.Remote.TeamEvent:FireServer("Bright orange")
  169. end
  170. end
  171. end
  172. end)
  173.  
  174. spamon.Name = "spam arrest"
  175. spamon.Parent = tpsyes
  176. spamon.BackgroundColor3 = Color3.new(0, 0, 0)
  177. spamon.Position = UDim2.new(0.514209926, 0, 0.232456148, 0)
  178. spamon.Size = UDim2.new(0, 75, 0, 23)
  179. spamon.Font = Enum.Font.SourceSans
  180. spamon.Text = "spam on"
  181. spamon.TextColor3 = Color3.new(0,0,0)
  182. spamon.TextSize = 14.000
  183. spamon.Visible = false
  184. spamon.MouseButton1Down:connect(function()
  185. spamon.Visible = false
  186. spamoff.Visible = true
  187.  
  188. local loll = FindPlayer(plr.Text)
  189. _G.Spam = false
  190. game:GetService("RunService").Heartbeat:Connect(function()
  191. if _G.spam == true then
  192. if loll and loll.Character then
  193. while _G.spam == true do wait()
  194. workspace.Remote.arrest:InvokeServer(loll.Character.Torso)
  195. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = llol.Character.HumanoidRootPart.CFrame
  196. end
  197. end
  198. end
  199. end)
  200. end)
  201.  
  202. spamoff.Name = "Spam arrest"
  203. spamoff.Parent = tpsyes
  204. spamoff.BackgroundColor3 = Color3.new()
  205. spamoff.Position = UDim2.new(0.514209926, 0, 0.232456148, 0)
  206. spamoff.Size = UDim2.new(0, 75, 0, 23)
  207. spamoff.Font = Enum.Font.SourceSans
  208. spamoff.Text = "spam off"
  209. spamoff.TextColor3 = Color3.new(0,0,0)
  210. spamoff.TextSize = 14.000
  211. spamoff.Visible = true
  212. spamoff.MouseButton1Down:connect(function()
  213. spamoff.Visible = false
  214. spamon.Visible = true
  215.  
  216. local loll = FindPlayer(plr.Text)
  217. _G.Spam = true
  218. game:GetService("RunService").heartbeat:Connect(function()
  219. if _G.spam == true then
  220. if loll and loll.Character then
  221. while _G.Spam == true do wait()
  222. workspace.Remote.arrest:InvokeServer(loll.Character.Torso)
  223. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = loll.Character.HumanoidRootPart.CFrame
  224. end
  225. end
  226. end
  227. end)
  228. end)
  229.  
  230. goto.Name = "goto"
  231. goto.Parent = tpsyes
  232. goto.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  233. goto.Position = UDim2.new(0.0463105626, 0, 0.38596493, 0)
  234. goto.Size = UDim2.new(0, 75, 0, 23)
  235. goto.Font = Enum.Font.SourceSans
  236. goto.Text = "teleport to"
  237. goto.TextColor3 = Color3.fromRGB(255, 0, 0)
  238. goto.TextSize = 14.000
  239. goto.MouseButton1Down:connect(function()
  240. local target = FindPlayer(plr.Text)
  241. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = target.Character.HumanoidRootPart.CFrame
  242. end)
  243.  
  244. kill.Name = "kill"
  245. kill.Parent = tpsyes
  246. kill.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  247. kill.Position = UDim2.new(0.514209926, 0, 0.38596493, 0)
  248. kill.Size = UDim2.new(0, 75, 0, 23)
  249. kill.Font = Enum.Font.SourceSans
  250. kill.Text = "kill"
  251. kill.TextColor3 = Color3.fromRGB(255, 0, 0)
  252. kill.TextSize = 14.000
  253. kill.MouseButton1Down:connect(function()
  254. local target = FindPlayer(plr.Text)
  255. local A_1 =
  256. {
  257. [1] =
  258. {
  259. ["RayObject"] = Ray.new(Vector3.new(827.412415, 101.489777, 2296.84326), Vector3.new(277.738678, 6.89340925, 287.773712)),
  260. ["Distance"] = 4.7204174995422,
  261. ["Cframe"] = CFrame.new(832.049377, 101.392006, 2300.97168, 0.843892097, -0.0554918349, 0.533635378, 0, 0.994636595, 0.103430569, -0.536512911, -0.0872842371, 0.839366019),
  262. ["Hit"] = target.Character.Head
  263. },
  264. [2] =
  265. {
  266. ["RayObject"] = Ray.new(Vector3.new(827.412415, 101.489777, 2296.84326), Vector3.new(303.047546, 21.3568707, 260.203888)),
  267. ["Distance"] = 4.8114862442017,
  268. ["Cframe"] = CFrame.new(832.390259, 101.550629, 2300.74097, 0.738044441, -0.112958886, 0.665229917, 7.45057971e-09, 0.985887885, 0.16740793, -0.674752235, -0.123554483, 0.727628946),
  269. ["Hit"] = target.Character.Head
  270. },
  271. [3] =
  272. {
  273. ["RayObject"] = Ray.new(Vector3.new(827.412415, 101.489777, 2296.84326), Vector3.new(296.800507, 7.00420141, 268.067932)),
  274. ["Distance"] = 4.444625377655,
  275. ["Cframe"] = CFrame.new(832.185486, 101.391617, 2300.70264, 0.775115669, -0.0692948848, 0.628007889, 7.45057971e-09, 0.993967533, 0.109675139, -0.631819367, -0.0850109085, 0.770439863),
  276. ["Hit"] = target.Character.Head
  277. },
  278. [4] =
  279. {
  280. ["RayObject"] = Ray.new(Vector3.new(827.412415, 101.489777, 2296.84326), Vector3.new(284.930573, 11.9850616, 280.483368)),
  281. ["Distance"] = 4.6211166381836,
  282. ["Cframe"] = CFrame.new(832.10083, 101.445007, 2300.86963, 0.820150614, -0.0735745132, 0.567397356, 0, 0.991697431, 0.128593579, -0.572147667, -0.105466105, 0.81334126),
  283. ["Hit"] = target.Character.Head
  284. },
  285. [5] =
  286. {
  287. ["RayObject"] = Ray.new(Vector3.new(827.412415, 101.489777, 2296.84326), Vector3.new(294.625824, 2.15741801, 270.538269)),
  288. ["Distance"] = 4.4639973640442,
  289. ["Cframe"] = CFrame.new(832.169434, 101.341301, 2300.73438, 0.784266233, -0.0537625961, 0.618090749, -3.7252903e-09, 0.99623847, 0.086654529, -0.620424569, -0.0679602176, 0.781316102),
  290. ["Hit"] = target.Character.Head
  291. }
  292. }
  293. local A_2 = game.Players.LocalPlayer.Backpack["Remington 870"]
  294. local Event = game:GetService("ReplicatedStorage").ShootEvent
  295. Event:FireServer(A_1, A_2)
  296. end)
  297.  
  298. arrest.Name = "arrest"
  299. arrest.Parent = tpsyes
  300. arrest.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  301. arrest.Position = UDim2.new(0.0463105626, 0, 0.548245668, 0)
  302. arrest.Size = UDim2.new(0, 75, 0, 23)
  303. arrest.Font = Enum.Font.SourceSans
  304. arrest.Text = "arrest"
  305. arrest.TextColor3 = Color3.fromRGB(255, 0, 0)
  306. arrest.TextSize = 14.000
  307. arrest.MouseButton1Down:connect(function()
  308. local target = FindPlayer(plr.Text)
  309. saved = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  310. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = target.Character.HumanoidRootPart.CFrame
  311. wait(0.01)
  312. game.Workspace.Remote.arrest:InvokeServer(target.Character.HumanoidRootPart)
  313. wait(0.1)
  314. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = saved
  315. end)
  316.  
  317. taze.Name = "taze"
  318. taze.Parent = tpsyes
  319. taze.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  320. taze.Position = UDim2.new(0.514209926, 0, 0.548245668, 0)
  321. taze.Size = UDim2.new(0, 75, 0, 23)
  322. taze.Font = Enum.Font.SourceSans
  323. taze.Text = "taze"
  324. taze.TextColor3 = Color3.fromRGB(255, 0, 0)
  325. taze.TextSize = 14.000
  326. taze.MouseButton1Down:connect(function()
  327. local target = FindPlayer(plr.Text)
  328. local A_1 =
  329. {
  330. [1] =
  331. {
  332. ["RayObject"] = Ray.new(Vector3.new(829.838562, 101.489998, 2331.25635), Vector3.new(-30.6540909, -5.42795324, 95.0308533)),
  333. ["Distance"] = 15.355997085571,
  334. ["Cframe"] = CFrame.new(826.616699, 100.8508, 2340.11279, 0.964640439, -0.00993416365, -0.263382077, 9.31322575e-10, 0.999289393, -0.0376908854, 0.263569355, 0.0363581516, 0.963954985),
  335. ["Hit"] = target.Character.Torso
  336. }
  337. }
  338. local A_2 = game.Players.LocalPlayer.Backpack["Taser"]
  339. local Event = game:GetService("ReplicatedStorage").ShootEvent
  340. Event:FireServer(A_1, A_2)
  341. end)
  342. function onKeyPress(toggle, userInputState, inputObject
  343. if userInputState == Enum.UserInputState.Begin then
  344. if toggle == false then
  345. toggle = true
  346. tpsyes.Visible = true
  347. else
  348. toggle = false
  349. tpsyes.Visible = false
  350. end
  351. end
  352. end
  353.  
  354. game.ContextActionService:BindAction("keypress", onKeyPress, false, Enum.KeyCode.B)
Add Comment
Please, Sign In to add comment