So i am trying to make this asset,https://web.roblox.com/library/95401558/Shade Without using insertservice, loadstring, ect. I need this to make a enemy for my game but the ones with the loadstring (or insertservice) i cant use. So i made this simple script:
po = script.Parent.Position.Position
poh=CFrame.new(po.X,po.Y+6,po.Z)
pola=CFrame.new(po.X+1.5,po.Y+4.5,po.Z)
pora=CFrame.new(po.X-1.5,po.Y+4.5,po.Z)
poto=CFrame.new(po.X,po.Y+4.5,po.Z)
poll=CFrame.new(po.X+0.5,po.Y+2.5,po.Z)
porl=CFrame.new(po.X-0.5,po.Y+2.5,po.Z)
m=Instance.new("Model",script.Parent)
fh=Instance.new("Part",m)
fhmesh=Instance.new("SpecialMesh",fh)
h=Instance.new("Part",m)
hu=Instance.new("Humanoid",m)
larm=Instance.new("Part",m)
rarm=Instance.new("Part",m)
torso=Instance.new("Part",m)
ll=Instance.new("Part",m)
rl=Instance.new("Part",m)
m.Name = "Making Bricks"
--local po=Vector3.new(po.X,po.Y,po.Z)
function makeshade()
fh.Anchored=true
h.Anchored=true
larm.Anchored=true
rarm.Anchored=true
torso.Anchored=true
ll.Anchored=true
rl.Anchored=true
m.Name = "Anchoring"
m.Name = "Making Bricks Porperties"
local tr="0.5"
local co=BrickColor.new("Really black")
hu.Name = "Humanoid"
fh.Name = "FakeHead"
fh.Transparency=tr
fh.BrickColor=co
fh.CFrame=poh
fh.CanCollide=true
fh.Size=Vector3.new(2, 1 ,1)
fhmesh.MeshType="Head"
fhmesh.Scale=Vector3.new(1.2 ,1.2 ,1.2)
h.Name = "Head"
h.Transparency=0.9
h.BrickColor=co
h.CFrame=poh
h.CanCollide=true
h.Size=Vector3.new(2, 1, 1)
larm.Name = "Left Arm"
larm.Transparency=tr
larm.BrickColor=co
larm.CFrame=pola
larm.CanCollide=false
larm.Size=Vector3.new(1, 2, 1)
rarm.Name = "Right Arm"
rarm.Transparency=tr
rarm.BrickColor=co
rarm.CFrame=pora
rarm.CanCollide=false
rarm.Size=Vector3.new(1, 2, 1)
torso.Name = "Torso"
torso.Transparency=tr
torso.BrickColor=co
torso.CFrame=poto
torso.CanCollide=true
torso.Size=Vector3.new(2, 2, 1)
ll.Name = "Left Leg"
ll.Transparency=tr
ll.BrickColor=co
ll.CFrame=poll
ll.CanCollide=false
ll.Size=Vector3.new(1, 2, 1)
rl.Name = "Right leg"
rl.Transparency=tr
rl.BrickColor=co
rl.CFrame=porl
rl.CanCollide=false
rl.Size=Vector3.new(1, 2, 1)
m.Name = "Motoring It"
local function motor()
local fane=Instance.new("Motor",h)
local lehi=Instance.new("Motor6D",torso)
local lesh=Instance.new("Motor6D",torso)
local neck=Instance.new("Motor6D",torso)
local rihi=Instance.new("Motor6D",torso)
local rish=Instance.new("Motor6D",torso)
fane.Name="Fake Neck"
lehi.Name="Left Hip"
lesh.Name="Left Shoulder"
neck.Name="Neck"
rihi.Name="Right Hip"
rish.Name="Right Shoulder"
fane.Part0=h
fane.Part1=fh
lehi.Part0=torso
lehi.Part1=ll
lesh.Part0=torso
lesh.Part1=larm
neck.Part0=h
neck.Part1=torso
rihi.Part0=torso
rihi.Part1=rl
rish.Part0=torso
rish.Part1=rarm
end
motor()
m.Name = "Unanchoring It"
fh.Anchored=false
h.Anchored=false
larm.Anchored=false
rarm.Anchored=false
torso.Anchored=false
ll.Anchored=false
rl.Anchored=false
m.Name = "Putting Scripts Into it"
local sounds = script:Clone()
local shades = script:Clone()
shades.Disabled = true
sounds.Disabled = true
shades.Name = "ShadeScript"
sounds.Name = "Sound"
shades.Parent = m
sounds.Parent = m
m.Name = "Putting sounds into it"
local sou1 = Instance.new("Sound",torso)
local sou2 = Instance.new("Sound",torso)
local sou3 = Instance.new("Sound",torso)
sou1.Name = "Ghost1Sound"
sou2.Name = "Ghost2Sound"
sou3.Name = "HitSound"
sou1.SoundId = "http://www.roblox.com/asset/?id=94247611"
sou2.SoundId = "http://www.roblox.com/asset/?id=94247729"
sou3.SoundId = "http://www.roblox.com/asset/?id=94247873"
m.Name = "Making smoke"
local smo = Instance.new("Smoke",torso)
smo.Color = Color3.new(0,0,0)
smo.Size = 12
smo.Opacity = 0.2
m.Name = "Doing more stuff"
shades.Disabled = false
sounds.Disabled = false
m.Name = "Shade"
script.Parent.Shade.Parent = workspace
m.Name = "Done!"
h.Transparency=1
script.Disabled = true
end
makeshade()
It should work, In fact it already works. But why is this making a ugly black blob? (Edit:I made the script to use cframe. But is still making a ugly blob. Can you give a explanation and not just commenting vague hints? This happened several times and i had to repost.)

7 comments
send pic of expected and actual result pls
ok
expected -- https://imgshare.io/image/aantekening-2020-02-01-214129.GRBxc
result -- https://imgshare.io/image/aantekening-2020-02-01-214445.GRfDZ
hope that helped you
ARE you doing it?
GODDAMMIT I HAVE TO REPOST AGIAN