Hello. I am a pretty new scripter (2 days old), so this may seem like a dumb question. I have managed to learn how to make a item spawner from the Menu GUI I have made, but it has a small problem. Instead of spawning it in front of the player in question spawning the item, it spawns from the position of the item in ReplicatedStorage. I tried to make the code work to spawn it in front of the player, but I seem to have met a roadblock, can I get some critiques and tips on how to fix this problem? Thanks in advance.
This is my script:
local Player = game.Players.LocalPlayer
local GT90 = game.ReplicatedStorage:WaitForChild("GT90")
script.Parent.MouseButton1Down:Connect(function()
local CloneGT90 = GT90:Clone()
CloneGT90.Parent = game.Workspace
CloneGT90.Position = Vector3.new(LocalPlayer)
end)

4 comments
try 'CloneGT90.Position = Vector3.new(workspace:FindFirstChild(LocalPlayer.Name).HumanoidRootPart.Position)' on line 7
Thanks!
HumanoidRootPart shows up as an Error.
I fixed the problem, thank you for the solution