The Obby Elevator Script | Auto Win, TP Tool, Open Source

The Obby Elevator Script | Auto Win, TP Tool, Open Source

The Obby Elevator! 4 days ago
17 views
The Obby Elevator Script | Auto Win, TP Tool, Open Source Keyless

Description

This simple Obby Elevator script comes with a transparent hub that can be modified as needed. It includes an Auto Win feature and TP Tool, and the listing describes it as open source, keyless, and mobile friendly.

Key Features

  • Transparent Hub
  • Auto Win
  • TP Tool
  • Open Source
  • Keyless
  • Mobile Friendly
Features
Compatible Executors

Script

local P=game:GetService("Players")
local C=game:GetService("CoreGui")
local R=game:GetService("RunService")
local U=game:GetService("UserInputService")
local L=P.LocalPlayer
if C:FindFirstChild("MiniHub")then C.MiniHub:Destroy()end

local G=Instance.new("ScreenGui",C)G.Name="MiniHub"
local F=Instance.new("Frame",G)F.Size=UDim2.fromOffset(150,110)F.Position=UDim2.new(.5,-75,.4)F.BackgroundTransparency=1 F.Active=true F.Draggable=true
local T=Instance.new("TextLabel",F)T.Size=UDim2.new(1,0,0,20)T.BackgroundTransparency=1 T.Text="The Obby Elevator"T.TextColor3=Color3.new(1,1,1)T.Font=Enum.Font.SourceSansBold
local M=Instance.new("TextButton",F)M.Size=UDim2.fromOffset(20,20)M.Position=UDim2.new(1,-20)M.BackgroundTransparency=1 M.Text="-"M.TextColor3=Color3.new(1,1,1)
local Q=Instance.new("Frame",F)Q.Size=UDim2.new(1,0,1,-20)Q.Position=UDim2.fromOffset(0,20)Q.BackgroundTransparency=1
Instance.new("UIListLayout",Q).Padding=UDim.new(0,5)

local function B(x)local b=Instance.new("TextButton",Q)b.Size=UDim2.new(1,0,0,25)b.BackgroundColor3=Color3.new(1,1,1)b.BackgroundTransparency=.85 b.TextColor3=Color3.new(1,1,1)b.Text=x b.Font=Enum.Font.SourceSansBold return b end
local A,X,Y=B("Auto Win: OFF"),B("TP"),B("TP Tool: OFF")
M.MouseButton1Click:Connect(function()Q.Visible=not Q.Visible M.Text=Q.Visible and"-"or"+"end)

local function W()for _,v in ipairs(workspace:GetDescendants())do if v.Name=="winpad"and v:IsA("BasePart")then return v end end end
X.MouseButton1Click:Connect(function()local w,h=W(),L.Character and L.Character:FindFirstChild("HumanoidRootPart")if w and h then h.CFrame=CFrame.new(w.Position+Vector3.new(0,3,0))end end)

local O,Tl,E=false,Instance.new("Tool"),false
Tl.Name="TP"Tl.RequiresHandle=false
Tl.Equipped:Connect(function()E=false task.delay(.2,function()E=O end)end)
U.TouchTapInWorld:Connect(function(p)
	if O and E and Tl.Parent==L.Character then
		local h=L.Character:FindFirstChild("HumanoidRootPart")
		local r=workspace:Raycast(workspace.CurrentCamera.CFrame.Position,workspace.CurrentCamera:ViewportPointToRay(p.X,p.Y).Direction*1000)
		if h and r then local q=r.Position+Vector3.new(0,3,0)h.CFrame=CFrame.lookAt(q,q+h.CFrame.LookVector)end
	end
end)
Y.MouseButton1Click:Connect(function()O=not O Y.Text=O and"TP Tool: ON"or"TP Tool: OFF"Y.BackgroundTransparency=O and.5 or.85 Tl.Parent=O and L.Backpack or nil end)
L.CharacterAdded:Connect(function()if O then task.wait(.2)Tl.Parent=L.Backpack end end)

local l,t=nil,0
A.MouseButton1Click:Connect(function()
	local o=A.Text=="Auto Win: OFF"
	A.Text=o and"Auto Win: ON"or"Auto Win: OFF"A.BackgroundTransparency=o and.5 or.85
	if not o then l=nil t=0 end
end)
workspace.DescendantAdded:Connect(function(v)if A.Text=="Auto Win: ON"and v.Name=="winpad"then l=nil t=0 end end)
workspace.DescendantRemoving:Connect(function(v)if v==l then l=nil t=0 end end)

task.spawn(function()while R.Heartbeat:Wait()do
	if A.Text=="Auto Win: ON"and firetouchinterest then
		local w,h=W(),L.Character and L.Character:FindFirstChild("HumanoidRootPart")
		if w and h and(w~=l or os.clock()-t>=1)then l,t=w,os.clock()firetouchinterest(h,w,0)task.wait(.03)firetouchinterest(h,w,1)end
	end
end end)

Comments (0)

No comments yet. Be the first!