local Players = game:GetService("Players") local player = Players.LocalPlayer local gui = Instance.new("ScreenGui", player:WaitForChild("PlayerGui")) gui.Name = "SlapGui" gui.ResetOnSpawn = false local frame = Instance.new("Frame", gui) frame.Size = UDim2.new(0, 330, 0, 340) frame.Position = UDim2.new(0.5, -165, 0.1, 0) frame.BackgroundColor3 = Color3.fromRGB(25, 25, 25) frame.BorderSizePixel = 0 frame.Active = true frame.Draggable = false local uis = game:GetService("UserInputService") local dragging, dragInput, dragStart, startPos frame.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true dragStart = input.Position startPos = frame.Position input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = false end end) end end) frame.InputChanged:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then dragInput = input end end) uis.InputChanged:Connect(function(input) if input == dragInput and dragging then local delta = input.Position - dragStart frame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y) end end) local discord = Instance.new("TextLabel", frame) discord.Size = UDim2.new(1, -10, 0, 30) discord.Position = UDim2.new(0, 5, 0, 5) discord.Font = Enum.Font.SourceSansBold discord.TextSize = 18 discord.TextColor3 = Color3.new(1, 1, 1) discord.BackgroundTransparency = 1 discord.TextXAlignment = Enum.TextXAlignment.Left discord.Text = "Discord: 1w69" local closeBtn = Instance.new("TextButton", frame) closeBtn.Size = UDim2.new(0, 30, 0, 30) closeBtn.Position = UDim2.new(1, -35, 0, 5) closeBtn.Text = "❌" closeBtn.Font = Enum.Font.SourceSansBold closeBtn.TextSize = 20 closeBtn.TextColor3 = Color3.new(1, 1, 1) closeBtn.BackgroundColor3 = Color3.fromRGB(100, 0, 0) closeBtn.MouseButton1Click:Connect(function() gui:Destroy() end) local positions = { "GoldSlapPad.Touch", "GalaxyP1", "WaterSlapPadS.Touch", "GalaxySlapPad.Touch", "GhostSlapPad.Touch", "FireSlapPad.Touch", "WB.WindSlapPad.Touch", "DarkSlapPad.Touch", "WINDB" } local function getPart(index) local name = positions[index] local parts = name:split(".") local current = workspace for _, partName in ipairs(parts) do current = current:FindFirstChild(partName) if not current then return nil end end return current end local currentLang = "ar" local infoText = { ar = "ملاحظة: زر 2 هو نقل لمنطقة لجعل الانتقال سلس وليس خطأ.", en = "Note: Button 2 teleports to an area for smooth transition, not an error." } local warningText = { ar = "عند الانتقال إلى 9 يجب أن تتحرك إلى slap يدوياً.", en = "When teleporting to 9 you must move to slap manually." } for i = 1, #positions do local button = Instance.new("TextButton", frame) button.Size = UDim2.new(0, 75, 0, 35) button.Position = UDim2.new(0, 10 + ((i - 1) % 4) * 80, 0, 40 + math.floor((i - 1) / 4) * 40) button.Text = tostring(i) button.Name = "Button" .. i button.Font = Enum.Font.SourceSansBold button.TextSize = 18 button.TextColor3 = Color3.new(1, 1, 1) button.BackgroundColor3 = Color3.fromRGB(40, 120, 180) button.MouseButton1Click:Connect(function() local part = getPart(i) if part and part:IsA("BasePart") then local char = player.Character or player.CharacterAdded:Wait() local root = char:FindFirstChild("HumanoidRootPart") if root then root.CFrame = part.CFrame + Vector3.new(0, 5, 0) end end end) end local translateBtn = Instance.new("TextButton", frame) translateBtn.Size = UDim2.new(0, 75, 0, 35) translateBtn.Position = UDim2.new(0, 10 + (9 % 4) * 80, 0, 40 + math.floor(9 / 4) * 40) translateBtn.Text = "ترجمة" translateBtn.Name = "TranslateButton" translateBtn.Font = Enum.Font.SourceSansBold translateBtn.TextSize = 18 translateBtn.TextColor3 = Color3.new(1, 1, 1) translateBtn.BackgroundColor3 = Color3.fromRGB(80, 80, 80) local infoLabel = Instance.new("TextLabel", frame) infoLabel.Size = UDim2.new(1, -10, 0, 25) infoLabel.Position = UDim2.new(0, 5, 1, -95) infoLabel.Font = Enum.Font.SourceSansBold infoLabel.TextSize = 16 infoLabel.TextColor3 = Color3.new(1, 1, 1) infoLabel.BackgroundTransparency = 1 infoLabel.TextWrapped = true infoLabel.Text = infoText[currentLang] local warning = Instance.new("TextLabel", frame) warning.Size = UDim2.new(1, -10, 0, 35) warning.Position = UDim2.new(0, 5, 1, -65) warning.Font = Enum.Font.SourceSansBold warning.TextSize = 15 warning.TextColor3 = Color3.fromRGB(255, 80, 80) warning.BackgroundTransparency = 1 warning.TextWrapped = true warning.Text = warningText[currentLang] translateBtn.MouseButton1Click:Connect(function() if currentLang == "ar" then currentLang = "en" else currentLang = "ar" end infoLabel.Text = infoText[currentLang] warning.Text = warningText[currentLang] end)