|
| 25 Dec 2014 09:59 PM |
I get this error:
21:55:56.497 - Unable to find module for asset id 21:55:56.524 - Script 'Workspace.Script', Line 1 21:55:56.524 - Stack End
line 1: local math = require(196716097)
I saved the module script as a model in roblox, but it isn't working correctly. |
|
|
| Report Abuse |
|
|
|
| 25 Dec 2014 10:07 PM |
| That looks correct, unless it was changed. |
|
|
| Report Abuse |
|
|
| |
|
128GB
|
  |
| Joined: 17 Apr 2014 |
| Total Posts: 8056 |
|
|
| 25 Dec 2014 11:15 PM |
| Try it from not the command bar |
|
|
| Report Abuse |
|
|
128GB
|
  |
| Joined: 17 Apr 2014 |
| Total Posts: 8056 |
|
|
| 26 Dec 2014 12:35 PM |
I tried it from not the command bar and it still doesn't work
I can't figure it out, I personally wouldn't require it by ID though but I still wonder why its not working
Does it maybe not work anymore? Someone should try it with scripth's admin or some other script that does it that we know used to work (Scripth's does it so you can't see or change the part of the script that admins him) |
|
|
| Report Abuse |
|
|
|
| 26 Dec 2014 12:37 PM |
| Yeah, it doesn't work anymore. I've run into this problem before. |
|
|
| Report Abuse |
|
|
|
| 26 Dec 2014 01:50 PM |
Make sure the modulescript you upload is named MainModule
logic is logical |
|
|
| Report Abuse |
|
|
| |
|
128GB
|
  |
| Joined: 17 Apr 2014 |
| Total Posts: 8056 |
|
|
| 26 Dec 2014 05:52 PM |
It bothers me a lot that you did this
math.round = function(n, place) -- rounds n to the 'place' place. return math.floor(n * 1/place + 0.5)/(1/place) end
Instead of
function round(x, y) return (math.floor((x / (y or 1)) + 0.5) * (y or 1)) end
So that it does less math since it doesn't need to, and y is a option
Also, how did you know it had to be named MainModule? The wiki didn't say >.< |
|
|
| Report Abuse |
|
|
128GB
|
  |
| Joined: 17 Apr 2014 |
| Total Posts: 8056 |
|
|
| 26 Dec 2014 06:34 PM |
'function round(x, y)'
I meant to say
function math.round(x, y)
|
|
|
| Report Abuse |
|
|
|
| 27 Dec 2014 04:49 PM |
| @128GB, I updated it now (and the others). |
|
|
| Report Abuse |
|
|