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

I am trying to clone item into the player and its not working?

I am working on admin commands and the tools wont work when i clone them. Here my code that I used

local function bloxycola()
	local bloxy = script.AdminItems.BloxyCola
	bloxy.Parent = characterplayer
end

1 comment

0

I can't see the rest of your script but it looks like you just need to add ":Clone()" after BloxyCola

2 answers

local function bloxycola()
    local bloxy = script.AdminItems.BloxyCola:Clone() -- if you want to clone it, make sure to use :Clone() or you will only be able to do it one time
    bloxy.Parent = characterplayer -- you didn't define what characterplayer was but otherwise everything else looks fine
end

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