SHARE
TWEET

BloxPiece By BadBoyX2

BadBoyX2 Jun 15th, 2019 215 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local Frame = Instance.new("Frame")
  5. local TPFruit = Instance.new("TextButton")
  6. local Bloxpiece = Instance.new("TextLabel")
  7. local TPChest = Instance.new("TextButton")
  8. local TextLabel = Instance.new("TextLabel")
  9. --Properties:
  10. Frame.Parent = game.StarterGui["Beta Bloxpiece"]
  11. Frame.BackgroundColor3 = Color3.new(0.168627, 0.168627, 0.168627)
  12. Frame.Position = UDim2.new(0.833898842, 0, 0.603719592, 0)
  13. Frame.Size = UDim2.new(0, 198, 0, 271)
  14.  
  15. TPFruit.Name = "TP Fruit"
  16. TPFruit.Parent = Frame
  17. TPFruit.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
  18. TPFruit.BorderSizePixel = 0
  19. TPFruit.Position = UDim2.new(0.0808080807, 0, 0.483394831, 0)
  20. TPFruit.Size = UDim2.new(0, 165, 0, 50)
  21. TPFruit.Font = Enum.Font.Cartoon
  22. TPFruit.Text = "Tp Fruit"
  23. TPFruit.TextColor3 = Color3.new(1, 1, 1)
  24. TPFruit.TextScaled = true
  25. TPFruit.TextSize = 14
  26. TPFruit.TextWrapped = true
  27.  
  28. Bloxpiece.Name = "Bloxpiece"
  29. Bloxpiece.Parent = Frame
  30. Bloxpiece.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
  31. Bloxpiece.BackgroundTransparency = 1
  32. Bloxpiece.Size = UDim2.new(0, 198, 0, 50)
  33. Bloxpiece.Font = Enum.Font.Cartoon
  34. Bloxpiece.Text = "Blox Piece"
  35. Bloxpiece.TextColor3 = Color3.new(1, 1, 1)
  36. Bloxpiece.TextScaled = true
  37. Bloxpiece.TextSize = 14
  38. Bloxpiece.TextWrapped = true
  39.  
  40. TPChest.Name = "TP Chest"
  41. TPChest.Parent = Frame
  42. TPChest.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
  43. TPChest.BorderSizePixel = 0
  44. TPChest.Position = UDim2.new(0.0808080807, 0, 0.247232467, 0)
  45. TPChest.Size = UDim2.new(0, 165, 0, 50)
  46. TPChest.Font = Enum.Font.Cartoon
  47. TPChest.Text = "Tp Chest"
  48. TPChest.TextColor3 = Color3.new(1, 1, 1)
  49. TPChest.TextScaled = true
  50. TPChest.TextSize = 14
  51. TPChest.TextWrapped = true
  52.  
  53. TextLabel.Parent = Frame
  54. TextLabel.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
  55. TextLabel.BackgroundTransparency = 1
  56. TextLabel.Position = UDim2.new(-0.00306637958, 0, 0.874602079, 0)
  57. TextLabel.Size = UDim2.new(0, 198, 0, 33)
  58. TextLabel.Font = Enum.Font.Cartoon
  59. TextLabel.Text = "BadBoyX2"
  60. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  61. TextLabel.TextScaled = true
  62. TextLabel.TextSize = 14
  63. TextLabel.TextWrapped = true
  64. -- Scripts:
  65. TPChest.MouseButton1Down:connect(function()
  66. local OriginalPos = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  67. local a = game.Workspace:GetChildren()
  68. for i=1,#a do
  69.     if a[i].Name:lower():match("chest") then
  70.         b = false
  71.         repeat wait()
  72.             if a[i].Parent~=game.Workspace then
  73.                 b = true
  74.             else
  75.                 game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = a[i].CFrame
  76.             end
  77.         until b == true
  78.     end
  79. end
  80. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = OriginalPos
  81.  
  82.  
  83. end)
  84.  
  85. TPFruit.MouseButton1Down:connect(function()
  86. local a = game.Players.LocalPlayer.Character.HumanoidRootPart
  87. local b = a.CFrame
  88. for i,v in pairs(game.Workspace["_WorldOrigin"]:GetDescendants()) do
  89. if v.Name == "Fruit" and v.Parent:IsA("Model") and v.Parent.Name == "Model" then
  90. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.CFrame
  91. wait(0.1)
  92. end
  93. end
  94. a.CFrame = b
  95. end)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top