Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --//================\\
- --||Made by Humanoid||
- --\\================//
- local toadsound = {'rbxassetid://230287740','rbxassetid://271787597','rbxassetid://153752123','rbxassetid://271787503','rbxassetid://141509625','rbxassetid://141509625'}
- local Lighting = game:GetService("Lighting")
- local Workspace = game:GetService("Workspace")
- function FindTable(Table, Name)
- for i,v in pairs(Table) do
- if v == Name then
- return true
- end end
- return false
- end
- game:GetService('RunService').RenderStepped:connect(function()
- for i,v in pairs(Workspace:GetDescendants()) do
- if v:IsA("Part") and v.Name == "Toad" then
- v:Destroy()
- end
- end
- for i,c in pairs(Workspace:GetDescendants()) do
- if c:IsA("Sound") then
- if FindTable(toadsound, c.SoundId) then
- c:Destroy()
- end
- end
- end
- for i,v in pairs(Lighting:GetDescendants()) do
- if v:IsA("Sky") then
- v:Destroy()
- end
- end
- end)
Add Comment
Please, Sign In to add comment