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

How to move a model to lighting?

Asked by 6 years ago

title is self explanatory.

2 answers

Log in to vote
0
Answered by
GingeyLol 338 Moderation Voter
6 years ago
local model = workspace:WaitForChild("modelName")
model.Parent = game:GetService("Lighting")
Ad
Log in to vote
0
Answered by 6 years ago

Model = script.Parent

cModel = Model:Clone()

cModel.Parent = game.Lighting

cModel.Script:Destroy()

if game.Lighting.ChildAdded:Wait() then

game.Lighting.ChildAdded:Connect(function(child)

if child.Name == Model.Name then

script.Parent:Destroy()

else

return

end

Answer this question