so i have character selection done, because i have worked on something like that before, though I'm not quite sure how i can make it so it applies to anybody who selects wolverine, i want it so it applies to the user that selects the wolverine character instead of it being directed towards my username, and that it toggles with Q instead of needing 2 keybinds.. Where is says game.Workpace.TheForgxttenDev i want it so it's applied to whomever selects that character. Does anybody know how I could do this. This is my current script.
game:GetService("UserInputService").InputBegan:connect(function(inputObject, gameProcessedEvent) if inputObject.KeyCode == Enum.KeyCode.Z then game.Workspace.TheForgxttenDev.LeftClaw.Transparency = 0 game.Workspace.TheForgxttenDev.RightClaw.Transparency = 0
end
end)
game:GetService("UserInputService").InputBegan:connect(function(inputObject, gameProcessedEvent) if inputObject.KeyCode == Enum.KeyCode.X then game.Workspace.TheForgxttenDev.LeftClaw.Transparency = 1 game.Workspace.TheForgxttenDev.RightClaw.Transparency = 1 end end)

1 comment
Please do put the whole code in Lua Block Code, it will be easier to read the code in that.