ViewportFrames made easy! [RESOURCE]

Hello everyone, today i’ve got a module for you that will make inserting and displaying stuff in viewport frames really easy!!.

To set it up, simply do this

local module = require(player.PlayerGui.Viewport)
module:Viewport(YourFrame, The Instance you want to display,  a CFrame offset)

Remember, this function also returns the instance IN the viewport frame, so the function can become a variable
Example:

local module = require(player.PlayerGui.Viewport)
local object = module:Viewport(YourFrame, The Instance you want to display,  a CFrame offset)
object.Transparency = 1

This module comes with error handling too, so if anything doesn’t go through, you will be notified.

Note : The CFrameOffset value is relevant to the camera, so when you change that part of the function, the CAMERA will change its CFrame and not the Object.

Anyway here’s the module https://create.roblox.com/store/asset/117724330027168/ViewportModule

hope yall enjoy it and if there are any bugs, make sure to tell me in the replies, byeee

1 Like

The module isn’t public, no permission

1 Like

Also a testing open source place , with examples would be good to check out.

me when a resource which seems like it would be really good comes out but the asset is private so I can’t actually try it

1 Like

its public now CHARACTER MIN CHARACTER MIN

1 Like

oh well, uh i didnt realize this existed, welp good to know

1 Like