Universal Script 📌
5.2k Views
4 Executions

Calculator

Universal Script 📌
Moor
MoorPublished 25
2 years 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

epic

View Raw
local player = game.Players.LocalPlayer
local gui = Instance.new("ScreenGui")
local frame = Instance.new("Frame")
local display = Instance.new("TextLabel")
local buttons = {}
local isDragging = false
local offset = Vector2.new()

-- Stellen Sie die GUI-Elemente ein
gui.Parent = player.PlayerGui
gui.Name = "CalculatorGUI"
frame.Parent = gui
frame.Size = UDim2.new(0, 200, 0, 300)
frame.Position = UDim2.new(0.5, -100, 0.5, -150)
frame.BackgroundTransparency = 0.5

display.Parent = frame
display.Size = UDim2.new(1, 0, 0.2, 0)
display.TextSize = 24
display.BackgroundColor3 = Color3.new(0, 0, 0)
display.TextColor3 = Color3.new(1, 1, 1)
display.Text = "0"

-- Funktion zum Hinzufügen von Schaltflächen
local function addButton(text, x, y)
    local button = Instance.new("TextButton")
    button.Parent = frame
    button.Size = UDim2.new(0.2, 0, 0.1, 0)
    button.Position = UDim2.new(x, 0, y, 0)
    button.BackgroundColor3 = Color3.new(0.2, 0.2, 0.2)
    button.Text = text
    button.MouseButton1Click:Connect(function()
        -- Hier fügen Sie die Logik für die Schaltflächen hinzu
        if text == "=" then
            -- Berechnung durchführen und Ergebnis anzeigen
            local result = loadstring("return " .. display.Text)()
            display.Text = tostring(result)
        elseif text == "C" then
            -- Löschen Sie den Anzeigetext
            display.Text = "0"


Comments

12
Log in to join the conversation. Login
expirevamp's profile picture
expirevamp2 years ago(edited)

who tf needs chat gpt calculator 😭😭😭😭😭😭 gonna use it for my college 🔥🔥🔥🔥

5
Vyperia's profile picture
Vyperia2 years ago(edited)

gonna use this for my school 🔥

3
ZERETET's profile picture
ZERETET2 years ago(edited)

who the fück would want this shït

1
Moor's profile picture
MoorUploader2 years ago(edited)

@DaNoob just dont spam NOT FE NOT FE NOT FE in comments just add NOT FE

1
Moor's profile picture
MoorUploader2 years ago(edited)

@Danoob alright but remove the comments then + i dont TALK Trash talk watch ur self bro u just ruined ur profile

1
French's profile picture
French2 years ago(edited)

and yeah ill leave you alone if you leave me alone so its settled, don't trash talk on my script page, and i wont on yours

1
French's profile picture
French2 years ago(edited)

@CrazyNooby, go find a batch of grass

1

More universal scripts

See all
Script hub
3.0M
14.6M
3 years ago

Script hub

Hall of Fame #1

KeylessVerified script badgeYARHM - MM2, FTF, Forsaken, etc.

Script hub
69
4
2 days ago
Key System
Script hub
216
11
2 days ago
Universal Script 📌
4.4k
26.6k
4 months ago
Script hub
1.3k
29
4 days ago
Key System