Homestyle_chicken

eeeeeeee

Apr 23rd, 2020
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.41 KB | None | 0 0
  1. local ScreenGui = Instance.new("ScreenGui")
  2. local main = 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 tpto = Instance.new("TextButton")
  8.  
  9. ScreenGui.Parent = game.CoreGui
  10.  
  11. main.Name = "main"
  12. main.Parent = ScreenGui
  13. main.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  14. main.Position = UDim2.new(0.625790119, 0, 0.36939314, 0)
  15. main.Size = UDim2.new(0, 237, 0, 147)
  16. main.Visible = true
  17. main.Active = true
  18. main.Draggable = true
  19.  
  20. plr.Name = "plr"
  21. plr.Parent = main
  22. plr.BackgroundColor3 = Color3.new(255, 255, 255)
  23. plr.Position = UDim2.new(0.257383972, 0, 0.0612244904, 0)
  24. plr.Size = UDim2.new(0, 114, 0, 31)
  25. plr.Font = Enum.Font.SourceSans
  26. plr.Text = "PLAYERNAME"
  27. plr.TextColor3 = Color3.new(0, 0, 0)
  28. plr.TextSize = 14
  29.  
  30. local Players = game:GetService("Players")
  31. local LocalPlayer = Players.LocalPlayer
  32. local function RemoveSpaces(String)
  33. return String:gsub("%s+", "") or String
  34. end
  35.  
  36. local function FindPlayer(String)
  37. String = RemoveSpaces(String)
  38. for _, _Player in pairs(Players:GetPlayers()) do
  39. if _Player.Name:lower():match('^'.. String:lower()) then
  40. return _Player
  41. end
  42. end
  43. return nil
  44. end
  45.  
  46. makecrim.Name = "make crim"
  47. makecrim.Parent = main
  48. makecrim.BackgroundColor3 = Color3.fromRGB(170, 0, 0)
  49. makecrim.Position = UDim2.new(0.0548523217, 0, 0.37414965, 0)
  50. makecrim.Size = UDim2.new(0, 87, 0, 36)
  51. makecrim.Font = Enum.Font.SourceSans
  52. makecrim.Text = "Make crim"
  53. makecrim.TextColor3 = Color3.fromRGB(0, 0, 0)
  54. makecrim.TextSize = 14.000
  55. makecrim.MouseButton1Down:connect(function()
  56. local Apart = Instance.new("Part")
  57.  
  58. Apart.Name = "PlrsPos"
  59. Apart.Parent = workspace
  60. Apart.Anchored = true
  61. Apart.Archivable = true
  62. Apart.CFrame = CFrame.new(9e99, 9e99, 9e99)
  63.  
  64. local lol = FindPlayer(plr.Text)
  65.  
  66. game.Workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP)
  67.  
  68. wait(0.1)
  69. Workspace.Remote.TeamEvent:FireServer("Medium stone grey")
  70.  
  71. local A_1 =
  72. {
  73. [1] =
  74. {
  75. ["RayObject"] = Ray.new(Vector3.new(827.412415, 101.489777, 2296.84326), Vector3.new(277.738678, 6.89340925, 287.773712)),
  76. ["Distance"] = 4.7204174995422,
  77. ["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),
  78. ["Hit"] = lol.Character.Head
  79. },
  80. [2] =
  81. {
  82. ["RayObject"] = Ray.new(Vector3.new(827.412415, 101.489777, 2296.84326), Vector3.new(303.047546, 21.3568707, 260.203888)),
  83. ["Distance"] = 4.8114862442017,
  84. ["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),
  85. ["Hit"] = lol.Character.Head
  86. },
  87. [3] =
  88. {
  89. ["RayObject"] = Ray.new(Vector3.new(827.412415, 101.489777, 2296.84326), Vector3.new(296.800507, 7.00420141, 268.067932)),
  90. ["Distance"] = 4.444625377655,
  91. ["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),
  92. ["Hit"] = lol.Character.Head
  93. },
  94. [4] =
  95. {
  96. ["RayObject"] = Ray.new(Vector3.new(827.412415, 101.489777, 2296.84326), Vector3.new(284.930573, 11.9850616, 280.483368)),
  97. ["Distance"] = 4.6211166381836,
  98. ["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),
  99. ["Hit"] = lol.Character.Head
  100. },
  101. [5] =
  102. {
  103. ["RayObject"] = Ray.new(Vector3.new(827.412415, 101.489777, 2296.84326), Vector3.new(294.625824, 2.15741801, 270.538269)),
  104. ["Distance"] = 4.4639973640442,
  105. ["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),
  106. ["Hit"] = lol.Character.Head
  107. }
  108. }
  109. local A_2 = game.Players.LocalPlayer.Backpack["Remington 870"]
  110. local Event = game:GetService("ReplicatedStorage").ShootEvent
  111. Event:FireServer(A_1, A_2)
  112.  
  113. workspace.Remote.TeamEvent:FireServer("Bright orange")
  114.  
  115. LCS = game.Workspace["Criminals Spawn"].SpawnLocation
  116.  
  117. _G.killAura = true
  118. wait(0.1)
  119.  
  120. Apart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  121. Apart.Transparency = 1
  122. Apart.Anchored = true
  123. Apart.CanCollide = false
  124. wait(0.1)
  125. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = lol.Character.HumanoidRootPart.CFrame
  126.  
  127. istptoplr = true
  128. wait(0.004)
  129.  
  130. if game.Players.LocalPlayer.Team.TeamColor == "Bright orange" then
  131. wait(2)
  132. workspace.Remote.TeamEvent:FireServer("Bright orange")
  133. elseif
  134. game.Players.LocalPlayer.Team.TeamColor == "Bright blue" then
  135. workspace.Remote.TeamEvent:FireServer("Bright blue")
  136. end
  137.  
  138. if istptoplr == true then
  139. while istptoplr do
  140. wait()
  141.  
  142. game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame = lol.Character.HumanoidRootPart.CFrame
  143.  
  144. LCS = game.Workspace["Criminals Spawn"].SpawnLocation
  145.  
  146. LCS.CanCollide = false
  147. LCS.Size = Vector3.new(51.05, 24.12, 54.76)
  148. LCS.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  149. LCS.Transparency = 1
  150.  
  151. wait(0.1)
  152.  
  153. istptoplr = false
  154.  
  155. wait(0.04)
  156.  
  157. if istptoplr == false then
  158. LCS.CFrame = CFrame.new(-920.510803, 92.2271957, 2138.27002, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  159. LCS.Size = Vector3.new(6, 0.2, 6)
  160. LCS.Transparency = 0
  161. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Apart.CFrame
  162. wait()
  163. istptoplr = false
  164. wait(0.1)
  165. workspace.Remote.TeamEvent:FireServer("Bright orange")
  166. end
  167. end
  168. end
  169. end)
  170.  
  171. spamon.Name = "spamon"
  172. spamon.Parent = main
  173. spamon.BackgroundColor3 = Color3.fromRGB(0, 255, 64)
  174. spamon.Position = UDim2.new(0.535864949, 0, 0.37414965, 0)
  175. spamon.Size = UDim2.new(0, 94, 0, 36)
  176. spamon.Font = Enum.Font.SourceSans
  177. spamon.Text = "Disable spam arrest"
  178. spamon.TextColor3 = Color3.fromRGB(0, 0, 0)
  179. spamon.TextSize = 14.000
  180. spamon.MouseButton1Down:connect(function()
  181. spamon.Visible = false
  182. spamoff.Visible = true
  183.  
  184. local loll = FindPlayer(plr.Text)
  185. _G.Spam = false
  186. game:GetService("RunService").Heartbeat:Connect(function()
  187. if _G.Spam == true then
  188. if loll and loll.Character then
  189. while _G.Spam == true do wait()
  190. workspace.Remote.arrest:InvokeServer(loll.Character.Torso)
  191. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = loll.Character.HumanoidRootPart.CFrame
  192. end
  193. end
  194. end
  195. end)
  196. end)
  197.  
  198. spamoff.Name = "spamoff"
  199. spamoff.Parent = main
  200. spamoff.BackgroundColor3 = Color3.fromRGB(255, 0, 4)
  201. spamoff.Position = UDim2.new(0.535864949, 0, 0.37414965, 0)
  202. spamoff.Size = UDim2.new(0, 94, 0, 36)
  203. spamoff.Font = Enum.Font.SourceSans
  204. spamoff.Text = "enable spam arrest"
  205. spamoff.TextColor3 = Color3.fromRGB(0, 0, 0)
  206. spamoff.TextSize = 14.000
  207. spamoff.MouseButton1Down:connect(function()
  208. spamon.Visible = true
  209. spamoff.Visible = false
  210.  
  211. local loll = FindPlayer(plr.Text)
  212. _G.Spam = true
  213. game:GetService("RunService").Heartbeat:Connect(function()
  214. if _G.Spam == true then
  215. if loll and loll.Character then
  216. while _G.Spam == true do wait()
  217. workspace.Remote.arrest:InvokeServer(loll.Character.Torso)
  218. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = loll.Character.HumanoidRootPart.CFrame
  219. end
  220. end
  221. end
  222. end)
  223. end)
  224.  
  225. tpto.Name = "tp to"
  226. tpto.Parent = main
  227. tpto.BackgroundColor3 = Color3.fromRGB(88, 0, 1)
  228. tpto.Position = UDim2.new(0.0759493634, 0, 0.68707484, 0)
  229. tpto.Size = UDim2.new(0, 200, 0, 38)
  230. tpto.Font = Enum.Font.SourceSans
  231. tpto.Text = "Teleport to player"
  232. tpto.TextColor3 = Color3.fromRGB(0, 0, 0)
  233. tpto.TextSize = 14.000
  234. tpto.MouseButton1Down:connect(function()
  235. local target = FindPlayer(plr.Text)
  236. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = target.Character.HumanoidRootPart.CFrame
  237. end)
  238.  
  239. local toggle = false -- false is Off; true is On
  240.  
  241.  
  242. function onKeyPress(actionName, userInputState, inputObject)
  243. if userInputState == Enum.UserInputState.Begin then
  244. if toggle == false then
  245. toggle = true
  246. main.Visible = true
  247. else
  248. toggle = false
  249. main.Visible = false
  250. end
  251. end
  252. end
  253.  
  254. game.ContextActionService:BindAction("keyPress", onKeyPress, false, Enum.KeyCode.P)
Add Comment
Please, Sign In to add comment