When I disable platform stand using this script, the player/dummy get flung into the air. I would prefer it to have nearly no delay because delay is really important in my game

script.Parent.Changed:Connect(function()
	if script.Parent.Value == true then
		script.Parent.Parent.Humanoid:UnequipTools()
		script.Parent.Parent.Humanoid.PlatformStand = true
	elseif script.Parent.Value == false then
		script.Parent.Parent.Humanoid.PlatformStand = false
	end
end)