#RobloxStudioTutorials
---- ★ Songs ★ ----
Intro Song Link: chill anthem - BROCKBEATS: • chill anthem
Outro Song Link: Sweetest - Murat Uslu: (The song got deleted for some reason so here is the link to his youtube channel): / @muratuslu4013
Background Music: LuKremBo - boba tea: • lukrembo - boba tea
---- ★ Friend's Game Link! ★ ----
https://web.roblox.com/games/56477165...
---- ★ Profile Link! ★ ----
https://web.roblox.com/users/97907289...
---- ★ Script ★ ----
SCRIPT MADE BY: jumbodiado
-------------- ConveyorScript (ServerScriptService) ---------------------
local addConveyor = function(c)
if c.Name == "Conveyor" then
c.Parent.Velocity = c.Value*c.Parent.CFrame.lookVector
end
end
workspace.DescendantAdded:Connect(addConveyor)
for i,v in pairs(workspace:GetDescendants()) do
addConveyor(v)
end
-------------- ConveyorTextureScript ----------------------
local addConveyor = function(c)
if c.Name == "Conveyor" then
local con
con = game:GetService("RunService").RenderStepped:Connect(function()
if not (c.Parent or c.Parent.Parent) then con:Disconnect() end
c.Parent.ConveyorTexture.OffsetStudsV = -(workspace.DistributedGameTime*c.Value)%(c.Parent.ConveyorTexture.StudsPerTileV)
end)
end
end
workspace.DescendantAdded:Connect(addConveyor)
for i,v in pairs(workspace:GetDescendants()) do
addConveyor(v)
end
---------- Texture: rbxassetid://4733841640