-- [[ Rscripts Risk Notice ]] -- This script is not verified by rscripts.net. Deal with caution. -- -- Stay safe: -- • Never log in on unofficial Roblox sites or lookalike domains. -- • Real Roblox links use roblox.com (check the .com ending). -- • Treat fake Roblox login / "claim reward" pages as phishing. -- [[ End Rscripts Risk Notice ]] -- Builds the TeleportToStuds GUI programmatically at runtime. local Players = game:GetService("Players") local player = Players.LocalPlayer -- Gets CoreGui local CoreGui = game:GetService("CoreGui") -- Create the ScreenGui. local screenGui = Instance.new("ScreenGui") screenGui.Name = "TeleportToStuds" screenGui.ResetOnSpawn = false screenGui.IgnoreGuiInset = false screenGui.DisplayOrder = 0 screenGui.AutoLocalize = true screenGui.ScreenInsets = Enum.ScreenInsets.CoreUISafeInsets screenGui.ClipToDeviceSafeArea = true screenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling screenGui.Parent = CoreGui -- Create the main Frame. local frame = Instance.new("Frame") frame.Name = "Frame" frame.BackgroundTransparency = 0 frame.BorderMode = Enum.BorderMode.Outline frame.BorderSizePixel = 0 frame.Size = UDim2.new(0, 363, 0, 292) frame.Position = UDim2.new(0.342714071, 0, 0.26015228, 0) frame.BorderColor3 = Color3.new(0, 0, 0) frame.Visible = true frame.Style = Enum.FrameStyle.Custom frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30) frame.Parent = screenGui -- UIShadow local uiShadow = Instance.new("UIShadow") uiShadow.Name = "UIShadow" uiShadow.BlurRadius = UDim.new(0, 20) uiShadow.Color = Color3.new(0, 0, 0) uiShadow.Transparency = 0.5 uiShadow.ZIndex = -1 uiShadow.ShowBehindParent = true uiShadow.Enabled = true uiShadow.Mode = Enum.ApplyShadowMode.Shape uiShadow.Parent = frame -- Title local title = Instance.new("TextLabel") title.Name = "Title" title.TextWrapped = true title.TextScaled = true title.BackgroundColor3 = Color3.new(1, 1, 1) title.Font = Enum.Font.BuilderSans title.TextStrokeColor3 = Color3.new(0, 0, 0) title.Position = UDim2.new(0.223140493, 0, 0.0865384638, 0) title.Size = UDim2.new(0, 200, 0, 32) title.TextColor3 = Color3.new(1, 1, 1) title.Text = "Teleport To Studs (Very Cool UI :D)" title.BackgroundTransparency = 1 title.TextXAlignment = Enum.TextXAlignment.Center title.Parent = frame -- WaterMark local waterMark = Instance.new("TextLabel") waterMark.Name = "WaterMark" waterMark.TextWrapped = true waterMark.TextScaled = true waterMark.BackgroundColor3 = Color3.new(1, 1, 1) waterMark.Font = Enum.Font.BuilderSans waterMark.TextStrokeColor3 = Color3.new(0, 0, 0) waterMark.Position = UDim2.new(0.223140493, 0, 0.195864066, 0) waterMark.Size = UDim2.new(0, 200, 0, 19) waterMark.TextColor3 = Color3.new(1, 1, 1) waterMark.Text = "*Do Not Copyright it*" waterMark.TextTransparency = 0.79 waterMark.BackgroundTransparency = 1 waterMark.TextXAlignment = Enum.TextXAlignment.Center waterMark.Parent = frame -- Studs TextBox local studs = Instance.new("TextBox") studs.Name = "Studs" studs.TextWrapped = true studs.TextScaled = true studs.BackgroundColor3 = Color3.fromRGB(60, 60, 60) studs.Font = Enum.Font.BuilderSans studs.PlaceholderColor3 = Color3.new(0.5, 0.5, 0.5) studs.Size = UDim2.new(0, 200, 0, 50) studs.PlaceholderText = "Stud Input Here normal: 14" studs.Position = UDim2.new(0.225895315, 0, 0.294191241, 0) studs.TextColor3 = Color3.new(1, 1, 1) studs.Text = "14" studs.ClearTextOnFocus = true studs.TextSize = 14 studs.Parent = frame -- StudsLabel local studsLabel = Instance.new("TextLabel") studsLabel.Name = "StudsLabel" studsLabel.TextWrapped = true studsLabel.TextScaled = true studsLabel.BackgroundColor3 = Color3.new(1, 1, 1) studsLabel.Font = Enum.Font.BuilderSans studsLabel.TextStrokeColor3 = Color3.new(0, 0, 0) studsLabel.Position = UDim2.new(0.228650138, 0, 0.500329196, 0) studsLabel.Size = UDim2.new(0, 200, 0, 23) studsLabel.TextColor3 = Color3.new(1, 1, 1) studsLabel.Text = "Studs" studsLabel.BackgroundTransparency = 1 studsLabel.TextXAlignment = Enum.TextXAlignment.Center studsLabel.Parent = frame -- Teleport TextButton local teleport = Instance.new("TextButton") teleport.Name = "Teleport" teleport.TextWrapped = true teleport.TextScaled = true teleport.BackgroundColor3 = Color3.fromRGB(0, 229, 255) teleport.Font = Enum.Font.BuilderSans teleport.TextStrokeColor3 = Color3.new(0, 0, 0) teleport.Size = UDim2.new(0, 200, 0, 48) teleport.TextColor3 = Color3.new(1, 1, 1) teleport.Text = "Let's Go!" teleport.Position = UDim2.new(0.228650138, 0, 0.653385103, 0) teleport.Style = Enum.ButtonStyle.Custom teleport.TextXAlignment = Enum.TextXAlignment.Center teleport.Parent = frame local UserInputService = game:GetService("UserInputService") local gui = frame local dragging local dragInput local dragStart local startPos local function update(input) local delta = input.Position - dragStart gui.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y) end gui.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true dragStart = input.Position startPos = gui.Position input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = false end end) end end) gui.InputChanged:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then dragInput = input end end) UserInputService.InputChanged:Connect(function(input) if input == dragInput and dragging then update(input) end end) -- Wire up the Teleport button behavior (from the original Code script). teleport.MouseButton1Click:Connect(function() local LocalPlayer = Players.LocalPlayer local character = LocalPlayer.Character if character then local humanoidRootPart = character:WaitForChild("HumanoidRootPart") if humanoidRootPart then -- Builds the TeleportToStuds GUI programmatically at runtime. local Players = game:GetService("Players") local player = Players.LocalPlayer -- Gets CoreGui local CoreGui = game:GetService("CoreGui") -- Create the ScreenGui. local screenGui = Instance.new("ScreenGui") screenGui.Name = "TeleportToStuds" screenGui.ResetOnSpawn = false screenGui.IgnoreGuiInset = false screenGui.DisplayOrder = 0 screenGui.AutoLocalize = true screenGui.ScreenInsets = Enum.ScreenInsets.CoreUISafeInsets screenGui.ClipToDeviceSafeArea = true screenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling screenGui.Parent = CoreGui -- Create the main Frame. local frame = Instance.new("Frame") frame.Name = "Frame" frame.BackgroundTransparency = 0 frame.BorderMode = Enum.BorderMode.Outline frame.BorderSizePixel = 0 frame.Size = UDim2.new(0, 363, 0, 292) frame.Position = UDim2.new(0.342714071, 0, 0.26015228, 0) frame.BorderColor3 = Color3.new(0, 0, 0) frame.Visible = true frame.Style = Enum.FrameStyle.Custom frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30) frame.Parent = screenGui -- UIShadow local uiShadow = Instance.new("UIShadow") uiShadow.Name = "UIShadow" uiShadow.BlurRadius = UDim.new(0, 20) uiShadow.Color = Color3.new(0, 0, 0) uiShadow.Transparency = 0.5 uiShadow.ZIndex = -1 uiShadow.ShowBehindParent = true uiShadow.Enabled = true uiShadow.Mode = Enum.ApplyShadowMode.Shape uiShadow.Parent = frame -- Title local title = Instance.new("TextLabel") title.Name = "Title" title.TextWrapped = true title.TextScaled = true title.BackgroundColor3 = Color3.new(1, 1, 1) title.Font = Enum.Font.BuilderSans title.TextStrokeColor3 = Color3.new(0, 0, 0) title.Position = UDim2.new(0.223140493, 0, 0.0865384638, 0) title.Size = UDim2.new(0, 200, 0, 32) title.TextColor3 = Color3.new(1, 1, 1) title.Text = "Teleport To Studs (Very Cool UI :D)" title.BackgroundTransparency = 1 title.TextXAlignment = Enum.TextXAlignment.Center title.Parent = frame -- WaterMark local waterMark = Instance.new("TextLabel") waterMark.Name = "WaterMark" waterMark.TextWrapped = true waterMark.TextScaled = true waterMark.BackgroundColor3 = Color3.new(1, 1, 1) waterMark.Font = Enum.Font.BuilderSans waterMark.TextStrokeColor3 = Color3.new(0, 0, 0) waterMark.Position = UDim2.new(0.223140493, 0, 0.195864066, 0) waterMark.Size = UDim2.new(0, 200, 0, 19) waterMark.TextColor3 = Color3.new(1, 1, 1) waterMark.Text = "*Do Not Copyright it*" waterMark.TextTransparency = 0.79 waterMark.BackgroundTransparency = 1 waterMark.TextXAlignment = Enum.TextXAlignment.Center waterMark.Parent = frame -- Studs TextBox local studs = Instance.new("TextBox") studs.Name = "Studs" studs.TextWrapped = true studs.TextScaled = true studs.BackgroundColor3 = Color3.fromRGB(60, 60, 60) studs.Font = Enum.Font.BuilderSans studs.PlaceholderColor3 = Color3.new(0.5, 0.5, 0.5) studs.Size = UDim2.new(0, 200, 0, 50) studs.PlaceholderText = "Stud Input Here normal: 14" studs.Position = UDim2.new(0.225895315, 0, 0.294191241, 0) studs.TextColor3 = Color3.new(1, 1, 1) studs.Text = "14" studs.ClearTextOnFocus = true studs.TextSize = 14 studs.Parent = frame -- StudsLabel local studsLabel = Instance.new("TextLabel") studsLabel.Name = "StudsLabel" studsLabel.TextWrapped = true studsLabel.TextScaled = true studsLabel.BackgroundColor3 = Color3.new(1, 1, 1) studsLabel.Font = Enum.Font.BuilderSans studsLabel.TextStrokeColor3 = Color3.new(0, 0, 0) studsLabel.Position = UDim2.new(0.228650138, 0, 0.500329196, 0) studsLabel.Size = UDim2.new(0, 200, 0, 23) studsLabel.TextColor3 = Color3.new(1, 1, 1) studsLabel.Text = "Studs" studsLabel.BackgroundTransparency = 1 studsLabel.TextXAlignment = Enum.TextXAlignment.Center studsLabel.Parent = frame -- Teleport TextButton local teleport = Instance.new("TextButton") teleport.Name = "Teleport" teleport.TextWrapped = true teleport.TextScaled = true teleport.BackgroundColor3 = Color3.fromRGB(0, 229, 255) teleport.Font = Enum.Font.BuilderSans teleport.TextStrokeColor3 = Color3.new(0, 0, 0) teleport.Size = UDim2.new(0, 200, 0, 48) teleport.TextColor3 = Color3.new(1, 1, 1) teleport.Text = "Let's Go!" teleport.Position = UDim2.new(0.228650138, 0, 0.653385103, 0) teleport.Style = Enum.ButtonStyle.Custom teleport.TextXAlignment = Enum.TextXAlignment.Center teleport.Parent = frame local UserInputService = game:GetService("UserInputService") local gui = frame local dragging local dragInput local dragStart local startPos local function update(input) local delta = input.Position - dragStart gui.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y) end gui.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true dragStart = input.Position startPos = gui.Position input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = false end end) end end) gui.InputChanged:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then dragInput = input end end) UserInputService.InputChanged:Connect(function(input) if input == dragInput and dragging then update(input) end end) -- Wire up the Teleport button behavior (from the original Code script). teleport.MouseButton1Click:Connect(function() local LocalPlayer = Players.LocalPlayer local character = LocalPlayer.Character if character then local humanoidRootPart = character:WaitForChild("HumanoidRootPart") if humanoidRootPart then humanoidRootPart.CFrame = humanoidRootPart.CFrame * CFrame.new(0, 0, -(tonumber(studs.Text) or 0)) end end end) end end end)