#Proximity prompt opening gui
24 messages · Page 1 of 1 (latest)
** You are now Level 6! **
im not near my pc rn but ill try copy it from memory
Oh okay
Not 100% sure but similar, local prox = game.workspace.guiopen.proxpro prox.activated(function() game.startergui.geargui.enabled = true end)
oh
** You are now Level 1! **
You need to use
local ProximityPromptService = game:GetService("ProximityPromptService")
local function onPromptTriggered(promptObject, player)
end
ProximityPromptService.PromptTriggered:Connect(onPromptTriggered)
Which part would this replace?
Like what do i add/change the script to make a gui show
in function add geargui.enable = true
local ProximityPromptService = game:GetService("ProximityPromptService")
local geargui
local function onPromptTriggered(promptObject, player)
geargui.Enabled = true
end
ProximityPromptService.PromptTriggered:Connect(onPromptTriggered)
okay, well later on when im on my pc ill try it. Ty
np
I think I've found a better way
With what I've shown you, all ProximityPrompt will do the same thing
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
are you doing this in a local script?
** You are now Level 1! **
i tried script and local script
only local scripts can handle gui