Advertisement
dady172172

Coin Collecting Simulator GUI

Dec 20th, 2019
424
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 17.51 KB | None | 0 0
  1. -- Game https://www.roblox.com/games/2484088625/Coin-Collecting-Simulator
  2. -- Image https://prnt.sc/puagll
  3. -- more at https://github.com/dady172172/Roblox-Cheats I have moved to Gethub
  4. -- Made by dady172172
  5.  
  6. coincheat1 = false
  7. coincheat2 = false
  8. coincheat3 = false
  9. coincheat4 = false
  10. buymult = false
  11. buygem = false
  12. rebirth = false
  13. multpos = game:GetService("Workspace")["Multiplier Button"].Head.CFrame
  14. gempos = game:GetService("Workspace")["Gems  Button"].Head.CFrame
  15. rebirthpos = game:GetService("Workspace")["Rebirth  Button"].Head.CFrame
  16.  
  17. local VirtualUser=game:service'VirtualUser'
  18. game:service'Players'.LocalPlayer.Idled:connect(function()
  19.     VirtualUser:CaptureController()
  20.     VirtualUser:ClickButton2(Vector2.new())
  21. end)
  22.  
  23. local function CreateInstance(cls,props)
  24. local inst = Instance.new(cls)
  25. for i,v in pairs(props) do
  26.     inst[i] = v
  27. end
  28. return inst
  29. end
  30.    
  31. local CoinSimGui = CreateInstance('ScreenGui',{DisplayOrder=0,Enabled=true,ResetOnSpawn=true,Name='CoinSimGui', Parent=game.CoreGui})
  32. 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 = CoinSimGui})
  33. local CoinsimFrame = CreateInstance('Frame',{Style=Enum.FrameStyle.DropShadow,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=0,ClipsDescendants=false,Draggable=true,Position=UDim2.new(0.0276489258, 0, 0.000785460463, 0),Rotation=0,Selectable=false,Size=UDim2.new(0, 312, 0, 188),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name = 'CoinsimFrame',Parent = Frame})
  34. local CoinBtn = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Coin 1',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.0120157134, 0, 0.295114607, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 89, 0, 30),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name='CoinBtn',Parent = CoinsimFrame})
  35. local TextLabel = CreateInstance('TextLabel',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Coin Collecting Simulator',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.281272709, 0, -1.81552023e-05, 0),Rotation=0,Selectable=false,Size=UDim2.new(0, 128, 0, 25),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name='TextLabel',Parent = CoinsimFrame})
  36. local Coin2Btn = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Coin 2',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.342143923, 0, 0.295114607, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 89, 0, 30),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name='Coin2Btn',Parent = CoinsimFrame})
  37. local RebirthBtn = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Rebirth',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.672272146, 0, 0.75256151, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 89, 0, 30),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name='RebirthBtn',Parent = CoinsimFrame})
  38. local Coin3Btn = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Coin 3',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.0120157367, 0, 0.52440697, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 89, 0, 30),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name='Coin3Btn',Parent = CoinsimFrame})
  39. local Coin4Btn = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Coin 4',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.342143953, 0, 0.519087791, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 89, 0, 30),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name='Coin4Btn',Parent = CoinsimFrame})
  40. local GemBtn = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Buy Gems',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.342143953, 0, 0.753130376, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 89, 0, 30),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name='GemBtn',Parent = CoinsimFrame})
  41. local MultiplyerBtn = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Buy Bultiplyer',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.0120157134, 0, 0.753699183, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 89, 0, 30),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name='MultiplyerBtn',Parent = CoinsimFrame})
  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.327077389, 0, -0.661985755, 0),Rotation=90,Selectable=false,Size=UDim2.new(0, 100, 0, 303),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name='ImageLabel',Parent = CoinsimFrame})
  43. 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=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(1.36609697, 0, -0.609625518, 0),Rotation=0,Selectable=true,Size=UDim2.new(0, 73, 0, 30),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name='OpenBtn',Parent = Frame})
  44.  
  45. OpenBtn.MouseButton1Click:connect(function()
  46.     if OpenBtn.Text == "Close" then
  47.         OpenBtn.Text = "Open"
  48.         CoinsimFrame.Visible = false
  49.         print("Menu Closed")
  50.     elseif OpenBtn.Text == "Open" then
  51.         OpenBtn.Text = "Close"
  52.         CoinsimFrame.Visible = true
  53.         print("Menu Opened")      
  54.     end
  55. end)
  56.  
  57. CoinBtn.MouseButton1Click:connect(function()
  58.     if coincheat1 == true then coincheat1 = false print("Disabled")
  59.         CoinBtn.BackgroundColor3 = Color3.new(0, 0, 0)
  60.     elseif
  61.         coincheat1 == false then coincheat1 = true print("Enabled")
  62.         CoinBtn.BackgroundColor3 = Color3.new(0, 170, 0)
  63.         coin1func()
  64.     end  
  65. end)
  66.  
  67. function coin1func()
  68.     for _,v in pairs(game:GetService("Workspace"):GetChildren()) do
  69.         if v.Name == "Coin" then
  70.             if v.Reward then
  71.                
  72.                 v.CanCollide = false
  73.                 v.Anchored = true
  74.                 v.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  75.                 wait()
  76.                 if coincheat1 == false then return end
  77.             end
  78.         end
  79.     end
  80.     CoinBtn.BackgroundColor3 = Color3.new(0, 0, 0)
  81.     coincheat1 = false
  82. end
  83.  
  84. Coin2Btn.MouseButton1Click:connect(function()
  85.     if coincheat2 == true then coincheat2 = false print("Disabled")
  86.         Coin2Btn.BackgroundColor3 = Color3.new(0, 0, 0)
  87.     elseif
  88.         coincheat2 == false then coincheat2 = true print("Enabled")
  89.         Coin2Btn.BackgroundColor3 = Color3.new(0, 170, 0)
  90.         coin2func()
  91.     end
  92. end)
  93.  
  94. function coin2func()
  95.     for _,v in pairs(game:GetService("Workspace"):GetChildren()) do
  96.         if v.Name == "Coin2" then
  97.             if v.Reward then
  98.                 wait()
  99.                 v.CanCollide = false
  100.                 v.Anchored = true
  101.                 v.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  102.                 if coincheat2 == false then return end
  103.             end
  104.         end
  105.     end
  106.     Coin2Btn.BackgroundColor3 = Color3.new(0, 0, 0)
  107.     coincheat2 = false
  108. end
  109.  
  110. Coin3Btn.MouseButton1Click:connect(function()
  111.     if coincheat3 == true then coincheat3 = false print("Disabled")
  112.         Coin3Btn.BackgroundColor3 = Color3.new(0, 0, 0)
  113.     elseif
  114.         coincheat3 == false then coincheat3 = true print("Enabled")
  115.         Coin3Btn.BackgroundColor3 = Color3.new(0, 170, 0)
  116.         coin3func()
  117.     end
  118. end)
  119.  
  120. function coin3func()
  121.     for _,v in pairs(game:GetService("Workspace"):GetChildren()) do
  122.         if v.Name == "Coin3" then
  123.             if v.Reward then
  124.                 wait()
  125.                 v.CanCollide = false
  126.                 v.Anchored = true
  127.                 v.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  128.                 if coin3 == false then return end
  129.             end
  130.         end
  131.     end
  132.     Coin3Btn.BackgroundColor3 = Color3.new(0, 0, 0)
  133.     coincheat3 = false  
  134. end
  135.  
  136. Coin4Btn.MouseButton1Click:connect(function()
  137.     if coincheat4 == true then coincheat4 = false print("Disabled")
  138.         Coin4Btn.BackgroundColor3 = Color3.new(0, 0, 0)
  139.     elseif
  140.         coincheat4 == false then coincheat4 = true print("Enabled")
  141.         Coin4Btn.BackgroundColor3 = Color3.new(0, 170, 0)
  142.         coin4func()
  143.     end
  144. end)
  145.  
  146. function coin4func()
  147.     for _,v in pairs(game:GetService("Workspace"):GetChildren()) do        
  148.         if v.Name == "Coin4" then
  149.             if v.Reward then
  150.                 wait()
  151.                 v.CanCollide = false
  152.                 v.Anchored = true
  153.                 v.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  154.                 if coincheat4 == false then return end
  155.             end
  156.         end
  157.     end
  158.     Coin4Btn.BackgroundColor3 = Color3.new(0, 0, 0)
  159.     coincheat4 = false
  160. end
  161.  
  162. MultiplyerBtn.MouseButton1Click:connect(function()
  163.     if buymult == true then buymult = false print("Disabled")
  164.         MultiplyerBtn.BackgroundColor3 = Color3.new(0, 0, 0)
  165.     elseif
  166.         buymult == false then buymult = true print("Enabled")
  167.         MultiplyerBtn.BackgroundColor3 = Color3.new(0, 170, 0)
  168.     end
  169.     Buymult()
  170. end)
  171.  
  172. GemBtn.MouseButton1Click:connect(function()
  173.     if buygem == true then buygem = false print("Disabled")
  174.         GemBtn.BackgroundColor3 = Color3.new(0, 0, 0)
  175.     elseif
  176.         buygem == false then buygem = true print("Enabled")
  177.         GemBtn.BackgroundColor3 = Color3.new(0, 170, 0)
  178.     end
  179.     Buygem()
  180. end)
  181.  
  182. RebirthBtn.MouseButton1Click:connect(function()
  183.     if rebirth == true then rebirth = false print("Disabled")
  184.         RebirthBtn.BackgroundColor3 = Color3.new(0, 0, 0)
  185.         stopRebirth()
  186.     elseif
  187.         rebirth == false then rebirth = true print("Enabled")
  188.         RebirthBtn.BackgroundColor3 = Color3.new(0, 170, 0)
  189.         startRebirth()
  190.     end
  191. end)
  192.  
  193. function Buymult()
  194.     while buymult == true do
  195.         local v = game:GetService("Workspace")["Multiplier Button"].Head.CFrame
  196.         game:GetService("Workspace")["Multiplier Button"].Head.CanCollide = false
  197.         game:GetService("Workspace")["Multiplier Button"].Head.Transparency = 1
  198.         game:GetService("Workspace")["Multiplier Button"].Head.Text.TextLabel.Visible = false
  199.         game:GetService("Workspace")["Multiplier Button"].Head.CFrame = game.Players.LocalPlayer.Character.RightFoot.CFrame
  200.         wait()
  201.         if buymult == false then
  202.             game:GetService("Workspace")["Multiplier Button"].Head.CFrame = multpos
  203.             game:GetService("Workspace")["Multiplier Button"].Head.Text.TextLabel.Visible = true
  204.             game:GetService("Workspace")["Multiplier Button"].Head.Transparency = 0
  205.             return
  206.         end
  207.     end  
  208. end
  209.  
  210. function Buygem()
  211.     while buygem == true do
  212.         local v = game:GetService("Workspace")["Gems  Button"].Head.CFrame
  213.         game:GetService("Workspace")["Gems  Button"].Head.CanCollide = false
  214.         game:GetService("Workspace")["Gems  Button"].Head.Transparency = 1
  215.         game:GetService("Workspace")["Gems  Button"].Head.Text.TextLabel.Visible = false
  216.         v = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  217.         wait()
  218.         if buygem == false then
  219.             game:GetService("Workspace")["Gems  Button"].Head.Transparency = 0
  220.             game:GetService("Workspace")["Gems  Button"].Head.Text.TextLabel.Visible = true
  221.             game:GetService("Workspace")["Gems  Button"].Head.CFrame = gempos
  222.             return
  223.         end
  224.     end
  225.    
  226. end
  227.  
  228. function startRebirth()
  229.     while rebirth == true do
  230.         local v = game:GetService("Workspace")["Rebirth  Button"].Head.CFrame        
  231.         game:GetService("Workspace")["Rebirth  Button"].Head.CFrame = game.Players.LocalPlayer.Character.RightFoot.CFrame
  232.         game:GetService("Workspace")["Rebirth  Button"].Head.CanCollide = false
  233.         game:GetService("Workspace")["Rebirth  Button"].Head.Transparency = 1
  234.         game:GetService("Workspace")["Rebirth  Button"].Head.Text.TextLabel.Visible = false
  235.         wait()
  236.     end
  237.     stopRebirth()
  238. end
  239.  
  240. function stopRebirth()
  241.     game:GetService("Workspace")["Rebirth  Button"].Head.CFrame = rebirthpos
  242.     game:GetService("Workspace")["Rebirth  Button"].Head.Text.TextLabel.Visible = true
  243.     game:GetService("Workspace")["Rebirth  Button"].Head.Transparency = 0
  244. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement