Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Gui to Lua
- -- Version: 3.1
- -- Instances:
- local PrisonBreakBetaV11 = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local Open = Instance.new("TextButton")
- local MainMenu = Instance.new("TextLabel")
- local ComingSoon = Instance.new("TextButton")
- local Beta11 = Instance.new("TextLabel")
- local Main = Instance.new("Frame")
- local Title = Instance.new("TextLabel")
- local Btools = Instance.new("TextButton")
- local Guns = Instance.new("TextButton")
- local SuperPunch = Instance.new("TextButton")
- local RemoveWalls = Instance.new("TextButton")
- local RemoveAll = Instance.new("TextButton")
- local Yard = Instance.new("TextButton")
- local Crimbase = Instance.new("TextButton")
- local Prison = Instance.new("TextButton")
- local KillAll = Instance.new("TextButton")
- local Police = Instance.new("TextButton")
- local Inmate = Instance.new("TextButton")
- local Neutral = Instance.new("TextButton")
- local Arrestcrims = Instance.new("TextButton")
- local Invisible = Instance.new("TextButton")
- local Creatorname = Instance.new("TextLabel")
- local Close = Instance.new("TextButton")
- local Fling = Instance.new("TextButton")
- --Properties:
- PrisonBreakBetaV11.Name = "PrisonBreak Beta V1.1"
- PrisonBreakBetaV11.Parent = game.CoreGui
- Frame.Parent = PrisonBreakBetaV11
- Frame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- Frame.Position = UDim2.new(0, 0, 0.410934746, 0)
- Frame.Size = UDim2.new(0, 239, 0, 233)
- Open.Name = "Open"
- Open.Parent = Frame
- Open.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Open.Position = UDim2.new(0.0334728025, 0, 0.277032495, 0)
- Open.Size = UDim2.new(0, 222, 0, 43)
- Open.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
- Open.Text = "Open"
- Open.TextColor3 = Color3.fromRGB(0, 0, 0)
- Open.TextSize = 14.000
- Open.MouseButton1Down:connect(function()
- Frame.Visible = false
- Main.Visible = true
- end)
- MainMenu.Name = "Main Menu"
- MainMenu.Parent = Frame
- MainMenu.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- MainMenu.BackgroundTransparency = 1.000
- MainMenu.Size = UDim2.new(0, 239, 0, 50)
- MainMenu.Text = "Main Menu"
- MainMenu.TextColor3 = Color3.fromRGB(255, 255, 255)
- MainMenu.TextSize = 14.000
- Main.Active = true
- Main.Draggable = true
- ComingSoon.Name = "Coming Soon"
- ComingSoon.Parent = Frame
- ComingSoon.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- ComingSoon.Position = UDim2.new(0.0334728025, 0, 0.509724081, 0)
- ComingSoon.Size = UDim2.new(0, 222, 0, 42)
- ComingSoon.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
- ComingSoon.Text = "Coming Soon"
- ComingSoon.TextColor3 = Color3.fromRGB(0, 0, 0)
- ComingSoon.TextSize = 14.000
- Beta11.Name = "Beta 1.1"
- Beta11.Parent = Frame
- Beta11.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Beta11.BackgroundTransparency = 1.000
- Beta11.Position = UDim2.new(-0.00418410031, 0, 0.785407722, 0)
- Beta11.Size = UDim2.new(0, 239, 0, 50)
- Beta11.Text = "Version: Beta 1.1"
- Beta11.TextColor3 = Color3.fromRGB(255, 255, 255)
- Beta11.TextSize = 14.000
- Main.Name = "Main"
- Main.Parent = PrisonBreakBetaV11
- Main.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- Main.Position = UDim2.new(0.274635017, 0, 0.164021164, 0)
- Main.Size = UDim2.new(0, 600, 0, 380)
- Main.Visible = false
- Title.Name = "Title"
- Title.Parent = Main
- Title.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- Title.BackgroundTransparency = 1.000
- Title.Size = UDim2.new(0, 600, 0, 50)
- Title.Text = "PrisonBreak Beta V1.1"
- Title.TextColor3 = Color3.fromRGB(255, 255, 255)
- Title.TextSize = 14.000
- Btools.Name = "Btools"
- Btools.Parent = Main
- Btools.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Btools.Position = UDim2.new(0, 0, 0.131578937, 0)
- Btools.Size = UDim2.new(0, 200, 0, 50)
- Btools.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
- Btools.Text = "Btools"
- Btools.TextColor3 = Color3.fromRGB(0, 0, 0)
- Btools.TextSize = 14.000
- Btools.MouseButton1Down:connect(function()
- local tool1 = Instance.new("HopperBin",game.Players.LocalPlayer.Backpack)
- tool1.BinType = "Hammer"
- end)
- Guns.Name = "Guns"
- Guns.Parent = Main
- Guns.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Guns.Position = UDim2.new(0.333333343, 0, 0.131578937, 0)
- Guns.Size = UDim2.new(0, 200, 0, 50)
- Guns.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
- Guns.Text = "Guns"
- Guns.TextColor3 = Color3.fromRGB(0, 0, 0)
- Guns.TextSize = 14.000
- Guns.MouseButton1Down:connect(function()
- for i,v in pairs(Workspace.Prison_ITEMS.giver:GetChildren()) do
- lol = Workspace.Remote.ItemHandler:InvokeServer(v.ITEMPICKUP)
- print(lol)
- end
- end)
- SuperPunch.Name = "SuperPunch"
- SuperPunch.Parent = Main
- SuperPunch.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- SuperPunch.Position = UDim2.new(0.666666687, 0, 0.131578937, 0)
- SuperPunch.Size = UDim2.new(0, 200, 0, 50)
- SuperPunch.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
- SuperPunch.Text = "SuperPunch"
- SuperPunch.TextColor3 = Color3.fromRGB(0, 0, 0)
- SuperPunch.TextSize = 14.000
- SuperPunch.MouseButton1Down:connect(function()
- mainRemotes = game.ReplicatedStorage meleeRemote = mainRemotes['meleeEvent'] mouse = game.Players.LocalPlayer:GetMouse() punching = false cooldown = false function punch() cooldown = true local part = Instance.new("Part", game.Players.LocalPlayer.Character) part.Transparency = 1 part.Size = Vector3.new(5, 2, 3) part.CanCollide = false local w1 = Instance.new("Weld", part) w1.Part0 = game.Players.LocalPlayer.Character.Torso w1.Part1 = part w1.C1 = CFrame.new(0,0,2) part.Touched:connect(function(hit) if game.Players:FindFirstChild(hit.Parent.Name) then local plr = game.Players:FindFirstChild(hit.Parent.Name) if plr.Name ~= game.Players.LocalPlayer.Name then part:Destroy() for i = 1,100 do meleeRemote:FireServer(plr) end end end end) wait(1) cooldown = false part:Destroy() end mouse.KeyDown:connect(function(key) if cooldown == false then if key:lower() == "f" then punch() end end end)
- end)
- RemoveWalls.Name = "RemoveWalls"
- RemoveWalls.Parent = Main
- RemoveWalls.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- RemoveWalls.Position = UDim2.new(0, 0, 0.263157904, 0)
- RemoveWalls.Size = UDim2.new(0, 200, 0, 50)
- RemoveWalls.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
- RemoveWalls.Text = "RemoveWalls"
- RemoveWalls.TextColor3 = Color3.fromRGB(0, 0, 0)
- RemoveWalls.TextSize = 14.000
- RemoveWalls.MouseButton1Down:connect(function()
- wait(0.1)
- game.Workspace.Prison_Guard_Outpost:Remove()
- wait(0.1)
- game.Workspace.Prison_Cafeteria.building:Remove()
- wait(0.1)
- game.Workspace.Prison_Cafeteria.glass:Remove()
- wait(0.1)
- game.Workspace.Prison_Cafeteria.oven:Remove()
- wait(0.1)
- game.Workspace.Prison_Cafeteria.shelves:Remove()
- wait(0.1)
- game.Workspace.Prison_Cafeteria.vents:Remove()
- wait(0.1)
- game.Workspace.Prison_Cafeteria.accents:Remove()
- wait(0.1)
- game.Workspace.Prison_Cafeteria.vendingmachine:Remove()
- wait(0.1)
- game.Workspace.Prison_Cafeteria.Prison_table1:Remove()
- wait(0.1)
- game.Workspace.Prison_Cafeteria.counter:Remove()
- wait(0.1)
- game.Workspace.Prison_Cafeteria.boxes:Remove()
- end)
- RemoveAll.Name = "RemoveAll"
- RemoveAll.Parent = Main
- RemoveAll.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- RemoveAll.Position = UDim2.new(0.333333343, 0, 0.263157904, 0)
- RemoveAll.Size = UDim2.new(0, 200, 0, 50)
- RemoveAll.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
- RemoveAll.Text = "RemoveAll"
- RemoveAll.TextColor3 = Color3.fromRGB(0, 0, 0)
- RemoveAll.TextSize = 14.000
- RemoveAll.MouseButton1Down:connect(function()
- wait(0.1)
- game.Workspace.Prison_Halls.walls:Remove()
- wait(0.1)
- game.Workspace.Prison_Halls.roof:Remove()
- wait(0.1)
- game.Workspace.Prison_Halls.outlines:Remove()
- wait(0.1)
- game.Workspace.Prison_Halls.lights:Remove()
- wait(0.1)
- Workspace.Prison_Halls.accent:Remove()
- wait(0.1)
- game.Workspace.Prison_Halls.glass:Remove()
- wait(0.1)
- game.Workspace.Prison_Cellblock.b_front:Remove()
- wait(0.1)
- game.Workspace.Prison_Cellblock.doors:Remove()
- wait(0.1)
- game.Workspace.Prison_Cellblock.c_tables:Remove()
- wait(0.1)
- game.Workspace.Prison_Cellblock.a_front:Remove()
- wait(0.1)
- game.Workspace.Prison_Cellblock.b_outerwall:Remove()
- wait(0.1)
- game.Workspace.Prison_Cellblock.c_wall:Remove()
- wait(0.1)
- game.Workspace.Prison_Cellblock.b_wall:Remove()
- wait(0.1)
- game.Workspace.Prison_Cellblock.c_hallwall:Remove()
- wait(0.1)
- game.Workspace.Prison_Cellblock.a_outerwall:Remove()
- wait(0.1)
- game.Workspace.Prison_Cellblock.b_ramp:Remove()
- wait(0.1)
- game.Workspace.Prison_Cellblock.a_ramp:Remove()
- wait(0.1)
- game.Workspace.Prison_Cellblock.a_walls:Remove()
- wait(0.1)
- game.Workspace.Prison_Cellblock.Cells_B:Remove()
- wait(0.1)
- game.Workspace.Prison_Cellblock.Cells_A:Remove()
- wait(0.1)
- game.Workspace.Prison_Cellblock.c_corner:Remove()
- wait(0.1)
- game.Workspace.Prison_Cellblock.Wedge:Remove()
- wait(0.1)
- game.Workspace.Prison_Cellblock.a_ceiling:Remove()
- wait(0.1)
- game.Workspace.Prison_Cellblock.b_ceiling:Remove()
- wait(0.1)
- game.Workspace.City_buildings:Remove()
- wait(0.1)
- game.Workspace.Prison_OuterWall:Remove()
- wait(0.1)
- game.Workspace.Prison_Fences:Remove()
- end)
- Yard.Name = "Yard"
- Yard.Parent = Main
- Yard.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Yard.Position = UDim2.new(0.333333373, 0, 0.394736886, 0)
- Yard.Size = UDim2.new(0, 200, 0, 50)
- Yard.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
- Yard.Text = "Yard"
- Yard.TextColor3 = Color3.fromRGB(0, 0, 0)
- Yard.TextSize = 14.000
- Yard.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(779.87,98,2458.93)
- end)
- Crimbase.Name = "Crimbase"
- Crimbase.Parent = Main
- Crimbase.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Crimbase.Position = UDim2.new(0.666666687, 0, 0.263157904, 0)
- Crimbase.Size = UDim2.new(0, 200, 0, 50)
- Crimbase.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
- Crimbase.Text = "Crimbase"
- Crimbase.TextColor3 = Color3.fromRGB(0, 0, 0)
- Crimbase.TextSize = 14.000
- Crimbase.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-943.46,94.13,2063.63)
- end)
- Prison.Name = "Prison"
- Prison.Parent = Main
- Prison.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Prison.Position = UDim2.new(0, 0, 0.394736856, 0)
- Prison.Size = UDim2.new(0, 200, 0, 50)
- Prison.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
- Prison.Text = "Prison"
- Prison.TextColor3 = Color3.fromRGB(0, 0, 0)
- Prison.TextSize = 14.000
- Prison.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(918.77,100,2379.07)
- end)
- KillAll.Name = "KillAll"
- KillAll.Parent = Main
- KillAll.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- KillAll.Position = UDim2.new(0, 0, 0.526315808, 0)
- KillAll.Size = UDim2.new(0, 200, 0, 50)
- KillAll.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
- KillAll.Text = "KillAll"
- KillAll.TextColor3 = Color3.fromRGB(0, 0, 0)
- KillAll.TextSize = 14.000
- KillAll.MouseButton1Down:connect(function()
- 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)
- Police.Name = "Police"
- Police.Parent = Main
- Police.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Police.Position = UDim2.new(0, 0, 0.650000036, 0)
- Police.Size = UDim2.new(0, 200, 0, 50)
- Police.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
- Police.Text = "Police"
- Police.TextColor3 = Color3.fromRGB(0, 0, 0)
- Police.TextSize = 14.000
- Police.MouseButton1Down:connect(function()
- workspace.Remote.TeamEvent:FireServer("Bright blue")
- end)
- Inmate.Name = "Inmate"
- Inmate.Parent = Main
- Inmate.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Inmate.Position = UDim2.new(0.666666687, 0, 0.650000036, 0)
- Inmate.Size = UDim2.new(0, 200, 0, 50)
- Inmate.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
- Inmate.Text = "Inmate"
- Inmate.TextColor3 = Color3.fromRGB(0, 0, 0)
- Inmate.TextSize = 14.000
- Inmate.MouseButton1Down:connect(function()
- workspace.Remote.TeamEvent:FireServer("Bright orange")
- end)
- Neutral.Name = "Neutral"
- Neutral.Parent = Main
- Neutral.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Neutral.Position = UDim2.new(0.333333313, 0, 0.64736855, 0)
- Neutral.Size = UDim2.new(0, 200, 0, 50)
- Neutral.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
- Neutral.Text = "Neutral"
- Neutral.TextColor3 = Color3.fromRGB(0, 0, 0)
- Neutral.TextSize = 14.000
- Neutral.MouseButton1Down:connect(function()
- Workspace.Remote.TeamEvent:FireServer("Medium stone grey")
- end)
- Arrestcrims.Name = "Arrestcrims"
- Arrestcrims.Parent = Main
- Arrestcrims.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Arrestcrims.Position = UDim2.new(0.666666687, 0, 0.386842221, 0)
- Arrestcrims.Size = UDim2.new(0, 200, 0, 50)
- Arrestcrims.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
- Arrestcrims.Text = "Arrestcrims"
- Arrestcrims.TextColor3 = Color3.fromRGB(0, 0, 0)
- Arrestcrims.TextSize = 14.000
- Arrestcrims.MouseButton1Down:connect(function()
- local Player = game.Players.LocalPlayer
- local cpos = Player.Character.HumanoidRootPart.CFrame
- for i,v in pairs(game.Teams.Criminals:GetPlayers()) do
- if v.Name ~= Player.Name then
- local i = 10
- repeat
- wait()
- i = i-1
- game.Workspace.Remote.arrest:InvokeServer(v.Character.HumanoidRootPart)
- Player.Character.HumanoidRootPart.CFrame = v.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 1)
- until i == 0
- end
- end
- Player.Character.HumanoidRootPart.CFrame = cpos
- Notify("Success", "Arrested all of the n00bs", "Cool!")
- end)
- Invisible.Name = "Invisible"
- Invisible.Parent = Main
- Invisible.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Invisible.Position = UDim2.new(0.333333343, 0, 0.518421173, 0)
- Invisible.Size = UDim2.new(0, 200, 0, 50)
- Invisible.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
- Invisible.Text = "Invisible"
- Invisible.TextColor3 = Color3.fromRGB(0, 0, 0)
- Invisible.TextSize = 14.000
- Invisible.MouseButton1Down:connect(function()
- local player = game.Players.LocalPlayer
- position = player.Character.HumanoidRootPart.Position
- wait(0.1)
- player.Character:MoveTo(position + Vector3.new(0, 1000000, 0))
- wait(0.1)
- humanoidrootpart = player.Character.HumanoidRootPart:clone()
- wait(0.1)
- player.Character.HumanoidRootPart:Destroy()
- humanoidrootpart.Parent = player.Character
- player.Character:MoveTo(position)
- wait()
- -- Remove this if you want to see yourself (others still won't see you)
- game.Players.LocalPlayer.Character.Torso.Transparency = 1
- game.Players.LocalPlayer.Character.Head.Transparency = 1
- game.Players.LocalPlayer.Character["Left Arm"].Transparency = 1
- game.Players.LocalPlayer.Character["Right Arm"].Transparency = 1
- game.Players.LocalPlayer.Character["Left Leg"].Transparency = 1
- game.Players.LocalPlayer.Character["Right Leg"].Transparency = 1
- game.Players.LocalPlayer.Character.Humanoid:RemoveAccessories()
- game.Players.LocalPlayer.Character.Head.face:Remove()
- end)
- Creatorname.Name = "Creator name"
- Creatorname.Parent = Main
- Creatorname.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Creatorname.BackgroundTransparency = 1.000
- Creatorname.Position = UDim2.new(0.00999999978, 0, 0.773684204, 0)
- Creatorname.Size = UDim2.new(0, 600, 0, 79)
- Creatorname.Text = "Made by Erickdenisdavid03HD"
- Creatorname.TextColor3 = Color3.fromRGB(255, 255, 255)
- Creatorname.TextSize = 14.000
- Close.Name = "Close"
- Close.Parent = Main
- Close.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Close.Position = UDim2.new(0.913333356, 0, 0, 0)
- Close.Size = UDim2.new(0, 52, 0, 50)
- Close.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
- Close.Text = "X"
- Close.TextColor3 = Color3.fromRGB(0, 0, 0)
- Close.TextSize = 14.000
- Close.MouseButton1Down:connect(function()
- Main.Visible = false
- Frame.Visible = true
- end)
- Fling.Name = "Fling"
- Fling.Parent = Main
- Fling.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Fling.Position = UDim2.new(0.666666687, 0, 0.515789568, 0)
- Fling.Size = UDim2.new(0, 200, 0, 50)
- Fling.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
- Fling.Text = "Fling"
- Fling.TextColor3 = Color3.fromRGB(0, 0, 0)
- Fling.TextSize = 14.000
- Fling.MouseButton1Down:connect(function()
- power = 300 -- change this to make it more or less powerful
- game:GetService('RunService').Stepped:connect(function()
- game.Players.LocalPlayer.Character.Head.CanCollide = false
- game.Players.LocalPlayer.Character.Torso.CanCollide = false
- game.Players.LocalPlayer.Character["Left Leg"].CanCollide = false
- game.Players.LocalPlayer.Character["Right Leg"].CanCollide = false
- end)
- wait(.1)
- local bambam = Instance.new("BodyThrust")
- bambam.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
- bambam.Force = Vector3.new(power,0,power)
- bambam.Location = game.Players.LocalPlayer.Character.HumanoidRootPart.Position
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement