I keep getting an error: attempt to index nil with 'WaitForChild'
this is my code, im trying to make a timer server sided:
game.Players.PlayerAdded:Connect(function(plr)
local jkds = plr.Character:WaitForChild("jkds")--this is the line i'm getting the error on,
--[[
jkds is a folder is in the player's character that contains two number values, minutes and seconds.
--]]
local minutesvalue = jkds:WaitForChild("Minutes")
local secondsvalue = jkds:WaitForChild("Seconds")
local minutes = 61
local seconds = 19
also it only errors on that line, but not in this line, which i have placed a couple of lines down from this block of code:
local char = plr.Character
local TalibanQualify = char:WaitForChild("Team_InfoHolder").TalibanQualify
TalibanQualify.Value = true