Help for Animation

Hello everyone! We want to ask you for help with a script error. Our script works on Roblox Studio but not in game because the console shows this error:
We also give you the script…
Thanks for your help.


unknown (1)

Try

local shockButton = workspace:WaitForChild("ShockButton"):WaitForChild("Button")
1 Like

Hi, thank you very much! The dictionary error is not for this script… It’s still strange that on Roblox it works and not on the game… Finally thank you for helping us!

The reason that it works in Studio and not in a live game is that the Studio playtest session is connected to a local server based on your internet connection, while live games are connected to random servers across the world, so ping is definitely higher.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.