Run it
Copy the script and paste it into your executor.
Players = :()
TweenService = :()
StarterGui = :()
AFK_THRESHOLD =
NOTIFICATION_CONFIG = {
Duration = ,
Position = .(, , , ),
Size = .(, , , ),
Colors = {
.(, , ),
.(, , ),
.(, , )
}
}
()
ScreenGui = .()
ScreenGui.Name =
ScreenGui.ResetOnSpawn =
NotificationFrame = .()
NotificationFrame.Name =
NotificationFrame.Size = NOTIFICATION_CONFIG.Size
NotificationFrame.Position = NOTIFICATION_CONFIG.Position
NotificationFrame.AnchorPoint = .(, )
NotificationFrame.BackgroundColor3 = NOTIFICATION_CONFIG.Colors[]
NotificationFrame.BorderSizePixel =
NotificationFrame.Parent = ScreenGui
UICorner = .()
UICorner.CornerRadius = .(, )
UICorner.Parent = NotificationFrame
NotificationText = .()
NotificationText.Name =
NotificationText.Size = .(, , , )
NotificationText.BackgroundTransparency =
NotificationText.Text =
NotificationText.TextColor3 = .(, , )
NotificationText.Font = .Font.GothamBold
NotificationText.TextSize =
NotificationText.Parent = NotificationFrame
ScreenGui, NotificationFrame
(frame)
colorIndex =
info = TweenInfo.(, .EasingStyle.Linear)
nextIndex = (colorIndex % #NOTIFICATION_CONFIG.Colors) +
tween = TweenService:(frame, info, {
BackgroundColor3 = NOTIFICATION_CONFIG.Colors[nextIndex]
})
tween:()
tween.Completed:()
colorIndex = nextIndex
.()
(player)
character = player.Character player.CharacterAdded:()
humanoid = character:()
lastPosition = character:().Position
lastMovementTime = ()
notificationGui, notificationFrame = ()
notificationGui.Parent = player:()
.(()
(notificationFrame)
)
.(()
currentPosition = character:().Position
(currentPosition - lastPosition).Magnitude >
lastMovementTime = ()
lastPosition = currentPosition
() - lastMovementTime >= AFK_THRESHOLD
humanoid.Health =
lastMovementTime = ()
.()
)
player.CharacterAdded:((newCharacter)
character = newCharacter
humanoid = character:()
lastPosition = character:().Position
lastMovementTime = ()
)
Players.PlayerAdded:((player)
player.CharacterAdded:(()
.(()
(player)
)
)
)
_, player (Players:())
.(()
(player)
)
-Literally Just Kills Ur Character Automatically After being afk for 10 Seconds. -Features: Adjustable Seconds. IN THE: "local AFK_THRESHOLD = 10" change the 10 into any Seconds u want. Note: i only made this because i was bored and tried to make something challenging and funny and also stupid at the same time.. 0-0

Universal