Hi, this is a simple ask from a novice scripter. Sorry about the bizarre title. I can’t think of any other way to word it.
General description of what I am doing and wanting to achieve:
- I am creating a new puzzle for my game where you have to pass a clock made of snakes.
- Once the code is cracked, the snakes start to wiggle around and move.
- I have put the hands I want to move around in a table, and I’ve done a loop to get them to move. I’m not a hugely experienced scripter so I don’t know of any other way to do this.
The issue is that the snakes start moving in succession (starts with the 12 hand, then the 3, then the 6) whereas I want them all to start moving at once.
local CoilingSnakes = {Hours.Hour12, Hours.Hour3, Hours.Hour6, Hours.Hour9}
-- Removing a lot of unrelated stuff in the middle.
-- Snakes begin to wiggle
for i, v in ipairs(CoilingSnakes) do
Fade(CoilingSnakes[i])
Coil(CoilingSnakes[i])
end
I presume this has a pretty simple answer related to the loop I use, and I’m not a huge scripter so I don’t know the difference between all of the loops. If someone can let me know how to make all the snakes move at once instead of individually let me know. Thanks for the help.