Forum > Coding >

Krnl negative issue

Posts: 3

Threads: 2

Joined: Jan, 2022

Reputation: 0

Posted

is there a way to use negative numbers in mousemoverel on krnl without being mousemoveabs?

  • 0

tar

CoolNickname

Posts: 119

Threads: 11

Joined: Jul, 2021

Reputation: 1

Replied

just use movemoveabs its not hard

  • 0

Added

mousemoverel = function (x,y)
local mousepos = game:GetService("UserInputService"):GetMouseLocation()
mousemoveabs(mousepos.X + x, mousepos.Y + y)
end
mousemoverel(-50,0) -- moves to left, i hope this is what u asked
  • 0

https://imgur.com/a/oOomuUo

Posts: 78

Threads: 12

Joined: Jan, 2022

Reputation: 7

Replied

@tar The OP stated without mousemoveabs.

  • 0

Thank you Swiney2, Vilictus and SnowyWaves for the +reps

https://i.imgur.com/ZilSxfo.png

tar

CoolNickname

Posts: 119

Threads: 11

Joined: Jul, 2021

Reputation: 1

Replied

@74036i know im just showing him using mousemoveabs is a way for fix it

  • 0

https://imgur.com/a/oOomuUo

Users viewing this thread:

( Members: 0, Guests: 0, Total: 0 )