#I can't get Proximity Prompt to execute a function when the E button is clicked
23 messages · Page 1 of 1 (latest)
OMG SAME THING
is that I basically want to make the player click or press something so the frame can show up
do you know how to do something like that?
yes
put the gui in replicated storage
and
also is it a server script
@uneven hull
I will try to do that if it ends up not working I open another help, thanks
Uh okk
exactly
local replicatedstorage = game:GetService("ReplicatedStorage")
script.Parent.ProximityPrompt.TriggerEnded:Connect(function(player)
local gui = replicatedstorage.someguiuputhere:Clone()
gui.Parent = player.PlayerGui
end)```
to close it just gui:destroy()
thanks for helping me
** You are now Level 1! **