-- Koordinatensystem-GUI Skript local player = game.Players.LocalPlayer local character = player.Character or player.CharacterAdded:Wait() local humanoidRootPart = character:WaitForChild("HumanoidRootPart") -- ScreenGui erstellen local screenGui = Instance.new("ScreenGui") screenGui.Parent = player:WaitForChild("PlayerGui") screenGui.Name = "CoordinatesSystem" -- Frame für die Anzeige erstellen local frame = Instance.new("Frame") frame.Size = UDim2.new(0, 250, 0, 150) -- Breite und Höhe frame.Position = UDim2.new(1, -260, 0, 10) -- Oben rechts frame.BackgroundColor3 = Color3.fromRGB(20, 20, 20) frame.BackgroundTransparency = 0.2 frame.BorderSizePixel = 0 frame.Parent = screenGui frame.ClipsDescendants = true -- Rundung hinzufügen local uicorner = Instance.new("UICorner") uicorner.CornerRadius = UDim.new(0, 10) uicorner.Parent = frame -- Titeltext erstellen local titleLabel = Instance.new("TextLabel") titleLabel.Size = UDim2.new(1, 0, 0.3, 0) titleLabel.Position = UDim2.new(0, 0, 0, 0) titleLabel.BackgroundTransparency = 1 titleLabel.Text = "Trixo Koordinaten System" titleLabel.Font = Enum.Font.GothamBold titleLabel.TextSize = 18 titleLabel.TextColor3 = Color3.fromRGB(255, 255, 255) titleLabel.TextStrokeTransparency = 0.8 titleLabel.TextScaled = true titleLabel.Parent = frame -- Linie unter dem Titel hinzufügen local line = Instance.new("Frame") line.Size = UDim2.new(0.9, 0, 0.05, 0) line.Position = UDim2.new(0.05, 0, 0.28, 0) line.BackgroundColor3 = Color3.fromRGB(100, 100, 100) line.BorderSizePixel = 0 line.Parent = frame -- X-, Y-, Z-Werte Labels erstellen local xLabel = Instance.new("TextLabel") xLabel.Size = UDim2.new(1, 0, 0.2, 0) xLabel.Position = UDim2.new(0, 0, 0.35, 0) xLabel.BackgroundTransparency = 1 xLabel.Text = "X: 0.00" xLabel.Font = Enum.Font.Gotham xLabel.TextSize = 16 xLabel.TextColor3 = Color3.fromRGB(255, 255, 255) xLabel.TextStrokeTransparency = 0.8 xLabel.Parent = frame local yLabel = Instance.new("TextLabel") yLabel.Size = UDim2.new(1, 0, 0.2, 0) yLabel.Position = UDim2.new(0, 0, 0.55, 0) yLabel.BackgroundTransparency = 1 yLabel.Text = "Y: 0.00" yLabel.Font = Enum.Font.Gotham yLabel.TextSize = 16 yLabel.TextColor3 = Color3.fromRGB(255, 255, 255) yLabel.TextStrokeTransparency = 0.8 yLabel.Parent = frame local zLabel = Instance.new("TextLabel") zLabel.Size = UDim2.new(1, 0, 0.2, 0) zLabel.Position = UDim2.new(0, 0, 0.75, 0) zLabel.BackgroundTransparency = 1 zLabel.Text = "Z: 0.00" zLabel.Font = Enum.Font.Gotham zLabel.TextSize = 16 zLabel.TextColor3 = Color3.fromRGB(255, 255, 255) zLabel.TextStrokeTransparency = 0.8 zLabel.Parent = frame -- Aktualisierung der Koordinaten game:GetService("RunService").RenderStepped:Connect(function() local position = humanoidRootPart.Position xLabel.Text = string.format("X: %.2f", position.X) yLabel.Text = string.format("Y: %.2f", position.Y) zLabel.Text = string.format("Z: %.2f", position.Z) end)