Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

I am wondering if this is the right code for a ingame notifier?

I am making a ingame item notifier and I am wondering if this is the right http code?

Http = game:GetService"HttpService"
while wait(1) do
	DataTaken = Http:GetAsync("http://roproxy.tk/catalog/json?Subcategory=17&SortType=3&IncludeNotForSale=true&ResultsPerPage=3")
	Data = Http:JSONDecode(DataTaken)
	for Num in pairs(Data) do
		if script.Parent.Frame[Num].AssetId.Value ~= Data[Num]["AssetId"] then
		script.Parent.Frame[Num].AssetId.Value = Data[Num]["AssetId"]
		if script.Parent.Frame.Visible == false then
		script.Parent.OpenNClose.TextButton.Text = "!"
		script.Parent.OpenNClose.BackgroundColor3 = Color3.new(255,0,0)
		end
		end
	end
end


Please answer (I KNOW THIS ISNT THE ONLY SCRIPT JUST THE MAIN)

1 answer

✓ Accepted answer

I don't see why you couldn't have checked this.. but yes, I presume it's the correct URL.

The page showed a long table full of a lot of different things.

This discussion is preserved as it was. New answers, comments, and votes are closed.