Hey, recently I wanted to make a shop and I wanted this to work as you hold E on somebody and a GUI shows up with the shop, I then thought back to proximity prompt and wondered if I could do it using that. Would that work?
4 Likes
I think you can use the player parameter the Triggered
event gives you to find the Player’s GUI
2 Likes
Yes.
local proxPrompt = workspace.ProximityPrompt
proxPrompt.Triggered:Connect(function()
shopGui.Visible = true
end)
8 Likes
Oh amazing! I’m assuming I’ll just change shopGui to my screengui name anyways thanks!
2 Likes
It will work if you have a proximityprompt You can also make a custom proimity prompt to make the perfect one for you you can watch this Tutorial I hope you liked it cause it can make your game better.
it is dificult to make btw
1 Like
If it worked, could you please mark my post as solution please.
Thanks