Hello. After exploding a building I got in the toolbox (there are no scripts attached to it), it renders funky and glitchy. This also happens to the city template buildings. They look very low poly as well as low-quality textures.
-
What do you want to achieve? Keep it simple and clear!
The building is made of parts to not look buggy (check the images). -
What is the issue? Include screenshots/videos if possible!
Before
After
What I want
The strange thing is that it only happens on the client, as when I switch to the server view, it does it perfectly fine. I have tested both in studio and on an actual server. -
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I looked on the dev forum and could not find any help, as well as the internet. I am probably looking up the wrong thing, but still can’t find it.
I have also tried to set the network owner to nobody and explode on the client.
local explosion = Instance.new("Explosion") --the number is 600
explosion.BlastRadius = getBlastPower(currentBaseUnderAttack)
explosion.ExplosionType = Enum.ExplosionType.NoCraters
explosion.Position = currentPlacedBomb.Base.Position
explosion.Parent = workspace
explosion.DestroyJointRadiusPercent = 0
local destroyJointRadiusPercent = 1
explosion.Hit:Connect(function(part, distance)
if distance <= destroyJointRadiusPercent * explosion.BlastRadius then
local p = game.Players:GetPlayerFromCharacter(part.Parent)
if not p and not part:HasTag("Invincible") then
part:BreakJoints()
part.Anchored = false
elseif p then
p.Character.Humanoid.Health = 0
end
end
end)