Screen Info is a module that allows developers to display info about their character, world, player, anything that is a variable.
This is how it looks like in the game:
Usage Example:
local replictedStorage = game:GetService('ReplicatedStorage')
local runService = game:GetService('RunService')
local ScreenInfo = require(replictedStorage:WaitForChild('ScreenInfo'))
local player = game:GetService('Players').LocalPlayer
local charcter = player.Character or player.CharacterAdded:Wait()
runService.RenderStepped:Connect(function(deltaTime)
ScreenInfo.add(1, `Position: %black{charcter:GetPivot().Position} | %red Test TEXT`)
ScreenInfo.add(2, `LookVector: %green{charcter:GetPivot().LookVector}`)
ScreenInfo.add(3, `Camera rotation: %blue{workspace.CurrentCamera.CFrame.LookVector}`)
end)
The module comes with 5 built-in colors: Red, Green, Blue, White and Black (Additionally Reset).
Module Link: https://create.roblox.com/store/asset/78174996372462
Feel free to share feedback and problems along the way.