Advertisement
KATARSIS0414

Paper Plane Simulator GUI

Jan 1st, 2022
1,794
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.25 KB | None | 0 0
  1. local Players = game:GetService("Players")
  2. local Root = Players.LocalPlayer.Character.HumanoidRootPart
  3. local RunService = game:GetService("RunService")
  4. local library = loadstring(game:HttpGet(('https://raw.githubusercontent.com/AikaV3rm/UiLib/master/Lib.lua')))()
  5.  
  6. local w = library:CreateWindow("Paper Plane Sim") -- Creates the window
  7.  
  8. local z = w:CreateFolder("Shops")
  9.  
  10. local b = w:CreateFolder("Hacks") -- Creates the folder(U will put here your buttons,etc)
  11.  
  12. b:Toggle("AutoFarm",function(bool)
  13.     shared.Toggle = bool
  14.     _G.Farm = bool
  15. end)
  16.  
  17. spawn(function()
  18.     while RunService.RenderStepped:Wait() do
  19.         if _G.Farm == true then
  20.             local A_1 = CFrame.new(2027.26611, 198.630005, -119.817497, -0.858812213, -0.188610137, -0.476306558, 1.49011612e-08, 0.929758549, -0.368170202, 0.512290657, -0.31618908, -0.798487902)
  21.             local Event = game:GetService("ReplicatedStorage").Remotes.Throw
  22.             Event:FireServer(A_1)            
  23.         end
  24.     end
  25. end)
  26.  
  27. b:Toggle("AutoSell",function(bool)
  28.     shared.Toggle = bool
  29.     _G.Sell = bool
  30. end)
  31.  
  32. spawn(function()
  33.     while RunService.RenderStepped:Wait() do
  34.         if _G.Sell == true then
  35.             for _,v in pairs(game:GetService("Workspace").Pads.Castle.SellPad.Pad:GetDescendants()) do
  36.                 if v:IsA("TouchTransmitter") then
  37.                 firetouchinterest(Root, v.Parent, 0) --0 is touch
  38.                 wait()
  39.                 firetouchinterest(Root, v.Parent, 1) -- 1 is untouch
  40.                 end
  41.                 end
  42.         end
  43.     end
  44. end)
  45.  
  46.  
  47. z:Button("Plane Shop",function()
  48.     for _,v in pairs(game:GetService("Workspace").Pads.Castle.PlanePad.Pad:GetDescendants()) do
  49.         if v:IsA("TouchTransmitter") then
  50.         firetouchinterest(Root, v.Parent, 0) --0 is touch
  51.         wait()
  52.         firetouchinterest(Root, v.Parent, 1) -- 1 is untouch
  53.         end
  54.         end
  55. end)
  56.  
  57. z:Button("BackPack Shop",function()
  58.     for _,v in pairs(game:GetService("Workspace").Pads.Castle.InventoryPad.Pad:GetDescendants()) do
  59.         if v:IsA("TouchTransmitter") then
  60.         firetouchinterest(Root, v.Parent, 0) --0 is touch
  61.         wait()
  62.         firetouchinterest(Root, v.Parent, 1) -- 1 is untouch
  63.         end
  64.         end
  65. end)
  66.  
  67.  
  68. b:DestroyGui()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement