local p = workspace.HintValue
hint.Text = (game.Workspace(p).Value)
These are 2 parts of a large script that i have created however the script can't find p (HintValue) in the Workspace and i do not understand why i mnot sure if it should be hint.Text = (game.Workspace(p).Value)
, hint.Text = (game.Workspace.(p).Value)
or somthing completely different.
Hope i can get some help. Thanks!
'p' is already pointing to the object in Workspace. All you need to do is change
hint.Text = (game.Workspace(p).Value)
To
hint.Text = p.Value