Hello, I am trying to get a pad to where when a character walks into it a weapon spawns for the character to pick up. I hope to have it dropping only 1 priced weapon that they can buy. Anyways I can't seem to get the item to spawn where I want it to. It always spawns in the middle of the map or doesn't spawn at all when I try to fix it. This is the code for the clone system. If you need anything else just ask. :)
--(Peanutthedestoyer) local SpeedBoost = script.Parent local Weapon = game.ServerStorage.Weapon local function steppedOn(part) local parent = part.Parent if game.Players:GetPlayerFromCharacter(parent) then local fireballcopy = Weapon:Clone() fireballcopy.Parent = game.Workspace end end SpeedBoost.Touched:connect(steppedOn)
Never mind, I found the error. The sword had a preset spawn point set up. Though thank you for the help. :D