why doesnt think work?
Please make your question title relevant to your question content. It should be a one-sentence summary in question form.
Im tryingt o make a yandere simulator game but I need this script to work here is what I did
- I made a part
2.I put a script in the part
1 | script = function onClick() |
2 | game.Startergui.ScreenGui.Textbutton.Visible = true |
4 | script.Parent.MouseButton 1 Click:connect(onClick) |
3.inserted the textbutton in screengui and screen gui in startergui
when i do this and i click the part in the output it says "mousebutton1down is not a valid member of part" what does that mean?