print("You have sucessfully loaded bxluga's item finder. Say id/(id) to start scanning. (without the ()'s)")
local objid = 123
game:GetService("Players").PlayerAdded:connect(function(p)
p.Chatted:connect(function(c)
if c:sub(1,3):lower() == "id/" then
objid = c:sub(4)
print("The item id has been sucessfully changed.")
end
end)
end)
local objid = 123
local framenumber = 1
local service = game:GetService("MarketplaceService")
local co = coroutine.create(function()
while true do
for i = 1,15 do
local num = objid + framenumber
local obj = service:GetProductInfo(num)
if obj.Creator ~= nil then
if obj.Creator.Name == "ROBLOX" then
print("Item found! Name: "..obj.Name.." ID: "..num.."")
script.Parent.Sound:play()
end
end
script.Parent.Name = "Object Checked: "..num..""
framenumber = framenumber + 1
end
end
end)
coroutine.resume(co)
COMMUNITY QUESTION
I am trying to make an item scanner, Why isn't my script running as it should be?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
have you tried making your own script without copying it?