Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local rep = game:GetService("ReplicatedStorage")
- local booleans = rep:WaitForChild("Booleans")
- local votingsession = booleans:FindFirstChild("VotingSession")
- if votingsession.Value == true then
- script.Parent.VotingMapGui.Visible = true
- else
- script.Parent.VotingMapGui.Visible = false
- end
- votingsession:GetPropertyChangedSignal("Value"):Connect(function()
- if votingsession.Value == true then
- script.Parent.VotingMapGui.Visible = true
- else
- script.Parent.VotingMapGui.Visible = false
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement