Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Player = game:service'Players'.localPlayer
- local Mouse = Player:GetMouse()
- local mainscr = workspace:WaitForChild("deusg")
- local mdeve = mainscr:WaitForChild("MouseDownEvent")
- local mueve = mainscr:WaitForChild("MouseUpEvent")
- local kdeve = mainscr:WaitForChild("KeyDownEvent")
- local kueve = mainscr:WaitForChild("KeyUpEvent")
- Mouse.Button1Down:connect(function()
- mdeve:FireServer()
- end)
- Mouse.Button1Up:connect(function()
- mueve:FireServer()
- end)
- Mouse.KeyDown:connect(function(k)
- kdeve:FireServer(k)
- end)
- Mouse.KeyUp:connect(function(k)
- kueve:FireServer(k)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement