local player = game.Players.LocalPlayer
local Character = player.Character or player.CharacterAdded:Wait()
local Mouse = player:GetMouse()
local BodyAngularVelocity = script.Parent:WaitForChild("BodyAngularVelocity")
local Patterns = {
Pattern1 = {
Vector3.new(0, 0, 0),
Vector3.new(0, 0, 0),
0.0
},
Pattern2 = {
Vector3.new(0, -10, 0),
Vector3.new(0, 50, 0),
0.25
},
Pattern3 = {
Vector3.new(0, 25, 0),
Vector3.new(0, 50, 0),
0.5
}
}
Mouse.Button1Down:Connect(function()
for Key, Variables in pairs (Patterns) do
print(Key) -- here is the print thing
BodyAngularVelocity.AngularVelocity = Variables[1]
BodyAngularVelocity.MaxTorque = Variables[2]
wait(Variables[3])
end
end)
However, it keeps printing
Pattern2
Pattern3
Pattern1
Why!?!? WHY ROBLOX
help me else ill have a mental breakdown

4 comments
help
pweas
I don't get it, so what is it supposed to print out? everything seems fine
it should print the patterns in order as I've written them but it starts from the second to the first pattern