So I want to make a script where if someone presses a key, a part will spawn on them. My question is, how do I find the location of the person that pressed this key through a script. It seems that local script and script are two different things, and I’m having trouble with it.
Use a remote event for this. Fire the remote event when the player presses the key.
Yeah but how do I find the location of the player that pressed the key?
Look for the HumanoidRootPart!
1 Like
You can Clone the Part to the Player’s Torso or UpperTorso's CFrame
Event:FireServer(Player.Character.HumnaoidRootPart.Position)
1 Like