hi devs!, so i have this problem when im trying to make the pivoter to nil it won’t work also gives me an error. Because i want to check if the statement is met then i want to make the method won’t work again. If you’re confused so sorry bout that. Thanks
local pivoter
pivoter = Character:PivotTo(checkpoint["1"].CFrame + Vector3.new(0, 5, 0))
if stages.Value == 2 then
print(pivoter)
pivoter = nil
else
Thats the code. So what i want to do is to make the pivoter to nil but it says nil is not a value. But i want it to be nil so it won’t pivot again when im in the if statement. Thanks!