it just never detects that the player has made an input. ![]() I tried putting prints on every block that defines the player that can use the input, but it seems to detect the player and character fine, with no display message. If input.Ke圜ode = Enum.Ke圜ode.E then - Making a if statement to ask if the players input is = to input UIS.InputBegan:Connect(function(input, GPE) - This will detect the input, Connecting to the input that got in, GPE = Game Processed Event and is if the game processed it and if the player is busy, like typing in the chat for an example Local player = game.Players:GetPlayerFromCharacter(char) - Getting the Player Local UIS = game:GetService("UserInputService") Local Humanoid = char:FindFirstChild("Humanoid") Here is the script: local char = script.Parent The input doesn’t seem to be detected at all. ![]() I have made a morph that allows players to jump high when E is pressed (here I just put a print script because the issue is the input), but that script must only work on morphed player, which is why I’m trying to make it work only when the script is in a character.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |