The script makes an R15 player float on water, but you just get trapped beneath the surface. The game has filtering enabled disabled by the way.
function onTouched(part)
if part.Parent ~= nil then
local h = part.Parent:findFirstChild("Humanoid")
if h~=nil then
if (h.Parent.UpperTorso.Velocity.y < 5) then
h.Parent.UpperTorso.Velocity=Vector3.new(0,h.Parent.UpperTorso.Velocity.y+.7,0)
wait()
end
end
end
end
script.Parent.Touched:connect(onTouched)
Thanks if you can help me.

10 comments
Error message?
@terence404 There obviously is no error message.
@terence404 why would there be?
try filtering enbabled
If I used filtering enabled my stuff would be ruined... :I
Then why even make a game if it isn't FE?
It's none of your business, I just want my script to work.
Your code gets cut off, can you make line 6 look like my answer? I will edit it to a legitimate answer once I see the numbers.
I got it fixed
I once experienced this thingy