Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Gui to Lua
- -- Version: 3.2
- -- Instances:
- local ScreenGui = Instance.new("ScreenGui")
- local Topmain = Instance.new("Frame")
- local Main = Instance.new("Frame")
- local TextButton = Instance.new("TextButton")
- local TextButton_2 = Instance.new("TextButton")
- local close = Instance.new("TextButton")
- local open = Instance.new("TextButton")
- local TextLabel = Instance.new("TextLabel")
- --Properties:
- ScreenGui.Parent = game.CoreGui
- Topmain.Name = "Topmain"
- Topmain.Parent = ScreenGui
- Topmain.BackgroundColor3 = Color3.fromRGB(31, 31, 31)
- Topmain.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Topmain.BorderSizePixel = 0
- Topmain.Position = UDim2.new(0.120143458, 0, 0.308333278, 0)
- Topmain.Size = UDim2.new(0, 432, 0, 45)
- Topmain.Draggable = true
- Topmain.Active = true
- Main.Name = "Main"
- Main.Parent = Topmain
- Main.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
- Main.BorderSizePixel = 0
- Main.Position = UDim2.new(-0.000706142862, 0, 0.980555236, 0)
- Main.Size = UDim2.new(0, 432, 0, 150)
- TextButton.Parent = Main
- TextButton.BackgroundColor3 = Color3.fromRGB(0, 207, 0)
- TextButton.Position = UDim2.new(0.268518507, 0, 0.328888893, 0)
- TextButton.Size = UDim2.new(0, 200, 0, 50)
- TextButton.Visible = false
- TextButton.Font = Enum.Font.SourceSans
- TextButton.Text = "ON"
- TextButton.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextButton.TextSize = 30.000
- TextButton.MouseButton1Down:connect(function()
- _G.Looop = false
- TextButton_2.Visible = true
- TextButton.Visible = false
- end)
- TextButton_2.Parent = Main
- TextButton_2.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
- TextButton_2.Position = UDim2.new(0.268518507, 0, 0.328888893, 0)
- TextButton_2.Size = UDim2.new(0, 200, 0, 50)
- TextButton_2.Font = Enum.Font.SourceSans
- TextButton_2.Text = "OFF"
- TextButton_2.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextButton_2.TextSize = 30.000
- TextButton_2.MouseButton1Down:connect(function()
- TextButton_2.Visible = false
- TextButton.Visible = true
- local uwu = (game.Players.LocalPlayer.Name)
- _G.Looop = true
- while _G.Looop == true do wait(0.1)
- if game:GetService("Workspace")[uwu].Humanoid.Health < 99 then
- wait(.01)
- workspace.Remote.TeamEvent:FireServer("Medium stone grey")
- game.Workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP)
- wait(0.5)
- function kill(a)
- local A_1 =
- {
- [1] =
- {
- ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-391.152252, 8.65560055, -83.2166901)),
- ["Distance"] = 3.2524313926697,
- ["Cframe"] = CFrame.new(840.310791, 101.334137, 2267.87988, 0.0636406094, 0.151434347, -0.986416459, 0, 0.988420188, 0.151741937, 0.997972965, -0.00965694897, 0.0629036576),
- ["Hit"] = a.Character.Head
- },
- [2] =
- {
- ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-392.481476, -8.44939327, -76.7261353)),
- ["Distance"] = 3.2699294090271,
- ["Cframe"] = CFrame.new(840.290466, 101.184189, 2267.93506, 0.0964837447, 0.0589403138, -0.993587971, 4.65661287e-10, 0.998245299, 0.0592165813, 0.995334625, -0.00571343815, 0.0963144377),
- ["Hit"] = a.Character.Head
- },
- [3] =
- {
- ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-389.21701, -2.50536323, -92.2163162)),
- ["Distance"] = 3.1665518283844,
- ["Cframe"] = CFrame.new(840.338867, 101.236496, 2267.80371, 0.0166504811, 0.0941716284, -0.995416701, 1.16415322e-10, 0.995554805, 0.0941846818, 0.999861419, -0.00156822044, 0.0165764652),
- ["Hit"] = a.Character.Head
- },
- [4] =
- {
- ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-393.353973, 3.13988972, -72.5452042)),
- ["Distance"] = 3.3218522071838,
- ["Cframe"] = CFrame.new(840.277222, 101.285957, 2267.9707, 0.117109694, 0.118740402, -0.985994935, -1.86264515e-09, 0.992826641, 0.119563118, 0.993119001, -0.0140019981, 0.116269611),
- ["Hit"] = a.Character.Head
- },
- [5] =
- {
- ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-390.73172, 3.2097764, -85.5477524)),
- ["Distance"] = 3.222757101059,
- ["Cframe"] = CFrame.new(840.317993, 101.286423, 2267.86035, 0.0517584644, 0.123365127, -0.991010666, 0, 0.992340803, 0.123530701, 0.99865967, -0.00639375951, 0.0513620302),
- ["Hit"] = a.Character.Head
- }
- }
- local A_2 = game.Players.LocalPlayer.Backpack["Remington 870"]
- local Event = game:GetService("ReplicatedStorage").ShootEvent
- Event:FireServer(A_1, A_2)
- Event:FireServer(A_1, A_2)
- end
- for i,v in pairs(game.Players:GetChildren())do
- if v.Name ~= game.Players.LocalPlayer.Name then
- kill(v)
- end
- end
- wait(1)
- workspace.Remote.TeamEvent:FireServer("Bright orange")
- end
- end
- end)
- close.Name = "close"
- close.Parent = Topmain
- close.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
- close.BorderSizePixel = 0
- close.Position = UDim2.new(0.902911961, 0, 0.115277722, 0)
- close.Size = UDim2.new(0, 41, 0, 34)
- close.Font = Enum.Font.SourceSans
- close.Text = "_"
- close.TextColor3 = Color3.fromRGB(255, 255, 255)
- close.TextSize = 30.000
- close.MouseButton1Down:connect(function()
- open.Visible = true
- Main.Visible = false
- end)
- open.Name = "open"
- open.Parent = Topmain
- open.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
- open.BorderSizePixel = 0
- open.Position = UDim2.new(0.902911961, 0, 0.115277722, 0)
- open.Size = UDim2.new(0, 41, 0, 34)
- open.Font = Enum.Font.SourceSans
- open.Text = "+"
- open.TextColor3 = Color3.fromRGB(255, 255, 255)
- open.TextSize = 30.000
- open.Visible = false
- open.MouseButton1Down:connect(function()
- open.Visible = false
- close.Visible = true
- Main.Visible = true
- end)
- TextLabel.Parent = Topmain
- TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel.BackgroundTransparency = 1.000
- TextLabel.Position = UDim2.new(0.22725594, 0, -0.0777773857, 0)
- TextLabel.Size = UDim2.new(0, 200, 0, 50)
- TextLabel.Font = Enum.Font.SourceSans
- TextLabel.Text = "Prison life but every time i take damage every one dies"
- TextLabel.TextColor3 = Color3.fromRGB(208, 208, 208)
- TextLabel.TextSize = 20.000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement