local weapona = Instance.new("BoolValue", player.Character) weapona.Name = "WeaponActive" weapona.Value = false --^^^^first script --vvvv second script if Character:FindFirstChild("WeaponActive") == false then print("1") elseif Character:WaitForChild("WeaponActive") == true then print("0") end
local weapona = Instance.new("BoolValue", player.Character) weapona.Name = "WeaponActive" weapona.Value = false --^^^^first script --vvvv second script if Character:FindFirstChild("WeaponActive") == false then --Put .Value after ("WeaponActive") print("1") elseif Character:WaitForChild("WeaponActive") == true then --Put .Value after ("WeaponActive") print("0") end
When using bool values and checking if there false or true you gotta do .Value after the boolvalue thats why it aint working