Coins Hero Simulator Beat Game Script - Robloxscripts

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

getgenv().

BeatTheGame = true

local LocalPlayer = game:GetService("Players").LocalPlayer


local Remotes = game:GetService("ReplicatedStorage").Remotes
local Heartbeat = game:GetService("RunService").Heartbeat
local CoinToPlayer =game:GetService("ReplicatedStorage").CoinToPlayer
local lvlCosmos = LocalPlayer.lvlCosmos
local BackpackFull = LocalPlayer.BackpackFull
local BackpackName = LocalPlayer.PlayerBackpack.Nick
local BuyAllBackpacks = Remotes.BuyAllBackpacks
local BuyPets = Remotes.BuyPets
local Sell = Remotes.Sell
local BuyAllSkills = Remotes.BuyAllSkills
local Rank = Remotes.Rank
local Skill = Remotes.Skill
local Skills = {"Cosmos","Speed","Thunder"}

local function buyBackpack()


if BackpackName.Value ~= "HOLY YETI BACKPACK" then
BuyAllBackpacks:InvokeServer()
end
end

local function buySkills()


for i=1,#Skills do
BuyAllSkills:InvokeServer(Skills[i])
end
end

local function noob()


if lvlCosmos.Value == 0 then
CoinToPlayer:FireServer(3)
end
end

while getgenv().BeatTheGame do
Heartbeat:Wait()
noob()
Sell:FireServer()
buySkills()
Skill:FireServer("Cosmos",{2^63,2^63,2^63,2^63})
buyBackpack()
Rank:InvokeServer()
BuyPets:InvokeServer(7)
end

You might also like