英文:
How to make a autoclicker inside of roblox studio
问题
我的朋友最近正在制作一款格斗游戏,并希望为游戏制作一个自动点击器。他正在使用官方默认的 Roblox 剑作为武器,但找不到让它持续攻击的方法。我们尝试制作一个普通点击的自动点击器,但是 Lua 没有很好的方法来实现。有人可以帮助我解决这个问题吗?谢谢!
英文:
My friend has recently been making a fighting game and wants to make an autoclicker for it. He is using the official default roblox sword for the sword, but can't find any ways to make it go constantly. We tried to make an autoclicker that would click normally but Lua doesn't have and good ways to do it. Can someone please help me fix this? Thank you!
答案1
得分: 1
在代码中找到当鼠标点击时触发的事件,并将其改为一个函数。
然后,如果启用了自动点击器,使用wait函数设置事件按照你想要的时间间隔运行。
英文:
Find the event in the code that runs when the mouse is clicked, and make it a function.
From there, make it so that if the autoclicker is enabled, the event is run every amount of time you'd like, using wait.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论