How can I make a screenshot button?

Hello, I’m working on a little project and I was thinking about making a working photo booths where by clicking a button the game takes a screenshot with the roblox function, is it possible in anyway?

No it’s not possible, you cant access any roblox core functions.

2 Likes

Alright, thank you.
Now that I think about it it makes sense, people could abuse it for bad things.

1 Like

All screenshot methods under the DataModel are internal and inaccessible by developers. There isn’t a function in the first place for screenshots, only to set data for them. You cannot make a system in your game that uses Roblox’s game screenshot functionality.

You can fake it, just not actually make actual screen shots that save to your computer.
To do this, clone what you want to screenshot/get objects infront of the “camera”.
Move those cloned objects into a viewportframe, make sure everything is anchored (I dont think physics work in viewport frames tho so :man_shrugging:)

There you go, you’ve made a “screenshot” in roblox.

1 Like

Yes, that’s sort of how Universal Studios does it.
They take objects and put a clone of you into a viewportframe with them at the end of rides.
You can then remove the watermark from the picture using UniBux.

1 Like