Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Help me with this script please?

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.

1 answer

Im not sure if it matters, but should :clone() be capitalized to :Clone()

This discussion is preserved as it was. New answers, comments, and votes are closed.