---
title: "SunRay Effect Studio Lite | Universal Roblox Script - ScriptBlox"
description: "SunRay Effect Studio Lite for any Roblox game: It makes SunRays. Looks cool."
canonical_url: "https://scriptblox.com/script/Universal-Script-SunRay-Effect-Studio-Lite-59240"
meta:
  "og:description": "SunRay Effect Studio Lite for any Roblox game: It makes SunRays. Looks cool."
  "og:image": "https://scriptblox.com/images/script/0-1760802902066.png"
  "og:title": "SunRay Effect Studio Lite | Universal Roblox Script - ScriptBlox"
  "twitter:description": "SunRay Effect Studio Lite for any Roblox game: It makes SunRays. Looks cool."
  "twitter:image": "https://scriptblox.com/images/script/0-1760802902066.png"
  "twitter:title": "SunRay Effect Studio Lite | Universal Roblox Script - ScriptBlox"
---

> Index of every page on this site: [llms.txt](https://scriptblox.com/llms.txt)

![Universal Script 📌](https://scriptblox.com/images/script/0-1760802902066.png)

# **SunRay Effect Studio Lite**

[**Universal Script 📌**](https://scriptblox.com/game/universal)**![ProDev\_Scripter](https://scriptblox.com/images/user-default.webp) [ProDev\_Scripter](https://scriptblox.com/u/ProDev_Scripter)First script**

1 year ago

[**Get an executor**](https://scriptblox.com/executors?kind=executor)

Please login to perform these actions:

## **Does it work? **

**No reports yet **

No reports yet. Tried it? Be the first to say.

Also noticed:

## Description

It makes SunRays. Looks cool.

[View Raw](https://scriptblox.com/raw/Universal-Script-SunRay-Effect-Studio-Lite-59240)

```
local RAY_IMAGE = "rbxassetid://1084982817"
local SUN_IMAGE = "rbxassetid://277033149"
local RAY_COLOR = Color3.new(1, 1, 1)
local RAY_ROTATION = -25
local MIN_BRIGHT_TRANS = 0.5
local SUN_SIZE = Vector2.new(0.2, 0.2)
local SUN_OFFSET = Vector2.new(0.004, 0.004)
local TWEEN_SPEED = 0.5
local RAY_DIST = {1.7; 0.3; -0.3; -0.9;}
local RAY_SIZES = {0.7; 0.2; 1.2; 0.45;}
local RAY_TRANS = {0.8; 0.7; 0.9; 0.6;}
local SUN_RAY_SIZE = 20
local SUN_RAY_TRANS = 0
local SUN_RAY_COLOR = Color3.new(1, 1, 0.95)
local lighting = game:GetService("Lighting")
local runService = game:GetService("RunService")
local player = game.Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
local camera = workspace.CurrentCamera
local realMod = 1

local function Clip(n, l, h)
	if n < l then return l end
	if n > h then return h end
	return n
end

local function GetSunPosition()
	local screenPoint = camera:WorldToScreenPoint(camera.CoordinateFrame.p + lighting:GetSunDirection())
	return Vector2.new(screenPoint.x, screenPoint.y), screenPoint.z > 0
end

local function ScreenCenter()
	return camera.ViewportSize / 2
end

local function IsObstructed(ignore)
	return workspace:FindPartOnRay(Ray.new(camera.CoordinateFrame.p, lighting:GetSunDirection() * 900), ignore) ~= nil
end


```

## **Comments **

**0**

Log in to join the conversation. [**Login **](https://scriptblox.com/login?redirect=/script/Universal-Script-SunRay-Effect-Studio-Lite-59240)

No comments yet. Be the first!

```json
{"@context":"https://schema.org","@type":"SoftwareSourceCode","@id":"https://scriptblox.com/script/Universal-Script-SunRay-Effect-Studio-Lite-59240#script","url":"https://scriptblox.com/script/Universal-Script-SunRay-Effect-Studio-Lite-59240","name":"SunRay Effect Studio Lite","programmingLanguage":"Lua","runtimePlatform":"Roblox","author":{"@type":"Person","name":"ProDev_Scripter","url":"https://scriptblox.com/u/ProDev_Scripter"},"datePublished":"2025-10-18T15:55:02.083Z","image":"https://scriptblox.com/images/script/0-1760802902066.png","isAccessibleForFree":true}
```

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://scriptblox.com/#website","@type":"WebSite","description":"Search free Roblox scripts uploaded by the community, with live status for every major executor. Browse by game, copy the loadstring and run it in your executor.","inLanguage":"en","name":"ScriptBlox","url":"https://scriptblox.com/"},{"@id":"https://scriptblox.com/script/Universal-Script-SunRay-Effect-Studio-Lite-59240#webpage","@type":"WebPage","description":"SunRay Effect Studio Lite for any Roblox game: It makes SunRays. Looks cool.","name":"SunRay Effect Studio Lite | Universal Roblox Script - ScriptBlox","url":"https://scriptblox.com/script/Universal-Script-SunRay-Effect-Studio-Lite-59240","breadcrumb":{"@id":"https://scriptblox.com/script/Universal-Script-SunRay-Effect-Studio-Lite-59240#breadcrumb"},"isPartOf":{"@id":"https://scriptblox.com/#website"},"mainEntity":{"@id":"https://scriptblox.com/script/Universal-Script-SunRay-Effect-Studio-Lite-59240#script"},"potentialAction":[{"@type":"ReadAction","target":["https://scriptblox.com/script/Universal-Script-SunRay-Effect-Studio-Lite-59240"]}]},{"@id":"https://scriptblox.com/script/Universal-Script-SunRay-Effect-Studio-Lite-59240#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://scriptblox.com","position":1},{"@type":"ListItem","name":"Universal","item":"https://scriptblox.com/game/universal","position":2},{"@type":"ListItem","name":"SunRay Effect Studio Lite","position":3}]}]}
```

## Sitemap

See the full [sitemap](https://scriptblox.com/sitemap.md) for all pages.
