I just tried to start my Server with this Script:
game.Players.PlayerAdded:Connect(function(plr) local Memes = Instance.new("BoolValue") Memes.Name = "leaderstats" Memes.Parent = plr local Money = Instance.new("IntValue") Money.Name = "Money" plr.CharacterAdded:Connect(function(char) char.Humanoid.Died:Connect(function() if char.Humanoid:FindFirstChild("creator")~= nil then local Dank = Instance.new("StringValue") Dank.Value = char.Humanoid.creator.Value warn("Completed") end end) end) end)
But for some reason this error message appeared:
12:48:59.673 - ServerScriptService.Script:16: unexpected symbol near '?'
Could someone look over the Script and tell me what I did wrong?