Jump to content
  • 0

SpeedSet Alternatively


Question

Posted (edited)

I want Script for  seting game speed 1 times for 15 seconds

then

game speed 5 times for 6 minutes 

and make loop to to change speed 1 and 5 indefinitely 

Edited by Agile98
correction

1 answer to this question

Recommended Posts

  • 0
Posted

Not very clear description, see yourself whether the following does what you want: 

local function setSpeedForSeconds(speed, seconds)
  gg.setSpeed(speed)
  gg.sleep(seconds * 1000)
end

while true do
  setSpeedForSeconds(1, 15)
  setSpeedForSeconds(5, 360)
end

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.