local F local w={}function w.CalcFPS(w)RunService.RenderStepped:Connect(function(w)F.Text.Text=math.floor(1/w)end)end function w.Setup(v,w)F=w v:CalcFPS()end return w

local FPSShower

local FPS = {}

function FPS:CalcFPS()
    RunService.RenderStepped:Connect(function(delta)
        FPSShower.Text.Text = math.floor((1 / delta))
    end)
end

function FPS:Setup(UI)
    FPSShower = UI
    self:CalcFPS()
end

return FPS
