G

Untitled

public
Guest Jun 11, 2024 Never 20
Clone
Lua paste1.lua 179 lines (167 loc) | 5.73 KB
1
local Main = loadstring(game:HttpGet("https://github.com/dawid-scripts/Fluent/releases/latest/download/main.lua"))()
2
local InstanceBlur = Instance.new("BlurEffect")
3
InstanceBlur.Parent = game.Lighting
4
InstanceBlur.Name = "KOShadeBlur"
5
InstanceBlur.Size = 0
6
local InstanceColor = Instance.new("ColorCorrectionEffect")
7
InstanceColor.Name = "KOShadeColorCorrection"
8
InstanceColor.Parent = game.Lighting
9
local InstanceSunRays = Instance.new("SunRaysEffect")
10
InstanceSunRays.Name = "KOShadeSunRays"
11
InstanceSunRays.Parent = game.Lighting
12
13
local Window = Main:CreateWindow({
14
Title = "KOShade 1.1.2 Mobile ",
15
SubTitle = "Shaders for roblox",
16
TabWidth = 160,
17
Size = UDim2.fromOffset(510, 290),
18
Acrylic = false,
19
Theme = "Dark"
20
})
21
22
local Tabs = {
23
Main = Window:AddTab({ Title = "Shader panel", Icon = "cloud-sun" }),
24
Settings = Window:AddTab({ Title = "Settings", Icon = "settings" })
25
}
26
27
do
28
-- Color Correction
29
local ColorCorrectionColor = Tabs.Main:AddColorpicker("ColorCorrectionColor", {
30
Title = "ColorCorrection Color",
31
Default = Color3.fromRGB(255, 255, 255)
32
})
33
local ColorCorrectionBright = Tabs.Main:AddInput("Brightness", {
34
Title = "Brightness",
35
Description = "A ColorCorrection Brightness Setting.",
36
Default = "0",
37
Placeholder = "A ColorCorrection setting.",
38
Numeric = true, -- Only allows numbers
39
Finished = false,
40
})
41
local ColorCorrectionContrast = Tabs.Main:AddInput("Contrast", {
42
. Title = "Contrast",
43
Default = "0",
44
Placeholder = "A ColorCorrection setting.",
45
Numeric = true, -- Only allows numbers
46
Finished = false,
47
48
-- Blur
49
local BlurSize = Tabs.Main:AddInput("Blur Size", {
50
Title = "Blur Size",
51
Default = "0",
52
Placeholder = "A Blur setting.",
53
Numeric = true, -- Only allows numbers
54
Finished = false,
55
})
56
-- Sun Rays
57
local SunRaysIntensity = Tabs.Main:AddInput("Intensity", {
58
Title = "Intensity",
59
Default = 0,
60
Placeholder = "A SunRays setting.",
61
Min = 0,
62
Max = 1,
63
Rounding = 1
64
})
65
local SunRaysSpread = Tabs.Main:AddSlider("SunRays Spread", {
66
Title = "Spread",
67
Default = "0",
68
Placeholder = "A SunRays setting.",
69
Numeric = true, -- Only allows numbers
70
Finished = false,
71
})
72
-- Fog
73
local FogEnd = Tabs.Main:AddInput("Fog End", {
74
Title = "Fog End",
75
Default = "100000",
76
Placeholder = "Fog end number.",
77
Numeric = true,
78
Finished = false
79
})
80
local FogColor = Tabs.Main:AddColorpicker("Fog Color", {
81
Title = "Fog Color",
82
Default = Color3.fromRGB(192, 192, 192)
83
})
84
-- Clock Time
85
local ClockTime = Tabs.Main:AddInput("Clock Time", {
86
Title = "Clock Time",
87
Default = game:GetService("Lighting").ClockTime,
88
Placeholder = "A ClockTime Setting.",
89
Numeric = true,
90
Finished = false
91
})
92
93
ColorCorrectionContrast:OnChanged(function()
94
game.Lighting.KOShadeColorCorrection.TintColor = ColorCorrectionColor.Value
95
game.Lighting.KOShadeColorCorrection.Brightness = ColorCorrectionBright.Value
96
game.Lighting.KOShadeColorCorrection.Contrast = ColorCorrectionContrast.Value
97
end)
98
ColorCorrectionBright:OnChanged(function()
99
game.Lighting.KOShadeColorCorrection.TintColor = ColorCorrectionColor.Value
100
game.Lighting.KOShadeColorCorrection.Brightness = ColorCorrectionBright.Value
101
game.Lighting.KOShadeColorCorrection.Contrast = ColorCorrectionContrast.Value
102
end)
103
ColorCorrectionContrast:OnChanged(function()
104
game.Lighting.KOShadeColorCorrection.TintColor = ColorCorrectionColor.Value
105
game.Lighting.KOShadeColorCorrection.Brightness = ColorCorrectionBright.Value
106
game.Lighting.KOShadeColorCorrection.Contrast = ColorCorrectionContrast.Value
107
end)
108
ColorCorrectionColor:OnChanged(function()
109
game.Lighting.KOShadeColorCorrection.TintColor = ColorCorrectionColor.Value
110
game.Lighting.KOShadeColorCorrection.Brightness = ColorCorrectionBright.Value
111
game.Lighting.KOShadeColorCorrection.Contrast = ColorCorrectionContrast.Value
112
end)
113
BlurSize:OnChanged(function()
114
game.Lighting.KOShadeBlur.Size = BlurSize.Value
115
end)
116
FogEnd:OnChanged(function()
117
game.Lighting.FogEnd = FogEnd.Value
118
game.Lighting.FogColor = FogColor.Value
119
end)
120
FogColor:OnChanged(function()
121
game.Lighting.FogEnd = FogEnd.Value
122
game.Lighting.FogColor = FogColor.Value
123
end)
124
ClockTime:OnChanged(function()
125
game.Lighting.ClockTime = ClockTime.Value
126
end)
127
SunRaysIntensity:OnChanged(function()
128
game.Lighting.KOShadeSunRays.Intensity = SunRaysIntensity.Value
129
game.Lighting.KOShadeSunRays.Spread = SunRaysSpread.Value
130
end)
131
SunRaysSpread:OnChanged(function()
132
game.Lighting.KOShadeSunRays.Intensity = SunRaysIntensity.Value
133
game.Lighting.KOShadeSunRays.Spread = SunRaysSpread.Value
134
end)
135
end
136
137
do
138
139
local InterfaceSection = Tabs.Settings:AddSection("Interface")
140
141
InterfaceSection:AddDropdown("InterfaceTheme", {
142
Title = "Theme",
143
Description = "Changes the interface theme.",
144
Values = Main.Themes,
145
Default = Main.Theme,
146
Callback = function(Value)
147
Main:SetTheme(Value)
148
end
149
})
150
151
if Main.UseAcrylic then
152
InterfaceSection:AddToggle("AcrylicToggle", {
153
Title = "Acrylic",
154
Description = "The blurred background requires graphic quality 8+",
155
Default = Main.Acrylic,
156
Callback = function(Value)
157
Main:ToggleAcrylic(Value)
158
end
159
})
160
end
161
162
InterfaceSection:AddToggle("TransparentToggle", {
163
Title = "Transparency",
164
Description = "Makes the interface transparent.",
165
Default = Main.Transparency,
166
Callback = function(Value)
167
Main:ToggleTransparency(Value)
168
end
169
})
170
171
InterfaceSection:AddKeybind("MenuKeybind", { Title = "Minimize Bind", Default = "RightShift" })
172
Main.MinimizeKeybind = Main.Options.MenuKeybind
173
end
174
175
Main:Notify({
176
Title = "KOShade 1.1.2",
177
Content = "Loaded!.",
178
Duration = 32
179
})