Hello everyone,
I am trying to use ContextActionService to detect input. However, it doesn’t seem to be working and I’m not sure why. Here’s the code:
local CAS = game:GetService("ContextActionService")
local function Thing(a, is, io)
-- at this point i gave up and just tried printing
-- something but it didn't print
print("used")
end
CAS:BindAction("lhajhfl", Thing, false, Enum.UserInputType.MouseButton1)
Here’s the hierarchy:
Thanks for your help.