When you click the button, it's supposed to subtract points from the player that clicks it, but instead it subtracts points from all players in the server?
~~~~~~~~~~~~~game.Players.PlayerAdded:connect(function(player)
function onClicked()
if 1+1==2 then
wait(.4)
player.leaderstats["Maple Leaves"].Value = player.leaderstats["Maple Leaves"].Value - 10
game.Workspace.tv1.Decal.Transparency=0
script.Parent.Name=("Now Watching..")
wait(300)
game.Workspace.tv1.Decal.Transparency=1
script.Parent.Name=("Watch Pay Per View (10)")
end
end
script.Parent.ClickDetector.MouseClick:connect(onClicked)
end)
~~~~
