Tool clones model from lighting into workspace

I’m trying to make an airstrike tool that copies the plane from lighting into workspace only issue is the tutorials i watch don’t seem to work with the tools section…

If you can help, thanks.
Also im aware lighting is not the best storage but im used to it

^^^ Check and read the wiki for what tool activated and tool equipped is and brush up on clone()

Also, you should move your plane to replicated or server storage to prevent any future problems.

Not sure what you want to do entirely but heres an example you can start with. I did this on mobile so bare with me.

local ServerStorage = game:GetService("ServerStorage")
local plane = ServerStorage:WaitForChild("plane")

local tool = --wherever your tool is
tool.RequiresHandle = --true or false

 
function onActivation()
    local clonePlane = plane:Clone()
    clonePlane.Parent = game.Workspace

    
end
 
tool.Activated:Connect(onActivation)
1 Like

It works now thanks
the issue was how i wrote the script since i used local variables

1 Like