Hey! When I’ve tried to change an int value from a script, it worked. But a few minutes later, it didn’t work anymore. Right after I’ve inserted 2 scripts with a remote event. I’ve tried removing both the scripts and remote event but it didn’t work.
What’s even stranger is that the output states the value is one although when I see it, it’s 0.
This might be a glitch with Roblox Studios viewing end but I’m honestly not sure.
local plr = game.Players.LocalPlayer local playerhasclicked = Instance.new("BoolValue") playerhasclicked.Parent = game.ReplicatedStorage playerhasclicked.Value = false script.Parent.MouseButton1Up:Connect(function() print("button") if playerhasclicked.Value == false then print("front") script.Parent.Parent.TextLabel1.Votes.Value += 1 print("up ".. script.Parent.Parent.TextLabel1.Votes.Value.. " is that value when up.") playerhasclicked.Value = true print("true") elseif playerhasclicked.Value == true then warn("You have already voted!") end end)