I get a error when trying to use this code I made, and i'm not sure why. Help?
Error: Players.Player.PlayerGui.ScreenGui.TextButton.LocalScript:4: unexpected symbol near ','
script.Parent.MouseButton1Down:connect(function(clicker) repeat clicker.Character.Head.Mesh.Scale = clicker.Character.Head.Mesh.Scale + 0.25, 0.25, 0.25 until clicker.Character.Head.Mesh.Scale == 4, 4, 4 end)
script.Parent.MouseButton1Down:connect(function(clicker) repeat clicker.Character.Head.Mesh.Scale = clicker.Character.Head.Mesh.Scale + Vector3.new(0.25, 0.25, 0.25) until clicker.Character.Head.Mesh.Scale == Vector3.new(4, 4, 4) end)
This should work.
This might work.
function clicker() repeat clicker.Character.Head.Mesh.Scale = clicker.Character.Head.Mesh.Scale + Vector3.new(0.25,0.25,0.25) until clicker.Character.Head.Mesh.Scale==Vector3.new(4,4,4) end script.Parent.MouseButton1Down:connect(clicker)
Hope this helped!