In summary, I’m trying to make it so whenever a player interacts with the said proximity prompt, a note opens up on their screen (GUI text label), and whenever the player clicks, the note is dismissed and goes away.
whenever the player interacts with the proximity prompt nothing happens. help?
Is this a local script? char limit
nope. is that my issue?
30303030
Since LocalPlayer only runs on a LocalScript. And, a local script cannot be in Workspace, so make a LocalScript in StarterPlayerScripts, copy and paste the script and configure all the locations.
well the script’s parent is a proximity prompt and the proximity prompt’s parent is a part (the note) in the workspace, doesnt that mean the local script wont work?
(EDIT: i just tried it, didnt work)
local ProximityPrompt = script.Parent
local ServerStorage = game:GetService("ServerStorage")
local Gui = Server.ScreenGui
ProximityPrompt.Triggered:Connect(function(plr)
local GuiClone = Gui:Clone()
GuiClone.Parent = plr.PlayerGui
end)
Put it in your original script. ^ (put your gui inside serverstorage)
according to my roblox studio, theres an error in your script
another edit: i think i did it wrong gimme a second
yeah, i did everything and your script still doesnt work, idk
Show your explorer and your script.
in this image, you can see where the note and screengui stuff is:
p.s.: sorry this is low quality, i can zoom in more if needed
Oh right, I did a typo. Change line 4 to local Gui = ServerStorage.ScreenGui
Make sure your ScreenGui is enabled and put it in ServerStorage.
nothing still appears whenever i interact with the proximity.
I have just tested it, it works. Is your ScreenGui enabled?
yep. my screengui and everything is enabled.
Are there any errors in the output?
In my original script, I mentioned that “TextLabel” and “Textlabel2” were the GUIs that I wanted to show and they aren’t mentioned anywhere in your script, how is studio supposed to know which GUI to open?
Can you show me your Gui locations? And make sure that the texts and all is set as Active and Visible.
again, sorry for the tiny image

also where in your script does it mention the character’s mouse and the left click mechanic i mentioned in the thread?