I am trying to spawn a copy of a brick that I made, but it says :Unable to create an Instance of type "modeledAttacker". Here is the code
local base = script.Parent
local modeledAttacker = game.Workspace.attacker
function createAttacker()
attacker = Instance.new("modeledAttacker",Workspace) -- problem originates here
attacker.Position = Vector3.new( -33, 3, 18)
end
createAttacker()

1 comment
thanks!