ðChangelog
Changes and new releases to BedWars Scripting.
5/13/24 - API Improvements
Added "velocity" property to the ProjectileLaunched event
Added the BeforeProjectileLaunched event
Changed properties on the Telepearled event that were causing issues in Lua execution
"start" -> "startPos"
"end" -> "endPos"
4/5/24 - Season 10 Changes
Added TeamUpgradeEraPurchased event
Added TeamUpgradeEraType to be used with the above event
Modified the TeamUpgradeType file to reflect the newest Team Upgrades
Modified the TeamUpgradePurchased event to reflect the removal of "tiers" from this event
Marked Forge-related API as no longer compatible with the latest version of the game
This is due to the addition of match mechanics, which will soon be added to the Host Panel to configure in your custom match!
1/23/24 - Various Bug Fixes
Fixed
ChatService.sendMessage()
not sending messages after reverting to the legacy chat system (due to lag caused by the updated Roblox chat system)Fixed
CombatService
not damaging or healing KitEntities, ImageEntities, or CreatureEntitiesBlockService.getAllBlocks()
now gets all blocks placed by BlockService.placeBlock()EntityService.getNearbyEntities()
now returns all entities, both player and other entitiesFixed Scriptable Abilities not existing for players who joined after the script began running
Fixed
EntityService.spawnCreatureEntity()
not spawning Penguin CreatureTypesFixed
setTransparency()
on ModelsFixed existing
table
methodsAdded
table.getn
,table.freeze
,table.isFrozen
,table.create
Fixed
AbilityService.getAbilities()
only returning nilFixed Player modifier methods (listed below) working for only one player at a time
registerSpeedModifier()
registerAdditionalAirJumps()
registerJumpHeightMultiplier()
Fixed console printing the incorrect line number for errors
And some clarification on commonly reported bugs:
Image assets ONLY work when passed in the rbxassetid format. For example:
EntityService.createImageEntity("rbxassetid://11467634330", position)
Setting collisions on the model of Entities does work but is limited because we use Humanoids, which force parts of the Humanoid to have collisions, such as LowerTorso and UpperTorso. Setting collisions will affect the 3D clothing of the kit model but not the Humanoid parts. Setting full collisions requires the use of Collision Groups, which we do not currently have an implementation for.
10/4/23 - Player Scaling, Expanded Math and Table Libraries
Added
setScale()
to PlayerAdded
getInventory()
to InventoryServiceAdded
getPlayerByUserName()
to PlayerServiceAdded
getPlayerByDisplayName()
to PlayerServiceAdded
getCFrame()
andsetCFrame()
to EntityAdded
emit()
,clear()
, andsetLockedToPart()
to ParticleEmitterAdded ConsumeItem event
Added
insert()
,find()
, andremove()
to the table libraryAdded many more functions to the math library
Added direct button to Scripts on the HUD in Custom Matches
Fixed bug with
registerJumpHeightMultiplier()
9/8/23 - require
Added require
9/1/23 - Script Syncing, DataStoreService, ChatService
Added script syncing between the VS Code extension and the in-game script editor
Added DataStoreService
Added ChatService with
sendMessage()
Added PlayerAdded event
Added PlayerRemoving event
Added
clearInventory()
to InventoryServiceAdded
setLightInfluence()
,setLightEmission()
,setParticleRotation()
,setRotSpeed()
to ParticleEmitterFixed bug with
PlaySoundForPlayer()
Prompt: Deprecated
setKeyboardKey()
in favor ofsetKeyCode()
8/25/23 - VSCode Plugin, User Input, Custom Abilities, Particle Emitters
Released the VS Code extension for BedWars Scripting
Added InputService with
registerInputBegan()
andregisterInputEnded()
Added AbilityService with
createAbility()
,enableAbility()
, and more!Added ParticleService with
createParticleEmitter()
-> ParticleEmitterAdded PartService with
createPart()
-> PartAdded UseAbility event
Added
getTeamBed()
to TeamServiceAdded
getCFrame()
,getPosition()
,getRotation()
, andgetScale()
to ModelAdded
getCFrame()
,getPosition()
,getRotation()
,getTransparency()
, andgetSize()
to PartAdded
getPosition()
andgetSize()
to TextLabelAdded
getPosition()
to GeneratorAdded
getPosition()
to PromptAdded access to the following Roblox Data Types:
Added access to the following Roblox Enums:
Font (ex:
Font.Roboto
)ParticleOrientation (ex:
ParticleOrientation.FacingCamera
)
Added access to a limited set of functions from the table library
Fixed bug where the KeyCode Enum was not accessible
Fixed bug where Knockback in CombatService did not work without
fromEntity
Added a
fromPosition
parameter to Knockback
8/15/23 - Announcements, Gravity, Get Custom Match Host
Added GravityService with
setGravity()
Added AnnouncementService with
sendAnnouncement()
Added
getHost()
to MatchServiceAdded
hasEffect()
to StatusEffectServiceAdded
setText()
to ProgressBarAdded WeaponSwing event
Added PlayerPickupItem event
Added PlayerDropItem event
Added
math.abs()
Added
tostring()
andtonumber()
Added horizontal scrolling to the in-game script editor
Added optional
fromEntity
parameter toCombatService.damage()
Added optional
knockback
parameter toCombatService.damage()
Fixed the Upgrade Shopkeeper not despawning when a script stops
Fixed
task.delay()
not cleaning up when a script stops
8/2/23 - Generators, Chatted Event, Speed and Jump Modifiers
Added GeneratorService with
createGenerator()
Added Generator
Added Speed and Jump modifiers to Player
Added PlayerChatted event
Added in-world TextLabels
Added modifiable knockback to the EntityDamage event
Added
createItemModel()
to ModelServiceAdded
setPosition()
to EntityAdded os
Added tick
Added wait
Added ItemService with
dropItem()
Added
setCFrame()
to ModelModel: Deprecated
rotate()
in favor ofsetRotation()
Model: Deprecated
position()
in favor ofsetPosition()
Model: Deprecated
scale()
in favor ofsetScale()
Last updated