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

How do I clone a tool that requires a value to clone?

So I was wondering what's wrong with this code because I thought I made this correctly... see the code below

if Player.leaderstats.Strength.Value > 24 then game.Lighting["Wooden Domino Crown"]:Clone().Parent = game.StarterPack

If I don't get an answer don't worry I will probably figure it out and then I won't need help.

2 comments

0

The most obvious thing is that it's missing a closing 'end'. Was there something else wrong with it, and if so, what error are you getting?

0

umm i think i forgot to add the end to it in here but not in the actual scripts...

1 answer

✓ Accepted answer
if Player.leaderstats.Strength.Value > 24 then
	-- Define player if you didn't first, game:GetService("Players").PLAYERNAME
	game.Lighting["Wooden Domino Crown"]:Clone().Parent = Player.StarterPack
end

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