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

Why does this not work?

Asked by
beastez 10
10 years ago
Workspace.Part = part

I don't even know why but when I type this in and I have made sure a million times that Part is in Workspace, it still reads back that part is not a valid member of Workspace

2 answers

Log in to vote
0
Answered by
Relatch 550 Moderation Voter
10 years ago

The problem with your script is, you didn't explain what part is.

part = game.Workspace.Part --Goes into workspace and finds "Part"

If you would like to insert a part into workspace, you would do this.

part = Instance.new("Part",workspace) --Inserts part into workspace
part.Anchored = true --Makes it anchored
0
So I typed that in and it still doesn't work beastez 10 — 10y
0
What error did you get? Also, part has to be in workspace. Relatch 550 — 10y
0
I know, and I was trying to create a tag for the object "Part" beastez 10 — 10y
0
Yes, Part Is in workspace and it says "Part is not a valid member of Workspace" beastez 10 — 10y
0
Is it a bug? beastez 10 — 10y
Ad
Log in to vote
-1
Answered by 10 years ago

I Just tested that script and it does work! :D

Answer this question