333
This commit is contained in:
1 parent
82eecfda06
commit
bdf5eca81f
10 files changed
+287
-94
No files matched your search
@@ -111,9 +111,10 @@ RunService:BindToRenderStep(renderName, Enum.RenderPriority.Camera.Value + 2, fu
|
||||
local menuShown = menu ~= nil and menu.Enabled
|
||||
local resultsGui = playerGui:FindFirstChild("ArenaResults")
|
||||
local scoreboardShown = resultsGui ~= nil and resultsGui:GetAttribute("LiveScoreboardOpen") == true
|
||||
local votingShown = playerGui:GetAttribute("HunterVoting") == true
|
||||
local inArena = player:GetAttribute("InArena") == true
|
||||
UserInputService.MouseIconEnabled = not inArena or tunerShown or menuShown or scoreboardShown
|
||||
if scoreboardShown or (not inArena and not UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton2)) then
|
||||
UserInputService.MouseIconEnabled = not inArena or tunerShown or menuShown or scoreboardShown or votingShown
|
||||
if scoreboardShown or votingShown or (not inArena and not UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton2)) then
|
||||
UserInputService.MouseBehavior = Enum.MouseBehavior.Default
|
||||
end
|
||||
local character = player.Character
|
||||
|
||||
Reference in new issue
Block a user