How do I DataStore twitter codes?
Hey. I need help with my twitter codes. Basically, I want the twitter code to make it so that every time you enter the game, you are given the money that the code gives you, and also I wish to know how to make each code only enter-able once. If someone could help out that'd be great.
01 | local money = game.ServerStorage.PlayerMoney.LocalPlayer.value |
02 | local input = script.Parent.Parent.Input.Text |
03 | local finish = script.Parent.Parent.Finish.Text |
04 | local invalid = { 'nop' , 'try again scrub' , 'lol no' , 'noob' } |
06 | script.Parent.MouseButton 1 Click:Connect( function () |
07 | if input = = 'Warfar3' then |
12 | elseif input = = 'K1ngR3troc' then |
18 | for i,v in pairs (math.random( 1 , 5 )) do |