Universal Script 📌
1.1k Views
1.5k Executions

Snake Script

Universal Script 📌
someguyonscriptblox
someguyonscriptblox10K executions
7 months 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

basic snake script dude. i got tired of my dumb knowledge of lua and js asked chatgpt idfc flame me all you want

View Raw
--// CLEANUP (prevents duplicates if re-executed)
local player = game.Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")

if playerGui:FindFirstChild("SnakeUI") then
	playerGui.SnakeUI:Destroy()
end

--// Create ScreenGui
local gui = Instance.new("ScreenGui")
gui.Name = "SnakeUI"
gui.ResetOnSpawn = false
gui.Parent = playerGui

--// Main Window
local window = Instance.new("Frame")
window.Size = UDim2.new(0, 300, 0, 420)
window.Position = UDim2.new(0.5, -150, 0.5, -210)
window.BackgroundColor3 = Color3.fromRGB(240, 240, 240)
window.BorderSizePixel = 2
window.Parent = gui

--// Title Bar
local titleBar = Instance.new("Frame", window)
titleBar.Size = UDim2.new(1, 0, 0, 30)
titleBar.BackgroundColor3 = Color3.fromRGB(0, 120, 215)

local title = Instance.new("TextLabel", titleBar)
title.Size = UDim2.new(1, 0, 1, 0)
title.Text = "Snake"
title.TextColor3 = Color3.new(1,1,1)
title.BackgroundTransparency = 1
title.Font = Enum.Font.SourceSansBold
title.TextSize = 18

--// DRAG SYSTEM (works on mobile + executors)
local dragging = false
local dragStart, startPos

titleBar.InputBegan:Connect(function(input)


Comments

1
Log in to join the conversation. Login
zangestuu's profile picture
zangestuu7 months ago

"send's hate"

1

Tags

More universal scripts

See all
Script hub
16.0k
93.4k
Bumped 1 hour ago
Key System

Script hub

Kronos New

Universal Script 📌
48.5k
46.7k
Bumped 4 hours ago
Universal Script 📌
1.5k
1.3k
Bumped 6 hours ago
Universal Script 📌
4.2k
56.5k
Bumped 7 hours ago
Universal Script 📌
7.1k
71.8k
Bumped 8 hours ago
Script hub
3.5M
1.2M
Bumped 9 hours ago
Key System