So I made this script that makes a brick resize on keydown. But problem is it's not doing it. Is there a specific way to resize a brick like this?
Player = game.Players.LocalPlayer Mouse = Player:GetMouse() function Out(key) if key == "q" then for i = 0,4.46,0.1 do script.Parent.Blade.Size = Vector3.new(0.3, i, 0.3) --[[ If this is wrong please tell me the way to fix it.]]-- wait(0.1) end end Mouse.KeyDown:connect(Out)
There's nothing wrong with that script, any output? And is this a localscript?