if game.Workspace.daven2004.Humanoid.Health = 100 then game:GetService('VirtualUser'):SetKetDown('w") end
how can i make this work ?
if game.Workspace.daven2004.Humanoid.Health = 100 then game:GetService('VirtualUser'):SetKetDown('w") end
how can i make this work ?
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
Why would you want to simulate a keypress? Just fire the function.
Daven, an if statement checks once. In order for it to continuously check, use the health changed event. Then you can either check if the health is lower then it was before or you can just have it press a key.