Hello, I'm working on a code-type game that involve a bool value, which needs to be completely random. Whenever I try to make it random, it is always end up being true. Here's the methods that I've tried.
local BoolValue = script.Parent.BoolVaule BoolValue.Value = Random -- Didn't work BoolValue.Value = true or false -- Didn't work BoolVaule.Value = Random(true,false) -- Didn't work BoolValue.Value = Random(true or false) -- Also didn't work
local trueAndFalse = {true, false}
trueAndFalse[math.random(1, 2)]
sorry im a year too late hahaha