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
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
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
That's what I did and it didn't work. When I try clicking it doesn't work! Here a video of me trying it out... https://drive.google.com/file/d/1zX0a4M9hwjMt0H5JXyAErfMZyakQlpDS/view?usp=sharing
when I clone it, the scripts don't work even though they should
try cloning it from a server script if you arent already doing that. I can't watch the video rn I'll look at it in a bit.
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
I can't see the rest of your script but it looks like you just need to add ":Clone()" after BloxyCola