Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

14:38:11.703 - ServerScriptService.CrawlHandler:25: attempt to index nil with 'Value'?? [closed]

Asked by 4 years ago

I don't understand the error code. Please help to understand the error .

Closed as Not Constructive by JesseSong, youtubemasterWOW, SoftlockedUnderZero, and Nguyenlegiahung

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

2 answers

Log in to vote
0
Answered by 4 years ago

You refenced plr outside of the game.PlayerAdded function, so it won't know what plr means, so there is no value to the variable, making it not even a variable, so it is nil.

0
The error is at line 25 JesseSong 3916 — 4y
Ad
Log in to vote
0
Answered by 4 years ago

you're missing the =

local CrawlValue = plr:WaitForChild("CrawlEnabled")
0
I already fix it slevenman -5 — 4y