would i need to use the place id? how would i ffind the visits? how would i make it update?
an someone help me i've never done that before..
would i need to use the place id? how would i ffind the visits? how would i make it update?
an someone help me i've never done that before..
--settings
local updateTime = 3
local placeId = 2473334918
--constants
local link = "https://www.rprxy.xyz/games/"
--shortcuts
local Functions = game.ReplicatedStorage.Functions
local http = game:GetService("HttpService")
--functions
local NumberWithCommas = require(Functions.NumberWithCommas)
--update function
local function update()
local web = http:GetAsync(link .. placeId)
local start,last = web:find("Visits")
repeat
last = last + 1
until tonumber(web:sub(last,last)) ~= nil or last > web:len()
local mem = last
repeat
last = last + 1
until web:sub(last,last) == ">" or last > web:len()
local count = web:sub(mem,last-1)
script.Parent.SurfaceGui.Count.Text = count
end
while true do
update()
wait(updateTime)
end
replace the PlaceID and UpdateTime
script taken from here: Click Me!
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
If you're going to answer with a stolen script, you should at least explain how it works.