- What do you want to achieve?
i made made animation (2 vers with motion and motionless)and i want to make character move as animation goes(i picked motionless animation) relaying on task.delay
- What is the issue?
i make task.delay(time, function()
bv.Velocity = c.PrimaryPart.CFrame.LookVector * – numbers
first function script reads but every other function it doesn’t(i move only once)
no errors at all
-
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
Yes,small amount of people make complex animation in game
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
my code:(its not all code,but it is related)
if #hits <= 99 then
local bv = Instance.new("BodyVelocity",char.PrimaryPart)
bv.MaxForce = Vector3.new(99999,0,99999)
bv.Name = "v"
bv.P = 10
game.Debris:AddItem(bv,.2)
if comboN == 1 then
bv.Velocity = c.PrimaryPart.CFrame.LookVector * 1.2075 -- 8
task.delay(0.2,function()
bv.Velocity = c.PrimaryPart.CFrame.LookVector * 1.35125 -- 20
task.delay(0.07,function()
bv.Velocity = c.PrimaryPart.CFrame.LookVector * 1.84 -- 24
task.delay(0.07,function()
bv.Velocity = c.PrimaryPart.CFrame.LookVector * 1.8745 -- 28
task.delay(0.07,function()
bv.Velocity = c.PrimaryPart.CFrame.LookVector * 1.15 -- 32
task.delay(0.07,function()
bv.Velocity = c.PrimaryPart.CFrame.LookVector * 2.185 -- 36
task.delay(0.07,function()
bv.Velocity = c.PrimaryPart.CFrame.LookVector * 2.875 -- 40
task.delay(0.07,function()
bv.Velocity = c.PrimaryPart.CFrame.LookVector * 6.9 -- 44(nice)
task.delay(0.07,function()
bv.Velocity = c.PrimaryPart.CFrame.LookVector * 2.415 -- 48
end)
end)
end)
end)
end)
end)
end)
end)
end
end
end)```
```lua
-- This is an example Lua code block
Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.