squidingtin

NDS Island Retexture

Apr 10th, 2019
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.87 KB | None | 0 0
  1. local Island = workspace.Island
  2. local Is2 = Island:FindFirstChild("Island")
  3.     if Is2 == nil then
  4.         local Folder = Instance.new("Folder")
  5.         Folder.Name = "Island"
  6.         Folder.Parent = Island
  7.     end
  8.         while true do
  9.         local Grass = Island:FindFirstChild("Grass")
  10.         local Rocks = Island:FindFirstChild("LowerRocks")
  11.         local Part = Island:FindFirstChild("Part")
  12.             if Grass == nil then
  13.                 wait(1)
  14.             else
  15.                 local GFolder = Island:FindFirstChild("Island")
  16.                     Grass.Material = "Grass"
  17.                     Grass.Parent = GFolder
  18.                 end
  19.             if Rocks == nil then
  20.                 wait(.1)
  21.             else
  22.                 local RFolder = Island:FindFirstChild("Island")
  23.                     Rocks.Material = "Slate"
  24.                     Rocks.Parent = RFolder
  25.                 end
  26.             if Part == nil then
  27.                     wait(.1)
  28.             else
  29.                 local RFolder = Island:FindFirstChild("Island")
  30.                     Part.Material = "Slate"
  31.                     Part.Parent = RFolder
  32.             wait(.1)
  33.         end
  34.     wait(.1)
  35. end
Add Comment
Please, Sign In to add comment