Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 6 years ago

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

Log in to vote
0
Answered by 6 years ago

Make sure your script is a localscript.

0
That isn't an answer, it's a comment. superhudhayfa 39 — 6y
Ad

Answer this question