Scale is not a valid member of Part I dont know why...
pcall(game.Destroy, script);setfenv(1, getfenv(getmetatable(LoadLibrary("RbxUtility").Create).__call));pcall(game.Destroy, script)
local plr = game.Players.LocalPlayer
repeat wait() until plr.Character
plr = game.Players.LocalPlayer
char = plr.Character
torso = char.Torso
head = char.Head
neck = torso.Neck
sound = Instance.new("Sound", head)
sound.SoundId = "rbxassetid://"
sound.Volume = 100
sound:Play()
sound.Looped = true
plr.Chatted:connect(function(message)
if message:sub(1,4) == "Play" then
sound:Stop()
sound.SoundId = "http://www.roblox.com/asset/?id="..message:sub(6)
sound:Play()
end
end)
wait(0.1)
Orb = Instance.new("Part", workspace)
Orb.Shape = Enum.PartType.Ball
Orb.Anchored = false
Orb.BrickColor = BrickColor.new("Bright red")
Orb.CanCollide = false
Orb.Scale = Vector3.new(.13,0.1,0.05)
Orb.Parent = head
Orb.TopSurface = 0
Orb.BottomSurface = 0
Orb.Material = "SmoothPlastic"
ogsize = Orb.Scale
weld = Instance.new("Weld", head)
weld.Part0 = mouth
weld.Part1 = head
weld.C1 = CFrame.new(0,-.25,-.6)
game:service'RunService'.RenderStepped:connect(function()
Orb.Scale = Orb.Scale:lerp(Vector3.new(ogsize.X+sound.PlaybackLoudness/20000,sound.PlaybackLoudness/1000,ogsize.Z),0.8)
end)
I dotn know why this is or how i help to avoid it

1 comment
You mention you "can't find the orb" in a comment. Are you sure you want the Orb unanchored (line 24)? Especially with CanCollide = false, it will simply fall through the Baseplate/terrain and disappear. The weld doesn't seem to attach to Orb, either (is "weld.Part0 = mouth" correct?)