generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

"ServerStorage is not a valid member of DataModel"

Previous Thread :: Next Thread 
Rocky28447 is not online. Rocky28447
Joined: 11 Dec 2009
Total Posts: 2912
21 Feb 2015 05:16 PM
1|wait(1)
2|
3|local player = game.Players.LocalPlayer
4|--local gui = player.PlayerGui.Gui
5|local c = game.Workspace.CurrentCamera
6|local items = c:FindFirstChild("_Localize")
7|if (not items) then
8| items = game.ServerStorage._Localize:Clone()
9| for _,v in pairs(items:GetChildren()) do
10| for _,v2 in pairs(player.DoNotLocalize:GetChildren()) do
11| if (v.Name == v2.Value) then
12| v:Remove()
13| end
14| end
15| end
16| items.Parent = c
17| items:MakeJoints()
18|end

18:15:06.258 - _Localize is not a valid member of ServerStorage
18:15:06.259 - Script 'Players.Player1.PlayerGui.Gui.Intro.LocalObjects', Line 8
18:15:06.260 - Stack End
Report Abuse
Rocky28447 is not online. Rocky28447
Joined: 11 Dec 2009
Total Posts: 2912
21 Feb 2015 05:22 PM
Sorry, posted the wrong error:

18:20:35 -- ServerStorage is not a valid member of DataModel
18:20:35 -- Script 'Players.Rocky28447.PlayerGui.Gui.Intro.LocalObjects', Line 8
18:20:35 -- Stack End
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
21 Feb 2015 05:27 PM
LocalScripts can't access ServerStorage.
Report Abuse
Seranok is not online. Seranok
Joined: 12 Dec 2009
Total Posts: 11083
21 Feb 2015 05:28 PM
If you want local scripts to be able to access something, put it in ReplicatedStorage.
Report Abuse
Rocky28447 is not online. Rocky28447
Joined: 11 Dec 2009
Total Posts: 2912
21 Feb 2015 05:29 PM
Ohhh. Then what should I use instead?

People screamed at me for using Lighting so I used ServerStorage.
Report Abuse
Rocky28447 is not online. Rocky28447
Joined: 11 Dec 2009
Total Posts: 2912
21 Feb 2015 05:30 PM
@Seranok Ty man.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image