Advertisement
dady172172

Lollipop Simulator GUI

Dec 20th, 2019
941
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 25.73 KB | None | 0 0
  1. --[[
  2. game https://www.roblox.com/games/2610716991/Lollipop-Simulator
  3. more https://github.com/dady172172/Roblox-Cheats I have moved to Gethub
  4. ]]--
  5.  
  6. lick = false
  7. buy = false
  8. coin1 = false
  9. coin2 = false
  10. coin3 = false
  11. coin4 = false
  12. gems = false
  13. isfarming = nil
  14.  
  15. RS = game:GetService("ReplicatedStorage")
  16. WS = game:GetService("Workspace")
  17. Localplayer = game:GetService("Players").LocalPlayer
  18. plr = Localplayer.Name
  19. HRP = Localplayer.Character.HumanoidRootPart
  20. Events = RS.Events
  21. tel = WS["_Teles"]
  22.  
  23. local VirtualUser=game:service'VirtualUser'
  24. game:service'Players'.LocalPlayer.Idled:connect(function()
  25. VirtualUser:CaptureController()
  26. VirtualUser:ClickButton2(Vector2.new())
  27. end)
  28.  
  29. local function CreateInstance(cls,props)
  30. local inst = Instance.new(cls)
  31. for i,v in pairs(props) do
  32.     inst[i] = v
  33. end
  34. return inst
  35. end
  36.    
  37. local LollipopSimulatorGUI = CreateInstance('ScreenGui',{DisplayOrder=0,Enabled=true,ResetOnSpawn=true,Name='LollipopSimulatorGUI', Parent=game.CoreGui})
  38. local Frame = CreateInstance('Frame',{Style=Enum.FrameStyle.Custom,Active=false,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(1, 1, 1),BackgroundTransparency=1,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.339563876, 0, 0.324749649, 0),Rotation=0,Selectable=false,Size=UDim2.new(0, 324, 0, 374),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name = 'Frame',Parent = LollipopSimulatorGUI})
  39. local JPSFrame = CreateInstance('Frame',{Style=Enum.FrameStyle.DropShadow,Active=false,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=0,ClipsDescendants=false,Draggable=false,Position=UDim2.new(-0.000128852, 0, -0.00188833638, 0),Rotation=0,Selectable=false,Size=UDim2.new(0, 312, 0, 284),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=-1,Name = 'JPSFrame',Parent = Frame})
  40. local TextLabel = CreateInstance('TextLabel',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Lollipop Simulator GUI',TextColor3=Color3.new(1, 1, 1),TextScaled=false,TextSize=14,TextStrokeColor3=Color3.new(1, 1, 1),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=false,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,Active=false,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(1, 1, 1),BackgroundTransparency=1,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.21659264, 0, 0.0230447501, 0),Rotation=0,Selectable=false,Size=UDim2.new(0, 168, 0, 25),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=2,Name='TextLabel',Parent = JPSFrame})
  41. local FarmLicksBtn = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Lick',TextColor3=Color3.new(1, 1, 1),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, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.0472722128, 0, 0.178840131, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 89, 0, 30),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=2,Name='FarmLicksBtn',Parent = JPSFrame})
  42. local ImageLabel = CreateInstance('ImageLabel',{Image='rbxassetid://38727848',ImageColor3=Color3.new(1, 1, 1),ImageRectOffset=Vector2.new(0, 0),ImageRectSize=Vector2.new(0, 0),ImageTransparency=0,ScaleType=Enum.ScaleType.Crop,SliceCenter=Rect.new(0, 0, 0, 0),Active=false,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(1, 1, 1),BackgroundTransparency=1,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.188999996, 0, 0, -110),Rotation=90,Selectable=false,Size=UDim2.new(0, 183, 0, 303),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name='ImageLabel',Parent = JPSFrame})
  43. local FarmCoinsArea1Btn = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Coins Spawn',TextColor3=Color3.new(1, 1, 1),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, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.0472722165, 0, 0.291516244, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 89, 0, 30),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=2,Name='FarmCoinsArea1Btn',Parent = JPSFrame})
  44. local ImageLabel = CreateInstance('ImageLabel',{Image='rbxassetid://38727848',ImageColor3=Color3.new(1, 1, 1),ImageRectOffset=Vector2.new(0, 0),ImageRectSize=Vector2.new(0, 0),ImageTransparency=0,ScaleType=Enum.ScaleType.Crop,SliceCenter=Rect.new(0, 0, 0, 0),Active=false,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(1, 1, 1),BackgroundTransparency=1,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.188999996, 0, 0, 0),Rotation=90,Selectable=false,Size=UDim2.new(0, 183, 0, 303),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name='ImageLabel',Parent = JPSFrame})
  45. local TextLabel = CreateInstance('TextLabel',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Teleports',TextColor3=Color3.new(0, 0, 0),TextScaled=false,TextSize=14,TextStrokeColor3=Color3.new(1, 1, 1),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=false,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,Active=false,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(1, 1, 1),BackgroundTransparency=1,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.281272709, 0, 0.514066398, 0),Rotation=0,Selectable=false,Size=UDim2.new(0, 128, 0, 25),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=2,Name='TextLabel',Parent = JPSFrame})
  46. local TPSpawnBtn = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Spawn',TextColor3=Color3.new(1, 1, 1),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, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.037656825, 0, 0.604896486, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 89, 0, 30),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=2,Name='TPSpawnBtn',Parent = JPSFrame})
  47. local TPVillageBtn = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Village',TextColor3=Color3.new(1, 1, 1),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, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.342144042, 0, 0.604896486, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 89, 0, 30),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=2,Name='TPVillageBtn',Parent = JPSFrame})
  48. local TPMoonBtn = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Moon',TextColor3=Color3.new(1, 1, 1),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, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.646579623, 0, 0.603554904, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 89, 0, 30),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=2,Name='TPMoonBtn',Parent = JPSFrame})
  49. local TPSellAreaBtn = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Sell Area',TextColor3=Color3.new(1, 1, 1),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, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.0376568213, 0, 0.81968528, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 89, 0, 30),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=2,Name='TPSellAreaBtn',Parent = JPSFrame})
  50. local BuyBestBtn = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Buy Best',TextColor3=Color3.new(1, 1, 1),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, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.646631181, 0, 0.17884016, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 89, 0, 30),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=2,Name='BuyBestBtn',Parent = JPSFrame})
  51. local FarmCoinsArea2Btn = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Coins Village',TextColor3=Color3.new(1, 1, 1),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, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.348554283, 0, 0.291516244, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 89, 0, 30),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=2,Name='FarmCoinsArea2Btn',Parent = JPSFrame})
  52. local FarmCoinsArea3Btn = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Coins Moon',TextColor3=Color3.new(1, 1, 1),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, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.646631181, 0, 0.291516244, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 89, 0, 30),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=2,Name='FarmCoinsArea3Btn',Parent = JPSFrame})
  53. local QuickSellBtn = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Quick Sell',TextColor3=Color3.new(1, 1, 1),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, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.348554254, 0, 0.17884016, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 89, 0, 30),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=2,Name='QuickSellBtn',Parent = JPSFrame})
  54. local FarmCoinsArea4Btn = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Coins Ruins',TextColor3=Color3.new(1, 1, 1),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, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.0472722165, 0, 0.39715004, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 89, 0, 30),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=2,Name='FarmCoinsArea4Btn',Parent = JPSFrame})
  55. local FarmGemsArea5Btn = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Gems Military',TextColor3=Color3.new(1, 1, 1),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, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.348554283, 0, 0.39715004, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 89, 0, 30),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=2,Name='FarmGemsArea5Btn',Parent = JPSFrame})
  56. local TPRuinsBtn = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Ruins',TextColor3=Color3.new(1, 1, 1),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, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.037656825, 0, 0.710530281, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 89, 0, 30),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=2,Name='TPRuinsBtn',Parent = JPSFrame})
  57. local TPMilitaryBtn = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Military',TextColor3=Color3.new(1, 1, 1),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, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.342144042, 0, 0.710530281, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 89, 0, 30),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=2,Name='TPMilitaryBtn',Parent = JPSFrame})
  58. local TPChestsBtn = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Chests',TextColor3=Color3.new(1, 1, 1),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, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.345297575, 0, 0.821864784, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 89, 0, 30),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=2,Name='TPChestsBtn',Parent = JPSFrame})
  59. local OpenBtn = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Close',TextColor3=Color3.new(1, 1, 1),TextScaled=false,TextSize=14,TextStrokeColor3=Color3.new(0, 0, 0),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=true,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, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.61728394, -36, -0.652406454, -15),Rotation=0,Selectable=true,Size=UDim2.new(0, 73, 0, 30),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name='OpenBtn',Parent = Frame})
  60.  
  61.  
  62. OpenBtn.MouseButton1Click:connect(function()
  63.     if OpenBtn.Text == "Close" then
  64.         OpenBtn.Text = "Open"
  65.         JPSFrame.Visible = false
  66.         print("Menu Closed")
  67.     elseif OpenBtn.Text == "Open" then
  68.         OpenBtn.Text = "Close"
  69.         JPSFrame.Visible = true
  70.         print("Menu Opened")      
  71.     end
  72. end)
  73.  
  74.  
  75. FarmLicksBtn.MouseButton1Click:connect(function()
  76.     if lick == true then lick = false
  77.         FarmLicksBtn.BackgroundColor3 = Color3.new(0, 0, 0)
  78.     elseif lick == false then lick = true
  79.         FarmLicksBtn.BackgroundColor3 = Color3.new(0, 170, 0)
  80.     end
  81.     LickFunc()
  82. end)
  83.  
  84. FarmCoinsArea1Btn.MouseButton1Click:connect(function()
  85.     if isfarming == "Area1" or isfarming == nil then
  86.         if coin1 == true then coin1 = false
  87.             FarmCoinsArea1Btn.BackgroundColor3 = Color3.new(0, 0, 0)
  88.             isfarming = nil
  89.         elseif coin1 == false then coin1 = true
  90.             FarmCoinsArea1Btn.BackgroundColor3 = Color3.new(0, 170, 0)
  91.             isfarming = "Area1"
  92.         end
  93.         CollectCoins("Area1")
  94.     end
  95. end)
  96.  
  97. FarmCoinsArea2Btn.MouseButton1Click:connect(function()
  98.     if isfarming == "Area2" or isfarming == nil then
  99.         if coin2 == true then coin2 = false
  100.             FarmCoinsArea2Btn.BackgroundColor3 = Color3.new(0, 0, 0)
  101.             isfarming = nil
  102.         elseif coin2 == false then coin2 = true
  103.             FarmCoinsArea2Btn.BackgroundColor3 = Color3.new(0, 170, 0)
  104.             isfarming = "Area2"
  105.         end
  106.         CollectCoins("Area2")
  107.     end
  108. end)
  109.  
  110. FarmCoinsArea3Btn.MouseButton1Click:connect(function()
  111.     if isfarming == "Area3" or isfarming == nil then
  112.         if coin3 == true then coin3 = false
  113.             FarmCoinsArea3Btn.BackgroundColor3 = Color3.new(0, 0, 0)
  114.             isfarming = nil
  115.         elseif coin3 == false then coin3 = true
  116.             FarmCoinsArea3Btn.BackgroundColor3 = Color3.new(0, 170, 0)
  117.             isfarming = "Area3"
  118.         end
  119.         CollectCoins("Area3")
  120.     end
  121. end)
  122.  
  123. FarmCoinsArea4Btn.MouseButton1Click:connect(function()
  124.     if isfarming == "Area4" or isfarming == nil then
  125.         if coin4 == true then coin4 = false
  126.             FarmCoinsArea4Btn.BackgroundColor3 = Color3.new(0, 0, 0)
  127.             isfarming = nil
  128.         elseif coin4 == false then coin4 = true
  129.             FarmCoinsArea4Btn.BackgroundColor3 = Color3.new(0, 170, 0)
  130.             isfarming = "Area4"
  131.         end
  132.         CollectCoins("Area4")
  133.     end
  134. end)
  135.  
  136. FarmGemsArea5Btn.MouseButton1Click:connect(function()
  137.     if isfarming == "Area5" or isfarming == nil then
  138.         if gems == true then gems = false
  139.             FarmGemsArea5Btn.BackgroundColor3 = Color3.new(0, 0, 0)
  140.             isfarming = nil
  141.         elseif gems == false then gems = true
  142.             FarmGemsArea5Btn.BackgroundColor3 = Color3.new(0, 170, 0)
  143.             isfarming = "Area5"
  144.         end
  145.         CollectCoins("Area5")
  146.     end
  147. end)
  148.  
  149. BuyBestBtn.MouseButton1Click:connect(function()
  150.     if buy == true then buy = false
  151.         BuyBestBtn.BackgroundColor3 = Color3.new(0, 0, 0)
  152.     elseif buy == false then buy = true
  153.         BuyBestBtn.BackgroundColor3 = Color3.new(0, 170, 0)
  154.     end
  155.     BuyFunc()
  156. end)
  157.  
  158. TPSpawnBtn.MouseButton1Click:connect(function()
  159.     HRP.CFrame = tel.Area1.CFrame
  160. end)
  161.  
  162. TPVillageBtn.MouseButton1Click:connect(function()
  163.     HRP.CFrame = tel.Area2.CFrame
  164. end)
  165.  
  166. TPMoonBtn.MouseButton1Click:connect(function()
  167.     HRP.CFrame = tel.Area3.CFrame
  168. end)
  169.  
  170. TPRuinsBtn.MouseButton1Click:connect(function()
  171.     HRP.CFrame = tel.Area4.CFrame
  172. end)
  173.  
  174. TPMilitaryBtn.MouseButton1Click:connect(function()
  175.     HRP.CFrame = tel.Area5.CFrame
  176. end)
  177.  
  178. TPSellAreaBtn.MouseButton1Click:connect(function()
  179.     HRP.CFrame = CFrame.new(-166.513916, 25.6278648, 149.04068, 0.99925369, -1.58751607e-08, 0.0386269316, 1.97436183e-08, 1, -9.97677532e-08, -0.0386269316, 1.00455935e-07, 0.99925369)
  180. end)
  181.  
  182. TPChestsBtn.MouseButton1Click:connect(function()
  183.     for _,g in pairs(game:GetService("Workspace")["_Daily"]:GetChildren()) do
  184.         for _,v in pairs(g:GetChildren()) do
  185.             if string.match(v.Name, "Act") then
  186.                 wait(1)
  187.                 game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.CFrame
  188.             end
  189.         end
  190.     end
  191. end)
  192.  
  193. QuickSellBtn.MouseButton1Click:connect(function()
  194.     local save = HRP.CFrame
  195.     wait(.000000001)
  196.     HRP.CFrame = CFrame.new(-166.513916, 25.6278648, 149.04068, 0.99925369, -1.58751607e-08, 0.0386269316, 1.97436183e-08, 1, -9.97677532e-08, -0.0386269316, 1.00455935e-07, 0.99925369)
  197.     wait(.6)
  198.     HRP.CFrame = save
  199. end)
  200.  
  201. function LickFunc()
  202.     while lick == true do
  203.         wait()
  204.         game.ReplicatedStorage.Lick:InvokeServer(Workspace.keathunsar.Lollipop)
  205.     end
  206. end
  207.  
  208. function CollectCoins(AreaName)
  209.     while isfarming == AreaName do
  210.         if AreaName == "Area5" then --if area 5 farm gems
  211.             for _,g in pairs(WS:GetChildren()) do
  212.                 if isfarming ~= AreaName then return end
  213.                 if string.match(g.Name, "Coins") then                
  214.                     for _,v in pairs(g:GetChildren()) do                    
  215.                         if isfarming ~= AreaName or isfarming == nil then return end
  216.                         if tostring(v.Area.Value) == AreaName and v.Transparency == 0 then
  217.                             local OrigPOS = v.CFrame
  218.                             wait(1)
  219.                             v.CFrame = HRP.CFrame
  220.                             wait(.1)
  221.                             v.CFrame = OrigPOS
  222.                         else
  223.                             if not tostring(v.Name, "Coin") then                          
  224.                             wait(.1)
  225.                             else
  226.                             wait()
  227.                             end
  228.                         end
  229.                     end
  230.                 end
  231.             end
  232.         else  
  233.             for _,g in pairs(WS:GetChildren()) do --if areas 1-4 farm coins
  234.                 if isfarming ~= AreaName then return end
  235.                 if string.match(g.Name, "Coins") then
  236.                     for _,v in pairs(g:GetChildren()) do
  237.                         if isfarming ~= AreaName or isfarming == nil then return end
  238.                         if tostring(v.Area.Value) == AreaName and v.Transparency == 0 then
  239.                             local OrigPOS = v.CFrame
  240.                             wait(1)
  241.                             v.CFrame = HRP.CFrame
  242.                             wait(.1)
  243.                             v.CFrame = OrigPOS
  244.                         else
  245.                             wait(.1)
  246.                         end
  247.                     end
  248.                 end
  249.             end
  250.         end
  251.     end
  252. end
  253.  
  254. function BuyFunc()
  255.     while buy == true do
  256.         wait(1)
  257.         game.ReplicatedStorage.Events[""]:InvokeServer(1) --lollipop
  258.         game.ReplicatedStorage.Events[""]:InvokeServer(2) --Max  
  259.     end
  260. end
  261.  
  262. function QuestFunc()
  263.     while quest == true do
  264.         wait(1)
  265.         game.ReplicatedStorage.Events[""]:FireServer("Lick")
  266.         game.ReplicatedStorage.Events[""]:FireServer("Coin")
  267.         game.ReplicatedStorage.Events[""]:FireServer("Chest")
  268.     end
  269. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement