Universal Script 📌
2.6k Views
21 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

Updates

  1. Script edited: Create script

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
Script hub
3.5M
832.3k
Bumped 29 minutes ago
Key System

Script hub

Hall of Fame #7

Verified script badgeFlow Hub | 50 Games | Updated

Script hub
307
2.4k
Bumped 1 hour ago
Key System
Universal Script 📌
39.8k
1.3M
Bumped 2 hours ago
Script hub
22.4k
127.0k
Bumped 2 hours ago
Universal Script 📌
213
314
Bumped 2 hours ago
Universal Script 📌
472.7k
8.8M
Bumped 2 hours ago
Script hub
4.0M
2.2M
Bumped 3 hours ago

Script hub

Hall of Fame #3

KeylessVerified script badge[KEYLESS] Moondiety Script | 25+ supported Games