Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local DeltaPc = Instance.new("ScreenGui")
- local Executer = Instance.new("Frame")
- local UICorner = Instance.new("UICorner")
- local Frame = Instance.new("Frame")
- local scripts = Instance.new("Frame")
- local TextBox = Instance.new("TextBox")
- local UICorner_2 = Instance.new("UICorner")
- local TextButton = Instance.new("TextButton")
- local UICorner_3 = Instance.new("UICorner")
- local Clear = Instance.new("TextButton")
- local UICorner_4 = Instance.new("UICorner")
- local Settings = Instance.new("Frame")
- local Frame_2 = Instance.new("Frame")
- local Colors = Instance.new("Frame")
- local TextBox_2 = Instance.new("TextBox")
- local UICorner_5 = Instance.new("UICorner")
- local TextLabel = Instance.new("TextLabel")
- local UICorner_6 = Instance.new("UICorner")
- local Delete = Instance.new("Frame")
- local UICorner_7 = Instance.new("UICorner")
- local TextLabel_2 = Instance.new("TextLabel")
- local DeleteButton = Instance.new("TextButton")
- local ImageLabel = Instance.new("ImageLabel")
- local UIAspectRatioConstraint = Instance.new("UIAspectRatioConstraint")
- local Colors2 = Instance.new("Frame")
- local TextBox_3 = Instance.new("TextBox")
- local UICorner_8 = Instance.new("UICorner")
- local TextLabel_3 = Instance.new("TextLabel")
- local UICorner_9 = Instance.new("UICorner")
- local Buttons = Instance.new("Frame")
- local UICorner_10 = Instance.new("UICorner")
- local Settings_2 = Instance.new("TextButton")
- local ImageLabel_2 = Instance.new("ImageLabel")
- local UIAspectRatioConstraint_2 = Instance.new("UIAspectRatioConstraint")
- local Scripts = Instance.new("TextButton")
- local ImageLabel_3 = Instance.new("ImageLabel")
- local UIAspectRatioConstraint_3 = Instance.new("UIAspectRatioConstraint")
- --Properties:
- DeltaPc.Name = "DeltaPc"
- DeltaPc.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- DeltaPc.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Executer.Name = "تشغيل"
- Executer.Parent = DeltaPc
- Executer.BackgroundColor3 = Color3.fromRGB(44, 44, 44)
- Executer.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Executer.BorderSizePixel = 0
- Executer.Position = UDim2.new(0.199650049, 0, 0.199924096, 0)
- Executer.Size = UDim2.new(0.600000024, 0, 0.600000024, 0)
- UICorner.CornerRadius = UDim.new(0, 20)
- UICorner.Parent = Executer
- Frame.Name = " "
- Frame.Parent = Executer
- Frame.BackgroundColor3 = Color3.fromRGB(29, 29, 29)
- Frame.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Frame.BorderSizePixel = 0
- Frame.Position = UDim2.new(0.0689765736, 0, -3.65392445e-08, 0)
- Frame.Size = UDim2.new(0.0192492772, 0, 0.99856323, 0)
- scripts.Name = "scripts"
- scripts.Parent = Executer
- scripts.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- scripts.BackgroundTransparency = 1.000
- scripts.BorderColor3 = Color3.fromRGB(0, 0, 0)
- scripts.BorderSizePixel = 0
- scripts.Position = UDim2.new(0.0882258564, 0, -0.00239467248, 0)
- scripts.Size = UDim2.new(0.854988754, 0, 1.00095785, 0)
- TextBox.Parent = scripts
- TextBox.BackgroundColor3 = Color3.fromRGB(29, 29, 29)
- TextBox.BorderColor3 = Color3.fromRGB(27, 42, 53)
- TextBox.Position = UDim2.new(-5.74220387e-08, 0, 0.197694182, 0)
- TextBox.Size = UDim2.new(1.06516337, 0, 0.433014363, 0)
- TextBox.Font = Enum.Font.Unknown
- TextBox.PlaceholderColor3 = Color3.fromRGB(171, 171, 171)
- TextBox.PlaceholderText = "حط سكربتك"
- TextBox.Text = ""
- TextBox.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextBox.TextScaled = true
- TextBox.TextSize = 100.000
- TextBox.TextWrapped = true
- UICorner_2.CornerRadius = UDim.new(0, 22)
- UICorner_2.Parent = TextBox
- TextButton.Parent = scripts
- TextButton.BackgroundColor3 = Color3.fromRGB(29, 29, 29)
- TextButton.BorderColor3 = Color3.fromRGB(27, 42, 53)
- TextButton.BorderSizePixel = 0
- TextButton.Position = UDim2.new(0.641490877, 0, 0.81204617, 0)
- TextButton.Size = UDim2.new(0.401557177, 0, 0.122009568, 0)
- TextButton.Font = Enum.Font.Unknown
- TextButton.Text = "تشغيل"
- TextButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextButton.TextScaled = true
- TextButton.TextSize = 14.000
- TextButton.TextWrapped = true
- UICorner_3.CornerRadius = UDim.new(0, 822)
- UICorner_3.Parent = TextButton
- Clear.Name = "Clear"
- Clear.Parent = scripts
- Clear.BackgroundColor3 = Color3.fromRGB(29, 29, 29)
- Clear.BorderColor3 = Color3.fromRGB(27, 42, 53)
- Clear.BorderSizePixel = 0
- Clear.Position = UDim2.new(0.0563116111, 0, 0.81204617, 0)
- Clear.Size = UDim2.new(0.401557177, 0, 0.122009568, 0)
- Clear.Font = Enum.Font.Unknown
- Clear.Text = "مسح"
- Clear.TextColor3 = Color3.fromRGB(255, 255, 255)
- Clear.TextScaled = true
- Clear.TextSize = 14.000
- Clear.TextWrapped = true
- UICorner_4.CornerRadius = UDim.new(0, 822)
- UICorner_4.Parent = Clear
- Settings.Name = "Settings"
- Settings.Parent = Executer
- Settings.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Settings.BackgroundTransparency = 1.000
- Settings.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Settings.BorderSizePixel = 0
- Settings.Position = UDim2.new(0.0879999995, 0, -0.00200000009, 0)
- Settings.Size = UDim2.new(0.855000019, 0, 1.00100005, 0)
- Settings.Visible = false
- Frame_2.Parent = Settings
- Frame_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Frame_2.BackgroundTransparency = 1.000
- Frame_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Frame_2.BorderSizePixel = 0
- Frame_2.Position = UDim2.new(0.0768730938, 0, 0.145926923, 0)
- Frame_2.Size = UDim2.new(0.836775124, 0, 0.853636563, 0)
- Colors.Name = "Colors"
- Colors.Parent = Frame_2
- Colors.BackgroundColor3 = Color3.fromRGB(29, 29, 29)
- Colors.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Colors.BorderSizePixel = 0
- Colors.Position = UDim2.new(0.063000001, 0, 0.300000012, 0)
- Colors.Size = UDim2.new(0.874284923, 0, 0.169849291, 0)
- TextBox_2.Parent = Colors
- TextBox_2.BackgroundColor3 = Color3.fromRGB(7, 7, 7)
- TextBox_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextBox_2.BorderSizePixel = 0
- TextBox_2.Position = UDim2.new(0.536232293, 0, 0.130701303, 0)
- TextBox_2.Size = UDim2.new(0.429184526, 0, 0.704225361, 0)
- TextBox_2.Font = Enum.Font.Gotham
- TextBox_2.PlaceholderText = "Color"
- TextBox_2.Text = ""
- TextBox_2.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextBox_2.TextScaled = true
- TextBox_2.TextSize = 14.000
- TextBox_2.TextWrapped = true
- UICorner_5.CornerRadius = UDim.new(0, 40)
- UICorner_5.Parent = TextBox_2
- TextLabel.Parent = Colors
- TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel.BackgroundTransparency = 1.000
- TextLabel.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel.BorderSizePixel = 0
- TextLabel.Position = UDim2.new(0.0600858368, 0, 0.140845075, 0)
- TextLabel.Size = UDim2.new(0.429184526, 0, 0.704225361, 0)
- TextLabel.Font = Enum.Font.Michroma
- TextLabel.Text = "To Change Color Gui enter color Code \"RGB\" IN COLOR TEXT BOX"
- TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel.TextScaled = true
- TextLabel.TextSize = 14.000
- TextLabel.TextWrapped = true
- UICorner_6.CornerRadius = UDim.new(0, 40)
- UICorner_6.Parent = Colors
- Delete.Name = "Delete"
- Delete.Parent = Frame_2
- Delete.BackgroundColor3 = Color3.fromRGB(29, 29, 29)
- Delete.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Delete.BorderSizePixel = 0
- Delete.Position = UDim2.new(0.0627792105, 0, 0, 0)
- Delete.Size = UDim2.new(0.874284923, 0, 0.169849291, 0)
- UICorner_7.CornerRadius = UDim.new(0, 40)
- UICorner_7.Parent = Delete
- TextLabel_2.Parent = Delete
- TextLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_2.BackgroundTransparency = 1.000
- TextLabel_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel_2.BorderSizePixel = 0
- TextLabel_2.Position = UDim2.new(0.0600858368, 0, 0.140845075, 0)
- TextLabel_2.Size = UDim2.new(0.429184526, 0, 0.704225361, 0)
- TextLabel_2.Font = Enum.Font.Michroma
- TextLabel_2.Text = "Delete Ui"
- TextLabel_2.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_2.TextScaled = true
- TextLabel_2.TextSize = 14.000
- TextLabel_2.TextWrapped = true
- DeleteButton.Name = "DeleteButton"
- DeleteButton.Parent = Delete
- DeleteButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- DeleteButton.BackgroundTransparency = 1.000
- DeleteButton.BorderColor3 = Color3.fromRGB(0, 0, 0)
- DeleteButton.Size = UDim2.new(1, 0, 1, 0)
- DeleteButton.AutoButtonColor = false
- DeleteButton.Font = Enum.Font.SourceSans
- DeleteButton.Text = ""
- DeleteButton.TextColor3 = Color3.fromRGB(0, 0, 0)
- DeleteButton.TextSize = 14.000
- ImageLabel.Parent = Delete
- ImageLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- ImageLabel.BackgroundTransparency = 1.000
- ImageLabel.BorderColor3 = Color3.fromRGB(0, 0, 0)
- ImageLabel.BorderSizePixel = 0
- ImageLabel.Position = UDim2.new(0.918454945, 0, 0.225352108, 0)
- ImageLabel.Rotation = -90.000
- ImageLabel.Size = UDim2.new(0.0815450624, 0, 0.522114754, 0)
- ImageLabel.Image = "rbxassetid://16368985219"
- UIAspectRatioConstraint.Parent = ImageLabel
- Colors2.Name = "Colors2"
- Colors2.Parent = Frame_2
- Colors2.BackgroundColor3 = Color3.fromRGB(29, 29, 29)
- Colors2.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Colors2.BorderSizePixel = 0
- Colors2.Position = UDim2.new(0.063000001, 0, 0.600000024, 0)
- Colors2.Size = UDim2.new(0.874284923, 0, 0.169849291, 0)
- TextBox_3.Parent = Colors2
- TextBox_3.BackgroundColor3 = Color3.fromRGB(7, 7, 7)
- TextBox_3.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextBox_3.BorderSizePixel = 0
- TextBox_3.Position = UDim2.new(0.536232293, 0, 0.130701303, 0)
- TextBox_3.Size = UDim2.new(0.429184526, 0, 0.704225361, 0)
- TextBox_3.Font = Enum.Font.Gotham
- TextBox_3.PlaceholderText = "Color"
- TextBox_3.Text = ""
- TextBox_3.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextBox_3.TextScaled = true
- TextBox_3.TextSize = 14.000
- TextBox_3.TextWrapped = true
- UICorner_8.CornerRadius = UDim.new(0, 40)
- UICorner_8.Parent = TextBox_3
- TextLabel_3.Parent = Colors2
- TextLabel_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_3.BackgroundTransparency = 1.000
- TextLabel_3.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel_3.BorderSizePixel = 0
- TextLabel_3.Position = UDim2.new(0.0600858368, 0, 0.140845075, 0)
- TextLabel_3.Size = UDim2.new(0.429184526, 0, 0.704225361, 0)
- TextLabel_3.Font = Enum.Font.Michroma
- TextLabel_3.Text = "To Change Color Gui enter color Code \"Hex\" IN COLOR TEXT BOX"
- TextLabel_3.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_3.TextScaled = true
- TextLabel_3.TextSize = 14.000
- TextLabel_3.TextWrapped = true
- UICorner_9.CornerRadius = UDim.new(0, 40)
- UICorner_9.Parent = Colors2
- Buttons.Name = "Buttons"
- Buttons.Parent = Executer
- Buttons.BackgroundColor3 = Color3.fromRGB(29, 29, 29)
- Buttons.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Buttons.BorderSizePixel = 0
- Buttons.Position = UDim2.new(0, 0, 0.241858199, 0)
- Buttons.Size = UDim2.new(0.0676982552, 0, 0.469348639, 0)
- UICorner_10.CornerRadius = UDim.new(1, 0)
- UICorner_10.Parent = Buttons
- Settings_2.Name = "Settings"
- Settings_2.Parent = Buttons
- Settings_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Settings_2.BackgroundTransparency = 1.000
- Settings_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Settings_2.BorderSizePixel = 0
- Settings_2.Position = UDim2.new(0, 0, 0.600000024, 0)
- Settings_2.Size = UDim2.new(1, 0, 0.214285716, 0)
- Settings_2.Font = Enum.Font.SourceSans
- Settings_2.Text = ""
- Settings_2.TextColor3 = Color3.fromRGB(0, 0, 0)
- Settings_2.TextSize = 14.000
- ImageLabel_2.Parent = Settings_2
- ImageLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- ImageLabel_2.BackgroundTransparency = 1.000
- ImageLabel_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
- ImageLabel_2.BorderSizePixel = 0
- ImageLabel_2.Size = UDim2.new(1, 0, 1, 0)
- ImageLabel_2.Image = "rbxassetid://13568966069"
- UIAspectRatioConstraint_2.Parent = Settings_2
- Scripts.Name = "Scripts"
- Scripts.Parent = Buttons
- Scripts.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Scripts.BackgroundTransparency = 1.000
- Scripts.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Scripts.BorderSizePixel = 0
- Scripts.Position = UDim2.new(0, 0, 0.100000001, 0)
- Scripts.Size = UDim2.new(1, 0, 0.214285716, 0)
- Scripts.Font = Enum.Font.SourceSans
- Scripts.Text = ""
- Scripts.TextColor3 = Color3.fromRGB(0, 0, 0)
- Scripts.TextSize = 14.000
- ImageLabel_3.Parent = Scripts
- ImageLabel_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- ImageLabel_3.BackgroundTransparency = 1.000
- ImageLabel_3.BorderColor3 = Color3.fromRGB(0, 0, 0)
- ImageLabel_3.BorderSizePixel = 0
- ImageLabel_3.Size = UDim2.new(1, 0, 1, 0)
- ImageLabel_3.Image = "rbxassetid://11570895459"
- UIAspectRatioConstraint_3.Parent = Scripts
- -- Scripts:
- local function KLBWBWP_fake_script() -- scripts.Smooth GUI Dragging
- local script = Instance.new('LocalScript', scripts)
- local UserInputService = game:GetService("UserInputService")
- local runService = (game:GetService("RunService"));
- local gui = script.Parent
- local dragging
- local dragInput
- local dragStart
- local startPos
- function Lerp(a, b, m)
- return a + (b - a) * m
- end;
- local lastMousePos
- local lastGoalPos
- local DRAG_SPEED = (8); -- // The speed of the UI darg.
- function Update(dt)
- if not (startPos) then return end;
- if not (dragging) and (lastGoalPos) then
- gui.Position = UDim2.new(startPos.X.Scale, Lerp(gui.Position.X.Offset, lastGoalPos.X.Offset, dt * DRAG_SPEED), startPos.Y.Scale, Lerp(gui.Position.Y.Offset, lastGoalPos.Y.Offset, dt * DRAG_SPEED))
- return
- end;
- local delta = (lastMousePos - UserInputService:GetMouseLocation())
- local xGoal = (startPos.X.Offset - delta.X);
- local yGoal = (startPos.Y.Offset - delta.Y);
- lastGoalPos = UDim2.new(startPos.X.Scale, xGoal, startPos.Y.Scale, yGoal)
- gui.Position = UDim2.new(startPos.X.Scale, Lerp(gui.Position.X.Offset, xGoal, dt * DRAG_SPEED), startPos.Y.Scale, Lerp(gui.Position.Y.Offset, yGoal, dt * DRAG_SPEED))
- end;
- gui.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
- dragging = true
- dragStart = input.Position
- startPos = gui.Position
- lastMousePos = UserInputService:GetMouseLocation()
- input.Changed:Connect(function()
- if input.UserInputState == Enum.UserInputState.End then
- dragging = false
- end
- end)
- end
- end)
- gui.InputChanged:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
- dragInput = input
- end
- end)
- runService.Heartbeat:Connect(Update)
- end
- coroutine.wrap(KLBWBWP_fake_script)()
- local function JULAYN_fake_script() -- TextButton.LocalScript
- local script = Instance.new('LocalScript', TextButton)
- script.Parent.MouseButton1Click:Connect(function()
- script.Parent.Parent.ExecuteEvent:FireServer(script.Parent.Parent.TextBox.Text)
- end)
- end
- coroutine.wrap(JULAYN_fake_script)()
- local function WCRBX_fake_script() -- scripts.LocalScript
- local script = Instance.new('LocalScript', scripts)
- local Frame = script.Parent.Parent
- script.Parent.MouseButton1Click:Connect(function()
- Frame.Visible = true
- end)
- end
- coroutine.wrap(WCRBX_fake_script)()
- local function PTETQA_fake_script() -- Clear.LocalScript
- local script = Instance.new('LocalScript', Clear)
- script.Parent.MouseButton1Click:Connect(function()
- script.Parent.Parent.ExecuteEvent:FireServer(script.Parent.Parent.TextBox.Text)
- end)
- end
- coroutine.wrap(PTETQA_fake_script)()
- local function ZVDQV_fake_script() -- DeltaPc.all scripts
- local script = Instance.new('LocalScript', DeltaPc)
- local textBox = script.Parent.Executer.Settings.Frame.Colors.TextBox
- local frame = script.Parent.Executer
- -- الدالة لتحويل النص إلى لون RGB وتحديث الـ Frame
- local function updateFrameColor()
- local text = textBox.Text
- local r, g, b = text:match("^(%d+),%s*(%d+),%s*(%d+)$")
- if r and g and b then
- -- تحويل القيم النصية إلى أرقام
- local red = tonumber(r)
- local green = tonumber(g)
- local blue = tonumber(b)
- -- التأكد من أن القيم ضمن النطاق الصحيح (0-255)
- red = math.clamp(red, 0, 255)
- green = math.clamp(green, 0, 255)
- blue = math.clamp(blue, 0, 255)
- -- تحديث لون الـ Frame
- frame.BackgroundColor3 = Color3.fromRGB(red, green, blue)
- end
- end
- -- تعيين حدث للتغيير عند كتابة النص
- textBox:GetPropertyChangedSignal("Text"):Connect(updateFrameColor)
- local textBox = script.Parent.Executer.Settings.Frame.Colors2.TextBox
- local frame = script.Parent.Executer
- -- الدالة لتغيير اللون
- local function changeFrameColor()
- local colorString = textBox.Text
- local color = Color3.fromHex(colorString)
- frame.BackgroundColor3 = color
- end
- -- تعيين حدث للتغيير عند كتابة النص
- textBox:GetPropertyChangedSignal("Text"):Connect(changeFrameColor)
- script.Parent.Executer.Settings.Frame.Delete.DeleteButton.MouseButton1Click:Connect(function()
- script.Parent:Destroy()
- end)
- script.Parent.Executer.Buttons.Scripts.MouseButton1Click:Connect(function()
- script.Parent.Executer.Settings.Visible = false
- script.Parent.Executer.scripts.Visible = true
- end)
- script.Parent.Executer.Buttons.Settings.MouseButton1Click:Connect(function()
- script.Parent.Executer.Settings.Visible = true
- script.Parent.Executer.scripts.Visible = false
- end)
- end
- coroutine.wrap(ZVDQV_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement