I'm making a simple audio visualizer as a sort of aesthetic thing in my game. The system works completely in local mode, but when I go into online mode, everything works except for the sizing of the blocks.
while wait(0.02) do
local byte = Instance.new("Part", game.Workspace)
byte.Anchored = true
local vol = ((script.Parent.Sound.PlaybackLoudness) / 100)
local col = ((script.Parent.Sound.PlaybackLoudness) / 1000)
byte.Size = Vector3.new(0.2, vol, 0.2) --this is the sizing portion
byte.Material = ("Neon")
byte.CFrame = CFrame.new(0, 8, 0)
byte.Color = Color3.new(col, 0.5, col)
local scrip = script.Move:clone()
scrip.Parent = byte
scrip.Disabled = false
end
