Hungrit Docs

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
01ObjectsEverything you place. A house is a handful of them.02ScriptsLive inside objects and make them act. This door opens.03TerrainThe ground itself. Sculpt it, dig it, build on it.04PlayersThe people in your world. Scripts answer to them.

Explore by topic#

Pick the thing you want to build. Each one is a complete recipe you can copy.

See all 18 recipes

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.

Build it step by step

Paste this on a box
--!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#

01

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.

02

Scripts wait. A script is a list of answers to things that might happen. It costs nothing while it sits there waiting for one.

03

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.

04

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