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