Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if game.Players.LocalPlayer.PlayerGui:FindFirstChild("DupeGUI") then
- return
- end
- -- Instances:
- local DupeGUI = Instance.new("ScreenGui")
- local MainFrame = Instance.new("Frame")
- local Header = Instance.new("TextLabel")
- local DuprFrame = Instance.new("Frame")
- local DupeMode = Instance.new("TextButton")
- local NotifyText = Instance.new("TextLabel")
- --Properties:
- DupeGUI.Name = "DupeGUI"
- DupeGUI.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- DupeGUI.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- MainFrame.Name = "MainFrame"
- MainFrame.Parent = DupeGUI
- MainFrame.Active = true
- MainFrame.BackgroundColor3 = Color3.new(0.317647, 0.0901961, 1)
- MainFrame.BorderSizePixel = 0
- MainFrame.Position = UDim2.new(0.140664965, 0, 0.236162364, 0)
- MainFrame.Size = UDim2.new(0, 105, 0, 27)
- Header.Name = "Header"
- Header.Parent = MainFrame
- Header.BackgroundColor3 = Color3.new(1, 1, 1)
- Header.BackgroundTransparency = 1
- Header.BorderSizePixel = 0
- Header.Size = UDim2.new(0, 105, 0, 27)
- Header.Font = Enum.Font.ArialBold
- Header.Text = "DupR"
- Header.TextColor3 = Color3.new(1, 1, 1)
- Header.TextSize = 14
- DuprFrame.Name = "DuprFrame"
- DuprFrame.Parent = MainFrame
- DuprFrame.Active = true
- DuprFrame.BackgroundColor3 = Color3.new(1, 1, 1)
- DuprFrame.BorderSizePixel = 0
- DuprFrame.Position = UDim2.new(0, 0, 1, 0)
- DuprFrame.Size = UDim2.new(0, 105, 0, 60)
- DupeMode.Name = "DupeMode"
- DupeMode.Parent = DuprFrame
- DupeMode.BackgroundColor3 = Color3.new(0.317647, 0.0901961, 1)
- DupeMode.BorderSizePixel = 0
- DupeMode.Position = UDim2.new(0.123809531, 0, 0.116666667, 0)
- DupeMode.Size = UDim2.new(0, 78, 0, 30)
- DupeMode.Font = Enum.Font.ArialBold
- DupeMode.Text = "Dupe Mode"
- DupeMode.TextColor3 = Color3.new(1, 1, 1)
- DupeMode.TextSize = 14
- NotifyText.Name = "NotifyText"
- NotifyText.Parent = DuprFrame
- NotifyText.BackgroundColor3 = Color3.new(1, 1, 1)
- NotifyText.BackgroundTransparency = 1
- NotifyText.BorderSizePixel = 0
- NotifyText.Position = UDim2.new(0, 0, 0.616666675, 0)
- NotifyText.Size = UDim2.new(0, 105, 0, 23)
- NotifyText.Font = Enum.Font.ArialBold
- NotifyText.Text = "Text"
- NotifyText.TextColor3 = Color3.new(0.317647, 0.0901961, 1)
- NotifyText.TextSize = 14
- NotifyText.TextTransparency = 1
- -- Scripts:
- --//Dragging\\--
- local dragging
- local dragInput
- local dragStart
- local startPos
- local function update(input)
- local delta = input.Position - dragStart
- MainFrame:TweenPosition(UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y),'Out','Linear',0.08,true)
- end
- Header.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 then
- dragging = true
- dragStart = input.Position
- startPos = MainFrame.Position
- repeat wait() until input.UserInputState == Enum.UserInputState.End
- dragging = false
- end
- end)
- Header.InputChanged:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement then
- dragInput = input
- end
- end)
- game:GetService("UserInputService").InputChanged:Connect(function(input)
- if input == dragInput and dragging then
- update(input)
- end
- end)
- --//Variables\\--
- local NotifyAnimating = false
- --//Functions\\
- function notify(msg)
- if NotifyAnimating then return end
- spawn(function()
- NotifyAnimating = true
- NotifyText.Visible = true
- NotifyText.Text = msg
- for i=1, 20 do
- NotifyText.TextTransparency = NotifyText.TextTransparency - 0.05
- wait()
- end
- wait(1)
- for i=1, 20 do
- NotifyText.TextTransparency = NotifyText.TextTransparency + 0.05
- wait()
- end
- NotifyText.Visible = false
- NotifyAnimating = false
- end)
- end
- --//DupeMode\\--
- DupeMode.MouseButton1Click:connect(function()
- local plr = game:GetService("Players").LocalPlayer
- local slot = plr.CurrentSaveSlot
- if Option == false then
- if slot.Value == -1 then
- Option = true
- slot.RobloxLocked = true
- notify("Dupe Mode On")
- end
- else
- Option = false
- slot.RobloxLocked = false
- notify("Dupe Mode Off")
- end
- end)
- --//End\\--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement