Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Hi hfddnj
- Ghjbjv
- Hhjk
- rawdownloadreport 22.44 KB
- ----Not Script Subscribe to BTY GLITCHES on youtube----
- local plr = game:GetService("Players").LocalPlayer
- local TpMethod = 1
- function JailbreakTp(...)
- getfenv()["TpMethod" .. TpMethod](...)
- end
- function TpMethod1(...)
- local char = plr.Character
- local root = char.HumanoidRootPart
- local args = {...}
- for i=0,1,0.05 do
- wait()
- root.CFrame = root.CFrame:lerp(CFrame.new(unpack(args,1,3)), i)
- end
- end
- function TpMethod2(...)
- local args = {...}
- local char = plr.Character
- local target = Vector3.new(unpack(args,1,3))
- local dist = (char:WaitForChild"HumanoidRootPart".Position - target).magnitude
- dist = math.floor(dist / 100) + 1
- for i=0,dist * 4 do
- wait()
- char:MoveTo(Vector3.new(...))
- end
- if args[#args] == true then
- wait()
- char:WaitForChild'HumanoidRootPart'.CFrame = CFrame.new(unpack(args,1,#args - 1))
- end
- end
- function Tween(obj, t, properties)
- local TweenService = game:GetService("TweenService")
- local tweenInfo = TweenInfo.new(t,Enum.EasingStyle.Linear,Enum.EasingDirection.In,0,false,0)
- local tween = TweenService:Create(obj,tweenInfo,properties)
- tween:Play()
- return tween
- end
- local Tracers = {}
- local function AddLasso(p,team)
- if not Tracers[team.Name] then return end
- if p == plr then return end
- spawn(function()
- if p.Character then
- local l = Instance.new("SelectionPartLasso")
- l.Parent = p.Character
- l.Humanoid = p.Character:FindFirstChildOfClass"Humanoid"
- l.Part = plr.Character:WaitForChild"HumanoidRootPart"
- l.Visible = true
- l.Color3 = team.TeamColor.Color
- for i=0,5 do
- local sg = Instance.new("SurfaceGui")
- sg.Face = i
- sg.Parent = p.Character
- sg.Adornee = p.Character:FindFirstChild"HumanoidRootPart"
- sg.AlwaysOnTop = true
- local f = Instance.new("Frame", sg)
- f.Size = UDim2.new(1,0,1,0)
- f.BorderSizePixel = 0
- f.BackgroundColor3 = team.TeamColor.Color
- f.BackgroundTransparency = 0.5
- end
- end
- end)
- end
- local function RemoveLasso(p)
- if not p.Character then return end
- for i,v in pairs(p.Character:GetDescendants()) do
- if v.ClassName:find("Selection") or v.ClassName == "SurfaceGui" then
- v:Destroy()
- end
- end
- end
- for _,team in pairs(game:GetService("Teams"):GetChildren()) do
- team.PlayerAdded:connect(function(p)
- AddLasso(p,team)
- end)
- team.PlayerRemoved:connect(function(p)
- RemoveLasso(p)
- end)
- end
- function ToggleTracers(team, bool)
- Tracers[team] = bool
- local t = game:GetService("Teams"):FindFirstChild(team)
- if not t then return end
- for i,v in pairs(t:GetPlayers()) do
- if bool then
- AddLasso(v,t)
- else
- RemoveLasso(v)
- end
- end
- end
- local function CharAdded(plr, char)
- if Tracers[tostring(plr.Team)] then
- AddLasso(plr,plr.Team)
- end
- end
- local function PlrAdded(plr)
- plr.CharacterAdded:connect(function(char)
- CharAdded(plr, char)
- end)
- if plr.Character then
- CharAdded(plr, plr.Character)
- end
- end
- game:GetService("Players").PlayerAdded:connect(PlrAdded)
- for _,v in pairs(game:GetService("Players"):GetPlayers()) do
- PlrAdded(v)
- end
- --Creating Gui--
- local function Create(classname)
- return function(t)
- local ins = Instance.new(classname)
- for i,v in pairs(t) do
- ins[i] = v
- end
- return ins
- end
- end
- --local parent = game:GetService("CoreGui"):WaitForChild("RobloxGui")
- local main = Create "Frame" {
- Active = true,
- ClipsDescendants = true,
- Draggable = true,
- BackgroundColor3 = Color3.new(1,1,1),
- BorderSizePixel = 0,
- Size = UDim2.new(0,400,0,300),
- Position = UDim2.new(0.5,-200,0,-300),
- BackgroundTransparency = 1,
- Parent = Instance.new("ScreenGui", plr.PlayerGui)--parent
- }
- do
- local effect = Create "Frame" {
- Parent = main,
- Size = UDim2.new(1,0,0,50),
- BackgroundColor3 = Color3.fromRGB(85,170,255),
- BorderSizePixel = 0,
- ClipsDescendants = true,
- }
- local lb = Create "TextLabel" {
- Parent = effect,
- Size = UDim2.new(1,0,1,0),
- BackgroundTransparency = 1,
- BorderSizePixel = 0,
- TextSize = 30,
- TextColor3 = Color3.new(1,1,1),
- TextXAlignment = "Left",
- Font = "SourceSansBold",
- Text = "Jailbreak GUI",
- ZIndex = 2,
- }
- local function GTween()
- lb:TweenPosition(UDim2.new(1,10,0,0), nil,nil,3,true,function(ts)
- if ts == Enum.TweenStatus.Completed then
- lb.Position = UDim2.new(0,0 - lb.TextBounds.X - 2,0,0)
- GTween()
- end
- end)
- end
- GTween()
- end
- local Menu = Create "Frame" {
- BackgroundColor3 = Color3.new(1,1,1),
- BorderSizePixel = 0,
- Position = UDim2.new(0,0,0,50),
- Size = UDim2.new(1,0,1,-50),
- Parent = main,
- }
- local MenuLabel = Create "TextLabel" {
- BackgroundTransparency = 1,
- BorderSizePixel = 0,
- TextColor3 = Color3.new(0,0,0),
- TextSize = 20,
- Font = "SourceSans",
- Text = "Made by refrfgrtgef for v3rm\n(won't tell you my roblox name)",
- TextWrapped = true,
- Size = UDim2.new(1,0,0,50),
- Parent = Menu
- }
- local function CreateButton(text,parent)
- return Create "TextButton" {
- Active = true,
- AutoButtonColor = true,
- BackgroundColor3 = Color3.fromRGB(0,155,232),
- BorderSizePixel = 1,
- Size = UDim2.new(0,100,0,30),
- Font = "SourceSansBold",
- TextColor3 = Color3.new(1,1,0),
- TextSize = 20,
- Text = text,
- Parent = parent
- }
- end
- local function CreateFrame(name)
- local f = Create "Frame" {
- BackgroundColor3 = Color3.new(1,1,1),
- BorderSizePixel = 0,
- Position = UDim2.new(0,0,0,50),
- Size = UDim2.new(1,0,1,-50),
- Visible = false,
- }
- local lb = Create "TextLabel" {
- BackgroundTransparency = 1,
- BorderSizePixel = 0,
- TextSize = 20,
- TextColor3 = Color3.new(1,1,0),
- Position = UDim2.new(0,0,0,5),
- Text = name,
- Parent = f,
- TextXAlignment = "Center",
- TextYAlignment = "Center",
- Size = UDim2.new(1,0,0,30),
- }
- local exit = CreateButton("Back", f)
- exit.Position = UDim2.new(0.5,-50,1,-45)
- exit.MouseButton1Click:connect(function()
- Menu.Visible = true
- f.Visible = false
- ActiveFrame = Menu
- end)
- return f
- end
- ActiveFrame = Menu
- local TeleportsFrame = CreateFrame("Teleports")
- TeleportsFrame.Parent = main
- local BankIn = CreateButton("Bank (In)", TeleportsFrame)
- BankIn.Position = UDim2.new(0,15,0,40)
- BankIn.Size = UDim2.new(0,80,0,30)
- BankIn.MouseButton1Click:connect(function()
- JailbreakTp(32,0.715,814, true)
- end)
- local BankOut = CreateButton("Bank (Out)", TeleportsFrame)
- BankOut.Position = UDim2.new(0,105,0,40)
- BankOut.MouseButton1Click:connect(function()
- JailbreakTp(10, 18, 784)
- end)
- local JailIn = CreateButton("Jail (In)", TeleportsFrame)
- JailIn.Position = UDim2.new(0,215,0,40)
- JailIn.Size = UDim2.new(0,80,0,30)
- JailIn.MouseButton1Click:connect(function()
- JailbreakTp(-1310, 18, -1658)
- end)
- local JailOut = CreateButton("Jail (Out)", TeleportsFrame)
- JailOut.Position = UDim2.new(0,305,0,40)
- JailOut.Size = UDim2.new(0,80,0,30)
- JailOut.MouseButton1Click:connect(function()
- JailbreakTp(-1133, 18, -1355)
- end)
- local Garage = CreateButton("Garage", TeleportsFrame)
- Garage.Position = UDim2.new(0,335,0,120)--UDim2.new(0,10,0,80)
- Garage.Size = UDim2.new(0,60,0,30)
- Garage.MouseButton1Click:connect(function()
- JailbreakTp(-352, 23, 1175)
- end)
- local JewelIn = CreateButton("Jewelry (In)", TeleportsFrame)
- JewelIn.Position = UDim2.new(0,25,0,80)
- JewelIn.MouseButton1Click:connect(function()
- JailbreakTp(133, 18, 1320, true)
- end)
- local JewelOut = CreateButton("Jewelry (Out)", TeleportsFrame)
- JewelOut.Position = UDim2.new(0,135,0,80)
- JewelOut.Size = UDim2.new(0,115,0,30)
- JewelOut.MouseButton1Click:connect(function()
- JailbreakTp(142, 18, 1365)
- end)
- local Crim1 = CreateButton("Crim base 1", TeleportsFrame)
- Crim1.Position = UDim2.new(0,5,0,120)
- Crim1.MouseButton1Click:connect(function()
- JailbreakTp(-226, 18, 1590, true)
- end)
- local Crim2 = CreateButton("Crim base 2", TeleportsFrame)
- Crim2.Position = UDim2.new(0,115,0,120)
- Crim2.MouseButton1Click:connect(function()
- JailbreakTp(true, 1637, 50, -1768, true)
- end)
- local Donut = CreateButton("Donut Shop", TeleportsFrame)
- Donut.Position = UDim2.new(0,225,0,120)
- Donut.MouseButton1Click:connect(function()
- JailbreakTp(268, 18, -1760, true)
- end)
- local Gas = CreateButton("Gas Station", TeleportsFrame)
- Gas.Position = UDim2.new(0,260,0,80)
- Gas.MouseButton1Click:connect(function()
- JailbreakTp(-1583, 18, 724, true)
- end)
- local TeleportsBtn = CreateButton("Teleports", MenuLabel)
- TeleportsBtn.Position = UDim2.new(0.5,-50,0,60)
- TeleportsBtn.MouseButton1Click:connect(function()
- TeleportsFrame.Visible = true
- Menu.Visible = false
- ActiveFrame = TeleportsFrame
- end)
- local StuffFrame = CreateFrame("Stuff")
- StuffFrame.Parent = main
- local StuffBtn = CreateButton("Stuff", MenuLabel)
- StuffBtn.Position = TeleportsBtn.Position + UDim2.new(0,0,0,40)
- StuffBtn.MouseButton1Click:connect(function()
- StuffFrame.Visible = true
- Menu.Visible = false
- ActiveFrame = StuffFrame
- end)
- local RemoveDoors = CreateButton("Remove Doors", StuffFrame)
- RemoveDoors.Size = UDim2.new(0,120,0,30)
- RemoveDoors.Position = UDim2.new(0,10,0,50)
- RemoveDoors.MouseButton1Click:connect(function()
- local doors = workspace:FindFirstChild("Doors")
- if not doors then return end
- for i,v in pairs(doors:GetChildren()) do
- v:Destroy()
- end
- end)
- local Platform = CreateButton("Platform", StuffFrame)
- Platform.Position = UDim2.new(0.5,-60,0,50)
- Platform.MouseButton1Click:connect(function()
- local p = Instance.new("Part", workspace)
- p.Size = Vector3.new(30,0.5,30)
- p.Anchored = true
- p.Position = plr.Character.HumanoidRootPart.Position + Vector3.new(0,15,0)
- plr.Character:MoveTo(p.Position + Vector3.new(0,1,0))
- spawn(function()
- while p.Parent do
- wait(1)
- if (plr.Character.HumanoidRootPart.Position - p.Position).magnitude > 20 then
- p:Destroy()
- end
- end
- end)
- end)
- local Tracers = CreateButton("Tracers: None", StuffFrame)
- Tracers.Size = UDim2.new(0,140,0,30)
- Tracers.Position = UDim2.new(1,-150,0,50)
- Tracers.MouseButton1Click:connect(function()
- local curr = Tracers.Text:sub(10)
- if curr ~= "None" then
- ToggleTracers(curr, false)
- end
- local teams = {"None", "Police", "Criminal", "Prisoner"}
- local new = ""
- for i,v in pairs(teams) do
- if v == curr then
- new = teams[i + 1] or teams[1]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement