Heres my code, i get an error of "scale cannot be assigned to"
while true do for x = 0, (math.pi/3), 0.1 do script.Parent.Position.Y.Scale = -0.5 * math.sin(3 * x) wait(0.1) end end
while true do for x = 0, (math.pi/3), 0.1 do script.Parent.Position -= vector3.new(0,-0.5 * math.sin(3 * x),0) wait(0.1) end end
try this