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 » Club Houses » Clans & Guilds
Home Search
 

Re: Unique Code; for raid system

Previous Thread :: Next Thread 
uyoyalt is not online. uyoyalt
Joined: 16 Apr 2013
Total Posts: 2860
05 Jun 2014 06:44 AM
Not so good, but yeah you can generate random words here

function message(text, time)
local m = Instance.new("Message", workspace)
m.Text = text
wait(time)
m:destroy()
end

function GenerateUniqueCode()

letters = {"a","c","q","r","s","t","o","z","m","h","w","b","e"}
numbers = {1,2,3,4,5}

math.random(tick())

f1,f2,f3,f4,f5 = letters[math.random(1,#letters)],
letters[math.random(1,#letters)],
letters[math.random(1,#letters)],
letters[math.random(1,#letters)],
letters[math.random(1,#letters)];

big = math.random(1, 5)
big2 = math.random(1, 5)
big3 = math.random(1, 5)

if big == 1 then
f1 = string.upper(f1)
elseif big == 2 then
f2 = string.upper(f2)
elseif big == 3 then
f3 = string.upper(f3)
elseif big == 4 then
f4 = string.upper(f4)
elseif big == 5 then
f5 = string.upper(f5)
end

if big2 == 1 then
f1 = string.upper(f1)
elseif big2 == 2 then
f2 = string.upper(f2)
elseif big2 == 3 then
f3 = string.upper(f3)
elseif big2 == 4 then
f4 = string.upper(f4)
elseif big2 == 5 then
f5 = string.upper(f5)
end

if big3 == 1 then
f1 = string.upper(f1)
elseif big3 == 2 then
f2 = string.upper(f2)
elseif big3 == 3 then
f3 = string.upper(f3)
elseif big3 == 4 then
f4 = string.upper(f4)
elseif big3 == 5 then
f5 = string.upper(f5)
end

message("The raiders have successfully won, your unique code is: "..f1..
(numbers[math.random(1,#numbers)])..f2..f3..f4..f5..
(numbers[math.random(1,#numbers)]), 5)

end

GenerateUniqueCode()
Report Abuse
Hastiliarius is not online. Hastiliarius
Joined: 02 May 2014
Total Posts: 1191
05 Jun 2014 06:45 AM
mk
Report Abuse
uyoyalt is not online. uyoyalt
Joined: 16 Apr 2013
Total Posts: 2860
05 Jun 2014 06:51 AM
b
Report Abuse
uyoyalt is not online. uyoyalt
Joined: 16 Apr 2013
Total Posts: 2860
05 Jun 2014 07:14 AM
b1
Report Abuse
uyoyalt is not online. uyoyalt
Joined: 16 Apr 2013
Total Posts: 2860
05 Jun 2014 07:17 AM
b2
Report Abuse
uyoyalt is not online. uyoyalt
Joined: 16 Apr 2013
Total Posts: 2860
05 Jun 2014 07:19 AM
b3
Report Abuse
dracomanx is not online. dracomanx
Joined: 23 May 2013
Total Posts: 15642
05 Jun 2014 07:21 AM
its going to mess you id up, dont use it

OP is dirty
Report Abuse
Unclear is not online. Unclear
Joined: 27 Aug 2011
Total Posts: 17060
05 Jun 2014 07:21 AM
Or you could just tostring tick and turn certain substrings into chars.
Report Abuse
l6v is not online. l6v
Joined: 01 Jun 2014
Total Posts: 364
05 Jun 2014 07:22 AM
wow that's a lot of unneeded string

if i had access to yia still i'd pull up my raid code script
Report Abuse
dracomanx is not online. dracomanx
Joined: 23 May 2013
Total Posts: 15642
05 Jun 2014 07:23 AM
"yia"



DAM REALLY
Report Abuse
uyoyalt is not online. uyoyalt
Joined: 16 Apr 2013
Total Posts: 2860
05 Jun 2014 07:23 AM
yeah so long1111
Report Abuse
Skyman772 is not online. Skyman772
Joined: 20 Mar 2012
Total Posts: 9305
05 Jun 2014 07:24 AM
it's a good start but otherwise inefficient

7.5/10

good effort
Report Abuse
uyoyalt is not online. uyoyalt
Joined: 16 Apr 2013
Total Posts: 2860
05 Jun 2014 07:27 AM
ok
Report Abuse
uyoyalt is not online. uyoyalt
Joined: 16 Apr 2013
Total Posts: 2860
05 Jun 2014 07:35 AM
ogre
Report Abuse
uyoyalt is not online. uyoyalt
Joined: 16 Apr 2013
Total Posts: 2860
05 Jun 2014 11:31 PM
bu
Report Abuse
uyoyalt is not online. uyoyalt
Joined: 16 Apr 2013
Total Posts: 2860
05 Jun 2014 11:35 PM
bark
Report Abuse
Codite is not online. Codite
Joined: 13 May 2012
Total Posts: 7760
05 Jun 2014 11:36 PM
[ Content Deleted ]
Report Abuse
uyoyalt is not online. uyoyalt
Joined: 16 Apr 2013
Total Posts: 2860
06 Jun 2014 12:03 AM
ty
Report Abuse
uyoyalt is not online. uyoyalt
Joined: 16 Apr 2013
Total Posts: 2860
06 Jun 2014 12:09 AM
bump
Report Abuse
uyoyalt is not online. uyoyalt
Joined: 16 Apr 2013
Total Posts: 2860
06 Jun 2014 12:34 AM
Bump.
Report Abuse
uyoyalt is not online. uyoyalt
Joined: 16 Apr 2013
Total Posts: 2860
06 Jun 2014 12:39 AM
Bump2.
Report Abuse
uyoyalt is not online. uyoyalt
Joined: 16 Apr 2013
Total Posts: 2860
06 Jun 2014 12:42 AM
Bump3.
Report Abuse
uyoyalt is not online. uyoyalt
Joined: 16 Apr 2013
Total Posts: 2860
06 Jun 2014 12:52 AM
Bump4.
Report Abuse
uyoyalt is not online. uyoyalt
Joined: 16 Apr 2013
Total Posts: 2860
06 Jun 2014 01:53 AM
Bump5.
Report Abuse
DeadCrisis is not online. DeadCrisis
Joined: 12 Mar 2011
Total Posts: 3949
06 Jun 2014 01:55 AM
What is this?
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Club Houses » Clans & Guilds
   
 
   
  • 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