What do you want to achieve?
Help with ‘Triggered’ is not a valid member of ‘Part’
What is the issue?
After watching multiple tutorials I’m making a shop that opens with a ProximityPrompt but it’s not detecting “Triggered” Properly.
In the output is says: Triggered is not a valid member of Part “Workspace.Kiosk1.Part1”
However from my knowledge it ‘Triggered’ isn’t a part, it’s supposed to trigger the script to open the GUI
I’ve tried everything I could think of, I’m new to coding so this is becoming difficult.
Wdym Triggered? No parts have “triggered” as a property.
Add a proximity prompt into the Part called “GUI” and then do this:
local part = game.Workspace.Kiosk1:WaitForChild("Part1")
local shop = script.Parent.Frame
part.ProximityPrompt.Triggered:Connect(function()
shop.Visible = true
end
Also, you SHOULDN’T put your script as a image
You shouldn’t make the script as a image.
You can go into configurations (when responding or making a topic, basically typing in devforum), and then select the first button/option. After that, inside the “```” you can write your code/script to help. If the script is long, it can help by scrolling instead of taking so much time just to take a picture