A set of gameplay mechanics implemented in Roblox Studio (Lua) as part of a test assignment.
- The scripts for each task are placed in separate folders or services.
- The final versions are enabled by default and combine all required points.
- If needed, you can enable separate variants as well, for example
Zadanie1.1orZadanie3.1-3.2, and they also work correctly.
Requirements:
- The counter increases only the first time a player steps on the tile.
- If the player stays on the platform for 2 seconds, they are teleported to
SpawnLocation. - Every 5th teleport is replaced with the player's death.
Implementation:
- Scripts
Zadanie1.1,Zadanie1.2, and the finalZadanie1.3are located in ServerScriptService. Zadanie1.3is enabled by default.- To avoid
Touched/TouchEndedbugs where each body part fires a separate event, a more reliable counter-and-flags approach was used.
Requirements:
- The GUI should look at least minimally polished.
- Every 20th click kills the player, and the logic must run on the server.
- The counter should be saved and restored when the player rejoins.
Implementation:
- The local script
Zadanie2is located in StarterPlayerScripts. RemoteEventin ReplicatedStorage is used for client-server communication.- The server logic (
Zadanie2) is in ServerScriptService: it receives events, processes them, and saves / loads clicks through DataStore. - The score counting on the client side is left as in the original template, but the README notes that doing it on the server would be more correct.
Requirements:
- The red platform kills the player.
- The white platforms work as checkpoints.
- When a new checkpoint is activated, the previous one disappears; when all are gone, they appear again.
Implementation:
- All scripts are placed in the Zadanie3 folder.
- A simple version (
Zadanie 3.1-3.2) exists separately but is disabled. - The full version,
Zadanie 3 (polnostyu), is implemented using checkpoint tags.
Requirements:
- The
moverobject must move betweenpos1andpos2. - The
spinerobject rotates around the vertical axis.
Implementation:
- Script
Zadanie4is stored in the Zadanie4 folder. - Movement is implemented through TweenService.
- Rotation is implemented with
PivotToand coroutines.
All parts of the test assignment are completed. These tasks demonstrate my level of confidence with key Roblox mechanics:
- DataStore for saving and loading data
- checkpoints and kill blocks
- GUI and RemoteEvents
- TweenService and Pivot for animations
- code organization and debugging of non-trivial
Touched/TouchEndedcases
This is only a small part of what I can build in Roblox Studio, from inventories and NPC logic to more advanced prototypes and learning-oriented gameplay scenarios.



