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

This script only runs in Roblox studio’s testing server, and not in real game. Why?

I’m making a game and if players reset character there are happening much bugs... I found a way to disable it, but it doens’t work in the real game, only I studio. Here’s my script:

for i = 1, 5 do
          wait(1)
          local succes, exception = pcall (function()
                game:GetService(“StarterGui”):SetCore (“ResetButtonCallback”, false)
        end)
        if succes then
            break
      end
end

(Sorry if you find to many spaces, I copyd this via a picture of my IPad.) Happy Scripting!

Kind regards, Gamer_io

1 answer

Make sure your script is a localscript.

1 comment

0

That isn't an answer, it's a comment.

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