-
Notifications
You must be signed in to change notification settings - Fork 0
/
macro.lua
20 lines (20 loc) · 983 Bytes
/
macro.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
local Player = game:GetService("Players").LocalPlayer
local Mouse = Player:GetMouse()
local SpeedGlitch = false
Mouse.KeyDown:Connect(function(Key)
if Key == "z" then
SpeedGlitch = not SpeedGlitch
if SpeedGlitch == true then
repeat game:GetService("RunService").Heartbeat:wait()
keypress(0x49)
game:GetService("RunService").Heartbeat:wait()
keypress(0x4F)
game:GetService("RunService").Heartbeat:wait()
keyrelease(0x49)
game:GetService("RunService").Heartbeat:wait()
keyrelease(0x4F)
game:GetService("RunService").Heartbeat:wait()
until SpeedGlitch == false
end
end
end)