Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Instances:
- local ScreenGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local TextButton = Instance.new("TextButton")
- local TextBox = Instance.new("TextBox")
- local clear = Instance.new("ImageButton")
- local TextLabel = Instance.new("TextLabel")
- --Properties:
- ScreenGui.Parent = game.CoreGui
- Frame.Parent = ScreenGui
- Frame.BackgroundColor3 = Color3.fromRGB(86, 86, 86)
- Frame.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Frame.BorderSizePixel = 3
- Frame.Position = UDim2.new(0.285220385, 0, 0.159420282, 0)
- Frame.Size = UDim2.new(0, 375, 0, 220)
- TextButton.Parent = Frame
- TextButton.BackgroundColor3 = Color3.fromRGB(181, 181, 181)
- TextButton.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextButton.BorderSizePixel = 3
- TextButton.Position = UDim2.new(0.128936201, 0, 0.751177847, 0)
- TextButton.Size = UDim2.new(0, 266, 0, 45)
- TextButton.Font = Enum.Font.SourceSans
- TextButton.Text = "Exacute"
- TextButton.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextButton.TextScaled = true
- TextButton.TextSize = 14.000
- TextButton.TextWrapped = true
- TextButton.MouseButton1Down:Connect(function(Player, SS)
- _G.Path:FireServer(Frame.TextBox.Text)
- end)
- TextBox.Parent = Frame
- TextBox.BackgroundColor3 = Color3.fromRGB(75, 75, 75)
- TextBox.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextBox.BorderSizePixel = 3
- TextBox.Position = UDim2.new(0.0553746745, 0, 0.138939947, 0)
- TextBox.Size = UDim2.new(0, 332, 0, 61)
- TextBox.Font = Enum.Font.SourceSans
- TextBox.PlaceholderColor3 = Color3.fromRGB(178, 178, 178)
- TextBox.PlaceholderText = "Put your require script hear"
- TextBox.Text = ""
- TextBox.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextBox.TextScaled = true
- TextBox.TextSize = 14.000
- TextBox.TextWrapped = true
- clear.Name = "clear"
- clear.Parent = Frame
- clear.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
- clear.BackgroundTransparency = 1.000
- clear.LayoutOrder = 5
- clear.Position = UDim2.new(0.931999981, 0, 0, 0)
- clear.Size = UDim2.new(0, 25, 0, 25)
- clear.ZIndex = 2
- clear.Image = "rbxassetid://3926305904"
- clear.ImageRectOffset = Vector2.new(924, 724)
- clear.ImageRectSize = Vector2.new(36, 36)
- clear.MouseButton1Down:Connect(function(Player, SS)
- _G.Path:Destroy()
- wait(0.1)
- ScreenGui:Destroy()
- else
- ScreenGui:Destroy()
- end)
- TextLabel.Parent = Frame
- TextLabel.BackgroundColor3 = Color3.fromRGB(75, 75, 75)
- TextLabel.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel.BorderSizePixel = 3
- TextLabel.Position = UDim2.new(0.0553746745, 0, 0.470256954, 0)
- TextLabel.Size = UDim2.new(0, 332, 0, 50)
- TextLabel.Font = Enum.Font.SourceSans
- TextLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel.TextScaled = true
- TextLabel.TextSize = 14.000
- TextLabel.TextWrapped = true
- TextLabel.Text = "i am to lazy to remove this TextLabel so its staying"
- -- Scripts:
- local function CPIHP_fake_script() -- Frame.Dragify
- local script = Instance.new('LocalScript', Frame)
- local UserInputService = game:GetService("UserInputService")
- local gui = script.Parent
- local dragging
- local dragInput
- local dragStart
- local startPos
- local function update(input)
- local delta = input.Position - dragStart
- gui.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
- 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
- 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)
- UserInputService.InputChanged:Connect(function(input)
- if input == dragInput and dragging then
- update(input)
- end
- end)
- end
- coroutine.wrap(CPIHP_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement