Advertisement
ShadyMoonStudios

Rainbow Friend Script By ShadyMoonStudios

Feb 14th, 2023 (edited)
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.42 KB | None | 0 0
  1. local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/xHeptc/Kavo-UI-Library/main/source.lua"))()
  2. local Window = Library.CreateLib("ShadyHub", "Ocean")
  3. local Tab = Window:NewTab("Main")
  4. local Section = Tab:NewSection("ESP")
  5. Section:NewButton("Monsters", ".", function()
  6. -- Settings --
  7.  
  8. local settings = {
  9.  
  10. fillcolor = Color3.fromRGB(0, 255, 255),
  11. filltransparency = 0.75,
  12.  
  13. outlinecolor = Color3.fromRGB(0, 255, 255),
  14. outlinetransparency = 0,
  15. }
  16.  
  17. -- Script --
  18.  
  19. local plr = game.Players.LocalPlayer
  20. local highlights = Instance.new("Folder", game:service("CoreGui"))
  21.  
  22. local function addhighlight(object)
  23. local highlight = Instance.new("Highlight", highlights)
  24. highlight.Adornee = object
  25.  
  26. highlight.FillColor = settings.fillcolor
  27. highlight.FillTransparency = settings.filltransparency
  28.  
  29. highlight.OutlineColor = settings.outlinecolor
  30. highlight.OutlineTransparency = settings.outlinetransparency
  31.  
  32. highlight.Adornee.Changed:Connect(function()
  33. if not highlight.Adornee or not highlight.Adornee.Parent then
  34. highlight:Destroy()
  35. end
  36. end)
  37.  
  38. return highlight
  39. end
  40.  
  41. local function addto(object)
  42. if object:IsA("Model") then
  43. addhighlight(object)
  44. end
  45. end
  46.  
  47. for _, v in pairs(workspace.Monsters:GetDescendants()) do
  48. addto(v)
  49. end
  50.  
  51. workspace.Monsters.DescendantAdded:Connect(function(v)
  52. addto(v)
  53. end)
  54.  
  55. end)
  56. Section:NewButton("Items", "ButtonInfo", function()
  57. local itemsOfInterest = Instance.new("Model", workspace)
  58. itemsOfInterest.Name = "Items of Interest"
  59.  
  60. for i, v in pairs (workspace:GetChildren()) do
  61. if v.Name == "Battery" or (v.Name:find("^Block") and v:IsA("Model")) or (v.Name:find("^Food") and v:IsA("Model")) or (v.Name:find("^Fuse") and v:IsA("Model")) then
  62. v.Parent = itemsOfInterest
  63. end
  64. end
  65.  
  66. local highlight = Instance.new("Highlight")
  67. highlight.Parent = itemsOfInterest
  68. highlight.Adornee = itemsOfInterest
  69. highlight.FillColor = Color3.new(0, 255, 0)
  70. highlight.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop
  71. highlight.FillTransparency = 0.75
  72. end)
  73. Section:NewButton("Player", ".", function()
  74. _G.FriendColor = Color3.fromRGB(0, 0, 255)
  75. _G.EnemyColor = Color3.fromRGB(255, 0, 0)
  76. _G.UseTeamColor = true
  77.  
  78. --------------------------------------------------------------------
  79. local Holder = Instance.new("Folder", game.CoreGui)
  80. Holder.Name = "ESP"
  81.  
  82. local Box = Instance.new("BoxHandleAdornment")
  83. Box.Name = "nilBox"
  84. Box.Size = Vector3.new(1, 2, 1)
  85. Box.Color3 = Color3.new(100 / 255, 100 / 255, 100 / 255)
  86. Box.Transparency = 0.7
  87. Box.ZIndex = 0
  88. Box.AlwaysOnTop = false
  89. Box.Visible = false
  90.  
  91. local NameTag = Instance.new("BillboardGui")
  92. NameTag.Name = "nilNameTag"
  93. NameTag.Enabled = false
  94. NameTag.Size = UDim2.new(0, 200, 0, 50)
  95. NameTag.AlwaysOnTop = true
  96. NameTag.StudsOffset = Vector3.new(0, 1.8, 0)
  97. local Tag = Instance.new("TextLabel", NameTag)
  98. Tag.Name = "Tag"
  99. Tag.BackgroundTransparency = 1
  100. Tag.Position = UDim2.new(0, -50, 0, 0)
  101. Tag.Size = UDim2.new(0, 300, 0, 20)
  102. Tag.TextSize = 15
  103. Tag.TextColor3 = Color3.new(100 / 255, 100 / 255, 100 / 255)
  104. Tag.TextStrokeColor3 = Color3.new(0 / 255, 0 / 255, 0 / 255)
  105. Tag.TextStrokeTransparency = 0.4
  106. Tag.Text = "nil"
  107. Tag.Font = Enum.Font.SourceSansBold
  108. Tag.TextScaled = false
  109.  
  110. local LoadCharacter = function(v)
  111. repeat wait() until v.Character ~= nil
  112. v.Character:WaitForChild("Humanoid")
  113. local vHolder = Holder:FindFirstChild(v.Name)
  114. vHolder:ClearAllChildren()
  115. local b = Box:Clone()
  116. b.Name = v.Name .. "Box"
  117. b.Adornee = v.Character
  118. b.Parent = vHolder
  119. local t = NameTag:Clone()
  120. t.Name = v.Name .. "NameTag"
  121. t.Enabled = true
  122. t.Parent = vHolder
  123. t.Adornee = v.Character:WaitForChild("Head", 5)
  124. if not t.Adornee then
  125. return UnloadCharacter(v)
  126. end
  127. t.Tag.Text = v.Name
  128. b.Color3 = Color3.new(v.TeamColor.r, v.TeamColor.g, v.TeamColor.b)
  129. t.Tag.TextColor3 = Color3.new(v.TeamColor.r, v.TeamColor.g, v.TeamColor.b)
  130. local Update
  131. local UpdateNameTag = function()
  132. if not pcall(function()
  133. v.Character.Humanoid.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
  134. local maxh = math.floor(v.Character.Humanoid.MaxHealth)
  135. local h = math.floor(v.Character.Humanoid.Health)
  136. end) then
  137. Update:Disconnect()
  138. end
  139. end
  140. UpdateNameTag()
  141. Update = v.Character.Humanoid.Changed:Connect(UpdateNameTag)
  142. end
  143.  
  144. local UnloadCharacter = function(v)
  145. local vHolder = Holder:FindFirstChild(v.Name)
  146. if vHolder and (vHolder:FindFirstChild(v.Name .. "Box") ~= nil or vHolder:FindFirstChild(v.Name .. "NameTag") ~= nil) then
  147. vHolder:ClearAllChildren()
  148. end
  149. end
  150.  
  151. local LoadPlayer = function(v)
  152. local vHolder = Instance.new("Folder", Holder)
  153. vHolder.Name = v.Name
  154. v.CharacterAdded:Connect(function()
  155. pcall(LoadCharacter, v)
  156. end)
  157. v.CharacterRemoving:Connect(function()
  158. pcall(UnloadCharacter, v)
  159. end)
  160. v.Changed:Connect(function(prop)
  161. if prop == "TeamColor" then
  162. UnloadCharacter(v)
  163. wait()
  164. LoadCharacter(v)
  165. end
  166. end)
  167. LoadCharacter(v)
  168. end
  169.  
  170. local UnloadPlayer = function(v)
  171. UnloadCharacter(v)
  172. local vHolder = Holder:FindFirstChild(v.Name)
  173. if vHolder then
  174. vHolder:Destroy()
  175. end
  176. end
  177.  
  178. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  179. spawn(function() pcall(LoadPlayer, v) end)
  180. end
  181.  
  182. game:GetService("Players").PlayerAdded:Connect(function(v)
  183. pcall(LoadPlayer, v)
  184. end)
  185.  
  186. game:GetService("Players").PlayerRemoving:Connect(function(v)
  187. pcall(UnloadPlayer, v)
  188. end)
  189.  
  190. game:GetService("Players").LocalPlayer.NameDisplayDistance = 0
  191.  
  192. if _G.Reantheajfdfjdgs then
  193. return
  194. end
  195.  
  196. _G.Reantheajfdfjdgs = ":suifayhgvsdghfsfkajewfrhk321rk213kjrgkhj432rj34f67df"
  197.  
  198. local players = game:GetService("Players")
  199. local plr = players.LocalPlayer
  200.  
  201. function esp(target, color)
  202. if target.Character then
  203. if not target.Character:FindFirstChild("GetReal") then
  204. local highlight = Instance.new("Highlight")
  205. highlight.RobloxLocked = true
  206. highlight.Name = "GetReal"
  207. highlight.Adornee = target.Character
  208. highlight.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop
  209. highlight.FillColor = color
  210. highlight.Parent = target.Character
  211. else
  212. target.Character.GetReal.FillColor = color
  213. end
  214. end
  215. end
  216.  
  217. while task.wait() do
  218. for i, v in pairs(players:GetPlayers()) do
  219. if v ~= plr then
  220. esp(v, _G.UseTeamColor and v.TeamColor.Color or ((plr.TeamColor == v.TeamColor) and _G.FriendColor or _G.EnemyColor))
  221. end
  222. end
  223. end
  224. end)
  225. local Section = Tab:NewSection("Fullbright")
  226. Section:NewButton("Click", ".", function()
  227. if not _G.FullBrightExecuted then
  228.  
  229. _G.FullBrightEnabled = false
  230.  
  231. _G.NormalLightingSettings = {
  232. Brightness = game:GetService("Lighting").Brightness,
  233. ClockTime = game:GetService("Lighting").ClockTime,
  234. FogEnd = game:GetService("Lighting").FogEnd,
  235. GlobalShadows = game:GetService("Lighting").GlobalShadows,
  236. Ambient = game:GetService("Lighting").Ambient
  237. }
  238.  
  239. game:GetService("Lighting"):GetPropertyChangedSignal("Brightness"):Connect(function()
  240. if game:GetService("Lighting").Brightness ~= 1 and game:GetService("Lighting").Brightness ~= _G.NormalLightingSettings.Brightness then
  241. _G.NormalLightingSettings.Brightness = game:GetService("Lighting").Brightness
  242. if not _G.FullBrightEnabled then
  243. repeat
  244. wait()
  245. until _G.FullBrightEnabled
  246. end
  247. game:GetService("Lighting").Brightness = 1
  248. end
  249. end)
  250.  
  251. game:GetService("Lighting"):GetPropertyChangedSignal("ClockTime"):Connect(function()
  252. if game:GetService("Lighting").ClockTime ~= 12 and game:GetService("Lighting").ClockTime ~= _G.NormalLightingSettings.ClockTime then
  253. _G.NormalLightingSettings.ClockTime = game:GetService("Lighting").ClockTime
  254. if not _G.FullBrightEnabled then
  255. repeat
  256. wait()
  257. until _G.FullBrightEnabled
  258. end
  259. game:GetService("Lighting").ClockTime = 12
  260. end
  261. end)
  262.  
  263. game:GetService("Lighting"):GetPropertyChangedSignal("FogEnd"):Connect(function()
  264. if game:GetService("Lighting").FogEnd ~= 786543 and game:GetService("Lighting").FogEnd ~= _G.NormalLightingSettings.FogEnd then
  265. _G.NormalLightingSettings.FogEnd = game:GetService("Lighting").FogEnd
  266. if not _G.FullBrightEnabled then
  267. repeat
  268. wait()
  269. until _G.FullBrightEnabled
  270. end
  271. game:GetService("Lighting").FogEnd = 786543
  272. end
  273. end)
  274.  
  275. game:GetService("Lighting"):GetPropertyChangedSignal("GlobalShadows"):Connect(function()
  276. if game:GetService("Lighting").GlobalShadows ~= false and game:GetService("Lighting").GlobalShadows ~= _G.NormalLightingSettings.GlobalShadows then
  277. _G.NormalLightingSettings.GlobalShadows = game:GetService("Lighting").GlobalShadows
  278. if not _G.FullBrightEnabled then
  279. repeat
  280. wait()
  281. until _G.FullBrightEnabled
  282. end
  283. game:GetService("Lighting").GlobalShadows = false
  284. end
  285. end)
  286.  
  287. game:GetService("Lighting"):GetPropertyChangedSignal("Ambient"):Connect(function()
  288. if game:GetService("Lighting").Ambient ~= Color3.fromRGB(178, 178, 178) and game:GetService("Lighting").Ambient ~= _G.NormalLightingSettings.Ambient then
  289. _G.NormalLightingSettings.Ambient = game:GetService("Lighting").Ambient
  290. if not _G.FullBrightEnabled then
  291. repeat
  292. wait()
  293. until _G.FullBrightEnabled
  294. end
  295. game:GetService("Lighting").Ambient = Color3.fromRGB(178, 178, 178)
  296. end
  297. end)
  298.  
  299. game:GetService("Lighting").Brightness = 1
  300. game:GetService("Lighting").ClockTime = 12
  301. game:GetService("Lighting").FogEnd = 786543
  302. game:GetService("Lighting").GlobalShadows = false
  303. game:GetService("Lighting").Ambient = Color3.fromRGB(178, 178, 178)
  304.  
  305. local LatestValue = true
  306. spawn(function()
  307. repeat
  308. wait()
  309. until _G.FullBrightEnabled
  310. while wait() do
  311. if _G.FullBrightEnabled ~= LatestValue then
  312. if not _G.FullBrightEnabled then
  313. game:GetService("Lighting").Brightness = _G.NormalLightingSettings.Brightness
  314. game:GetService("Lighting").ClockTime = _G.NormalLightingSettings.ClockTime
  315. game:GetService("Lighting").FogEnd = _G.NormalLightingSettings.FogEnd
  316. game:GetService("Lighting").GlobalShadows = _G.NormalLightingSettings.GlobalShadows
  317. game:GetService("Lighting").Ambient = _G.NormalLightingSettings.Ambient
  318. else
  319. game:GetService("Lighting").Brightness = 1
  320. game:GetService("Lighting").ClockTime = 12
  321. game:GetService("Lighting").FogEnd = 786543
  322. game:GetService("Lighting").GlobalShadows = false
  323. game:GetService("Lighting").Ambient = Color3.fromRGB(178, 178, 178)
  324. end
  325. LatestValue = not LatestValue
  326. end
  327. end
  328. end)
  329. end
  330.  
  331. _G.FullBrightExecuted = true
  332. _G.FullBrightEnabled = not _G.FullBrightEnabled
  333. end)
  334. local Section = Tab:NewSection("Item")
  335. Section:NewButton("Get Item", ".", function()
  336. for i,v in pairs(game.workspace.Map_C1.ItemSpawns:GetDescendants()) do
  337. if v.name == "ItemSpawn" then
  338. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(v.Position)
  339. wait(0.1)
  340. end
  341. end
  342. end)
  343. Section:NewButton("Send Item", "ButtonInfo", function()
  344. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(371.54364013671875, 45.604129791259766, 132.65687561035156)
  345. end)
  346. local Tab = Window:NewTab("Credit")
  347. local Section = Tab:NewSection("By ShadyMoonStudios")
  348. local Section = Tab:NewSection("By ShadyHub")
  349. local Section = Tab:NewSection("By NotLeoSim")
  350. local Section = Tab:NewSection("By Greylovesdogs1")
  351. local Section = Tab:NewSection("By DigitalPianoPlay3r")
  352. local Section = Tab:NewSection("By DigitalPianoPlayer#7499")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement