|
| 17 Jun 2016 11:39 PM |
How do I make it so when a player clicks a part the player can move their mouse when they're in 1st Person? Like in Apocalypse Rising when you look in your inventory in 1st Person you can move your mouse so you can click on stuff.
|
|
|
| Report Abuse |
|
|
|
| 17 Jun 2016 11:42 PM |
| http://wiki.roblox.com/index.php?title=API:Class/GuiButton/Modal |
|
|
| Report Abuse |
|
|
| |
|
|
| 18 Jun 2016 01:30 AM |
| if only something explained how it worked |
|
|
| Report Abuse |
|
|
|
| 18 Jun 2016 01:46 AM |
| PINBALL IS TROLLING U. GIMME A SEC I TURN ON ME PC AND GIV U SKRIPT K? |
|
|
| Report Abuse |
|
|
|
| 18 Jun 2016 01:56 AM |
------------------------------- LOKAL SKRIPT ------------------------------- __________PLEIC IN STARTERPLAYER > STARTERCHARACTERSCKRIPTS__________
local InputService=game:GetService("UserInputService") local Player=game.Players.LocalPlayer local Mouse=Player:GetMouse()
Mouse.KeyDown:connect(function(k) if k=="e" and InputService.MouseBehavior==Enum.MouseBehavior.LockCenter or game:GetService("UserInputService").TouchEnabled == true then InputService.MouseBehavior=Enum.MouseBehavior.Default elseif k=="e" and InputService.MouseBehavior==Enum.MouseBehavior.Default then InputService.MouseBehavior=Enum.MouseBehavior.LockCenter end end)
_________________________________________________________
DELETE THIS: elseif k=="e" and InputService.MouseBehavior==Enum.MouseBehavior.Default then InputService.MouseBehavior=Enum.MouseBehavior.LockCenter
IF U DONT WANT PLAYER TO LOCK THEIR MOUSE AGAIN. |
|
|
| Report Abuse |
|
|
|
| 18 Jun 2016 01:57 AM |
| ANOTHER WAY IS CHECKING THAT STUPID CHECK BOX CALLED MODULE IN YOUR GUI. WHEN PLAYERS "SEES" THAT GUI ELEMENT WITH MODULE CHECKED HIS/HER MOUSE UNLOCK ON ITS OWN. (MIGHT NOT WORK WITH ALL PLATORMS PROPERLY, IDK) |
|
|
| Report Abuse |
|
|