Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Farewell Infortality.
- -- Version: 2.82
- -- Instances:
- local ScreenGui = Instance.new("ScreenGui")
- local Main = Instance.new("Frame")
- local TextButton = Instance.new("TextButton")
- local Open = Instance.new("Frame")
- local OpenGUI = Instance.new("TextButton")
- local Dino = Instance.new("TextLabel")
- --Properties:
- ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- Main.Name = "Main"
- Main.Parent = ScreenGui
- Main.BackgroundColor3 = Color3.new(1, 1, 1)
- Main.Position = UDim2.new(0.430536449, 0, 0.262499988, 0)
- Main.Size = UDim2.new(0, 220, 0, 133)
- Main.Visible = false
- TextButton.Parent = Main
- TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton.Position = UDim2.new(0.672727287, 0, 0, 0)
- TextButton.Size = UDim2.new(0, 72, 0, 31)
- TextButton.Font = Enum.Font.SourceSans
- TextButton.Text = "X"
- TextButton.TextColor3 = Color3.new(0, 0, 0)
- TextButton.TextSize = 14
- TextButton.MouseButton1Down:connect(function()
- Main:TweenPosition(UDim2.new(0.345, 0,2.204, 0), 'Out', 'Bounce', 1)
- wait(1)
- Main.Visible = false
- end)
- Open.Name = "Open"
- Open.Parent = ScreenGui
- Open.BackgroundColor3 = Color3.new(1, 1, 1)
- Open.Position = UDim2.new(0.466299862, 0, 0.0416666642, 0)
- Open.Size = UDim2.new(0, 100, 0, 50)
- OpenGUI.Name = "OpenGUI"
- OpenGUI.Parent = Open
- OpenGUI.BackgroundColor3 = Color3.new(1, 1, 1)
- OpenGUI.Size = UDim2.new(0, 100, 0, 50)
- OpenGUI.Font = Enum.Font.SourceSans
- OpenGUI.Text = "OPEN"
- OpenGUI.TextColor3 = Color3.new(0, 0, 0)
- OpenGUI.TextSize = 14
- OpenGUI.MouseButton1Down:connect(function()
- Main.Visible = true
- Main:TweenPosition(UDim2.new(0.345, 0,0.204, 0), 'Out', 'Bounce', 3)
- end)
- Dino.Name = "Rz"
- Dino.Parent = ScreenGui
- Dino.BackgroundColor3 = Color3.new(1, 1, 1)
- Dino.BackgroundTransparency = 4
- Dino.Position = UDim2.new(0.361760646, 0, 0.327083319, 0)
- Dino.Size = UDim2.new(0, 320, 0, 50)
- Dino.Visible = false
- Dino.Font = Enum.Font.SourceSans
- Dino.Text = "Gui made by Rz"
- Dino.TextColor3 = Color3.new(0, 0, 0)
- Dino.TextScaled = true
- Dino.TextSize = 14
- Dino.TextWrapped = true
- wait(0.5)
- Dino.Visible = true
- Dino.TextTransparency = 0.8
- Dino.TextStrokeTransparency = 0.8
- wait(0.1)
- Dino.TextTransparency = 0.7
- Dino.TextStrokeTransparency = 0.7
- wait(0.1)
- Dino.TextTransparency = 0.6
- Dino.TextStrokeTransparency = 0.6
- wait(0.1)
- Dino.TextTransparency = 0.5
- Dino.TextStrokeTransparency = 0.5
- wait(0.1)
- Dino.TextTransparency = 0.4
- Dino.TextStrokeTransparency = 0.4
- wait(0.1)
- Dino.TextTransparency = 0.3
- Dino.TextStrokeTransparency = 0.3
- wait(0.1)
- Dino.TextTransparency = 0.2
- Dino.TextStrokeTransparency = 0.2
- wait(0.1)
- Dino.TextTransparency = 0.1
- Dino.TextStrokeTransparency = 0.1
- wait(5)
- Dino.TextTransparency = 0.1
- Dino.TextStrokeTransparency = 0.1
- wait(0.1)
- Dino.TextTransparency = 0.2
- Dino.TextStrokeTransparency = 0.2
- wait(0.1)
- Dino.TextTransparency = 0.3
- Dino.TextStrokeTransparency = 0.3
- wait(0.1)
- Dino.TextTransparency = 0.4
- Dino.TextStrokeTransparency = 0.4
- wait(0.1)
- Dino.TextTransparency = 0.5
- Dino.TextStrokeTransparency = 0.5
- wait(0.1)
- Dino.TextTransparency = 0.6
- Dino.TextStrokeTransparency = 0.6
- wait(0.1)
- Dino.TextTransparency = 0.7
- Dino.TextStrokeTransparency = 0.7
- wait(0.1)
- Dino.TextTransparency = 0.8
- Dino.TextStrokeTransparency = 0.8
- wait(0.1)
- Dino.Visible = false
- -- Scripts:
- function dragify(Main)
- dragToggle = nil
- dragSpeed = .20 -- You can edit this.
- dragInput = nil
- dragStart = nil
- dragPos = nil
- function updateInput(input)
- Delta = input.Position - dragStart
- Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + Delta.X, startPos.Y.Scale, startPos.Y.Offset + Delta.Y)
- game:GetService("TweenService"):Create(Main, TweenInfo.new(.25), {Position = Position}):Play()
- end
- Main.InputBegan:Connect(function(input)
- if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) then
- dragToggle = true
- dragStart = input.Position
- startPos = Main.Position
- input.Changed:Connect(function()
- if (input.UserInputState == Enum.UserInputState.End) then
- dragToggle = false
- end
- end)
- end
- end)
- Main.InputChanged:Connect(function(input)
- if (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then
- dragInput = input
- end
- end)
- game:GetService("UserInputService").InputChanged:Connect(function(input)
- if (input == dragInput and dragToggle) then
- updateInput(input)
- end
- end)
- end
- dragify(Main)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement