It only works in-studio and not ingame. and i have no clue why. you can try it just put a local script into startergui and put the code in
wait(2) --Made by iiapocloot(bo2master01) local players = game:GetService("Players") local player = players.LocalPlayer --OR put it to someone elses name local Version = 1 print("Loot v"..Version.." has been loaded.") --Making Everything(DONT EDIT UNLESS YOU KNOW WHAT YOU ARE DOING) --GUI wait(1) local MainGui = Instance.new("ScreenGui", player.PlayerGui) MainGui.Name = "Loot v1" MainGui.ResetOnSpawn = false --FRAME local MainFrame = Instance.new("Frame", MainGui) MainFrame.Name = "MainFrame" --Frame Postions MainFrame.Size = UDim2.new(0, 400, 0, 450) MainFrame.Position = UDim2.new(.1, 0, .1, 0) --Frame Visual MainFrame.BackgroundColor3 = Color3.new(162, 162, 162) MainFrame.BackgroundTransparency = .2 --Opening Animation DO NOT EDIT THIS function openanimation() local textlabel1 = Instance.new("TextLabel", MainFrame) -- just a text label textlabel1.Name = "TextAnimation" local COLOR = textlabel1.TextColor3 textlabel1.Size = UDim2.new(1, 0, .25, 0) textlabel1.Position = UDim2.new(0, 0, .25, 0) textlabel1.Font = "ArialBold" textlabel1.FontSize = "Size28" textlabel1.BackgroundTransparency = 1 textlabel1.Text = "Loot v"..Version.." has been loaded." wait(5) textlabel1.Text = "Welcome "..player.Name.."." wait(2.5) textlabel1.TextColor3 = Color3.new(0, 0, 0) if game.Workspace.FilteringEnabled == true then textlabel1.Text = "Filtering is enabled." wait(3) textlabel1.TextColor3 = Color3.new(COLOR) textlabel1.TextWrapped = true textlabel1.Text = "SOME COMMANDS MAY NOT WORK" elseif game.Workspace.FilteringEnabled == false then textlabel1.Text = "Filtering is not enabled." end wait(3) textlabel1.TextWrapped = true textlabel1.Text = "Thank you for using Loot Gui!" wait(1.5) textlabel1:Remove() end --Hold here to drag function drag() local draghold = Instance.new("TextLabel", MainFrame) draghold.Name = "drag" draghold.Size = UDim2.new(1, 0, 0, 25) draghold.Font = "SourceSansBold" draghold.FontSize = "Size18" draghold.Text = "HOLD TO DRAG" draghold.TextColor3 = Color3.new(102, 102, 102) MainFrame.Active = true MainFrame.Draggable = true end --CREATE COMMANDS --Fun page1 function makepage1() local page1 = Instance.new("Frame", MainFrame)--Making The page holder page1.Name = "page1" page1.BackgroundTransparency = 1 page1.Size = UDim2.new(1, 0, 0, 425) page1.Position = UDim2.new(0, 0, 0, 26) local Torch = Instance.new("TextButton",page1) Torch.Name = "Torch" Torch.Size = UDim2.new(0, 200, 0 , 50) Torch.Font = "ArialBold" Torch.FontSize = "Size24" Torch.Text = "Torch" end --Calling functions openanimation() drag() --Make pages makepage1()
ALSO, with colors3 it gives me a different color then what is supposed to come out? please help.
FromRGB
If you wan't to use Color3 use FromRGB That should fix the problem.