Hello! I am wanting to know how I can detect the friction of a part and then enable a particle emitter once the friction is either higher or lower than a said value. All answers appreciated, thanks!
Try this out:
local part = workspace:FindFirstChildWhichIsA("BasePart", true) local particle = workspace:FindFirstChildWhichIsA("ParticleEmitter", true) if part.PhysicalProperties.Friction >= 1 and particle then particle.Enabled = true else particle.Enabled = false end