|
| 11 Jul 2015 10:06 PM |
I used this line:
local iw = game:GetService("ReplicatedStorage"):WaitForChild("InstaWeld"):Clone() iw.Parent = mm --------------mm is a Model iw.Disabled = false
it works perfectly in Studio, but in Game, no scripts are working. I tried print and they're all good in the main script. I put a print in the first line of "InstaWeld" and no output. I really don,t understand. It's the first time that I see that problem. |
|
|
| Report Abuse |
|
|
| |
|
|
| 11 Jul 2015 10:35 PM |
Well, something is wrong in my main script that makes no sense.
local mm = game.Lighting:FindFirstChild("Majoras Mask"):Clone() mm.Parent = workspace.CurrentCamera
In an other script, I tried to print if the model was in CurrentCamera then this output appeared: Majoras Mask is not valid member of Camera.
This makes no sense. I properly put the model in CurrentCamera but it says nothing's inside. |
|
|
| Report Abuse |
|
|
|
| 11 Jul 2015 10:39 PM |
You should have been more specific. I thought you were talking about if scripts could run inside a camera. Things in a camera can only be detected by a local script, since the parts in the camera are local, is it a local script? If not is it held in any camera other than the main camera? Because roblox deletes any camera copies named camera in game but not in studio |
|
|
| Report Abuse |
|
|
|
| 11 Jul 2015 10:41 PM |
| Oh that could explain why it's not detected from a global script. Thank you! |
|
|
| Report Abuse |
|
|