I have made a ragdoll game which when you press "r" you ragdoll and to get up again. I have gotten the the button to appear from a Youtube video but can not get it to ragdoll / keybind to "r".
I also have this other script;
local contextActionService = game:GetService("ContextActionService")
function onButtonPress()
--Ragdoll function here / Need help here
end
local mobilebutton = contextActionService:BindAction("RagdollButton",onButtonPress,true,"r")
contextActionService:SetPosition("RagdollButton",UDim2.new(0.72,-25,0.20,-25))
contextActionService:SetTitle("RagdollButton","Doll")

1 comment
Any suggestions is appreciated.