Controlling GLights with another script

Hello developers,

I am making a Got Talent game where I plan to GLights a Roblox lightning model. So I wonder how can we trigger scripts of GLights, which are highly complex with another script.

Even understanding it is a tough task. Helps appreciated.

When posting here, it is important to provide as much detail as possible so developers can help you fix the issue you’re posting about. For example, the definition of “GLights” would be critical to your post. You should also be attempting to do something before posting here about it (and providing your code that doesn’t work). This is not the place to solicit work from developers, that can be done on the Talent Hub.

If you have any specific questions or needs please explain them and someone would be happy to answer.

I have linked the model above and the operation of the model with another script the question.

Sorry for the delayed reply… I’ve taken a look at the model you provided. Quite frankly I’m not sure if what you’re asking for is even possible without major reworking of the lighting system. This system was designed for use with the provided controller and should be used that way.

Any major modifications are beyond the purposes of the dev forum. Like I mentioned above, I recommend seeking a scripter for your game on the Talent Hub, as this is not the correct place. To be honest, for your intended use you’re better off creating your own lighting system that isn’t centered around player control. Best of luck with your game!

I have contacted the developer of the model and the thing is very easy to control using other scripts.

core:Run("UNIQUE_NAME", "FUNCTION")

EXAMPLE:

local core = require(workspace.GLights.Scripts.Core.Main)
local function handlePress()
core:Run("Heads1", "Color", Color3.fromRGB(202, 135, 0))
core:Run("Heads1", "Cue", "PositionCues.Circle", true)
core:Run("Heads1", "Cue","Random", true)
end
script.Parent.MouseClick:Connect(handlePress)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.