-- Getting ReplicatedStorage and Workspace service
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local workspace = game:GetService("Workspace")
-- Referencing Essentials
local Essentials = require(ReplicatedStorage.Essentials)
-- Referencing the instance you want to set the attribute to
local damagePart = workspace.DamagePart
-- Getting the attribute's value
Essentials.GetAttribute(damagePart, true)