Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if game:GetService("CoreGui"):FindFirstChild("DI") then
- game:GetService("CoreGui"):FindFirstChild("DI"):Destroy()
- end
- DI = Instance.new("ScreenGui")
- MainFrame = Instance.new("Frame")
- MainFrame2 = Instance.new("Frame")
- DI.Name = "DI"
- DI.Parent = game.CoreGui
- DI.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- game.CoreGui.DI.Enabled = true
- MainFrame.Name = "MainFrame"
- MainFrame.Parent = DI
- MainFrame.AnchorPoint = Vector2.new(0.5, 0.5)
- MainFrame.BackgroundTransparency = 0
- MainFrame.Position = UDim2.new(0.1, 0, 0.58, 0)
- MainFrame.Size = UDim2.new(0, 250, 0, 85.5)
- MainFrame.ZIndex = 2
- MainFrame.BorderSizePixel = 0
- MainFrame2.Name = "MainFrame2"
- MainFrame2.Parent = DI
- MainFrame2.AnchorPoint = Vector2.new(0.5, 0.5)
- MainFrame2.BackgroundTransparency = 0
- MainFrame2.Position = UDim2.new(0.5, 0, 0.58, 0)
- MainFrame2.Size = UDim2.new(0, 250, 0, 85.5)
- MainFrame2.ZIndex = 2
- MainFrame2.BorderSizePixel = 0
- wait(3)
- MainFrame2:TweenPosition(UDim2.new(0.1, 0, 0.58, 0),"InOut","Sine",5)
- spawn(function()
- while wait() do
- if MainFrame.Position == MainFrame2.Position then
- MainFrame2.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement