So i made a game and everything works fine in studio but when i go in game nothing works litterly no script works and ik the scripts are right somebody knows why?
litterly no script works and ik the scripts are right somebody knows why?
1 answer
While in studio using the Local Server testing, whether in Filtering Enabled or not, your game will run ignoring Filtering Enabled. The only way to truly test it is to use the simulated server tests available near the regular studio testing button. This will give you a more realistic experience with testing (despite the long wait of it getting set up).
Your issue is likely that you are trying to either like T1mes commented, use Local Scripts on the serverside, or you are trying to access serverside things from the client, or access clientside things from the server.
Things to note:
Don't use
local player = game.Players.LocalPlayer
while in a Script, that is only meant for Local Scripts since Local Scripts only work on the client.
If you don't understand what Filtering Enabled is or what the serverside or clientside of games are, you should look here first https://devforum.roblox.com/t/what-is-filteringenabled/67927
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Is filtering enabled on and they’re local scripts? You could also check if they’re disabled in properties or check if they’re in a place they could run such as workspace or player. There’s so many factors that I’m afraid you’re going to have to go into more detail for further help.