Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Server Storage Nil Value?

I'm trying to make a text box thing for my Sword Fighting Game. It's also my first time doing anything so I don't really know what anything is. I'm going off a video: https://www.youtube.com/watch?v=1MappXJ51Oo I get this every time I test my game to see if the text is working: 20:06:24.478 - ServerScriptService.MainScript:7: attempt to index global 'SeverStorage' (a nil value)

CODE:

-- Define variables

local ReplicatedStorage = game:GetService ("ReplicatedStorage")

local ServerStorage = game:GetService ("ServerStorage")

local MapsFolder = SeverStorage: WaitForChild("Maps")

local Status = ReplicatedStorage:WaitForChild("Status")

local GameLength = 60

-- Game loop

while true do

Status.Value = "Waiting for enough players"

repeat wait(1) until game.Players.NumPlayers >= 2

Status.Value = "Intermission"

wait(10)

At: local MapsFolder = SeverStorage: WaitForChild("Maps") ServerStorage is what is underlined which needs to be fixed.

Thanks for your help!

1 answer

It's only a simple typo. ServerStorage instead of SeverStorage (missing R between e and v)

damn alvinblox

This discussion is preserved as it was. New answers, comments, and votes are closed.