Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Created by Cow and matuman
- -- Created: 2/9/19
- -- Test with Synapse X v1.2.3c
- -- https://www.roblox.com/games/2746585602
- local storage = game:GetService("ReplicatedStorage")
- local player = game:GetService("Players").LocalPlayer
- local character = player.Character
- local playerGui = player:FindFirstChild("PlayerGui")
- local mouse = player:GetMouse()
- local auto_click = false
- local auto_sell = false
- local auto_coin_tp = false
- local teleports = {}
- teleports[1] = {"Spawn", Vector3.new(91, 36, -7)}
- teleports[2] = {"Cloud World", Vector3.new(73, 139, 18)}
- teleports[3] = {"Cloud Rebirth", Vector3.new(-11, 31, -1649)}
- teleports[4] = {"Rock World", Vector3.new(26, 382, 26)}
- teleports[5] = {"Rock Rebirth", Vector3.new(665, 327, -7952)}
- teleports[6] = {"Space World", Vector3.new(41, 747, 42)}
- teleports[7] = {"Space Rebirth", Vector3.new(148, 1845, 2754)}
- teleports[8] = {"Ice World", Vector3.new(35, 1117, 48)}
- teleports[9] = {"Lava World", Vector3.new(41, 1635, 50)}
- teleports[10] = {"Toxic World", Vector3.new(35, 2300, 58)}
- for i, v in pairs(playerGui:GetChildren()) do
- if v.Name == "Cow's_Grow_A_Candy_Cane_Simulator_Gui" then
- v:Destroy()
- end
- end
- local screenGui = Instance.new("ScreenGui", playerGui)
- screenGui.Name = "Cow's_Grow_A_Candy_Cane_Simulator_Gui"
- function createGui()
- local frame = Instance.new("Frame", screenGui)
- frame.Size = UDim2.new(0, -150, 0, 0)
- frame.Position = UDim2.new(1, -5, 0.5, 0)
- frame.BackgroundTransparency = 1
- local teleportButton = Instance.new("TextButton", frame)
- teleportButton.Size = UDim2.new(1, 0, 0, 36)
- teleportButton.Position = UDim2.new(0, 0, 0, 0)
- teleportButton.Text = "Teleports"
- teleportButton.Font = Enum.Font.SourceSansBold
- teleportButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- teleportButton.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- teleportButton.TextScaled = true
- teleportButton.MouseButton1Click:Connect(function()
- if frame:FindFirstChild("teleportGui") then
- teleportButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- frame:FindFirstChild("teleportGui"):Destroy()
- else
- teleportButton.TextColor3 = Color3.fromRGB(125, 125, 125)
- createTeleportGui(frame)
- end
- end)
- local autoClick = Instance.new("TextLabel", frame)
- autoClick.Size = UDim2.new(0.75, 0, 0, 36)
- autoClick.Position = UDim2.new(0.25, 0, 0, 41)
- autoClick.Text = "Auto Click"
- autoClick.Font = Enum.Font.SourceSansBold
- autoClick.TextColor3 = Color3.fromRGB(255, 255, 255)
- autoClick.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- autoClick.TextScaled = true
- local status = Instance.new("TextButton", frame)
- status.Size = UDim2.new(0.25, -5, 0, 36)
- status.Position = UDim2.new(0, 0, 0, 41)
- status.Text = "Off"
- status.Font = Enum.Font.SourceSansBold
- status.TextColor3 = Color3.fromRGB(255, 0, 0)
- status.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- status.TextScaled = true
- status.MouseButton1Click:Connect(function()
- if auto_click then
- auto_click = false
- status.Text = "Off"
- status.TextColor3 = Color3.fromRGB(255, 0, 0)
- else
- auto_click = true
- status.Text = "On"
- status.TextColor3 = Color3.fromRGB(0, 255, 0)
- autoClickFunc()
- end
- end)
- local autoSell = Instance.new("TextLabel", frame)
- autoSell.Size = UDim2.new(0.75, 0, 0, 36)
- autoSell.Position = UDim2.new(0.25, 0, 0, 82)
- autoSell.Text = "Auto Sell"
- autoSell.Font = Enum.Font.SourceSansBold
- autoSell.TextColor3 = Color3.fromRGB(255, 255, 255)
- autoSell.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- autoSell.TextScaled = true
- local status = Instance.new("TextButton", frame)
- status.Size = UDim2.new(0.25, -5, 0, 36)
- status.Position = UDim2.new(0, 0, 0, 82)
- status.Text = "Off"
- status.Font = Enum.Font.SourceSansBold
- status.TextColor3 = Color3.fromRGB(255, 0, 0)
- status.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- status.TextScaled = true
- status.MouseButton1Click:Connect(function()
- if auto_sell then
- auto_sell = false
- status.Text = "Off"
- status.TextColor3 = Color3.fromRGB(255, 0, 0)
- else
- auto_sell = true
- status.Text = "On"
- status.TextColor3 = Color3.fromRGB(0, 255, 0)
- end
- end)
- local autoCoinTP = Instance.new("TextLabel", frame)
- autoCoinTP.Size = UDim2.new(0.75, 0, 0, 36)
- autoCoinTP.Position = UDim2.new(0.25, 0, 0, 123)
- autoCoinTP.Text = "Auto Coin TP"
- autoCoinTP.Font = Enum.Font.SourceSansBold
- autoCoinTP.TextColor3 = Color3.fromRGB(255, 255, 255)
- autoCoinTP.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- autoCoinTP.TextScaled = true
- local status = Instance.new("TextButton", frame)
- status.Size = UDim2.new(0.25, -5, 0, 36)
- status.Position = UDim2.new(0, 0, 0, 123)
- status.Text = "Off"
- status.Font = Enum.Font.SourceSansBold
- status.TextColor3 = Color3.fromRGB(255, 0, 0)
- status.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- status.TextScaled = true
- status.MouseButton1Click:Connect(function()
- if auto_coin_tp then
- auto_coin_tp = false
- status.Text = "Off"
- status.TextColor3 = Color3.fromRGB(255, 0, 0)
- else
- auto_coin_tp = true
- status.Text = "On"
- status.TextColor3 = Color3.fromRGB(0, 255, 0)
- autoCoinTPFunc()
- end
- end)
- local power = Instance.new("TextButton", frame)
- power.Size = UDim2.new(1, 0, 0, 36)
- power.Position = UDim2.new(0, 0, 0, 164)
- power.Text = "Open Power"
- power.Font = Enum.Font.SourceSansBold
- power.TextColor3 = Color3.fromRGB(255, 255, 255)
- power.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- power.TextScaled = true
- power.MouseButton1Click:Connect(function()
- if playerGui:FindFirstChild("PowerUi"):FindFirstChild("Frame").Visible then
- playerGui:FindFirstChild("PowerUi"):FindFirstChild("Frame").Visible = false
- else
- playerGui:FindFirstChild("PowerUi"):FindFirstChild("Frame").Visible = true
- end
- end)
- local rebirth = Instance.new("TextButton", frame)
- rebirth.Size = UDim2.new(1, 0, 0, 36)
- rebirth.Position = UDim2.new(0, 0, 0, 205)
- rebirth.Text = "Open Rebirth"
- rebirth.Font = Enum.Font.SourceSansBold
- rebirth.TextColor3 = Color3.fromRGB(255, 255, 255)
- rebirth.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- rebirth.TextScaled = true
- rebirth.MouseButton1Click:Connect(function()
- if playerGui:FindFirstChild("RebirthUi"):FindFirstChild("Frame").Visible then
- playerGui:FindFirstChild("RebirthUi"):FindFirstChild("Frame").Visible = false
- else
- playerGui:FindFirstChild("RebirthUi"):FindFirstChild("Frame").Visible = true
- end
- end)
- local trapButton = Instance.new("TextButton", frame)
- trapButton.Size = UDim2.new(1, 0, 0, 36)
- trapButton.Position = UDim2.new(0, 0, 0, 246)
- trapButton.Text = "Trap"
- trapButton.Font = Enum.Font.SourceSansBold
- trapButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- trapButton.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- trapButton.TextScaled = true
- trapButton.MouseButton1Click:Connect(function()
- local part = Instance.new("Part", workspace)
- part.Position = Vector3.new(character.Head.Position.X + 3, character.Head.Position.Y, character.Head.Position.Z)
- part.Size = Vector3.new(1, 8, 8)
- part.Anchored = true
- local part = Instance.new("Part", workspace)
- part.Position = Vector3.new(character.Head.Position.X - 3, character.Head.Position.Y, character.Head.Position.Z)
- part.Size = Vector3.new(1, 8, 8)
- part.Anchored = true
- local part = Instance.new("Part", workspace)
- part.Position = Vector3.new(character.Head.Position.X, character.Head.Position.Y, character.Head.Position.Z + 3)
- part.Size = Vector3.new(8, 8, 1)
- part.Anchored = true
- local part = Instance.new("Part", workspace)
- part.Position = Vector3.new(character.Head.Position.X, character.Head.Position.Y, character.Head.Position.Z - 3)
- part.Size = Vector3.new(8, 8, 1)
- part.Anchored = true
- end)
- end
- createGui()
- function createTeleportGui(frame)
- local frame = Instance.new("Frame", frame)
- frame.Name = "teleportGui"
- frame.Size = frame.Parent.Size
- frame.Position = UDim2.new(0, -5, frame.Parent.Position.X.Scale, 0)
- frame.BackgroundTransparency = 1
- for i, v in pairs(teleports) do
- local text = Instance.new("TextButton", frame)
- text.Size = UDim2.new(1, 0, 0, 36)
- text.Position = UDim2.new(0, 0, 0, 41 * (i - 1))
- text.Text = teleports[i][1]
- text.Font = Enum.Font.SourceSansBold
- text.TextColor3 = Color3.fromRGB(255, 255, 255)
- text.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- text.TextScaled = true
- text.MouseButton1Click:Connect(function()
- character:MoveTo(teleports[i][2])
- end)
- end
- end
- function autoClickFunc()
- if auto_click then
- if character:FindFirstChild("Candycane") then
- workspace.ACowThatIsLost.Candycane.RemoteEvent:FireServer("Click")
- end
- if auto_sell then
- if character.Humanoid.Sit then
- character.Humanoid.Sit = false
- else
- character.Humanoid.Sit = true
- end
- end
- delay(0.01, function()
- autoClickFunc()
- end)
- end
- end
- function autoCoinTPFunc()
- if auto_coin_tp then
- local drops = workspace:FindFirstChild("DropsFolder").Drops
- for i, v in pairs(drops:GetChildren()) do
- if v.Name ~= "Clouds" and v.Name ~= "Spawn" and v.Name ~= "Rocks" and v.Name ~= "Space" then
- for i2, v2 in pairs(v:GetChildren()) do
- if not auto_coin_tp then
- return
- end
- if string.match(v2.Name, "Coin") or string.match(v2.Name, "Cyrstal") then
- character:MoveTo(v2.Position)
- repeat
- wait()
- until not v:FindFirstChild(v2)
- wait(0.5)
- end
- end
- end
- end
- wait(0.1)
- autoCoinTPFunc()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement