0% found this document useful (0 votes)
21 views10 pages

Roblox Script for Music and Part Manipulation

The document contains a Lua script for a Roblox game that utilizes the HDAdminHDClient to manipulate music, lighting, and game objects. It defines functions for creating, moving, resizing, and modifying parts, as well as adding decals and meshes. The script also includes commands to change the game's time and fog color, and it appears to be designed for creating a specific visual effect in the game environment.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views10 pages

Roblox Script for Music and Part Manipulation

The document contains a Lua script for a Roblox game that utilizes the HDAdminHDClient to manipulate music, lighting, and game objects. It defines functions for creating, moving, resizing, and modifying parts, as well as adding decals and meshes. The script also includes commands to change the game's time and fog color, and it appears to be designed for creating a specific visual effect in the game environment.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

local ReplicatedStorage = game:GetService("ReplicatedStorage")

local RequestCommand =
ReplicatedStorage:WaitForChild("HDAdminHDClient").[Link]

RequestCommand:InvokeServer(";music 75512931245444")
RequestCommand:InvokeServer(";pitch 0.2")
RequestCommand:InvokeServer(";volume inf")

wait(4.8)

local ReplicatedStorage = game:GetService("ReplicatedStorage")


local RequestCommand =
ReplicatedStorage:WaitForChild("HDAdminHDClient").[Link]

RequestCommand:InvokeServer(";music 133411773241503")
RequestCommand:InvokeServer(";pitch 0.09")
RequestCommand:InvokeServer(";volume inf")

local player = [Link]


local char = [Link]
local tool
for i,v in player:GetDescendants() do
if [Link] == "SyncAPI" then
tool = [Link]
end
end
for i,v in [Link]:GetDescendants() do
if [Link] == "SyncAPI" then
tool = [Link]
end
end
--craaa
remote = [Link]
function _(args)
remote:InvokeServer(unpack(args))
end
function SetCollision(part,boolean)
local args = {
[1] = "SyncCollision",
[2] = {
[1] = {
["Part"] = part,
["CanCollide"] = boolean
}
}
}
_(args)
end
function SetAnchor(boolean,part)
local args = {
[1] = "SyncAnchor",
[2] = {
[1] = {
["Part"] = part,
["Anchored"] = boolean
}
}
}
_(args)
end
function CreatePart(cf,parent)
local args = {
[1] = "CreatePart",
[2] = "Normal",
[3] = cf,
[4] = parent
}
_(args)
end
function DestroyPart(part)
local args = {
[1] = "Remove",
[2] = {
[1] = part
}
}
_(args)
end
function MovePart(part,cf)
local args = {
[1] = "SyncMove",
[2] = {
[1] = {
["Part"] = part,
["CFrame"] = cf
}
}
}
_(args)
end
function Resize(part,size,cf)
local args = {
[1] = "SyncResize",
[2] = {
[1] = {
["Part"] = part,
["CFrame"] = cf,
["Size"] = size
}
}
}
_(args)
end
function AddMesh(part)
local args = {
[1] = "CreateMeshes",
[2] = {
[1] = {
["Part"] = part
}
}
}
_(args)
end

function SetMesh(part,meshid)
local args = {
[1] = "SyncMesh",
[2] = {
[1] = {
["Part"] = part,
["MeshId"] = "rbxassetid://"..meshid
}
}
}
_(args)
end
function SetTexture(part, texid)
local args = {
[1] = "SyncMesh",
[2] = {
[1] = {
["Part"] = part,
["TextureId"] = "rbxassetid://"..texid
}
}
}
_(args)
end
function SetName(part, stringg)
local args = {
[1] = "SetName",
[2] = {
[1] = part
},
[3] = stringg
}

_(args)
end
function MeshResize(part,size)
local args = {
[1] = "SyncMesh",
[2] = {
[1] = {
["Part"] = part,
["Scale"] = size
}
}
}
_(args)
end
function Weld(part1, part2,lead)
local args = {
[1] = "CreateWelds",
[2] = {
[1] = part1,
[2] = part2
},
[3] = lead
}
_(args)

end
function SetLocked(part,boolean)
local args = {
[1] = "SetLocked",
[2] = {
[1] = part
},
[3] = boolean
}
_(args)
end
function SetTrans(part,int)
local args = {
[1] = "SyncMaterial",
[2] = {
[1] = {
["Part"] = part,
["Transparency"] = int
}
}
}
_(args)
end
function CreateSpotlight(part)
local args = {
[1] = "CreateLights",
[2] = {
[1] = {
["Part"] = part,
["LightType"] = "SpotLight"
}
}
}
_(args)
end
function SyncLighting(part,brightness)
local args = {
[1] = "SyncLighting",
[2] = {
[1] = {
["Part"] = part,
["LightType"] = "SpotLight",
["Brightness"] = brightness
}
}
}
_(args)
end
function Color(part,color)
local args = {
[1] = "SyncColor",
[2] = {
[1] = {
["Part"] = part,
["Color"] = color --[[Color3]],
["UnionColoring"] = false
}
}
}
_(args)
end
function SpawnDecal(part,side)
local args = {
[1] = "CreateTextures",
[2] = {
[1] = {
["Part"] = part,
["Face"] = side,
["TextureType"] = "Decal"
}
}
}

_(args)
end
function AddDecal(part,asset,side)
local args = {
[1] = "SyncTexture",
[2] = {
[1] = {
["Part"] = part,
["Face"] = side,
["TextureType"] = "Decal",
["Texture"] = "rbxassetid://".. asset
}
}
}
_(args)
end

function spam(id)
for i,v in [Link]:GetDescendants() do
if v:IsA("BasePart") then
spawn(function()
SetLocked(v,false)
SpawnDecal(v,[Link])
AddDecal(v,id,[Link])

SpawnDecal(v,[Link])
AddDecal(v,id,[Link])

SpawnDecal(v,[Link])
AddDecal(v,id,[Link])

SpawnDecal(v,[Link])
AddDecal(v,id,[Link])

SpawnDecal(v,[Link])
AddDecal(v,id,[Link])

SpawnDecal(v,[Link])
AddDecal(v,id,[Link])
end)
end
end
end
spam("129126689583787")

local ReplicatedStorage = game:GetService("ReplicatedStorage")


local RequestCommand =
ReplicatedStorage:WaitForChild("HDAdminHDClient").[Link]
RequestCommand:InvokeServer(";time 17")

wait (1)

local player = [Link]


local char = [Link]
local tool
for i,v in player:GetDescendants() do
if [Link] == "SyncAPI" then
tool = [Link]
end
end
for i,v in [Link]:GetDescendants() do
if [Link] == "SyncAPI" then
tool = [Link]
end
end
--craaa
remote = [Link]
function _(args)
remote:InvokeServer(unpack(args))
end
function SetCollision(part,boolean)
local args = {
[1] = "SyncCollision",
[2] = {
[1] = {
["Part"] = part,
["CanCollide"] = boolean
}
}
}
_(args)
end
function SetAnchor(boolean,part)
local args = {
[1] = "SyncAnchor",
[2] = {
[1] = {
["Part"] = part,
["Anchored"] = boolean
}
}
}
_(args)
end
function CreatePart(cf,parent)
local args = {
[1] = "CreatePart",
[2] = "Normal",
[3] = cf,
[4] = parent
}
_(args)
end
function DestroyPart(part)
local args = {
[1] = "Remove",
[2] = {
[1] = part
}
}
_(args)
end
function MovePart(part,cf)
local args = {
[1] = "SyncMove",
[2] = {
[1] = {
["Part"] = part,
["CFrame"] = cf
}
}
}
_(args)
end
function Resize(part,size,cf)
local args = {
[1] = "SyncResize",
[2] = {
[1] = {
["Part"] = part,
["CFrame"] = cf,
["Size"] = size
}
}
}
_(args)
end
function AddMesh(part)
local args = {
[1] = "CreateMeshes",
[2] = {
[1] = {
["Part"] = part
}
}
}
_(args)
end

function SetMesh(part,meshid)
local args = {
[1] = "SyncMesh",
[2] = {
[1] = {
["Part"] = part,
["MeshId"] = "rbxassetid://"..meshid
}
}
}
_(args)
end
function SetTexture(part, texid)
local args = {
[1] = "SyncMesh",
[2] = {
[1] = {
["Part"] = part,
["TextureId"] = "rbxassetid://"..texid
}
}
}
_(args)
end
function SetName(part, stringg)
local args = {
[1] = "SetName",
[2] = {
[1] = part
},
[3] = stringg
}

_(args)
end
function MeshResize(part,size)
local args = {
[1] = "SyncMesh",
[2] = {
[1] = {
["Part"] = part,
["Scale"] = size
}
}
}
_(args)
end
function Weld(part1, part2,lead)
local args = {
[1] = "CreateWelds",
[2] = {
[1] = part1,
[2] = part2
},
[3] = lead
}
_(args)

end
function SetLocked(part,boolean)
local args = {
[1] = "SetLocked",
[2] = {
[1] = part
},
[3] = boolean
}
_(args)
end
function SetTrans(part,int)
local args = {
[1] = "SyncMaterial",
[2] = {
[1] = {
["Part"] = part,
["Transparency"] = int
}
}
}
_(args)
end
function CreateSpotlight(part)
local args = {
[1] = "CreateLights",
[2] = {
[1] = {
["Part"] = part,
["LightType"] = "SpotLight"
}
}
}
_(args)
end
function SyncLighting(part,brightness)
local args = {
[1] = "SyncLighting",
[2] = {
[1] = {
["Part"] = part,
["LightType"] = "SpotLight",
["Brightness"] = brightness
}
}
}
_(args)
end
function Color(part,color)
local args = {
[1] = "SyncColor",
[2] = {
[1] = {
["Part"] = part,
["Color"] = color --[[Color3]],
["UnionColoring"] = false
}
}
}
_(args)
end
function SpawnDecal(part,side)
local args = {
[1] = "CreateTextures",
[2] = {
[1] = {
["Part"] = part,
["Face"] = side,
["TextureType"] = "Decal"
}
}
}

_(args)
end
function AddDecal(part,asset,side)
local args = {
[1] = "SyncTexture",
[2] = {
[1] = {
["Part"] = part,
["Face"] = side,
["TextureType"] = "Decal",
["Texture"] = "rbxassetid://".. asset
}
}
}
_(args)
end

function Sky(id)
e = [Link].x
f = [Link].y
g = [Link].z
CreatePart([Link]([Link](e),[Link](f),[Link](g)) +
[Link](0,6,0),workspace)
for i,v in [Link]:GetDescendants() do
if v:IsA("BasePart") and [Link].x == [Link](e) and
[Link].z == [Link](g) then
--spawn(function()
SetName(v,"Sky")
AddMesh(v)
--end)
--spawn(function()
SetMesh(v,"111891702759441")
SetTexture(v,id)
--end)
MeshResize(v,[Link](99999,99999,99999))
SetLocked(v,true)
end
end
end
Sky("129126689583787")

wait (0.5)

local ReplicatedStorage = game:GetService("ReplicatedStorage")


local RequestCommand =
ReplicatedStorage:WaitForChild("HDAdminHDClient").[Link]

RequestCommand:InvokeServer(";fogcolor black")
RequestCommand:InvokeServer(";savemap")

You might also like