Advertisement
Guest User

Untitled

a guest
Jun 3rd, 2019
3,332
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.84 KB | None | 0 0
  1. -- Objects
  2.  
  3. local mate = Instance.new("ScreenGui")
  4. local Main = Instance.new("Frame")
  5. local Block = Instance.new("TextButton")
  6. local Set = Instance.new("TextButton")
  7. local Go = Instance.new("TextButton")
  8. local Res = Instance.new("TextButton")
  9. local player = game:GetService("Players").LocalPlayer
  10. local Waypoint = nil
  11.  
  12. -- Properties
  13.  
  14. mate.Name = "mate"
  15. mate.Parent = game:GetService("CoreGui")
  16.  
  17. Main.Name = "Main"
  18. Main.Parent = mate
  19. Main.Active = true
  20. Main.BackgroundColor3 = Color3.new(0.345098, 1, 0.356863)
  21. Main.BackgroundTransparency = 0.20000000298023
  22. Main.BorderColor3 = Color3.new(0.109804, 0.588235, 0.109804)
  23. Main.BorderSizePixel = 4
  24. Main.Draggable = true
  25. Main.Position = UDim2.new(0.550637662, 0, 0.522895098, 0)
  26. Main.Size = UDim2.new(0, 536, 0, 226)
  27.  
  28. Block.Name = "Block"
  29. Block.Parent = Main
  30. Block.BackgroundColor3 = Color3.new(0.0862745, 0.847059, 0.0313726)
  31. Block.BorderColor3 = Color3.new(0.0823529, 0.54902, 0.0745098)
  32. Block.Position = UDim2.new(0.565298498, 0, 0.101769909, 0)
  33. Block.Size = UDim2.new(0, 190, 0, 96)
  34. Block.Font = Enum.Font.SourceSans
  35. Block.FontSize = Enum.FontSize.Size14
  36. Block.Text = "Fe Blocks"
  37. Block.TextScaled = true
  38. Block.TextSize = 14
  39. Block.TextWrapped = true
  40.  
  41. local loopBlock = Block:Clone()
  42. loopBlock.Parent = Main
  43. loopBlock.Position = UDim2.new(0.0515298498, 0, 0.101769909, 0)
  44. loopBlock.Text = "Fe Blocks Loop"
  45.  
  46. Set.Name = "Set"
  47. Set.Parent = Main
  48. Set.BackgroundColor3 = Color3.new(0.0862745, 0.847059, 0.0313726)
  49. Set.BorderColor3 = Color3.new(0.0823529, 0.54902, 0.0745098)
  50. Set.Position = UDim2.new(0.0466418043, 0, 0.610619485, 0)
  51. Set.Size = UDim2.new(0, 144, 0, 50)
  52. Set.Font = Enum.Font.SourceSans
  53. Set.FontSize = Enum.FontSize.Size14
  54. Set.Text = "Set Waypoint"
  55. Set.TextScaled = true
  56. Set.TextSize = 14
  57. Set.TextWrapped = true
  58.  
  59. Go.Name = "Go"
  60. Go.Parent = Main
  61. Go.BackgroundColor3 = Color3.new(0.0862745, 0.847059, 0.0313726)
  62. Go.BorderColor3 = Color3.new(0.0823529, 0.54902, 0.0745098)
  63. Go.Position = UDim2.new(0.669776082, 0, 0.610619485, 0)
  64. Go.Size = UDim2.new(0, 141, 0, 50)
  65. Go.Font = Enum.Font.SourceSans
  66. Go.FontSize = Enum.FontSize.Size14
  67. Go.Text = "To Waypoint"
  68. Go.TextScaled = true
  69. Go.TextSize = 14
  70. Go.TextWrapped = true
  71.  
  72. Res.Name = "Res"
  73. Res.Parent = Main
  74. Res.BackgroundColor3 = Color3.new(0.0862745, 0.847059, 0.0313726)
  75. Res.BorderColor3 = Color3.new(0.0823529, 0.54902, 0.0745098)
  76. Res.Position = UDim2.new(0.358208954, 0, 0.610619485, 0)
  77. Res.Size = UDim2.new(0, 144, 0, 50)
  78. Res.Font = Enum.Font.SourceSans
  79. Res.FontSize = Enum.FontSize.Size14
  80. Res.Text = "Respawn"
  81. Res.TextScaled = true
  82. Res.TextSize = 14
  83. Res.TextWrapped = true
  84.  
  85. --Functions :P
  86.  
  87. Set.MouseButton1Click:Connect(function()
  88.     Waypoint = player.Character.HumanoidRootPart.Position
  89. end)
  90.  
  91. Go.MouseButton1Click:Connect(function()
  92.     player.Character.HumanoidRootPart.CFrame = CFrame.new(Waypoint)
  93. end)
  94.  
  95. Res.MouseButton1Click:Connect(function()
  96.     player.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(0,-1000000,0))
  97. end)
  98.  
  99. Block.MouseButton1Click:Connect(function()
  100.     for _,v in next, player.Character:GetChildren() do
  101.         if (v:IsA("Accessory") or v:IsA("Tool")) and v:FindFirstChild("Handle") and v.Handle:FindFirstChild("Mesh") then
  102.             v.Handle.Mesh:Destroy()
  103.             wait(.3)
  104.             v.Parent = workspace
  105.             player.Character.Humanoid:UnequipTools()
  106.         end
  107.     end
  108. end)
  109.  
  110. loopBlock.MouseButton1Click:Connect(function()
  111.     for _,tool in next, player.Backpack:GetChildren() do
  112.         if player.Character.Humanoid.Health < 0 then break end
  113.         --if tool.Name ~= "EggCar" then
  114.             tool.Parent = player.Character
  115.             for _,v in next, player.Character:GetChildren() do
  116.                 if (v:IsA("Accessory") or v:IsA("Tool")) and v:FindFirstChild("Handle") and v.Handle:FindFirstChild("Mesh") then
  117.                     v.Handle.Mesh:Destroy()
  118.                     wait(.3)
  119.                     v.Parent = workspace
  120.                     player.Character.Humanoid:UnequipTools()
  121.                 end
  122.             end
  123.         --end
  124.     end
  125. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement