Hungrit creator docs
Make your world do things
Scripts turn an object into a door, a shop, a trap or a whole game. You do not need to have programmed before.
- No experience needed
- Every example runs as written
- Search anything with Ctrl K
Explore by topic#
Pick the thing you want to build. Each one is a complete recipe you can copy.
This is a door#
Not an example of a door. This is the whole thing, and it works if you paste it onto a box.
Read it as a sentence: when someone touches me, turn a quarter turn, taking six tenths of a second about it. That is what scripting here feels like most of the time.
--!strictlocal self = require("self") self:on_touch(function(player) self:tween({ rot = { x = 0, y = 90, z = 0 }, seconds = 0.6, ease = "in_out", })end)Touch the box and it swings a quarter turn open.
Four things worth knowing on day one#
Scripts live inside objects. There is no central file holding "the code of the world". Copy the object and the behaviour goes with it, so a working lamp still works in a friend's world.
Scripts wait. A script is a list of answers to things that might happen. It costs nothing while it sits there waiting for one.
Almost everything runs on the server. Everyone sees the same result and nobody can edit their own copy to cheat. The few things that would feel slow, like a menu, run on the player's machine for you.
Refusals explain themselves. A call that cannot do what you asked hands back nil and a reason in plain words. Nothing crashes, and the reason is almost always the answer.
Updated 17 October 2026