I made a protective services, which works and is very effective. What we could use is when someone sends in a report, we could view the location.

Now what? I made a script, and now I wanna find out the local user who sent game place link or ID.

HS = game:GetService('HttpService')
--HS.HttpEnabled = true
Token = "(personal)"
APIKey = "(personal)"
--BoardID = "lalarmID"
ListId = "(personal)"
ansholder=script.Parent.Parent.Parent.Parent.Answers
unsubmitted=true
plr=script.Parent.Parent.Parent.Parent.Parent.Parent
ansholder.Username.Value=plr.Name
if plr:IsInGroup(2756381) then
	ansholder.Rank.Value=plr:GetRoleInGroup(2756381)
end



function onClick(mouse)
	if ansholder.MassPatrol.Value==true then
		MP="Yes"
	else MP="No"
	end
	if ansholder.Donated.Value then
		donated="Yes"
	else
		donated="No"
	end
	if ((unsubmitted)) then
		unsubmitted=false
		script.Parent.Text="Submitted!"
		script.Parent.BackgroundColor3=Color3.new(54/255, 177/255, 20/255)
		script.Parent.TextColor3=Color3.new(0,0,0)
		local desc="\n**Reason**: "..ansholder.City.Value
		AddCard((ansholder.Rank.Value.." ["..ansholder.Username.Value.."]"),ListId,desc)
		script.Parent.Parent.Parent.Visible=false
	end	
end

function AddCard (Name, ListID, Desc)
	
	local NewCard = {}
	
	NewCard.name = tostring(Name)
	NewCard.desc = Desc
	NewCard.key = APIKey
	NewCard.token = Token
	
	local CardEncode = HS:JSONEncode(NewCard)

	HS:PostAsync("https://api.trello.com/1/lists/"..ListID.."/cards", CardEncode)
end


script.Parent.MouseButton1Down:connect(onClick)

1 comment

0

So, from what I'm understanding, you're using a local script and this is sending information to a trello board? You then want to get the players name and send that information as well?