A ForceField (also known as "FF" for short) is an object in a place. It was added on December 20, 2007, appearing as flashing colored wireframes around a player's avatar. Its appearance was updated to a sparkling blue 3D ball around early July 2011,[1], and in 2014, it was updated to a more detailed 2D orb.
It currently appears as a blue orb around a player's avatar, protecting the player from being knocked out by explosions or from most Tools. However, some things can remove the ForceField and kill the avatar.
A SpawnLocation can be inserted into a place, defaulting to appear for ten seconds around newly spawned players. This time can be adjusted to be longer or shorter through the spawn's "Duration" property.
The ForceField will also protect anything with a Vehicle property.
Properties
Visible: bool
Determines whether or not the visual effects of the ForceField are enabled. Methods, such as Humanoid:TakeDamage and classes such as Explosions are affected by the ForceField, regardless of this setting.
- Category: Data.
- Serialization: can save and load.
- Thread safety: read safe
Scripting ForceFields[]
ForceFields only have an effect when put inside a Model with a part named "Head". This can be done with the following code in a script:
--!strict
local forceField: ForceField = Instance.new("ForceField", nil)
forceField.Parent = Players.unknown.Character
It is important to note what ForceFields do and do not do. Forcefields do protect against almost all explosions. However, they will not work if used to defend from a scripted weapon that do not account for them. Adding a ForceField to a player's character prevents Humanoid:TakeDamage(n)
from having any effect. However, it does not prevent code such as Humanoid.Health = 0
from killing the player.
Trivia[]
This section is a trivia section. Please relocate any relevant information into other sections of the article.
- There are scripts, as well as gear, that do go through ForceFields, such as the Skeleton Scythe.
- The player can be knocked around while the Force Field is active, the only known tool that can knock the players around while the FF is on is the Fast Rocket.
- You are able to kill a player that has a forcefield using the effect of Venomshank and Darkheart,the Hyperlaser Gun, and Frost Blade.
- You are were previously able to blow off a forcefield's player's limbs with the Darksteel Katana. It has been patched since.
- There are some exploiting programs that can activate forcefield without being admin on a game, they are commonly found in fighting games. It has also been patched since.
Gallery[]
References[]
External links[]
- ForceField in the Roblox Creator Documentation
- ForceField in the Roblox API Reference