Hello developers!
Let me intoduce you the Stic Module!
Stic is a module and if you use it, you can get rid from a lot of loops and object based values.
And Stic has a lot of ways to communicate between scripts without using any loops at all.
Example code of using a signal in Stic:
Script1:
local Stic = require(game.ReplicatedStorage.Stic)
Stic.EmitSignal('someSignal', {10, 'hello listener'})
Script2:
local Stic = require(game.ReplicatedStorage.Stic)
wait() -- we wait so the signal is created first
function signalReceived(values)
print(values) -- prints: {10, 'hello listener'}
end
Stic.ListenToSignal('someSignal', signalReceived)
But Scit can do more than this!
I would be happy if you support my work: Support game