ServerScriptService.Script:4: attempt to concatenate nil with string

Yes.

local GlitchURL = "https://################/" --Place the glitch project URL inside of the quotes

function rankUser(UserId, RoleId)
	game:GetService("HttpService"):GetAsync(GlitchURL .. "ranker?userid=" .. UserId .. "&rank=" .. RoleId)
end



game.ReplicatedStorage.RankEvent.OnServerEvent:Connect(function(UserId, RoleId)
	print(UserId)
	print(RoleId)
	rankUser(UserId, RoleId)
end)

And another argument to the when connecting the function and done.

You forgot ‘player’ parameter again.

3 Likes

Sorry, other people suggested I remove that.

From the local script. Not the server script.

2 Likes

Thank you soo much dude :smile:. It works now.
Also thanks to everyone else in this thread that helped me.

1 Like