Hi! So I'm creating my game and the game doesn't detect whenever the stage the player is in changes. So, I wanna know if I can use the Changed event as an if statement like for example
local specifiedStage = -- Source Code Can't Leak it if specifiedStage.Changed then -- Do coding end
You can try this:
local specifiedStage = --your source code specifiedStage.Changed:Connect(function(changed) --Do code end)
This will make it so whenever the value is changed, it will run the function.