aamir12 Posted January 8, 2022 Posted January 8, 2022 In a game i have a variable and in order to get diamonds i gotta keep assign 1 to the variable. Also after changing to 1 i press "continue " on my game and i get diamonds , then the value changes, I want a script that keep changing that value to 1 every 2 sec , so that it just doesn't spam changing the value. I don't know how to make scripts etc.. How to thank you
aamir12 Posted January 8, 2022 Author Posted January 8, 2022 no it doesn't . but i think i found something ; automatically record script in gameguardian
CmP Posted January 9, 2022 Posted January 9, 2022 13 hours ago, aamir12 said: I want a script that keep changing that value to 1 every 2 sec , so that it just doesn't spam changing the value. You don't necessarily need a script to achieve this. Freezing a value should work just fine, just need to change "Freeze interval" setting to desired value. Default value there is 33000 microseconds, so to make it 2 seconds use the value 2000000 (2 millions).
Lover1500 Posted January 9, 2022 Posted January 9, 2022 I see. So freezing value means editting values constantly with defined time.
Question
aamir12
In a game i have a variable and in order to get diamonds i gotta keep assign 1 to the variable.
Also after changing to 1 i press "continue " on my game and i get diamonds , then the value changes,
I want a script that keep changing that value to 1 every 2 sec , so that it just doesn't spam changing the value.
I don't know how to make scripts etc.. How to
thank you
4 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.