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

Why won't this script work?

Asked by 10 years ago
script.Parent.ClickDetector.MouseClick:connect(function ()
   script.Parent.Size = 4, 1.2, 4.74
end)


script.Parent.ClickDetector.MouseClick:connect()

0
Ok, line 6, you don't need that, line 2, instead of just '4, 1.2, 4.74', do 'Vector3.new(4,1.2,4.74)' :/ TheeDeathCaster 2368 — 10y

1 answer

Log in to vote
0
Answered by 10 years ago
script.Parent.ClickDetector.MouseClick:connect(function ()
   script.Parent.Size = Vector3.new(4, 1.2, 4.74)
end)

:D

Ad

Answer this question