Can i localize a function? like this:
function SpawnShadow()
local Shadow = Instance.new("Part", workspace)
Shadow.Position = vector3.new(10,10,10)
Shadow.Name = "Shadow"
local Shadow = SpawnShadow()
Can i do that?If not is there another way? because it does not know what shadow is when i create a
script.parent.MouseButton1Click:Connect(function()
