Advertisement
CrastAndNoob

Sun-Looking Part

May 20th, 2019
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. local sunpart = Instance.new("Part",workspace)
  2. sunpart.Name = "SunLookingPart"
  3. sunpart.Anchored = true
  4. sunpart.CanCollide = false
  5. sunpart.Position = Vector3.new(0,5,0)
  6. sunpart.Size = Vector3.new(3,1,3)
  7. sunpart.BrickColor = BrickColor.new("Really black")
  8. sunpart.Material = "SmoothPlastic"
  9. local decal = Instance.new("Decal",sunpart)
  10. decal.Face = "Bottom"
  11. decal.Texture = "http://www.roblox.com/asset/?id=171393869"
  12. while true do
  13. sunpart.Orientation = Vector3.new(0,0,(360/24)*game.Lighting.ClockTime)
  14. wait()
  15. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement