Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do you make this part go from the model to workspace?

i want to make this part come out of the model into the workspace but it is not working this is my code at the moment:

local water = script.Parent

water.parent = Workspace -- i have tried this with a lowercase w for workspace
while true do
	water.CFrame = water.CFrame * CFrame.new(0, 0.2, 0)
 end 

1 comment

0

.Parent with a capital P. Please try to work out the answer on your own before coming here.

1 answer

Parent must be capitalized and it's better to use game.Workspace

water.Parent = game.Workspace

2 comments

0

workspace with a lowercase "w" works just as well.

0

still doesn't work, is it because the model itself is in workspace?

This discussion is preserved as it was. New answers, comments, and votes are closed.