Run it
Copy the script and paste it into your executor.
Players = :()
RunService = :()
Lighting = :()
Workspace = :()
Player = Players.LocalPlayer
Backpack = Player:()
CONFIG = {
Name = ,
MeshId = ,
TextureId = ,
Size = .(, , ),
SpeedBoost = ,
Duration = ,
TargetFOV = ,
ShakeStrength = ,
Saturation = ,
Contrast = -,
Brightness = ,
TintA = .(, , ),
TintB = .(, , ),
}
Connections = {}
EffectToken =
ActiveHumanoid =
ActiveRoot =
OriginalSpeed =
OriginalFOV =
ColorEffect =
(name)
Connections[name]
Connections[name]:()
Connections[name] =
(restoreMovement)
()
restoreMovement ActiveHumanoid ActiveHumanoid.Parent
OriginalSpeed
ActiveHumanoid.WalkSpeed = OriginalSpeed
ActiveHumanoid.CameraOffset = .zero
ColorEffect
ColorEffect:()
ColorEffect =
Camera = Workspace.CurrentCamera
Camera OriginalFOV
Camera.FieldOfView = OriginalFOV
ActiveHumanoid =
ActiveRoot =
OriginalSpeed =
OriginalFOV =
()
Tool = .()
Tool.Name = CONFIG.Name
Tool.RequiresHandle =
Tool.CanBeDropped =
Tool.ToolTip =
Handle = .()
Handle.Name =
Handle.Size = .(, , )
Handle.Transparency =
Handle.Color = .(, , )
Handle.Material = .Material.SmoothPlastic
Handle.CanCollide =
Handle.Massless =
Handle.Parent = Tool
Mesh = .()
Mesh.MeshType = .MeshType.FileMesh
Mesh.MeshId = CONFIG.MeshId
Mesh.TextureId = CONFIG.TextureId
Mesh.Scale = CONFIG.Size
Mesh.Parent = Handle
Tool.Parent = Backpack
Tool
()
Character = Player.Character
Character
Humanoid = Character:()
Root = Character:()
Camera = Workspace.CurrentCamera
Humanoid Root Camera
EffectToken +=
CurrentToken = EffectToken
ActiveHumanoid ~= Humanoid
()
ActiveHumanoid = Humanoid
ActiveRoot = Root
OriginalSpeed = Humanoid.WalkSpeed
OriginalFOV = Camera.FieldOfView
()
ColorEffect
ColorEffect:()
ColorEffect = .()
ColorEffect.Name =
ColorEffect.Saturation = CONFIG.Saturation
ColorEffect.Contrast = CONFIG.Contrast
ColorEffect.Brightness = CONFIG.Brightness
ColorEffect.TintColor = CONFIG.TintA
ColorEffect.Parent = Lighting
StartTime = .()
Duration = CONFIG.Duration
Connections.Render = RunService.RenderStepped:(()
CurrentToken ~= EffectToken
Humanoid.Parent Root.Parent
()
Alpha = .((.() - StartTime) / Duration, , )
Remaining = - Alpha
MoveDirection = Humanoid.MoveDirection
MoveDirection.Magnitude >
CurrentVelocity = Root.AssemblyLinearVelocity
TargetSpeed = OriginalSpeed + CONFIG.SpeedBoost * Remaining
HorizontalVelocity = MoveDirection.Unit * TargetSpeed
Root.AssemblyLinearVelocity = .(
HorizontalVelocity.X,
CurrentVelocity.Y,
HorizontalVelocity.Z
)
Humanoid.WalkSpeed = OriginalSpeed + CONFIG.SpeedBoost * Remaining
Shake = CONFIG.ShakeStrength * Remaining
Humanoid.CameraOffset = .(
(.() - ) * Shake,
(.() - ) * Shake,
)
Camera.FieldOfView = OriginalFOV
+ (CONFIG.TargetFOV - OriginalFOV) * Remaining
Wave = (.(.() * ) + ) /
ColorEffect.TintColor = CONFIG.TintA:(CONFIG.TintB, Wave)
ColorEffect.Saturation = CONFIG.Saturation * Remaining
ColorEffect.Contrast = CONFIG.Contrast * Remaining
ColorEffect.Brightness = CONFIG.Brightness * Remaining
Alpha >=
Humanoid.WalkSpeed = OriginalSpeed
Humanoid.CameraOffset = .zero
Camera.FieldOfView = OriginalFOV
EffectToken +=
()
)
Tool = ()
Connections.Activated = Tool.Activated:(()
()
)
Connections.Equipped = Tool.Equipped:(()
)
Connections.Unequipped = Tool.Unequipped:(()
)
Connections.Character = Player.CharacterAdded:(()
EffectToken +=
()
)
Connections.Destroying = Tool.Destroying:(()
EffectToken +=
()
_, Connection (Connections)
Connection:()
.(Connections)
)
Universal