generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: How to make twitter code gui

Previous Thread :: Next Thread 
Sallomy is not online. Sallomy
Joined: 06 Jun 2013
Total Posts: 8
15 Aug 2017 12:24 AM
How to make twitter code gui And put more than one code with different rewards like The code Zombie Gives you Gravity Coil and the code New Gives You 5000 Cash How?
Report Abuse
DevSpec is not online. DevSpec
Joined: 01 Apr 2017
Total Posts: 295
15 Aug 2017 01:23 AM
It depends on how you've structured your game.
Basically, what you'll want to do is create a RemoteFunction somewhere in your game. Next, create a TextBox GUI from which you'll read inputs from the client, as well as a submit button for entering the code. On the server, have a script that listens for invocations of said RemoteFunction from clients, and validating the inputted text. If the text is valid and has not been previously redeemed by the player (use datastores to save a list of redeemed codes for each player), award the player accordingly, and send back to the client a success/invalid response. On the client, listen for pressing of the submit button, and on the pressing of that button, invoke the RemoteFunction with the contents of the TextBox, and display the success/invalidity message that's returned by the server.

Take a look at these pages for more info:

http://wiki.roblox.com/index.php?title=Experimental_Mode

http://wiki.roblox.com/index.php?title=Building_Games_with_Experimental_Mode_Off

http://wiki.roblox.com/index.php?title=Saving_Player_Data

http://wiki.roblox.com/index.php?title=The_Fundamentals_of_Scripting_with_GUIs


Report Abuse
RuizuKun is not online. RuizuKun
Joined: 20 Jan 2016
Total Posts: 1133
15 Aug 2017 01:26 AM
AlvinBlox


This is Reality, NOT a Dream.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image