MaxproGlitcher

CutsceneTutorial

Jul 12th, 2026
17
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1.  
  2. local oldNamecall
  3. oldNamecall = hookmetamethod(game, "__namecall", function(self, ...)
  4. local method = getnamecallmethod()
  5.  
  6. if not checkcaller() and typeof(self) == "Instance" and self.Name == "CutsceneTutorial" and method == "Destroy" then
  7. return
  8. end
  9.  
  10. return oldNamecall(self, ...)
  11. end)
  12.  
  13. local oldNewindex
  14. oldNewindex = hookmetamethod(game, "__newindex", function(self, key, value)
  15. if not checkcaller() and typeof(self) == "Instance" and self.Name == "CutsceneTutorial" and key == "Visible" and value == true then
  16. return oldNewindex(self, key, false)
  17. end
  18.  
  19. return oldNewindex(self, key, value)
  20. end)
Advertisement
Add Comment
Please, Sign In to add comment