Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Gui to Lua
- -- Version: 3.2
- -- Instances:
- local c00lguiv50 = Instance.new("ScreenGui")
- local c00lguiv50_2 = Instance.new("Frame")
- local TextLabel = Instance.new("TextLabel")
- local c00lkiddskybox = Instance.new("TextButton")
- local c00lkiddsound = Instance.new("TextButton")
- local decalspam = Instance.new("TextButton")
- local luagh = Instance.new("TextButton")
- local theme2 = Instance.new("TextButton")
- local kinghaxtheme = Instance.new("TextButton")
- local disco = Instance.new("TextButton")
- local hint = Instance.new("TextButton")
- local ImageLabel = Instance.new("ImageLabel")
- --Properties:
- c00lguiv50.Name = "c00lgui v5.0"
- c00lguiv50.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- c00lguiv50.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- c00lguiv50_2.Name = "c00lgui v5.0"
- c00lguiv50_2.Parent = c00lguiv50
- c00lguiv50_2.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- c00lguiv50_2.BorderColor3 = Color3.fromRGB(255, 85, 0)
- c00lguiv50_2.BorderSizePixel = 6
- c00lguiv50_2.Position = UDim2.new(0.0616852865, 0, 0.239251047, 0)
- c00lguiv50_2.Size = UDim2.new(0, 370, 0, 226)
- TextLabel.Parent = c00lguiv50_2
- TextLabel.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel.BorderColor3 = Color3.fromRGB(255, 170, 0)
- TextLabel.BorderSizePixel = 6
- TextLabel.Size = UDim2.new(0, 368, 0, 50)
- TextLabel.Font = Enum.Font.SourceSans
- TextLabel.Text = "c00lgui v5.0 made by teamcamer0n"
- TextLabel.TextColor3 = Color3.fromRGB(255, 85, 0)
- TextLabel.TextScaled = true
- TextLabel.TextSize = 14.000
- TextLabel.TextWrapped = true
- c00lkiddskybox.Name = "c00lkidd skybox"
- c00lkiddskybox.Parent = c00lguiv50_2
- c00lkiddskybox.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- c00lkiddskybox.BorderColor3 = Color3.fromRGB(255, 170, 0)
- c00lkiddskybox.BorderSizePixel = 6
- c00lkiddskybox.Position = UDim2.new(-1.03099929e-08, 0, 0.300884962, 0)
- c00lkiddskybox.Size = UDim2.new(0, 126, 0, 38)
- c00lkiddskybox.Font = Enum.Font.SourceSans
- c00lkiddskybox.Text = "c00lkidd skybox"
- c00lkiddskybox.TextColor3 = Color3.fromRGB(255, 170, 0)
- c00lkiddskybox.TextScaled = true
- c00lkiddskybox.TextSize = 14.000
- c00lkiddskybox.TextWrapped = true
- c00lkiddsound.Name = "c00lkidd sound"
- c00lkiddsound.Parent = c00lkiddskybox
- c00lkiddsound.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- c00lkiddsound.BorderColor3 = Color3.fromRGB(255, 170, 0)
- c00lkiddsound.BorderSizePixel = 6
- c00lkiddsound.Position = UDim2.new(-3.20562812e-08, 0, 1.33444464, 0)
- c00lkiddsound.Size = UDim2.new(0, 126, 0, 33)
- c00lkiddsound.Font = Enum.Font.SourceSans
- c00lkiddsound.Text = "c00lkidd sound"
- c00lkiddsound.TextColor3 = Color3.fromRGB(255, 170, 0)
- c00lkiddsound.TextScaled = true
- c00lkiddsound.TextSize = 14.000
- c00lkiddsound.TextWrapped = true
- decalspam.Name = "decal spam"
- decalspam.Parent = c00lkiddsound
- decalspam.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- decalspam.BorderColor3 = Color3.fromRGB(255, 170, 0)
- decalspam.BorderSizePixel = 6
- decalspam.Position = UDim2.new(0, 0, 1.45357072, 0)
- decalspam.Size = UDim2.new(0, 119, 0, 51)
- decalspam.Font = Enum.Font.SourceSans
- decalspam.Text = "decal spam"
- decalspam.TextColor3 = Color3.fromRGB(255, 170, 0)
- decalspam.TextScaled = true
- decalspam.TextSize = 14.000
- decalspam.TextWrapped = true
- luagh.Name = "luagh"
- luagh.Parent = decalspam
- luagh.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- luagh.BorderColor3 = Color3.fromRGB(255, 170, 0)
- luagh.BorderSizePixel = 6
- luagh.Position = UDim2.new(1.15966392, 0, -1.94000006, 0)
- luagh.Size = UDim2.new(0, 110, 0, 36)
- luagh.Font = Enum.Font.SourceSans
- luagh.Text = "luagh"
- luagh.TextColor3 = Color3.fromRGB(255, 170, 0)
- luagh.TextScaled = true
- luagh.TextSize = 14.000
- luagh.TextWrapped = true
- theme2.Name = "theme 2"
- theme2.Parent = luagh
- theme2.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- theme2.BorderColor3 = Color3.fromRGB(255, 170, 0)
- theme2.BorderSizePixel = 6
- theme2.Position = UDim2.new(0, 0, 1.38888884, 0)
- theme2.Size = UDim2.new(0, 110, 0, 31)
- theme2.Font = Enum.Font.SourceSans
- theme2.Text = "theme 2"
- theme2.TextColor3 = Color3.fromRGB(255, 170, 0)
- theme2.TextScaled = true
- theme2.TextSize = 14.000
- theme2.TextWrapped = true
- kinghaxtheme.Name = "kinghax theme"
- kinghaxtheme.Parent = theme2
- kinghaxtheme.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- kinghaxtheme.BorderColor3 = Color3.fromRGB(255, 170, 0)
- kinghaxtheme.BorderSizePixel = 6
- kinghaxtheme.Position = UDim2.new(0, 0, 1.51612902, 0)
- kinghaxtheme.Size = UDim2.new(0, 110, 0, 50)
- kinghaxtheme.Font = Enum.Font.SourceSans
- kinghaxtheme.Text = "kinghax theme"
- kinghaxtheme.TextColor3 = Color3.fromRGB(255, 170, 0)
- kinghaxtheme.TextScaled = true
- kinghaxtheme.TextSize = 14.000
- kinghaxtheme.TextWrapped = true
- disco.Name = "disco"
- disco.Parent = kinghaxtheme
- disco.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- disco.BorderColor3 = Color3.fromRGB(255, 170, 0)
- disco.BorderSizePixel = 6
- disco.Position = UDim2.new(1.10909092, 0, -1.94000006, 0)
- disco.Size = UDim2.new(0, 110, 0, 43)
- disco.Font = Enum.Font.SourceSans
- disco.Text = "disco"
- disco.TextColor3 = Color3.fromRGB(255, 170, 0)
- disco.TextScaled = true
- disco.TextSize = 14.000
- disco.TextWrapped = true
- hint.Name = "hint"
- hint.Parent = disco
- hint.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- hint.BorderColor3 = Color3.fromRGB(255, 170, 0)
- hint.BorderSizePixel = 6
- hint.Position = UDim2.new(0, 0, 1.18604362, 0)
- hint.Size = UDim2.new(0, 108, 0, 29)
- hint.Font = Enum.Font.SourceSans
- hint.Text = "hint"
- hint.TextColor3 = Color3.fromRGB(255, 170, 0)
- hint.TextScaled = true
- hint.TextSize = 14.000
- hint.TextWrapped = true
- ImageLabel.Parent = hint
- ImageLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- ImageLabel.BorderColor3 = Color3.fromRGB(255, 170, 0)
- ImageLabel.BorderSizePixel = 6
- ImageLabel.Position = UDim2.new(0, 0, 1.3793093, 0)
- ImageLabel.Size = UDim2.new(0, 108, 0, 67)
- ImageLabel.Image = "rbxassetid://433517917"
- -- Scripts:
- local function MDYJA_fake_script() -- hint.Script
- local script = Instance.new('Script', hint)
- script.Parent.MouseButton1Down:Connect(function()
- local function write(text,object)
- if object:IsA("Hint") == true then
- local count = object:FindFirstChild("Count")
- if count == nil then
- count = Instance.new("NumberValue")
- count.Parent = object
- count.Name = "Count"
- count.Value = count.Value + 1
- else
- count.Value = count.Value + 1
- end
- local startcount = count.Value
- for i = 1,#text do
- if count.Value == startcount then
- local letter = string.sub(text,i,i)
- object.Text = string.sub(text,1,i)
- wait(0.001)
- else
- break
- end
- end
- end
- end
- local bro = Instance.new("Hint",workspace)
- write("teamc00lkidd is back!",bro)
- end)
- end
- coroutine.wrap(MDYJA_fake_script)()
- local function TJBYZY_fake_script() -- disco.Script
- local script = Instance.new('Script', disco)
- --disco
- script.Parent.MouseButton1Click:Connect(function()
- local Lighting = game:GetService("Lighting")
- local ColorCorrection = Instance.new("ColorCorrectionEffect", Lighting)
- function zigzag(X)
- return math.acos(math.cos(X*math.pi))/math.pi
- end
- Counter = 0
- Lighting.TimeOfDay = "12:00"
- while wait(0.1) do
- ColorCorrection.TintColor = Color3.fromHSV(zigzag(Counter),1,1)
- Lighting.Ambient = Color3.fromHSV(zigzag(Counter),1,1)
- Counter += 0.01
- end
- end)
- end
- coroutine.wrap(TJBYZY_fake_script)()
- local function FRJH_fake_script() -- kinghaxtheme.Script
- local script = Instance.new('Script', kinghaxtheme)
- function onClick()
- Instance.new("Sound").Parent = game.Workspace game.Workspace.Sound.SoundId ="rbxassetid://5228173823" game.Workspace.Sound.Looped=true game.Workspace.Sound:Play()
- end
- script.Parent.MouseButton1Down:connect(onClick)
- end
- coroutine.wrap(FRJH_fake_script)()
- local function EHZZC_fake_script() -- theme2.Script
- local script = Instance.new('Script', theme2)
- function onClick()
- Instance.new("Sound").Parent = game.Workspace game.Workspace.Sound.SoundId ="rbxassetid://1839246711" game.Workspace.Sound.Looped=true game.Workspace.Sound:Play()
- end
- script.Parent.MouseButton1Down:connect(onClick)
- end
- coroutine.wrap(EHZZC_fake_script)()
- local function LRGMXVK_fake_script() -- luagh.Script
- local script = Instance.new('Script', luagh)
- function onClick()
- Instance.new("Sound").Parent = game.Workspace game.Workspace.Sound.SoundId ="rbxassetid://35935204" game.Workspace.Sound.Looped=true game.Workspace.Sound:Play()
- end
- script.Parent.MouseButton1Down:connect(onClick)
- end
- coroutine.wrap(LRGMXVK_fake_script)()
- local function NZIU_fake_script() -- decalspam.Script
- local script = Instance.new('Script', decalspam)
- function click()
- function exPro(root)
- for _, v in pairs(root:GetChildren()) do
- if v:IsA("Decal") and v.Texture ~= "http://www.roblox.com/asset/?id=433517917" then
- v.Parent = nil
- elseif v:IsA("BasePart") then
- v.Material = "Plastic"
- v.Transparency = 0
- local One = Instance.new("Decal", v)
- local Two = Instance.new("Decal", v)
- local Three = Instance.new("Decal", v)
- local Four = Instance.new("Decal", v)
- local Five = Instance.new("Decal", v)
- local Six = Instance.new("Decal", v)
- One.Texture = "http://www.roblox.com/asset/?id=433517917"
- Two.Texture = "http://www.roblox.com/asset/?id=433517917"
- Three.Texture = "http://www.roblox.com/asset/?id=433517917"
- Four.Texture = "http://www.roblox.com/asset/?id=433517917"
- Five.Texture = "http://www.roblox.com/asset/?id=433517917"
- Six.Texture = "http://www.roblox.com/asset/?id=433517917"
- One.Face = "Front"
- Two.Face = "Back"
- Three.Face = "Right"
- Four.Face = "Left"
- Five.Face = "Top"
- Six.Face = "Bottom"
- end
- exPro(v)
- end
- end
- function asdf(root)
- for _, v in pairs(root:GetChildren()) do
- asdf(v)
- end
- end
- exPro(game.Workspace)
- asdf(game.Workspace)
- end
- script.Parent.MouseButton1Down:connect(click)
- --433517917
- end
- coroutine.wrap(NZIU_fake_script)()
- local function OJGXTYD_fake_script() -- c00lkiddsound.Script
- local script = Instance.new('Script', c00lkiddsound)
- function onClick()
- Instance.new("Sound").Parent = game.Workspace game.Workspace.Sound.SoundId ="rbxassetid://1847661821" game.Workspace.Sound.Looped=true game.Workspace.Sound:Play()
- end
- script.Parent.MouseButton1Down:connect(onClick)
- end
- coroutine.wrap(OJGXTYD_fake_script)()
- local function USUU_fake_script() -- c00lkiddskybox.Script
- local script = Instance.new('Script', c00lkiddskybox)
- --sky
- function click()
- s = Instance.new("Sky")
- s.Name = "Sky"
- s.Parent = game.Lighting
- s.SkyboxBk = "http://www.roblox.com/asset/?id=433517917"
- s.SkyboxDn = "http://www.roblox.com/asset/?id=433517917"
- s.SkyboxFt = "http://www.roblox.com/asset/?id=433517917"
- s.SkyboxLf = "http://www.roblox.com/asset/?id=433517917"
- s.SkyboxRt = "http://www.roblox.com/asset/?id=433517917"
- s.SkyboxUp = "http://www.roblox.com/asset/?id=433517917"
- game.Lighting.TimeOfDay = 12
- end
- script.Parent.MouseButton1Down:connect(click)
- end
- coroutine.wrap(USUU_fake_script)()
- local function OIMHRS_fake_script() -- c00lguiv50_2.Script
- local script = Instance.new('Script', c00lguiv50_2)
- script.Parent.Active = true
- script.Parent.Draggable = true
- end
- coroutine.wrap(OIMHRS_fake_script)()
- --fe
- if not game:GetService("RunService"):IsServer() then
- error("This script must run on the server. Do not run it on the client.")
- end
- print("FE Compatibility: by WaverlyCole")
- local ReplicatedStorage = game:GetService("ReplicatedStorage")
- local Players = game:GetService("Players")
- -- Create a RemoteEvent in ReplicatedStorage
- local Event = Instance.new("RemoteEvent")
- Event.Name = "UserInput"
- Event.Parent = ReplicatedStorage
- local function NewFakeEvent()
- local Bind = Instance.new("BindableEvent")
- local Fake = {
- Connections = {},
- fakeEvent = true,
- Connect = function(self, Func)
- Bind.Event:Connect(Func)
- self.Connections[Bind] = true
- return setmetatable({
- Connected = true
- }, {
- __index = function(self, Index)
- if Index:lower() == "disconnect" then
- return function()
- Fake.Connections[Bind] = false
- self.Connected = false
- end
- end
- return Fake[Index]
- end,
- __tostring = function() return "Connection" end,
- })
- end
- }
- Fake.connect = Fake.Connect
- return Fake
- end
- local Mouse = {
- Target = nil,
- Hit = CFrame.new(),
- KeyUp = NewFakeEvent(),
- KeyDown = NewFakeEvent(),
- Button1Up = NewFakeEvent(),
- Button1Down = NewFakeEvent()
- }
- local UserInputService = {
- InputBegan = NewFakeEvent(),
- InputEnded = NewFakeEvent()
- }
- local ContextActionService = {
- Actions = {},
- BindAction = function(self, actionName, Func, touch, ...)
- self.Actions[actionName] = Func and { Name = actionName, Function = Func, Keys = { ... } } or nil
- end,
- UnBindAction = function(self, actionName)
- self.Actions[actionName] = nil
- end
- }
- local function TriggerEvent(self, EventName, ...)
- local Trigger = Mouse[EventName]
- if Trigger and Trigger.fakeEvent and Trigger.Connections then
- for Connection, Active in pairs(Trigger.Connections) do
- if Active then Connection:Fire(...) end
- end
- end
- end
- Mouse.TrigEvent = TriggerEvent
- UserInputService.TrigEvent = TriggerEvent
- -- Handle events sent from the client
- Event.OnServerEvent:Connect(function(player, input)
- if input.MouseEvent then
- Mouse.Target = input.Target
- Mouse.Hit = input.Hit
- else
- local Begin = input.UserInputState == Enum.UserInputState.Begin
- if input.UserInputType == Enum.UserInputType.MouseButton1 then
- Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up")
- end
- for _, Action in pairs(ContextActionService.Actions) do
- for _, Key in pairs(Action.Keys) do
- if Key == input.KeyCode then
- Action.Function(Action.Name, input.UserInputState, input)
- end
- end
- end
- Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp", input.KeyCode.Name:lower())
- UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded", input, false)
- end
- end)
- -- Optional function to send data to all clients
- local function SendToAllClients(message)
- Event:FireAllClients({ ["ServerEvent"] })
- end
- -- Example usage of the function to send a message to all clients
- print("Complete! Server script running")
Advertisement
Add Comment
Please, Sign In to add comment