#Can someone help adding E (PC) and Y (xbox/ps)

1 messages · Page 1 of 1 (latest)

chrome moat
#

can someone help me please!? i want to add E on pc to close the inventory and just when you click on an button that is in the inventory its closing. On mobile i want it to be only when you click on it then its closing. On xbox/ps i want to have it to be Y-button to close, and can you help that the crossair from the xbox or ps can move in the ui so you can click on button with crossair and Y button to close the inventory. On the video u see everything in explorer what i use.
ON THE SECOND PICTURE YOU CAN SEE THE FIRST SCRIPT (OPEN INVENTORY)
and here is the script to close the inventory
script.Parent.Activated:Connect(function()
script.Parent.Parent.Parent.Visible=false
end)
Yeah this second scripr is not very big xd. so can someone help add E on computer and Y on xbox and ps en for all devices just clicking

#

here is the first script

#

yeha on the video you see i click E to open the inventory and click just the closebutton

narrow mortarBOT
#

studio** You are now Level 1! **studio

slow silo
#

you can just use inputservice

#

for detection of y button on xbox

#

these are all the input objects