Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --https://www.roblox.com/games/13569014409/UGC-99-Lose-Obby
- -- DO NOT USE FLY HACKS, YOU WILL GET BANNED IF YOU DO NOT TOUCH ALL OF THE GLASS
- local copyorder = true -- copies the order of the glass bridge
- local length = 1 -- if increased says it longer (example if set to 2 then will say "RI")
- local folder = game.CoreGui:FindFirstChild("boxhandles")
- if not folder then
- folder = Instance.new("Folder")
- folder.Name = "boxhandles"
- folder.Parent = game.CoreGui
- else
- folder:ClearAllChildren()
- end
- local glasses = nil
- local glasses2 = nil
- local plrs = {}
- function doglass()
- glasses = {}
- glasses2 = {}
- for i,v in pairs(workspace.Glass:GetChildren()) do
- if v.Breaks.Value == true then
- local boxhandle = Instance.new("BoxHandleAdornment")
- boxhandle.AlwaysOnTop = true
- boxhandle.Adornee = v
- boxhandle.ZIndex = 999
- boxhandle.Size = v.Size + Vector3.new(0.1,0.1,0.1)
- boxhandle.Color3 = Color3.fromRGB(0,0,0)
- boxhandle.Parent = folder
- elseif v.Breaks.Value == false then
- firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart,v,0)
- table.insert(glasses,v.Row.Value)
- glasses2[v.Row.Value] = v
- end
- end
- table.sort(glasses)
- local lrstring = ""
- for i,v in pairs(glasses) do
- v = glasses2[v].Side.Value
- v = string.upper(v)
- lrstring = lrstring..string.sub(v,1,length)
- if length > 1 then
- lrstring = lrstring.." "
- end
- end
- print(lrstring)
- if copyorder then setclipboard(lrstring) end
- end
- doglass()
- local lib = loadstring(game:HttpGet("https://pastebin.com/raw/A2Wf3WVh"))()
- lib.makelib("99% Win Obby")
- local maintab = lib.maketab("Main")
- local plrsel = nil
- lib.makebutton("Update Glass",maintab,doglass)
- lib.makebutton("Win (can't win twice or more in one server)",maintab,function()
- for i2,v in pairs(glasses) do
- v = glasses2[v]
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(v.Position + Vector3.new(0,2,0))
- firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart,v,0)
- wait(10*((1/4)*2/2)/10) -- haha lol
- print(i)
- end
- firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart,workspace.Bases.FinishBase,0)
- game:GetService("StarterGui"):SetCore("SendNotification",{Title="Done",Text="Done"})
- end)
- --[[ not working :/
- local plrseldd = lib.makedropdown("Select Player",maintab,{"updating"},function(plr)
- plrsel = plr
- end)
- lib.makebutton("Copy where to go (select player)",maintab,function()
- if plrsel and game.Players:FindFirstChild(plrsel) and game.Players[plrsel].Character and game.Players[plrsel].Character:FindFirstChild("HumanoidRootPart") then
- local plr = game.Players[plrsel]
- local pos = plr.Character.HumanoidRootPart.Position
- local wg = nil
- local closest = nil
- for i,v in pairs(workspace.Glass:GetChildren()) do
- if not closest or (pos - v.Position).Magnitude < closest then
- wg = v
- closest = (pos - v.Position).Magnitude
- end
- end
- pos = wg.Position
- wg = nil
- closest = nil
- for i,v in pairs(workspace.Glass:GetChildren()) do
- if not closest or (pos - (v.Position - Vector3.new(17,0,0))).Magnitude < closest then
- wg = v
- closest = (pos - (v.Position - Vector3.new(17,0,0))).Magnitude
- end
- end
- setclipboard(plr.DisplayName.." goto the "..wg.Side.Value)
- end
- end)
- for i,plr in pairs(game.Players:GetPlayers()) do
- plrs[plr.Name] = plr.Name
- lib.updatedropdown(plrseldd,plrs)
- end
- game.Players.PlayerAdded:Connect(function(plr)
- plrs[plr.Name] = plr.Name
- lib.updatedropdown(plrseldd,plrs)
- end)
- game.Players.PlayerRemoved:Connect(function(plr)
- plrs[plr.Name] = plr.Name
- lib.updatedropdown(plrseldd,plrs)
- end)]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement