Skip to content
This repository was archived by the owner on Mar 30, 2025. It is now read-only.

TwoWayExit/Explosion-Imminent-Match

Repository files navigation

Explosion Imminent Match

1.0 | Client <-> Server Communications

1.1 / Client

Files inside ReplicatedStorage/Client are for remote signals handling OnClientEvent

1.2 / Server

Files inside ServerStorage/Server are the opposite, and are for remote signals handling OnServerEvent or OnServerInvoke

Server/Events use OnServerEvent, while Server/Functions use OnServerInvoke

2.0 | Security Notices

2.1 / Bomb Modules (lua)

Server Side

Module:GetBasicInfo()

This method does not accept parameters from the client, you're all good from sanity checks!

BombModules MUST have a GetBasicInfo() method returning a dictionary of basic information needed to solve the module which will be sent to the client. (eg. wire colors, wire count)

Module:Interact(...)

This method accepts parameters from the client, sanity checks are MANDATORY to be implemented!

BombModules MUST have an Interact() method which does a specific type of action on the module (eg. cut a wire, press a button) and returns either a boolean which indicates whether the interaction was successful or not, or nil.

  • This method should:
    • Return true to finish and solve the module
    • Return false to give a strike
    • Return nil to do nothing (used for multiple-step modules or a failed sanity check)
Method Accepts client parameters? Sanity checks mandatory?
Module:GetBasicInfo() No No
Module:Interact(...) Yes Yes

Client Side

ReplicatedStorage/Modules/Visuals contains modulescripts that return a function to automatically give looks to the bomb module as needed with the model and information passed.

2.2 / Pre-release Code Testing

Anything marked and beginning with PRE_ is HIGHLY advised to be REMOVED or ARCHIVED upon alpha/beta release unless excepted as it may expose potential server threats to exploiters.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages