
431 Views
117 Executions
Alternative mobile horn
Universal Script 📌
TonicostaPublished 10
6 months ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
Horn button
-- === 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
0Log in to join the conversation. Login
No comments yet. Be the first!







