So first of all, I'm typing on an Ipad, please bare with me.
So if I were to make a SurfaceGui with a Frame + TextButton, how would I make it trade any amount of credits you have for a certain amount of Player Points, like, for example; I have 12 Credits and I want to trade those for Player Points, how exactly would I make it do that?
I know how to function the script, but not that part exactly.
Sooo.. say you have a gui that exchanges all your credits to playerpoints when you click it..
Gui.MouseButton1Down:connect(function() cr = game.Players.LocalPlayer.Credits.Value game:GetService('PointsService'):AwardPoints(game.Players.LocalPlayer.userId, cr) end)
LocalScript, assuming that the in game credit values are stored in the player..
Hope I Helped
+1