I need part zone that change gravity without any problems, sometimes when I jump in or walk in its change the gravity to sometimes ealse everytime, well I don’t know alots of the Force things so I will happy to get some help.
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)*workspace.Gravity
end
end
parent.Touched:connect(onTouch)```