---
title: "Snake minigame by mrdagon | Universal Roblox Script - ScriptBlox"
description: "Snake minigame by mrdagon for any Roblox game: Just a snake mini game"
canonical_url: "https://scriptblox.com/script/Universal-Script-Snake-minigame-by-mrdagon-242808"
meta:
  "og:description": "Snake minigame by mrdagon for any Roblox game: Just a snake mini game"
  "og:image": "https://scriptblox.com/images/script/0-1783921641136.jpg"
  "og:title": "Snake minigame by mrdagon | Universal Roblox Script - ScriptBlox"
  "twitter:description": "Snake minigame by mrdagon for any Roblox game: Just a snake mini game"
  "twitter:image": "https://scriptblox.com/images/script/0-1783921641136.jpg"
  "twitter:title": "Snake minigame by mrdagon | Universal Roblox Script - ScriptBlox"
---

> Index of every page on this site: [llms.txt](https://scriptblox.com/llms.txt)

![Universal Script 📌](https://scriptblox.com/images/script/0-1783921641136.jpg)

# **Snake minigame by mrdagon**

[**Universal Script 📌**](https://scriptblox.com/game/universal)**![MrdagonREAL](https://scriptblox.com/images/photo/680099f908d1fe2f79e2fd79-1783921376919.jpg) [MrdagonREAL](https://scriptblox.com/u/MrdagonREAL)First script**

5 months ago

[**Get an executor**](https://scriptblox.com/executors?kind=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

Just a snake mini game

[View Raw](https://scriptblox.com/raw/Universal-Script-Snake-minigame-by-mrdagon-242808)

```
-- Minijuego de Serpiente COMPACTO para Delta Executor
local Players = game:GetService("Players")
local CoreGui = game:GetService("CoreGui")
local UserInputService = game:GetService("UserInputService")

-- Eliminar GUI previa si existe
if CoreGui:FindFirstChild("SnakeGameGui") then
    CoreGui.SnakeGameGui:Destroy()
end

-- Variables del Juego (Tablero más chico)
local gridSize = 12  -- Reducido de 20 a 12
local boardWidth = 14
local boardHeight = 14
local snake = {}
local direction = Vector2.new(1, 0)
local nextDirection = direction
local foodPos = Vector2.new(5, 5)
local score = 0
local gameRunning = false
local moveInterval = 0.20
local lastMove = 0

-- Crear Interfaz Gráfica (GUI) Mini
local sg = Instance.new("ScreenGui")
sg.Name = "SnakeGameGui"
sg.Parent = CoreGui

local mainFrame = Instance.new("Frame")
mainFrame.Size = UDim2.new(0, boardWidth * gridSize + 20, 0, boardHeight * gridSize + 115) -- Más compacto
mainFrame.Position = UDim2.new(0.5, -(boardWidth * gridSize) / 2, 0.4, -(boardHeight * gridSize) / 2)
mainFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
mainFrame.BorderSizePixel = 1
mainFrame.Active = true
mainFrame.Draggable = true
mainFrame.Parent = sg

local title = Instance.new("TextLabel")
title.Size = UDim2.new(1, -25, 0, 22)
title.Text = "  Snake Mini"


```

## **Comments **

**0**

Log in to join the conversation. [**Login **](https://scriptblox.com/login?redirect=/script/Universal-Script-Snake-minigame-by-mrdagon-242808)

No comments yet. Be the first!

```json
{"@context":"https://schema.org","@type":"SoftwareSourceCode","@id":"https://scriptblox.com/script/Universal-Script-Snake-minigame-by-mrdagon-242808#script","url":"https://scriptblox.com/script/Universal-Script-Snake-minigame-by-mrdagon-242808","name":"Snake minigame by mrdagon","programmingLanguage":"Lua","runtimePlatform":"Roblox","author":{"@type":"Person","name":"MrdagonREAL","url":"https://scriptblox.com/u/MrdagonREAL"},"datePublished":"2026-07-13T05:47:21.147Z","image":"https://scriptblox.com/images/script/0-1783921641136.jpg","isAccessibleForFree":true}
```

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://scriptblox.com/#website","@type":"WebSite","description":"Search free Roblox scripts uploaded by the community, with live status for every major executor. Browse by game, copy the loadstring and run it in your executor.","inLanguage":"en","name":"ScriptBlox","url":"https://scriptblox.com/"},{"@id":"https://scriptblox.com/script/Universal-Script-Snake-minigame-by-mrdagon-242808#webpage","@type":"WebPage","description":"Snake minigame by mrdagon for any Roblox game: Just a snake mini game","name":"Snake minigame by mrdagon | Universal Roblox Script - ScriptBlox","url":"https://scriptblox.com/script/Universal-Script-Snake-minigame-by-mrdagon-242808","breadcrumb":{"@id":"https://scriptblox.com/script/Universal-Script-Snake-minigame-by-mrdagon-242808#breadcrumb"},"isPartOf":{"@id":"https://scriptblox.com/#website"},"mainEntity":{"@id":"https://scriptblox.com/script/Universal-Script-Snake-minigame-by-mrdagon-242808#script"},"potentialAction":[{"@type":"ReadAction","target":["https://scriptblox.com/script/Universal-Script-Snake-minigame-by-mrdagon-242808"]}]},{"@id":"https://scriptblox.com/script/Universal-Script-Snake-minigame-by-mrdagon-242808#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://scriptblox.com","position":1},{"@type":"ListItem","name":"Universal","item":"https://scriptblox.com/game/universal","position":2},{"@type":"ListItem","name":"Snake minigame by mrdagon","position":3}]}]}
```

## Sitemap

See the full [sitemap](https://scriptblox.com/sitemap.md) for all pages.
