Город МОСКОВСКИЙ
00:02:42

How to Make a PLACE TELEPORT Part AND GUI - Roblox Studio

Аватар
Геймеры и Космические Битвы
Просмотры:
79
Дата загрузки:
30.10.2023 08:48
Длительность:
00:02:42
Категория:
Лайфстайл

Описание

In this video, I will be teaching y'all how to make a place teleport part AND GUI in Roblox Studio.

Roblox Profile: https://web.roblox.com/users/1103189919/profile
Roblox Group: https://web.roblox.com/groups/10685081/Blu-Wear
Roblox Group 2: https://web.roblox.com/groups/11989207/Project-Blu
Discord Server: https://discord.gg/8crBC76PWc

Script, Part:

debounce = true
id = YOUR_ID_HERE
local service = game:GetService("TeleportService")
script.Parent.Touched:Connect(function(touch)
if debounce == true then
debounce = false
local plr = game.Players:FindFirstChild(touch.Parent.Name)
if plr then
service:Teleport(id, plr
end
end
end)

Local Script, TextButton/ImageButton:

debounce = true
id = 7412502170
local service = game:GetService("TeleportService")
script.Parent.MouseButton1Click:Connect(function()
if debounce == true then
debounce = false
local plr = game.Players.LocalPlayer
service:Teleport(id, plr)
end
end)

Teleport to Place via Part: https://web.roblox.com/library/7412558541/Teleport-to-Place-via-Part
Teleport to Place via GUI: https://web.roblox.com/library/7412565822/Teleport-to-Place-via-GUI

Рекомендуемые видео