Hi I want to use the weapons kit from the developer website, however once i have installed them into my game the mouse disappears and the camera is locked which is great for gameplay but i would like to be able to enable the mouse at certain points to use Gui's.
anyone know how to do this?
I have looked at the scripting within the pack and i think it would be something to do with the shouldercam script as there is a part which says
-- Hide mouse and lock to center if applicable
if self.mouseLocked and not GuiService:GetEmotesMenuOpen() then
UserInputService.MouseBehavior = Enum.MouseBehavior.LockCenter
UserInputService.MouseIconEnabled = false
else
UserInputService.MouseBehavior = Enum.MouseBehavior.Default
UserInputService.MouseIconEnabled = true
end
is there a way to enable the mouse to perhaps a key being held?

1 comment
I just wouldn't use the kit to begin with. You should be able to make your own guns, therefore you know how the code works.