Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local DFTimer = Instance.new("ScreenGui")
- local DFTimer_2 = Instance.new("TextLabel")
- local Info = Instance.new("TextLabel")
- DFTimer.Name = "DFTimer"
- DFTimer.Parent = game:WaitForChild("CoreGui")
- DFTimer.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- DFTimer_2.Name = "DFTimer"
- DFTimer_2.Parent = DFTimer
- DFTimer_2.BackgroundColor3 = Color3.new(1, 1, 1)
- DFTimer_2.BackgroundTransparency = 1
- DFTimer_2.Position = UDim2.new(0.442708313, 0, 0.02715756, 0)
- DFTimer_2.Size = UDim2.new(0.114583336, 0, 0.0751689225, 0)
- DFTimer_2.Font = Enum.Font.Fantasy
- DFTimer_2.Text = "00 : 00"
- DFTimer_2.TextColor3 = Color3.new(1, 1, 1)
- DFTimer_2.TextScaled = true
- DFTimer_2.TextSize = 14
- DFTimer_2.TextStrokeTransparency = 0
- DFTimer_2.TextWrapped = true
- Info.Name = "Info"
- Info.Parent = DFTimer
- Info.BackgroundColor3 = Color3.new(1, 1, 1)
- Info.BackgroundTransparency = 1
- Info.Position = UDim2.new(0.435381532, 0, 0.102096133, 0)
- Info.Size = UDim2.new(0.129236907, 0, 0.0406173207, 0)
- Info.Font = Enum.Font.Fantasy
- Info.Text = "This timer calculates how much time it will take for the next DF to spawn."
- Info.TextColor3 = Color3.new(1, 1, 1)
- Info.TextScaled = true
- Info.TextSize = 14
- Info.TextStrokeTransparency = 0
- Info.TextWrapped = true
- local TimeUntilNextDF
- for i,v in pairs(game.Workspace:GetChildren()) do
- if v:IsA("Tool") and string.match(v.Name,"no mi") then
- local checked = Instance.new("IntValue",child)
- checked.Name = "Checked"
- end
- end
- game.Workspace.ChildAdded:Connect(function(child)
- if child:IsA("Tool") and string.match(child.Name,"no mi") and not child:FindFirstChild("Checked") then
- TimeUntilNextDF = os.time() + (60*30)
- local checked = Instance.new("IntValue",child)
- checked.Name = "Checked"
- end
- end)
- spawn(function()
- while wait(0.25) do
- local Time = os.time()
- if TimeUntilNextDF ~= nil and (TimeUntilNextDF - Time) >= 0 then
- local seconds = TimeUntilNextDF - Time
- DFTimer_2.Text = string.format("%02d:%02d",seconds/60%60, seconds%60)
- end
- end
- end)
- local ScreenGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local TextButton = Instance.new("TextButton")
- local TextLabel = Instance.new("TextLabel")
- ScreenGui.Parent = game.CoreGui
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Frame.Parent = ScreenGui
- Frame.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame.Position = UDim2.new(0.41310975, 0, 0.282565117, 0)
- Frame.Size = UDim2.new(0, 103, 0, 101)
- Frame.Style = Enum.FrameStyle.DropShadow
- Frame.Draggable = true
- Frame.Active =true
- TextLabel.Parent = Frame
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.BorderColor3 = Color3.new(0.0901961, 0.207843, 0.0705882)
- TextLabel.Position = UDim2.new(-0.0343103521, 0, -0.0609744191, 0)
- TextLabel.Size = UDim2.new(0, 95, 0, 24)
- TextLabel.SizeConstraint = Enum.SizeConstraint.RelativeYY
- TextLabel.Font = Enum.Font.Antique
- TextLabel.Text = "BY \"Rb Ex\""
- TextLabel.TextColor3 = Color3.new(0, 0, 0)
- TextLabel.TextSize = 14
- TextButton.Parent = Frame
- TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton.Position = UDim2.new(0.0326792933, 0, 0.378758073, 0)
- TextButton.Size = UDim2.new(0, 82, 0, 47)
- TextButton.Font = Enum.Font.SourceSans
- TextButton.Text = "TP DF"
- TextButton.TextColor3 = Color3.new(0, 0, 0)
- TextButton.TextSize = 14
- TextButton.MouseButton1Click:connect(function()
- local a=game.Players.LocalPlayer.Character.HumanoidRootPart;local b=game.Workspace;for c,d in pairs(b:GetChildren())do if d.ClassName=="Tool"then d.Handle.CFrame=a.CFrame end end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement