How to move your mouse by clicking a key in first person (scripting Roblox Studios SIMPLE EZ!!)
HTML-код
- Опубликовано: 10 сен 2024
- Giant Moon by Vendredi / vendrediduo
Creative Commons - Attribution 3.0 Unported - CC BY 3.0
Free Download / Stream: bit.ly/3dK32pe
Music promoted by Audio Library • Giant Moon - Vendredi ...
---------------------------------------------------SCRIPT-------------------------------------------------
local Plr = game.Players .LocalPlayer
Plr:GetMouse() .KeyDown:Connect (function (V) --Change V to what ever you want so like
if V == "v" then --Change v to what ever key so like if F == "f" then
if script.Parent.Modal == true then
script.Parent.Modal = false
else
script.Parent.Modal = true
end
end
end)
---------------------------------------------------------------------------------------------------------------------------
make sure to lick and sub or you will wake up waking up waking up!!!!!! 😲😲😲
If this video beats my other dev one then I'll be a dev only youtuber
Can you try to do it again but for mobile
@@Ice_Image wait why do you need it for moblie cant they click the whole screen?
@@mouseyplayz1040they can lol
@@OrbicaI I forgot a , inbetween the cant
Wth xdd@@Ice_Image
"Press v to mouse your mouse" truly inspiring words
LMAO
i love to mouse my mouse
@@youraveragefpefan8 nah i like to cat it, ik im fucking cringe im a dumbass
@@SaphEditz dont say that about yourself D: (honestly my display name on yt literally has dumbass in it)
@@youraveragefpefan8 lmao :D
This was more simple and understable compared to the other toturials, it was complicated tysm for making this video!
amazing video. i love to support small creators, i subbed :)
"Press v to mouse your mouse" 💀
bruh
ur lucky he/she made a tutorial on it
@@smilehoodie she/he took it from a dev forum. so ur not very lucky
Lolllll 😂😂😂
@@smilehoodie no response.....
YESSS THIS IS EXACTLY WHAT IVE BEEN LOOKING FOR!!! THANK U!!!
It didn’t work
just amazing, the only tutorial that worked for me, tysm :DD
common mistake:
if the button is not visible, the script will not work.
Bruh youtube makes 720p look like 480p and makes it look like the sun
so i alreayd have GUI in my intro so how do i put the button in the game instead of the start
my game isnt working with this and i dont know why
GetMouse() doesnt work directly with key inputs, use this -
local UserInputService = game:GetService(“UserInputService”)
UserInputService.InputBegan:Connect(function(input)
if input.Keycode == Enum.Keycode.YourKey then
if script.Parent.Modal == true then
script.Parent.Modal = false
else
script.Parent.Model = true
end
end
end)
Man you are so insanly W i needed that so much Tysm!
Anyone else notice the 'Press v to MOUSE your mouse'? 🤣
why doesnt it work? i followed every step and i spent 30 minutes trying to figure out whats wrong
Dunno if you uhh figured it out already but the actual text button has to be set as visible. Just make the text invisible as well as the background. Maybe this wasn’t your problem but idk?
This was such a good and simple video, but the one issue with it is when you add more GUIs with it, It will start to no longer work. Does anyone know why this occurs?
Best and fastest vid ever ty ur diff unlike these weird developers looking for veiws
ByteBlox better
Hey, so for me it's not working can you please tell me whats wrong?
it doesnt work in 2024 is there any way i can edit it to work now
Up and coming roblox dev here, did it really have to be a TextButton to work?, from my knowledge, anything might work
it worked omg tysm u saved my game
thank you so much bro W vid!
it doesnt work whatever i do, even if there is no error in the script
Thanks so much man. Your a real chad. i liked the video.
Tysm! 101th sub!
this video is the thing that actually works for me !!!
If you test that place from mobile you can't move the visual
well i was searching for a script that can unlock the mouse without even having to click anything or smth
idk if ur still looking but u can just make a button and set "Modal" to on and justt make the text and background invisible (dont set visible to off tho) but its been 2 months so im assuming u found it
@@pexoz5040 never did
"Press V to mouse your mouse"
THXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX I WERE SEARCHING LIKE A HOUR THANK YOU LIKE AND SUSCRIBED
if you make it a button for some reason mobile players cant turn
Tysm! 70th sub!
"make sure too lick and sub" bro what??
doesn't work
Does not work. I even have typed it manually. It just wont unlock it
works for others so i dont know what happened
same its not working
@@mouseyplayz1040 thats a lazy response.
@@dryzoFy that's a really lazy reply, i think as someone who is talking about how lazy someones comment is, you should have a less lazy reply.
@@JayRobloxYTube 💀🤓🫵
69 comments lol, now 70. This really helped, thank you!
its fake it not work
yes, i'd like to mouse my mouse
nice tutorial!
How would you do alt since i dont know what to change(also it works for F)
it doesn't work please HELP!!!!!
man lick and sub.. on the desk and change the script it has some yt thingys
didnt work for me
same
Perfect tysm 👍
BRO RLLY TRIED TRICKING US WITH 'Modal' INSTEAD OF MODEL
mine dont work?
it says that modal is not a part form playergui
Modal is from a textbutton
works perfectly! tysm
Enjoy
Thank you i liked
tysm after 6 hours or looking for smth
Thanks so much!
Thanks!
Thank ypu so much man
Thanks so much
whats with the holy great battle of heaven ahh music 🙏
god damn you saved me legend
it's working!
you are my hero
what If I want it to function on ctrl
why do you need ctrl to unlock mouse are there thousands of hotkeys in your game?!!?!?!??!
local UserInputService = game:GetService("UserInputService")
local Frame = script.Parent
UserInputService.InputBegan:Connect(function(input, gameProccesedEvent)
if input.KeyCode == Enum.KeyCode.LeftShift then
if script.Parent.Modal == true then
Script.Parent.Modal = false
else
Script.Parent.Modal = true
end
end
end)
--if it does not work then try removing the caps on if then script.parent.modal
@@mouseyplayz1040 isnt it LeftControl?
@@Campbloxxer why not bruh
@@necvox743 Ctrl Is For More Crouching Or Shiftlocks But Not For Unlocking Mouses
OMGGGGGGGGGGG it works
It is not working anymore
It didn’t work
thankyou so much.
lick what🤨🤨🤨🤨
Ayo?
Doesn't work :((
Thank you
tysm for helping me
thanks
verry tanks
it didnt work man
it wont work??
Did you use starterGUI with text button and then localScript???
I think i know why, you copied it from the youtube description but i made a typo so try not i fixed it
TYSM
THANKS YOUUUU
thx!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Ur so bad this dosent even work
U didnt do it right lol
TYSM FOR HELPING IN MY GAME!!!
it doesnt work
Thanks!
this doesnt work!!!
U didnt do it right lol
it didn't work
doesnt work
THANK YOU