Universal Script 📌
751 Views
24 Executions

To part gui

Universal Script 📌
OnlyThePower
OnlyThePowerPublished 10
1 year ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

Hi

View Raw
-- 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


Comments

1
Log in to join the conversation. Login
zivoria's profile picture
zivoria1 year ago

AI and this already exists

1

More universal scripts

See all
Universal Script 📌
14
0
Approved 9 minutes ago
Script hub
2.9k
13.8k
Bumped 18 minutes ago

Script hub

TLMenu

Universal Script 📌
37
5
Approved 52 minutes ago
Script hub
43
2
Approved 1 hour ago
Key System

Script hub

Plak New