Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Is there a way to block the reset when I change CoordinateFrame?

I've been trying to make an overhead style game on roblox and for the most part all the camera stuff is going decently well I have just one issue. Whenever I try to go to the next room I change the CoordinateFrame to be above and in the center of the next room, but everytime I change CoordinateFrame I die.

cam.CoordinateFrame = CFrame.new(113.5, 30.5, -0.5) --this is the code I use to change coordinate frame.

cam.Focus = CFrame.new(113.5, 0, -0.5) --and this is the code I use to change where the camera is looking I tested it and it's the first line of code that resets the player.

The CoordinateFrame moves but there's a reset is there anyway to block the reset?

1 answer

If you mean disabling resetting then you can set the coregui as you please

game:GetService("StarterGui"):SetCore("ResetButtonCallback",false) should disable the reset button then you can re-enable whenever you seem fit by changing false to true

This discussion is preserved as it was. New answers, comments, and votes are closed.