As I said in the question whenever I join my game in an online server it says that in the dev console for some reason. My script works in studio but not in an actual server why ? This is what it says "game passes can only be queried by a script running on a roblox game sever" Here is my script
id = 1008824264 wait(10) for i,v in pairs(game.Players:GetPlayers()) do if game:GetService("GamePassService"):PlayerHasPass(v,id) then wait(1) v.leaderstats.Points.Value=v.leaderstats.Points.Value + 250 v.PlayerGui.MEGAVIPWALK.Enabled = true end end