aamir12 Posted January 8, 2022 Share 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 Link to comment Share on other sites More sharing options...
CmP Posted January 9, 2022 Share 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). Link to comment Share on other sites More sharing options...
Lover1500 Posted January 9, 2022 Share Posted January 9, 2022 I see. So freezing value means editting values constantly with defined time. Link to comment Share on other sites More sharing options...
blocx Posted January 8, 2022 Share Posted January 8, 2022 when value change adress change too ? Link to comment Share on other sites More sharing options...
aamir12 Posted January 8, 2022 Author Share Posted January 8, 2022 no it doesn't . but i think i found something ; automatically record script in gameguardian Link to comment Share on other sites More sharing options...
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
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.