BedWars Creative
  • 📜Changelog
  • ðŸŽĻSandbox Mode
  • 🊓WorldEdit Commands
  • ðŸ›ĄïļWorldGuard System
  • 🍊BedWars Scripting
    • 🚜Services
      • ðŸŽ―AbilityService
      • ðŸ“ĢAnnouncementService
      • ðŸ§ąBlockService
      • ðŸ”ĪChatService
      • ⚔ïļCombatService
      • 🌊ïļDisasterService
      • 🊅DataStoreService
      • ðŸŠĻEntityService
      • ðŸ”ĨForgeService
      • 🏭GeneratorService
      • ðŸ‘Đ‍🚀GravityService
      • âŒĻïļInputService
      • 🎒InventoryService
      • 💎ItemService
      • 🛏ïļMatchService
      • â„đïļMessageService
      • 🎁ModelService
      • ðŸĶĪMountService
      • 🏄‍♂ïļPlayerService
      • 🏗ïļPartService
      • 🎉ParticleService
      • 👆PromptService
      • 💰ShopService
      • ðŸ“ŧSoundService
      • 🊄StatusEffectService
      • 🚁VehicleService
      • ðŸšĐTeamService
      • ðŸĨ‡UIService
    • ðŸĪEvents
      • BeforeProjectileLaunched
      • BlockPlace
      • BlockBreak
      • BedAlarmTriggered
      • ConsumeItem
      • Enchant
      • EntityDamage
      • EntityDeath
      • EntitySpawn
      • Forged
      • InventoryItemAdded
      • ItemPurchase
      • MatchStart
      • PlayerChatted
      • PlayerAdded
      • PlayerRemoving
      • PlayerDropItem
      • PlayerPickupItem
      • ProjectileLaunched
      • ProjectileHit
      • StatusEffectAdded
      • StatusEffectRemoved
      • WeaponSwing
      • TeamUpgradePurchased
      • TeamUpgradeEraPurchased
      • Telepearled
      • UseAbility
    • ðŸ“ĶObjects
      • AbilityConfig
      • Block
      • Entity
        • ImageEntity
        • KitEntity
        • CreatureEntity
      • Generator
      • Knockback
      • Leaderboard
      • MatchState
      • Model
      • ParticleEmitter
      • Part
      • Player
      • Prompt
      • ProgressBar
      • TextLabel
      • Team
    • 📚Types
      • AbilityType
      • AbilityInputType
      • CreatureType
      • DisasterType
      • EnchantType
      • ItemType
      • KitType
      • ModelType
      • MountType
      • VehicleType
      • ProjectileType
      • SoundType
      • StatusEffectType
      • TeamUpgradeEraType
      • TeamUpgradeType
      • MatchRole
    • ⚙ïļUtilities
      • require
      • math
      • pairs & ipairs
      • print & error
      • os
      • string
      • table
      • task
      • tick
      • tostring & tonumber
      • wait
Powered by GitBook
On this page
  1. BedWars Scripting
  2. Objects

ParticleEmitter

PreviousModelNextPart

Last updated 1 year ago

For examples on how to use, refer to .

Creates a Roblox .

Functions

setTexture(texture: string)

Sets the of the of the particle emitter.

setColor(color: )

Sets the of the particles emitted.

setRate(rate: number)

Sets the of the particles emitted.

setPosition(position: )

Sets the position of the particle emitter.

getPosition():

Returns the position of the particle emitter.

setRotation(rotation: )

Sets the rotation of the particle emitter.

Returns the rotation of the particle emitter.

Sets the CFrame of the particle emitter.

Returns the CFrame of the particle emitter.

Sets the size of the region from which particles are emitted.

Returns the size of the region from which particles are emitted.

setBrightness(brightness: number)

setDrag(drag: number)

Sets the particle rotation of the particles emitted.

Sets the rotation speed of the particles emitted.

setLightInfluence(influence: number)

Sets the light influence of the particles emitted.

setLightEmission(emission: number)

Sets the light emission of the particles emitted.

setTimeScale(timeScale: number)

setEnabled(enabled: boolean)

Enables or disables the particle emitter.

setLockedToPart(locked: boolean)

emit(amount: number | nil)

clear()

destroy()

Destroys the particle emitter.

getRotation():

setCFrame(cframe: )

getCFrame():

setRegionSize(size: )

getRegionSize():

setSize(size: )

Sets the of the particles emitted.

getSize():

Returns the of the particles emitted.

setTransparency(transparency: )

Sets the of the particles emitted.

getTransparency():

Returns the of the particles emitted.

Sets the of the particles emitted.

setSpeed(speed: )

Sets the of the particles emitted.

setAcceleration(acceleration: )

Sets the of the particles emitted.

Sets the of the particles emitted.

setLifetime(lifetime: )

Sets the of the particles emitted.

setParticleOrientation(orientation: )

Sets the of the particles emitted. Written as ParticleOrientation.FacingCamera

setParticleRotation(rotation: )

setRotSpeed(speed: )

setSquash(squash: )

Sets the of the particles emitted.

setSpreadAngle(angle: )

Sets the of the particles emitted.

Sets the of the particles emitted.

Sets the particle emission to be to the emission source, or whether the particles will linger around the position they were emitted if the emission source moves.

the given amount of particles, otherwise defaults to the rate of the particle emitter.

any currently emitted particles.

🍊
ðŸ“Ķ
ParticleService
ParticleEmitter
rbxassetid
texture
ColorSequence
color
rate
Vector3
Vector3
Vector3
Vector3
CFrame
CFrame
Vector3
Vector3
NumberSequence
size
NumberSequence
size
NumberSequence
transparency
NumberSequence
transparency
brightness
NumberRange
speed
Vector3
acceleration
drag
NumberRange
lifetime
ParticleOrientation
particle orientation
NumberRange
NumberRange
NumberSequence
squash
Vector2
spread angle
time scale
locked
Emits
Clears