Roblox scripts | One World: Together At Home Concert Script

Roblox scripts | One World: Together At Home Concert Script

Script by dichill

Features :Auto Collect Coins Auto Collect Quests Auto Buy Items

-- Set AutoCollectQuest to TRUE after that set AutoCollectQuest to FALSE[/align]
-- After Receiving the Collected Amount of Money from the Quest.

--[[
OPTIONS
--]]

AutoBuyItems = true
AutoCollectQuest = false

--[[
 CODE
--]]

local ws = game:GetService("Workspace")

local plr = game:GetService("Players").LocalPlayer
local plrh = plr.Character.HumanoidRootPart

-- local Annoying = plr.PlayerScripts.ContextActions.ContextActionCollectInflatable
-- Annoying:Destroy();

for i, v in pairs(ws.CollectablesClones:GetChildren()) do
if v.ClassName == "Model" then
for index, descendant in pairs(v:GetDescendants()) do
if descendant:IsA("MeshPart") then
if descendant.Name == "CollectablePart" then
v.CollectablePart.CFrame = CFrame.new(plrh.CFrame.p)
elseif descendant.Name == "BodyMeshPart" then
v.BodyMeshPart.CFrame = CFrame.new(plrh.CFrame.p)
end
end
end
end
end

for a,s in pairs(ws.GoldCoinClones:GetChildren()) do
if s.ClassName == "Model" then
s.CoinMeshPart.CFrame = CFrame.new(plrh.CFrame.p)
end
end

-- Collect Quest
local RemoteQuest = game.ReplicatedStorage['QuestsManagerRemoteFunction']

while AutoCollectQuest and wait() do
RemoteQuest:InvokeServer("CollectQuestReward", {
questName = "Welcome to the Bloxys"
})

RemoteQuest:InvokeServer("CollectQuestReward", {
questName = "Watch Party"
})

RemoteQuest:InvokeServer("CollectQuestReward", {
questName = "Builderman’s Finest"
})

RemoteQuest:InvokeServer("CollectQuestReward", {
questName = "Thirst Quencher"
})

RemoteQuest:InvokeServer("CollectQuestReward", {
questName = "Red Carpet Royalty"
})

RemoteQuest:InvokeServer("CollectQuestReward", {
questName = "Spreading the Love"
})
end

-- Buy Remote
local Remote = game.ReplicatedStorage['SwagsManagerRemoteFunction']
function BuyItem(x)
if x == true then
-- Invoke
Remote:InvokeServer("PurchaseSwag", {
swagName = "Neon Tiarra"
})

Remote:InvokeServer("PurchaseSwag", {
swagName = "Neon Roblox Necklace"
})

Remote:InvokeServer("PurchaseSwag", {
swagName = "Floating Blox"
})

Remote:InvokeServer("PurchaseSwag", {
swagName = "Glow Sticks"
})

Remote:InvokeServer("PurchaseSwag", {
swagName = "Huge Neon Slurpy"
})

Remote:InvokeServer("PurchaseSwag", {
swagName = "Neon Hat 2"
})

Remote:InvokeServer("PurchaseSwag", {
swagName = "Neon Mohawk"
})

Remote:InvokeServer("PurchaseSwag", {
swagName = "Neon Pet Cat"
})

Remote:InvokeServer("PurchaseSwag", {
swagName = "Neon Wings"
})

Remote:InvokeServer("PurchaseSwag", {
swagName = "Neon Shoulder Pads"
})
elseif x == false then
warn("Auto Buy Item is set to FALSE")
end
end

while AutoBuyItems and wait() do
BuyItem(AutoBuyItems)
end
%d bloggers like this: