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

How to make a GUI appear with a proximity prompt in Roblox Studio

Аватар
Геймерская Интрига
Просмотры:
202
Дата загрузки:
29.10.2023 18:05
Длительность:
00:02:04
Категория:
Развлечения

Описание

hope it helps xd

local script (goes inside ScreenGui)

game.ReplicatedStorage.OpenGui.OnClientEvent:Connect(function()
script.Parent.Enabled = true
end)

script (goes inside part)

script.Parent.ProximityPrompt.Triggered:Connect(function(player)
script.Parent.ProximityPrompt.Enabled = true
game.ReplicatedStorage.OpenGui:FireClient(player)
end)

Subscribe: https://www.youtube.com/channel/UCfgmophUH2oxJ_gcHsw7xzw?sub_confirmation=1

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