rEvents.CreateVote.OnClientEvent:Connect(function(name,imageId) local image = Instance.new("ImageButton",voteFrame) image.Name = name image.BorderSizePixel = 0 image.BackgroundTransparency = 0.65 image.BackgroundColor3 = Color3.fromRGB(0,0,0) image.Image = "rbxassetid://".. imageId
image.MouseButton1Click:Connect(function()
if currentVote == image then
else
currentVote = image
rStorage.AddVote:FireServer(name)
end
end)
configs.Status:GetPropertyChangedSignal("Value"):Connect(function() interText.Text = configs.Status.Value end)
