Would it be possible to add a function to change the console keybind to select the top bar as I have a custom backpack which uses the up on dpad which I can’t really switch.
Thanks for your bug reports! There was a slight quirk in overflows which was triggering an auto deselection of icons which were :selected on startup. This should be fixed now (you can grab the latest copy from the v3 playground).
Alright so I found a solution that allows you to make an icon that displays the FPS, while updating it dynamically.
Explanation:
You’ll need to create an icon and label it with the current fps.
To update it automatically, you’ll detect when the FPS changes and update the label accordingly.
I modified your “GetFPS” script to make it less complicated. All you need to do to get the FPS is use RunService.RenderStepped to get the number of frames a player got in a second.
LocalScript:
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RunService = game:GetService("RunService")
local Icon = require(ReplicatedStorage.TopbarPlus.Icon)
local fps = 0
local icon = Icon.new()
icon:setLeft()
icon:lock()
icon:setLabel(`{fps} FPS`)
RunService.RenderStepped:Connect(function()
fps += 1
end)
while true do // Update every second
icon:setLabel(`{fps} FPS`)
frames = 0
task.wait(1)
end
This will detect and dynamically update the player’s FPS every second and display it on the created icon’s label.
I’m getting this warning and really intrusive UI on my screen, not sure if it’s from TopbarPlus in relation to the new TextBox update, I could be wrong.