game:GetService("RunService").Stepped:Connect(function()
script.Parent.BodyPosition.Position = Vector3.new(script.Parent.Position.X, 92.125, script.Parent.Position.Z)
end)
I feel like this isn't an optimal way of keeping something at a certain Y coordinate. I have no idea how to work the "Body" group of objects, can I get some help?
In the screenshot provided, the boat floats using the script shown above, I feel like there definitely is a better and more efficient way of doing it than this, since I feel like this will lag the server.

2 comments
as far as i know you can attempt to use body movers, but that uses render stepped, which i guess is the most efficient
idk, im noob at scripting