Universal Script 📌
2.6k Views
16 Executions

Useless Universal

Universal Script 📌
Antagonist
AntagonistPublished 5
2 years ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

-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

View Raw
--[[

Dies If Not Moving Your Character by yourself after 10 seconds.
Made By Display User T0mato.
--]]

-- Services
local Players = game:GetService("Players")
local TweenService = game:GetService("TweenService")
local StarterGui = game:GetService("StarterGui")

-- Constants
local AFK_THRESHOLD = 10 -- Time in seconds before considering player AFK
local NOTIFICATION_CONFIG = {
    Duration = 5,
    Position = UDim2.new(0.5, 0, 0, 10),
    Size = UDim2.new(0, 200, 0, 30),
    Colors = {
        Color3.fromRGB(255, 0, 0),   -- Red
        Color3.fromRGB(0, 255, 0),   -- Green
        Color3.fromRGB(0, 0, 255)    -- Blue
    }
}

-- Create notification GUI
local function createNotificationGui()
    local ScreenGui = Instance.new("ScreenGui")
    ScreenGui.Name = "AFKNotification"
    ScreenGui.ResetOnSpawn = false
    
    local NotificationFrame = Instance.new("Frame")
    NotificationFrame.Name = "NotificationFrame"
    NotificationFrame.Size = NOTIFICATION_CONFIG.Size
    NotificationFrame.Position = NOTIFICATION_CONFIG.Position
    NotificationFrame.AnchorPoint = Vector2.new(0.5, 0)
    NotificationFrame.BackgroundColor3 = NOTIFICATION_CONFIG.Colors[1]
    NotificationFrame.BorderSizePixel = 0
    NotificationFrame.Parent = ScreenGui
    
    local UICorner = Instance.new("UICorner")


Comments

1
Log in to join the conversation. Login
Antagonist's profile picture
AntagonistUploader2 years ago(edited)

Lol

1

Tags

More universal scripts

See all
Universal Script 📌
6.3k
10.5k
Bumped 10 minutes ago
Universal Script 📌
12.2k
74.3k
Bumped 1 hour ago
Key System
Script hub
67
1
Approved 1 hour ago
Universal Script 📌
356
8
Bumped 2 hours ago
Script hub
170.6k
1.6M
Bumped 2 hours ago
Key System

Script hub

#16 this week

Verified script badgeAirflow HUB

Script hub
2.1k
1.2k
Bumped 2 hours ago
Key System