#(Very new to scripting) Need help with console support for my game.

5 messages · Page 1 of 1 (latest)

halcyon rover
#

Excuse my lack of experience first off, very new to this. Whenever a player on console joins my game, it allows them to move around and jump but any of the other actions I’ve added aren’t able to be performed.
The actions being:
Left Click (Attack)
Q (Dash)
F (Block)

I understand that consoles don’t have those keys and that is what’s preventing console players from being able to perform those actions but I am unaware of how to fix it. Any guidance would be greatly appreciated.

old stratus
#

or Enum.KeyCode.ButtonX ( assuming that you want the console player to use X )

#

for example

#
local function Dash()
    -- this is just an example
end

if Enum.KeyCode.Q or Enum.KeyCode.ButtonX then
    Dash()
end