So for some reason, it isn't changing the TR boolvalue anyone know why?
wait(5)
local player = game.Players.LocalPlayer
local char = player.Character
local IsOwner = char.Owner
local IsOwnerFriend = char.OwnerFriend1
local IsOwnerFriend2 = char.OwnerFriend2
local IsOwnerFriend3 = char.OwnerFriend3
local Msettings = script.Parent.Parent.Settings
local TR = game.ReplicatedStorage.TimeReset.Value
local min = game.ReplicatedStorage.Min.Value
function leftClick()
print("Left mouse click")
if player == IsOwner.Value or IsOwnerFriend.Value or IsOwnerFriend2.Value or IsOwnerFriend3.Value then
TR = true
else
print("Not Owner OR Friend Of Owner")
end
end
script.Parent.MouseButton1Click:Connect(leftClick)

2 comments
This is why we don’t use Value Objects
oh... Wow I should have known thank you :)