What do you want to achieve? Change boolean value depending on script.
What is the issue? Can’t seem to figure it out.
What solutions have you tried so far? This is probably a new technique so there aren’t many new solutions i presume?
Here is what i’m trying to achieve.
if script.Parent.Parent.Parent.WobbleCamera.Disabled == false then -- script is NOT disable which means the boolean should be true
CamBobble = true;
elseif script.Parent.Parent.Parent.WobbleCamera.Disabled == true then -- script is disabled which means the boolean should be false
CamBobble = false;
Anything erroring in the Output window?
Try print(script.Parent.Parent.Parent.WobbleCamera.Disabled) before the first line to see what the boolean should be.
CanBobble and CamBobble are completely different things.
CanBobble is only triggered when holding a tool in first person
CamBobble is universal cam bobbing.
alright, sorry for my previous posts but I think I understand the problem now
you’re trying to define an if statement inside of a table, you generally shouldnt do this
if you have to something is wrong with the way you structured the code
just define the variable outside the table and you’ll do fine