
751 Views
24 Executions
To part gui
Universal Script 📌
OnlyThePowerPublished 10
1 year ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
Hi
-- teleport to part gui
local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local TweenService = game:GetService("TweenService")
local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
local old = playerGui:FindFirstChild("TeleportPartGUI")
if old then old:Destroy() end
local gui = Instance.new("ScreenGui", playerGui)
gui.Name = "TeleportPartGUI"
gui.ResetOnSpawn = false
local frame = Instance.new("Frame", gui)
frame.Size = UDim2.new(0, 230, 0, 230)
frame.Position = UDim2.new(0.5, -115, 0.5, -115)
frame.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
frame.BorderSizePixel = 0
Instance.new("UICorner", frame).CornerRadius = UDim.new(0, 10)
local stroke = Instance.new("UIStroke", frame)
stroke.Thickness = 3
task.spawn(function()
while task.wait(0.1) do
local hue = (tick() % 5) / 5
stroke.Color = Color3.fromHSV(hue, 1, 1)
end
end)
local title = Instance.new("TextLabel", frame)
title.Size = UDim2.new(1, -30, 0, 24)
title.Position = UDim2.new(0, 10, 0, 4)
title.BackgroundTransparency = 1
title.Text = "TELEPORT PART"
title.Font = Enum.Font.GothamBold
title.TextSize = 16
title.TextColor3 = Color3.fromRGB(255, 255, 255)
title.TextXAlignment = Enum.TextXAlignment.Left








AI and this already exists