0% found this document useful (0 votes)
20 views1 page

Roblox Script for Plot Transparency Management

The script continuously checks for 'Decorations' and 'AnimalPodiums' in the 'Plots' within the game workspace. It sets the transparency of 'Hitbox' objects to 1 if they are less than 1, and other objects to 0.5 if their transparency is less than 0.9. This process repeats every 0.2 seconds.

Uploaded by

mrjv553
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)
20 views1 page

Roblox Script for Plot Transparency Management

The script continuously checks for 'Decorations' and 'AnimalPodiums' in the 'Plots' within the game workspace. It sets the transparency of 'Hitbox' objects to 1 if they are less than 1, and other objects to 0.5 if their transparency is less than 0.9. This process repeats every 0.2 seconds.

Uploaded by

mrjv553
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 plots = game:GetService('Workspace'):WaitForChild('Plots')

while true do
[Link](0.2)
for _, plot in ipairs(plots:GetChildren()) do
local decorations = plot:FindFirstChild('Decorations')
local animals = plot:FindFirstChild('AnimalPodiums')

if decorations then
for _, obj in ipairs(decorations:GetDescendants()) do
if obj:IsA('BasePart') then
if [Link] == 'Hitbox' then
if [Link] < 1 then
[Link] = 1
end
else
if [Link] < 0.9 then
[Link] = 0.5
end
end
end
end
end

if animals then
for _, obj in ipairs(animals:GetDescendants()) do
if obj:IsA('BasePart') then
if [Link] == 'Hitbox' then
if [Link] < 1 then
[Link] = 1
end
else
if [Link] < 0.9 then
[Link] = 0.5
end
end
end
end
end
end
end

You might also like