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 |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
| |
|
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 |
|
|
|
| 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 |
|
|
|
| 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
|
  |
| 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
|
  |
| Joined: 23 Jul 2016 |
| Total Posts: 8620 |
|
| |
|
|
| 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 |
|
|
|
| 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
|
  |
| 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
|
  |
| 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 |
|
|
|
| 26 Feb 2017 09:22 PM |
| its called roblox wiki and tutorials, scripts can do nearly anything |
|
|
| Report Abuse |
|
|
|
| 26 Feb 2017 09:22 PM |
| Do you want it so when you click a block it chooses a random number? |
|
|
| Report Abuse |
|
|
splexo
|
  |
| Joined: 23 Jul 2016 |
| Total Posts: 8620 |
|
| |
|
|
| 26 Feb 2017 10:34 PM |
https://www.roblox.com/library/672855905/Thing ??? |
|
|
| Report Abuse |
|
|
|
| 27 Feb 2017 12:24 AM |
| This is the cutest thread I've ever seen. |
|
|
| Report Abuse |
|
|