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