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

Super Simple Script Has A Warning What is this and why is it happening?

I have a script. Everything but the wait() is underlined in blue and I do not know why. Here it is: located in starterGUI

wait(1)
game.Workspace.Stone.Stone = 175, 74, 165
game.Workspace.Stone.Stone.Position = 308.09, 35.63, 248.93	

3 comments

0

what does the underline say and its a syntax error which means the line above has a syntax error

0

Cannot assign 3 variables for 1 value. Also on line 2 I meant game.Workspace.Stone.Stone.Size = 175, 74, 165

0

Don't forget to accept my answer;;

1 answer

✓ Accepted answer

This isn't due to your wait() function. This is because of syntactical errors elsewhere in your code; you're trying to assign a barrage of digits to a property that expects a single datatype. The two properties you wish to modify, need Vector3s.

Stone.Position = Vector3.new(308.09, 35.63, 248.93)
Stone.Size = Vector3.new(175, 74, 165)

3 comments

0

What about my size?

0

on line 2 I meant game.Workspace.Stone.Stone.Size = 175, 74, 165

0

Thx

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