I am getting that error in this code at line 8: http://prntscr.com/leehd1
The code is below:
local http = game:GetService("HttpService") local url = 'snipped' game.Players.PlayerAdded:Connect(function(player) local data = { embeds = {{ title = ''; description = 'https://www.roblox.com/users/'player.UserId'/profile'; color = 8376188; fields = { { name = '***USERNAME***'; value = player.Name; inline = true }; { name = '***LEVEL CLEARANCE***' value = "Not working until guy makes the group"; inline = true }; { name = '***DIVISIONAL RANK***'; value = "Not working until guy makes the divisions"; inline = false }; { name = "***SESSION LENGTH***"; value = "Work in progress"; inline = true } } }} } local transmit = http:JSONEncode(data) http:PostAsync(url,transmit) end
I don't know why its giving me that error when all of my brackets match up.
local http = game:GetService("HttpService") local url = 'snipped' game.Players.PlayerAdded:Connect(function(player) local data = { embeds = {{ title = ''; description = 'https://www.roblox.com/users/'..player.UserId..'/profile'; --I think u just forget the .. color = 8376188; fields = { { name = '***USERNAME***'; value = player.Name; inline = true }; { name = '***LEVEL CLEARANCE***' value = "Not working until guy makes the group"; inline = true }; { name = '***DIVISIONAL RANK***'; value = "Not working until guy makes the divisions"; inline = false }; { name = "***SESSION LENGTH***"; value = "Work in progress"; inline = true } } }} } local transmit = http:JSONEncode(data) http:PostAsync(url,transmit) end