Part that change gravity and animation (for Dropper)

Part that change gravity and animation in touch (change back when you die)

I have problem that gravity change sometimes (to diffrent gravity that I didn’t add) and the animation don’t work somehow (the animation are fine)

script.Parent.Transparency = 1
parent = script.Parent

function onTouch(hit)
	if hit:FindFirstChild("NoGrav") == nil then --This prevents from spamming the script inside the part
		local bf = Instance.new("BodyForce")
		bf.Name = "NoGrav"
		bf.Parent = hit
		bf.Force = Vector3.new(0,hit:GetMass(0),0)*workspace.Gravity
	end
end

parent.Touched:connect(onTouch)```

```lua
function onTouch(hit) 

if hit.Parent:findFirstChild("Humanoid") ~= nil then
		local h = hit.Parent:findFirstChild("Humanoid")

		hit.Parent.Animate.fall.FallAnim.AnimationId = "rbxassetid://9994619922"
end
end

script.Parent.Touched:connect(onTouch)