So i've created a Firework animation that plays from the players head once something is completed. But I wanted to test it out so I used the output 'Run a command' and typed in 'local firework = require(game.StarterPlayer.StarterPlayerScripts:WaitForChild("Firework").PlayAnimation()' but this comes unknown in the start. Is there something wrong with my script or are we not allowed to require in client
Require is used on ModuleScripts, and in fact you can only require ModuleScripts. You can however require ModuleScripts from both client and server.
Require is used on ModuleScripts, and in fact you can only require ModuleScripts. You can however require ModuleScripts from both client and server.