Hey ! im here again , and i want a part (its supposed to be lava) if you touch it then damage you but the problem is that i want it to maybe make the person who is in the lava float in the lava because right now i cant do that , it feels just weird just having it non collided , i have the idea maybe changing the gravity to low while in the lava , but i cant do that , help?
function onTouched(hit)
if hit.Parent:findFirstChild("Humanoid") then
hit.Parent.Humanoid:TakeDamage(1) wait = 1 and hit.Parent.Humanoid:TakeDamage(1)
end
end
script.Parent.Touched:connect(onTouched)
Thanks if answered!

4 comments
smh
use y velocity
can't you just have fake non collidable lava and then a bit lower make a real collidable damaging part, thus making them 'float in the lava'
anchor it