ServerScriptService Is Not A Valid Member Of DataModel ?
Asked by
6 years ago Edited 6 years ago
I Have Been Losing My Sanity And The Will To Continue Coding Even Though It Is The Most Favourite Activity For Me To Do In The Meantime.
It Works Swiftly In Studio Mode But Not In Game
"ServerScriptService Is Not A Valid Member Of DataModel
Stack Begin
Script' Players.GizmoProductions.PlayerScripts.ModePickToText ', Line 6
Stack End"
01 | Main = script.Parent.Parent |
03 | game.Workspace.NumberPlayers.Changed:connect( function () |
05 | if game.Workspace.NumberPlayers.Value > = 1 then |
06 | game.ServerScriptService.ModePicker.Disabled = false |
07 | game.SoundService.DrumRoll:Play() Main.PlayerGui.ModePickGUI.RoundShadow:TweenPosition(UDim 2. new( 0.314 , 0 , |
10 | local Rand = game.Workspace.Mode.Value |
11 | Main.PlayerGui.ModePickGUI.RoundShadow.DropShadow.Namez.Text = Rand |