I am making a context action service button which will act as a right click. This is what I have made -
local ContextActionService = game:GetService("ContextActionService")
function rightclick()
end
local mobilebutton = ContextActionService:BindAction("Shield Up",rightclick(),true,Enum.UserInputType.MouseButton2)
I have created a block function for my sword which gets activated whenever a person presses right click and I want the context action service button to do the same but I don’t know how I should continue after writing ‘function rightclick()’. I would really appreciate ant help I receive related to this.
Sir everyone doesn’t have all the resources , time and means to learn whole about LUA and how to do scripting , make GUI , 3D models etc and why do you think that the devforum is made ? You are supposed to help people here and not just give them a link of a roblox article saying to just learn it. Everyone starts from somewhere including you and me and people always come to the devforum for help only when all doors for them are closed including me . So if you can’t help them then please don’t make comments like these.
I am not asking people to write the whole script for me. I am only asking to just tell me what variable should I use , what event to create or which code should I use? You misunderstood this is not my problem sir and please be polite to others on the Dev forum. We are a good community who are always there to help each other and not to start fights should be our main value. You have also created 38 topics. What would you have thought if instead of help , people just sent you a link saying just learn it.