I'm having problems on getting a child. I know how to do it its just giving me an error.
This error usually boils down to two things. -You are trying to assign the value of an object instead of the property (ex part = true) -You are trying to index a child in a localscript
to fix the bottom issue which is probably what your experiencing is to use WaitForChild as when localscripts are initialized they are still replicating objects from server to client so there are times in which a localscript can't find a certain object when running.
If you are doing this
Plr.Character.BoolValue.Value = true
switch it to
Plr.Character:WaitForChild("BoolValue").Value = true
I also suggest putting things like characters into variables as you use them quite frequently and makes it easier to read :)
I saw your comment and what I recommend is doing this:
When you create your bool value using Instance, you should make that new instance a variable. Like this:
local BoolValue = Instance.new("BoolValue")
And then later when you want to change the value of the boolean you can do this:
BoolValue.Value = true
This makes it much easier and your script a little shorter. Hope this helps!