When a player touches the brick they get a LinkedSword. I tried this script and it didn't work
Any advice?
script.Parent.Touched:connect(function(player) -- Getting brick and defining the player. end) script.Parent.Touched:connect(function(player) local Tool = game.Workspace.LinkedSword:clone(); -- Defining a tool that will be cloned. Tool.Parent = player.Backpack; -- Defining the parent of the cloned tool. end)
Thank you.
Im not sure if it matters, but should :clone() be capitalized to :Clone()