Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why can't I clone MeshPart from ServerStorage?

Asked by
Seyfert 90
7 years ago
Edited 7 years ago

If I try to clone a meshpart from serverstorage into Workspace it looks like it happens but I do not see my meshpart/brick, why is this?

Here is my code

local brick = game.ServerStorage.Model.Brick1
brick:clone().Parent = game.Workspace
brick.Position = game.Workspace.ReferenceBrick.Position

If I change "local brick = game.ServerStorage.Model.Brick1" to "local brick = game.Workspace.Model.Brick" meaning that I move the Model into workspace, the brick gets cloned and gets moved to where ReferenceBrick is, however it always ends up upside down.

ALSO NOTE: Why does my meshpart keep changing orientation in Play mode? Even after I rotate it it keeps rotating back on its own.

0
Local script's cant access server storage... is it a local script? Void_Frost 571 — 7y

1 answer

Log in to vote
0
Answered by
WindNT 16
7 years ago

Hi Seyfert, I am not sure if this will work for you but I had a similar issue and I fixed it by moving the model/part to Game.Lighting instead of Server Storage.

Hope this helps!

WindNT :D

Ad

Answer this question