c00lkiddv2016

Moonman w/ Skybox

Jun 10th, 2017
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.24 KB | None | 0 0
  1. local pchar = game.Players.LocalPlayer.Character
  2.  
  3. for i,v in pairs(pchar.Torso:GetChildren()) do
  4.     if v.ClassName == 'Decal' then
  5.          v:Destroy()
  6.     end
  7. end
  8. for i,v in pairs(pchar:GetChildren()) do
  9.     if v.ClassName == 'Hat' then
  10.         v:Destroy()
  11.     end
  12. end
  13.  
  14. for i,v in pairs(pchar.Head:GetChildren()) do
  15.     if v.ClassName == 'Decal' then
  16.         v:Destroy()
  17.     end
  18. end
  19.  
  20. local moonman = Instance.new('SpecialMesh', pchar.Torso)
  21. moonman.MeshType = 'FileMesh'
  22. moonman.MeshId = 'http://www.roblox.com/asset/?id=23265118'
  23. moonman.TextureId = 'http://www.roblox.com/asset/?id=23265095'
  24. moonman.Scale = Vector3.new(4, 4, 4)
  25. moonman.Offset = Vector3.new(0,4,0)
  26. pchar.Head.Transparency = 1
  27. pchar['Left Arm'].Transparency = 1
  28. pchar['Right Arm'].Transparency = 1
  29. pchar['Left Leg'].Transparency = 1
  30. pchar['Right Leg'].Transparency = 1
  31.  
  32. Instance.new("Sky", game.Lighting)
  33. KYS = game.Lighting.Sky
  34. KYS.SkyboxBk = "http://roblox.com/asset/?id=429536766"
  35. KYS.SkyboxDn = "http://roblox.com/asset/?id=429536766"
  36. KYS.SkyboxFt = "http://roblox.com/asset/?id=429536766"
  37. KYS.SkyboxLf = "http://roblox.com/asset/?id=429536766"
  38. KYS.SkyboxRt = "http://roblox.com/asset/?id=429536766"
  39. KYS.SkyboxUp = "http://roblox.com/asset/?id=429536766"
Add Comment
Please, Sign In to add comment