|
| 08 Mar 2016 05:13 PM |
| Like you press or touch a button and it teleports you to one of the 5 different cordinates that you chose? |
|
|
| Report Abuse |
|
|
os_time
|
  |
| Joined: 15 Feb 2014 |
| Total Posts: 2247 |
|
|
| 08 Mar 2016 05:15 PM |
coordinates[math.random(1, #coordinates)]
http://www.roblox.com/mne-item?id=374063815 http://www.roblox.com/yee-item?id=376895439 #code ARCUS |
|
|
| Report Abuse |
|
|
|
| 08 Mar 2016 05:19 PM |
so something like?
function onhit(hit) local cordinates = { 1,1,1 2,2,2 3,3,3 }
if player touched brick
coordinates[math.random(1, #coordinates)]
end |
|
|
| Report Abuse |
|
|
os_time
|
  |
| Joined: 15 Feb 2014 |
| Total Posts: 2247 |
|
|
| 08 Mar 2016 05:21 PM |
local coordinates = {Vector3.new(1,1,1), Vector3.new(0, 10, 1)} print(coordinates[math.random(1, #coordinates)])
http://www.roblox.com/mne-item?id=374063815 http://www.roblox.com/yee-item?id=376895439 #code ARCUS |
|
|
| Report Abuse |
|
|