BoolValue not being set to true?

Why is the bool value not being set to true?

while wait() do
	print(game.ReplicatedStorage.BoolBalue.Value)
	if game.ReplicatedStorage.BoolBalue.Value == false then
		for i = 60,0,-1 do
			wait(1)
			game.ReplicatedStorage.Value.Value = i
			print(i)
		end
		for i, v in pairs(game.Players:GetPlayers()) do
			local X = math.random(7.4,98.4)
			local Y = math.random(-48.11,44.39)
			v.Character.HumanoidRootPart.CFrame = CFrame.new(X,6,Y)
			local sword = game.ReplicatedStorage.ClassicSword:Clone()
			sword.Parent = v.Backpack
		end
		game.ReplicatedStorage.BoolValue.Value = true -- problem
	end
end

btw there is no error

ur Boolvalue is mispelled or what?

BoolBalue?

No i just named the value as that for no reason it shows no error there is no mis spell

1 Like

or maybe you are waiting for the forloop that takes 60 seconds and then set the value to true?

1 Like

Works thanks a lot, I also so an error in some other script so thanks a lot!

1 Like