I have problem that gravity change sometimes (to different gravity that I didn’t add) and the animation don’t work somehow (the animation are fine)
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)
script.Parent.Transparency = 1
parent = script.Parent
function onTouch(hit)
if hit:FindFirstChild("NoGrav") == nil then
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)
Inside part the gravity one its inside the zone part and the animation inside other part
I jump on the parts and the animation keep bugging and the gravity
So about the Animation, Make sure you change the Animation Priority Above Movement so it doesnt get overwritten by other animations, not sure if that will help but try it
Ok sorry I had to go for little
I need slowly fall for dropper game like the normal but little smaller
About he second I dont rly understood that sorry
no(if i understood true)
script.Parent.Transparency = 1
parent = script.Parent
function onTouch(hit)
if hit:FindFirstChild("NoGrav") == nil then
local bv = Instance.new("BodyVelocity", hit)
bv.Name = "NoGrav"
bv.Velocity = Vector3.new(0,workspace.Gravity *2,0)
end
end
parent.Touched:connect(onTouch)