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

How to corectly tell to a script where the part is?

Hello, in -Workspace- i got 2 Models: -Game- and -Tower- , in -Game- i got a script called -MainGame- , whit that script i want to change a propriety of a model thats in -Tower- called -Long- , soo thats the.. ”link” (i dont know a more apropiate name) that i use,but it doesent work.. soo.. what i should write instead?


L = script.Parent.workspace.Tower.Long (thats the script that i use)

the output says: workspace is not a valid member of Model "Workspace.Game"
Stack Begin - Studio Script 'Workspace.Game.MainGame', Line 128 Stack End

i simply dont completely understand how to explain to the script where is that part called -Long- .

1 comment

1

i figured it out,im soo noob L =. workspace.Tower.Long

1 answer

hey you! have you ever heard of enes? if you are in trouble, better call enes!

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