Psykek

Freeze Tag GUI

Apr 13th, 2019
3,247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.63 KB | None | 0 0
  1. --Generated with Syntax's Converter, comet hub in the works! pastebin search coming soooon REEEEEEE.
  2. --Counted 17 (objects this time!!!)
  3. local function CreateInstance(cls,props)
  4. local inst = Instance.new(cls)
  5. for i,v in pairs(props) do
  6. inst[i] = v
  7. end
  8. return inst
  9. end
  10.  
  11. local FreezeTagGUI = CreateInstance('ScreenGui',{DisplayOrder=0,Enabled=true,ResetOnSpawn=true,Name='FreezeTagGUI', Parent=game.CoreGui})
  12. local Topframe = CreateInstance('Frame',{Style=Enum.FrameStyle.Custom,Active=false,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0.141176, 0.141176, 0.141176),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=0,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.0873239413, 0, 0.223463684, 0),Rotation=0,Selectable=false,Size=UDim2.new(0, 243, 0, 29),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name = 'Topframe',Parent = FreezeTagGUI})
  13. local Mainframe = CreateInstance('Frame',{Style=Enum.FrameStyle.Custom,Active=false,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0.172549, 0.172549, 0.172549),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=0,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0, 0, 1, 0),Rotation=0,Selectable=false,Size=UDim2.new(0, 243, 0, 175),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name = 'Mainframe',Parent = Topframe})
  14. local Namebox = CreateInstance('TextBox',{ClearTextOnFocus=true,Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,MultiLine=false,Text='Player Name',TextColor3=Color3.new(0, 0, 0), PlaceholderText='', PlaceholderColor3=Color3.new(0.7, 0.7, 0.7),TextScaled=false,TextSize=14,TextStrokeColor3=Color3.new(0, 0, 0),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=false,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,Active=true,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0.247059, 0.247059, 0.247059),BackgroundTransparency=0,BorderColor3=Color3.new(0.141176, 0.141176, 0.141176),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.0329218097, 0, 0.0514283963, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 226, 0, 24),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name='Namebox',Parent = Mainframe})
  15. local GotoPlr = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Goto Player',TextColor3=Color3.new(0.494118, 0.494118, 0.494118),TextScaled=false,TextSize=14,TextStrokeColor3=Color3.new(0, 0, 0),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=false,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,AutoButtonColor=true,Modal=false,Selected=false,Style=Enum.ButtonStyle.Custom,Active=true,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0.129412, 0.129412, 0.129412),BackgroundTransparency=0,BorderColor3=Color3.new(0.141176, 0.141176, 0.141176),BorderSizePixel=0,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.0329216868, 0, 0.24000001, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 109, 0, 23),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name='GotoPlr',Parent = Mainframe})
  16. local KillPlr = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Kill Player',TextColor3=Color3.new(0.494118, 0.494118, 0.494118),TextScaled=false,TextSize=14,TextStrokeColor3=Color3.new(0, 0, 0),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=false,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,AutoButtonColor=true,Modal=false,Selected=false,Style=Enum.ButtonStyle.Custom,Active=true,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0.129412, 0.129412, 0.129412),BackgroundTransparency=0,BorderColor3=Color3.new(0.141176, 0.141176, 0.141176),BorderSizePixel=0,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.514403164, 0, 0.24000001, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 109, 0, 23),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name='KillPlr',Parent = Mainframe})
  17. local GotoNextRunner = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Goto Next Runner',TextColor3=Color3.new(0.494118, 0.494118, 0.494118),TextScaled=false,TextSize=14,TextStrokeColor3=Color3.new(0, 0, 0),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=false,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,AutoButtonColor=true,Modal=false,Selected=false,Style=Enum.ButtonStyle.Custom,Active=true,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0.129412, 0.129412, 0.129412),BackgroundTransparency=0,BorderColor3=Color3.new(0.141176, 0.141176, 0.141176),BorderSizePixel=0,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.514403164, 0, 0.411797255, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 109, 0, 23),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name='GotoNextRunner',Parent = Mainframe})
  18. local GotoNextTagger = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Goto Next Tagger',TextColor3=Color3.new(0.494118, 0.494118, 0.494118),TextScaled=false,TextSize=14,TextStrokeColor3=Color3.new(0, 0, 0),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=false,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,AutoButtonColor=true,Modal=false,Selected=false,Style=Enum.ButtonStyle.Custom,Active=true,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0.129412, 0.129412, 0.129412),BackgroundTransparency=0,BorderColor3=Color3.new(0.141176, 0.141176, 0.141176),BorderSizePixel=0,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.0329216868, 0, 0.411797255, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 109, 0, 23),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name='GotoNextTagger',Parent = Mainframe})
  19. local GotoAllRunners = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Goto All Runners',TextColor3=Color3.new(0.494118, 0.494118, 0.494118),TextScaled=false,TextSize=14,TextStrokeColor3=Color3.new(0, 0, 0),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=false,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,AutoButtonColor=true,Modal=false,Selected=false,Style=Enum.ButtonStyle.Custom,Active=true,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0.129412, 0.129412, 0.129412),BackgroundTransparency=0,BorderColor3=Color3.new(0.141176, 0.141176, 0.141176),BorderSizePixel=0,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.514403164, 0, 0.583225787, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 109, 0, 23),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name='GotoAllRunners',Parent = Mainframe})
  20. local GotoAllTaggers = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Goto All Taggers',TextColor3=Color3.new(0.494118, 0.494118, 0.494118),TextScaled=false,TextSize=14,TextStrokeColor3=Color3.new(0, 0, 0),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=false,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,AutoButtonColor=true,Modal=false,Selected=false,Style=Enum.ButtonStyle.Custom,Active=true,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0.129412, 0.129412, 0.129412),BackgroundTransparency=0,BorderColor3=Color3.new(0.141176, 0.141176, 0.141176),BorderSizePixel=0,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.0329216868, 0, 0.583225787, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 109, 0, 23),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name='GotoAllTaggers',Parent = Mainframe})
  21. local Thaw = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Thaw',TextColor3=Color3.new(0.494118, 0.494118, 0.494118),TextScaled=false,TextSize=14,TextStrokeColor3=Color3.new(0, 0, 0),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=false,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,AutoButtonColor=true,Modal=false,Selected=false,Style=Enum.ButtonStyle.Custom,Active=true,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0.129412, 0.129412, 0.129412),BackgroundTransparency=0,BorderColor3=Color3.new(0.141176, 0.141176, 0.141176),BorderSizePixel=0,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.0329216719, 0, 0.754654348, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 109, 0, 23),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name='Thaw',Parent = Mainframe})
  22. local Safe = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='TP to lobby',TextColor3=Color3.new(0.494118, 0.494118, 0.494118),TextScaled=false,TextSize=14,TextStrokeColor3=Color3.new(0, 0, 0),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=false,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,AutoButtonColor=true,Modal=false,Selected=false,Style=Enum.ButtonStyle.Custom,Active=true,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0.129412, 0.129412, 0.129412),BackgroundTransparency=0,BorderColor3=Color3.new(0.141176, 0.141176, 0.141176),BorderSizePixel=0,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.514403224, 0, 0.754654348, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 109, 0, 23),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name='Safe',Parent = Mainframe})
  23. local TextLabel = CreateInstance('TextLabel',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Psykek#3180',TextColor3=Color3.new(0.454902, 0.454902, 0.454902),TextScaled=false,TextSize=14,TextStrokeColor3=Color3.new(0, 0, 0),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=false,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,Active=false,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0.172549, 0.172549, 0.172549),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=0,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.0864197537, 0, 0.886082947, 0),Rotation=0,Selectable=false,Size=UDim2.new(0, 200, 0, 19),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name='TextLabel',Parent = Mainframe})
  24. local Dlabel = CreateInstance('TextLabel',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size24,Text='💎',TextColor3=Color3.new(0, 0, 0),TextScaled=false,TextSize=23,TextStrokeColor3=Color3.new(0, 0, 0),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=false,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,Active=false,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0.141176, 0.141176, 0.141176),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=0,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.131687239, 0, 0.103448279, 0),Rotation=0,Selectable=false,Size=UDim2.new(0, 25, 0, 23),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name='Dlabel',Parent = Topframe})
  25. local Title = CreateInstance('TextLabel',{Font=Enum.Font.SourceSansBold,FontSize=Enum.FontSize.Size24,Text='Freeze Tag GUI',TextColor3=Color3.new(0.615686, 0.615686, 0.615686),TextScaled=false,TextSize=23,TextStrokeColor3=Color3.new(0, 0, 0),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=false,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,Active=false,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0.141176, 0.141176, 0.141176),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=0,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.23456791, 0, 0, 0),Rotation=0,Selectable=false,Size=UDim2.new(0, 129, 0, 26),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name='Title',Parent = Topframe})
  26. local Dlabel2 = CreateInstance('TextLabel',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size24,Text='💎',TextColor3=Color3.new(0, 0, 0),TextScaled=false,TextSize=23,TextStrokeColor3=Color3.new(0, 0, 0),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=false,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,Active=false,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0.141176, 0.141176, 0.141176),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=0,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.765432119, 0, 0.103448279, 0),Rotation=0,Selectable=false,Size=UDim2.new(0, 25, 0, 23),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name='Dlabel2',Parent = Topframe})
  27. local Close = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='',TextColor3=Color3.new(0, 0, 0),TextScaled=false,TextSize=14,TextStrokeColor3=Color3.new(0, 0, 0),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=false,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,AutoButtonColor=true,Modal=false,Selected=false,Style=Enum.ButtonStyle.Custom,Active=true,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0.141176, 0.141176, 0.141176),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=0,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.962962866, 0, 0, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 9, 0, 9),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name='Close',Parent = Topframe})
  28.  
  29. Topframe.Active = true
  30. Topframe.Draggable = true
  31.  
  32. GotoNextRunner.MouseButton1Click:Connect(function()
  33. for i,v in pairs(game.Teams.Runner:GetPlayers()) do
  34. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.Character.HumanoidRootPart.CFrame
  35. end
  36. end)
  37.  
  38. GotoNextTagger.MouseButton1Click:Connect(function()
  39. for i,v in pairs(game.Teams.Tagger:GetPlayers()) do
  40. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.Character.HumanoidRootPart.CFrame
  41. end
  42. end)
  43.  
  44. GotoPlr.MouseButton1Click:Connect(function()
  45. getplr = function(plxr)
  46. for i, v in pairs(game.Players:GetPlayers()) do
  47. if string.find(v.Name, plxr) then
  48. return v
  49. elseif v.Name:sub(1, plxr:len()):lower()== plxr:lower() then
  50. return v
  51. end
  52. end
  53. end
  54. local plr = getplr(Namebox.Text)
  55. game.Players.LocalPlayer.Character:MoveTo(plr.Character.UpperTorso.Position)
  56. end)
  57.  
  58. Safe.MouseButton1Click:Connect(function()
  59. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-1943.64954, 165.571182, -156.552948)
  60. end)
  61.  
  62. Thaw.MouseButton1Click:Connect(function()
  63. for i,v in pairs(game.Teams.Runner:GetPlayers()) do
  64. for i=1,40 do
  65. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.Character.HumanoidRootPart.CFrame
  66. end
  67. end
  68. end)
  69.  
  70. GotoAllRunners.MouseButton1Click:Connect(function()
  71. for i,v in pairs(game.Teams.Runner:GetPlayers()) do
  72. for i=1,10 do
  73. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.Character.HumanoidRootPart.CFrame
  74. wait()
  75. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.Character.HumanoidRootPart.CFrame
  76. end
  77. wait()
  78. end
  79. end)
  80.  
  81. GotoAllTaggers.MouseButton1Click:Connect(function()
  82. for i,v in pairs(game.Teams.Tagger:GetPlayers()) do
  83. for i=1,50 do
  84. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.Character.HumanoidRootPart.CFrame
  85. wait()
  86. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.Character.HumanoidRootPart.CFrame
  87. end
  88. wait(1)
  89. end
  90. end)
  91.  
  92. local Players = game:GetService("Players")
  93. local LocalPlayer = Players.LocalPlayer
  94. local function RemoveSpaces(String)
  95. return String:gsub("%s+", "") or String
  96. end
  97.  
  98. local function FindPlayer(String)
  99. String = RemoveSpaces(String)
  100. for _, _Player in pairs(Players:GetPlayers()) do
  101. if _Player.Name:lower():match('^'.. String:lower()) then
  102. return _Player
  103. end
  104. end
  105. return nil
  106. end
  107.  
  108. KillPlr.MouseButton1Click:Connect(function()
  109. local Target = FindPlayer(Namebox.Text)
  110. if Target and Target.Character then
  111. local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
  112. local Torso = Character:FindFirstChild("Torso") or Character:FindFirstChild("UpperTorso")
  113.  
  114. local savepos = LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame
  115. Torso.Anchored = true
  116. local tool = Instance.new("Tool", LocalPlayer.Backpack)
  117. local hat = LocalPlayer.Character:FindFirstChildOfClass("Accessory")
  118. local hathandle = hat.Handle
  119. hathandle.Parent = tool
  120. hathandle.Massless = true
  121. tool.GripPos = Vector3.new(0, 9e99, 0)
  122. tool.Parent = LocalPlayer.Character
  123. repeat wait() until LocalPlayer.Character:FindFirstChildOfClass("Tool") ~= nil
  124. tool.Grip = CFrame.new(Vector3.new(0, 0, 0))
  125. Torso.Anchored = false
  126. repeat LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame = Target.Character:FindFirstChild("HumanoidRootPart").CFrame wait()
  127. until Target.Character == nil or Target.Character:FindFirstChild("Humanoid").Health <= 0 or LocalPlayer.Character == nil or LocalPlayer.Character:FindFirstChild("Humanoid").Health <= 0 or (Target.Character:FindFirstChild("HumanoidRootPart").Velocity.magnitude - Target.Character:FindFirstChild("Humanoid").WalkSpeed) > (Target.Character:FindFirstChild("Humanoid").WalkSpeed + 20)
  128. LocalPlayer.Character:FindFirstChild("Humanoid"):UnequipTools()
  129. hathandle.Parent = hat
  130. hathandle.Massless = false
  131. tool:Destroy()
  132. LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame = savepos
  133. else
  134. warn'no player found named like that or he has no char'
  135. end
  136. end)
  137.  
  138. Close.MouseButton1Click:Connect(function()
  139. FreezeTagGUI:Destroy()
  140. end)
Add Comment
Please, Sign In to add comment