|
| 28 Nov 2017 04:39 PM |
local Drop = require(game.ReplicatedStorage.ModuleScript)
while MineDisabled == false do Drop.Ore(5, "Dark stone grey", "Slate", 1, 0, false, false, true, script.Parent.Drop.Position, script.Parent.Parent.Parent.Name) < this is 1 line wait(2) end
"Requested module experienced an error while loading"
line 4
~Midnight || Robux: 184 |
|
|
| Report Abuse |
|
|
TaaRt
|
  |
| Joined: 26 Apr 2009 |
| Total Posts: 5039 |
|
|
| 28 Nov 2017 04:42 PM |
| Post contents of modulescript, as that's where the error is |
|
|
| Report Abuse |
|
|
|
| 28 Nov 2017 04:43 PM |
bump
~Midnight || Robux: 184 |
|
|
| Report Abuse |
|
|
|
| 28 Nov 2017 04:44 PM |
it says the error is in that script tho, and I've tested the script multiple times by its self it works fine.
but as soon as I started with that piece of code it errored.
~Midnight || Robux: 184 |
|
|
| Report Abuse |
|
|
|
| 28 Nov 2017 04:48 PM |
Well let's see... The requested module script experience an error without loading...
That means the modulescript you are requesting has an error in it.
Now I'm not quite sure if what "line 4" means, but I think it means what line the error is inside the module script. |
|
|
| Report Abuse |
|
|
|
| 28 Nov 2017 04:50 PM |
The line four thing was just stating in which line roblox said the error was at.
local Drop = {}
local Ty########### game.Players.LocalPlayer.Name function Drop.Ore(OreValue, OreColor, OreMaterial, OreSize, OreTransparency, FireEffect, ExplosionResistant, RandomCashValue, Dr######################### print("success!") local TextColor = OreColor local newPart = Instance.new("Part") newPart.BrickColor = BrickColor.new(TextColor) newPart.Transparency = OreTransparency newPart.Material = OreMaterial newPart.CFrame = CFrame.new(DropLocation) newPart.Size = Vector3.new(OreSize, OreSize, OreSize) local moneyValue = Instance.new("IntValue", newPart) moneyValue.Name = "Cash" moneyValue.Value = OreValue newPart.Parent = workspace.PartStorage[TycoonName] if FireEffect == true then local Flame = Instance.new("Fire", newPart) else if ExplosionResistant == true then newPart.Density = 3 else if RandomCashValue then local Random = OreValue / 1.3 local UpdatedCash = math.random(Random, OreValue) moneyValue.Value = UpdatedCash end end end return newPart end
return Drop
~Midnight || Robux: 184 |
|
|
| Report Abuse |
|
|
|
| 28 Nov 2017 04:53 PM |
gggggggggggggg
~Midnight || Robux: 184 |
|
|
| Report Abuse |
|
|
| |
|
|
| 30 Nov 2017 03:06 PM |
i still need help with this smh
~Midnight || Robux: 184 |
|
|
| Report Abuse |
|
|
|
| 30 Nov 2017 03:14 PM |
Are you requiring the module in a local script or server script?
|
|
|
| Report Abuse |
|
|
|
| 30 Nov 2017 03:15 PM |
Server script, I posted the module code in the replys
~Midnight || Robux: 184 |
|
|
| Report Abuse |
|
|
|
| 30 Nov 2017 03:30 PM |
CAN SOMEONE PLEASE HELP
~Midnight || Robux: 184 |
|
|
| Report Abuse |
|
|
|
| 30 Nov 2017 03:35 PM |
Well, the error you're getting means there's a problem with the module script, not the script you're requiring it in.
If the line in which you require it isn't line 4, then you'll need to post line 4 of the module script. Otherwise, I don't know what's wrong with your module.
|
|
|
| Report Abuse |
|
|
|
| 30 Nov 2017 03:59 PM |
add me so I can talk with you
~Midnight || Robux: 184 |
|
|
| Report Abuse |
|
|