Advertisement
GabeTheDog

terrain script

Apr 3rd, 2018
515
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 KB | None | 0 0
  1. --Made By Bartus2009_Bro/GabeTheDog
  2. --Discord: Gabe#2408
  3.  
  4. --Converted with ttyyuu12345's model to script plugin v4
  5. function sandbox(var,func)
  6. local env = getfenv(func)
  7. local newenv = setmetatable({},{
  8. __index = function(self,k)
  9. if k=="script" then
  10. return var
  11. else
  12. return env[k]
  13. end
  14. end,
  15. })
  16. setfenv(func,newenv)
  17. return func
  18. end
  19. cors = {}
  20. mas = Instance.new("Model",game:GetService("Lighting"))
  21. Part0 = Instance.new("Part")
  22. Decal1 = Instance.new("Decal")
  23. Part0.Parent = mas
  24. Part0.BrickColor = BrickColor.new("Ghost grey")
  25. Part0.Anchored = true
  26. Part0.Size = Vector3.new(581.60968, 42.4299965, 538.450134)
  27. Part0.CFrame = CFrame.new(1.98500061, 0.172317505, -7.02487183, 1, 1.99613548e-09, 0, -1.99613548e-09, 1, 0, 0, 0, 1)
  28. Part0.BottomSurface = Enum.SurfaceType.Smooth
  29. Part0.TopSurface = Enum.SurfaceType.Smooth
  30. Part0.Color = Color3.new(0.792157, 0.796079, 0.819608)
  31. Part0.Position = Vector3.new(1.98500061, 0.172317505, -7.02487183)
  32. Part0.Color = Color3.new(0.792157, 0.796079, 0.819608)
  33. Decal1.Parent = Part0
  34. Decal1.Texture = "http://www.roblox.com/asset/?id=121471169"
  35. Decal1.Face = Enum.NormalId.Top
  36. for i,v in pairs(mas:GetChildren()) do
  37. v.Parent = workspace
  38. pcall(function() v:MakeJoints() end)
  39. end
  40. mas:Destroy()
  41. for i,v in pairs(cors) do
  42. spawn(function()
  43. pcall(v)
  44. end)
  45. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement