Roblox Studio Proximity Prompt Tutorial (Make a Frame pop up!)

Опубликовано: 28 Декабрь 2024
на канале: RDoesDev
2,388
62

in this video we are going to be making a script for Roblox studio proximity prompt. hopefully by the end of this video you should be able to click a button that makes a screen pop up with some info on it
Script:
local prompt = script.Parent
local open = false
prompt.Triggered:Connect(function(player)
local PlayerGui = player:WaitForChild("PlayerGui")
local ScreenGui = PlayerGui.ScreenGui
local Frame = ScreenGui.Frame
if open == false then
open = true
Frame.Visible = true
else
open = false
Frame.Visible = false
end
end)

My discord server:
  / discord