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: Can someone make me a model that picks 3 numbers randomly?

Previous Thread :: Next Thread 
splexo is not online. splexo
Joined: 23 Jul 2016
Total Posts: 8620
26 Feb 2017 07:56 PM
Link 3 numbers slots 0-9


Just as simple as that, I'll pay for it


And i want it to pick the numbers randomly on each click by a certain person


Oh and make sure it cant be exploited to someone's preferred number.




Report Abuse
Gomlsauresrex is not online. Gomlsauresrex
Joined: 25 Mar 2016
Total Posts: 3588
26 Feb 2017 07:57 PM
local num1 = math.random(300)
local num2 = math.random(200)
local num3 = math.ranodm(100)

print(num1)
print(num2)
print(num3)
Report Abuse
Wunder_Wulfe is online. Wunder_Wulfe
Joined: 13 Sep 2016
Total Posts: 8356
26 Feb 2017 07:58 PM
click_detector.MouseClick:connect( function( player )
print( player )
local r1, r2, r3 = math.random(0, 9), math.random(0, 9), math.random(0, 9)
print( r1, r2, r3 )
end)
done lol
Report Abuse
TheBenSquare is not online. TheBenSquare
Joined: 13 Dec 2009
Total Posts: 13604
26 Feb 2017 07:59 PM
workspace.Part.ClickDetector.MouseClick:connect(function()
local one,two,three = math.random(0,9),math.random(0,9),math.random(0,9)
print(one,two,three)
end)
Report Abuse
Wunder_Wulfe is online. Wunder_Wulfe
Joined: 13 Sep 2016
Total Posts: 8356
26 Feb 2017 07:59 PM
reverse ninjad
Report Abuse
splexo is not online. splexo
Joined: 23 Jul 2016
Total Posts: 8620
26 Feb 2017 08:02 PM
3 different scripts


which one is better?


and where do i put it?


Report Abuse
Wunder_Wulfe is online. Wunder_Wulfe
Joined: 13 Sep 2016
Total Posts: 8356
26 Feb 2017 08:03 PM
u first learn how to script so u dont forcefully take full credit for 'knowing' how to make it
and then u change our pseudo-code
Report Abuse
Gomlsauresrex is not online. Gomlsauresrex
Joined: 25 Mar 2016
Total Posts: 3588
26 Feb 2017 08:04 PM
local num1 = math.random(9)
local num2 = math.random(9)
local num3 = math.random(9)

I didnt read all of the post.

lel.
Report Abuse
splexo is not online. splexo
Joined: 23 Jul 2016
Total Posts: 8620
26 Feb 2017 08:09 PM
Im not taking credit



which is why I said i'd pay for one of you to make it

but instead u guys gave me codes


Report Abuse
splexo is not online. splexo
Joined: 23 Jul 2016
Total Posts: 8620
26 Feb 2017 08:31 PM
help


Report Abuse
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
26 Feb 2017 08:35 PM
What else do you need help with? They listed the method you need to use (MouseClick), and the way to obtain random numbers (math.random). There should be a ClickDetector, and it should be referenced, so you can call .MouseClick().
Report Abuse
Unsubtleties is not online. Unsubtleties
Joined: 28 Nov 2016
Total Posts: 9203
26 Feb 2017 08:38 PM
local function rand()
return math.random(10) - 1
end

local num1, num2, num3 = rand(), rand(), rand()

3 random numbers from 0-9. There you go.
Report Abuse
splexo is not online. splexo
Joined: 23 Jul 2016
Total Posts: 8620
26 Feb 2017 09:19 PM
Where do i start smh



I have the model in front of me


when I go to insert object on part, what do I press?




Report Abuse
splexo is not online. splexo
Joined: 23 Jul 2016
Total Posts: 8620
26 Feb 2017 09:21 PM
How does a scipt even make numbers show on a block?


all i have is a part, it doesnt have numbers or anything, just a normal part


Report Abuse
Wunder_Wulfe is online. Wunder_Wulfe
Joined: 13 Sep 2016
Total Posts: 8356
26 Feb 2017 09:22 PM
its called roblox wiki and tutorials, scripts can do nearly anything
Report Abuse
Intended_Pun is not online. Intended_Pun
Joined: 10 Aug 2016
Total Posts: 4384
26 Feb 2017 09:22 PM
Do you want it so when you click a block it chooses a random number?
Report Abuse
splexo is not online. splexo
Joined: 23 Jul 2016
Total Posts: 8620
26 Feb 2017 09:44 PM
Yes I do


Report Abuse
Intended_Pun is not online. Intended_Pun
Joined: 10 Aug 2016
Total Posts: 4384
26 Feb 2017 10:34 PM
https://www.roblox.com/library/672855905/Thing
???
Report Abuse
AbstractCode is not online. AbstractCode
Joined: 26 Aug 2016
Total Posts: 654
27 Feb 2017 12:24 AM
This is the cutest thread I've ever seen.
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