I am trying to put a ProximityPrompt inside a HumanoidRootPart, and this is done in the client.
This is not working, as it is saying HumanoidRootPart is not a valid member of model.
So I printed every single child the script could find inside the character, and no body parts showed up.
This is weird, as it has never happened before until now. I would like to know if this is supposed to happen and I should do it in the server or if it’s a serious bug. Thanks.
you may be running the script before the player’s character has loaded in. You can put a wait in your script to run after the player is loaded like this
local player = game:Getservice("Players").LocalPlayer
player.CharacterAdded:Wait()