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
We use cookies to offer you a better experience. By using Roblox.com, you are agreeing to our Privacy and Cookie Policy.
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Does this script work

Previous Thread :: Next Thread 
TheLuaDoge is not online. TheLuaDoge
Joined: 27 Sep 2014
Total Posts: 460
27 Jul 2016 02:44 PM
Any errors or not randomizes number?


local GuessTheNumber = script
local player = game:GetService'Players':GetPlayers()
----================================================------
chosenNumber5 = newRound.chosenNumber
player.Chatted:connect(function(cht)
if cht == "newround/" then
newRound(cht)
end
if cht == chosenNumber5 and newRound() then
print(player.. "wins!")
end
end)




function newRound(msg)
wait(0.1)
local numbers = {"1", "2", "3", "4", "5", "6", "7", "8", "9", "0"}

local chosenNumber1 = math.random(1, #numbers)

if chosenNumber1 == nil then
error(chosenNumber1)
end

local chosenNumber = chosenNumber1

end


#code print("R$48 -- TheLuaDoge")
Report Abuse
darknight189517 is not online. darknight189517
Joined: 27 Dec 2013
Total Posts: 1855
27 Jul 2016 03:02 PM
what is the script for is it for a map changing script
Report Abuse
TheLuaDoge is not online. TheLuaDoge
Joined: 27 Sep 2014
Total Posts: 460
27 Jul 2016 03:03 PM
no that is not, that is for a game when a player needs to guess the number and he gets points


#code print("R$48 -- TheLuaDoge")
Report Abuse
rocklego12 is not online. rocklego12
Joined: 09 Dec 2011
Total Posts: 289
27 Jul 2016 03:07 PM
idk does it work? find out youself
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