Universal Script 📌
431 Views
117 Executions

Alternative mobile horn

Universal Script 📌
Tonicosta
TonicostaPublished 10
6 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

Horn button

View Raw
-- === HORN BUTTON DRAGGABLE - Rails Unlimited ===
local player = game.Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")

-- Criar ScreenGui
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "HornButtonGui"
screenGui.ResetOnSpawn = false
screenGui.Parent = playerGui

-- Frame principal (arrastável)
local frame = Instance.new("Frame")
frame.Size = UDim2.new(0, 80, 0, 80)
frame.Position = UDim2.new(0.85, 0, 0.7, 0)
frame.BackgroundTransparency = 0.3
frame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
frame.BorderSizePixel = 0
frame.Active = true
frame.Draggable = true
frame.Parent = screenGui

-- Deixar redondo
local corner = Instance.new("UICorner")
corner.CornerRadius = UDim.new(0, 40)
corner.Parent = frame

-- Ícone de buzina (emoji)
local hornLabel = Instance.new("TextLabel")
hornLabel.Size = UDim2.new(1, 0, 1, 0)
hornLabel.BackgroundTransparency = 1
hornLabel.Text = "📯"  -- Ou use "🛎️" ou "🎺"
hornLabel.TextColor3 = Color3.fromRGB(255, 215, 0)
hornLabel.TextScaled = true
hornLabel.Font = Enum.Font.GothamBold
hornLabel.Parent = frame

-- Efeito ao clicar
local function playHorn(holding)
    -- Tenta tocar a buzina do trem atual (método mais compatível com Rails Unlimited)
    local character = player.Character or player.CharacterAdded:Wait()


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

More universal scripts

See all
Universal Script 📌
16
2
Approved 19 minutes ago
Universal Script 📌
3.9k
185.5k
Bumped 6 hours ago
Script hub
563
48
7 hours ago
Universal Script 📌
28.8k
673.9k
Bumped 9 hours ago
Script hub
14.0k
2.7k
Bumped 11 hours ago
Key System
Paid
Script hub
263.9k
88.5k
Bumped 12 hours ago
Key System
Universal Script 📌
3.1k
10.5k
Bumped 12 hours ago
Universal Script 📌
785
47
Approved 12 hours ago