Open your project folder
Choose the folder that holds your game's .luau files as the chat's working folder.
This is how most people work with Kiteforge: small, clear requests, a diff after each one, and a playtest before moving on. It is also a gentle way to learn how to code in Roblox, because every change comes with a short explanation.
Choose the folder that holds your game's .luau files as the chat's working folder.
Say what should happen in the game, in plain words, one feature at a time.
Read the plan and each diff; accept, reject or ask for a change.
Let your file-sync plugin bring the files into Studio, press Play and check the Output window.
src/server/6 filessrc/server/Door.server.luau+17formatter src/exit 0linter src/exit 0local door = script.Parent
local isOpen = false
door.Touched:Connect(function(hit)
local character = hit.Parent
local humanoid = character:FindFirstChildOfClass("Humanoid")
if not humanoid or isOpen then
return
end
isOpen = true
door.Transparency = 0.7
door.CanCollide = false
task.wait(3)
door.Transparency = 0
door.CanCollide = true
isOpen = false
end)A server Script inside a door part. The isOpen flag works as a debounce, so the door does not react to every touch while it is already open.
This is a good first Roblox Studio script. Ask Kiteforge for a door that opens when a player walks into it and closes three seconds later. It explains the plan first: a server Script, because the door must open for everyone, not only on one player's device; the Touched event, which fires whenever something hits the part; and a debounce flag, so the door ignores extra touches while it is open. Then it writes Door.server.luau with write_file and shows you the diff. Read it next to the explanation, accept it, sync, press Play and walk into the door. If it opens for a falling ball too, ask Kiteforge to check for a Humanoid first, as in the example above.
Once players can earn coins, they expect to keep them. Ask Kiteforge to save coins when a player leaves and load them on join. It first reads the DataStoreService page in the official Roblox documentation with http_get, then finds where your coins live with grep. The ModuleScript it writes saves through UpdateAsync, wraps each call in pcall and retries a failed save a few times. Before the edit lands you see the diff in Ask first. Test it in Studio with API access enabled for your place, leave, rejoin and check the number. Keep the change only when the coins come back.