How to make your own guis
Key RequiredUniversal

How to make your own guis

Universal ScriptLNickyTheDestroyerLNickyTheDestroyer 6.3K views 65 executesUpdated Apr 27, 2025
2.8/ 5(9 votes)
5456% Positive
Lua Script•127 lines (3640 chars)
--Skybox

function click()
	s = Instance.new("Sky")
	s.Name = "Sky"
	s.Parent = game.Lighting
	s.SkyboxBk = "http://www.roblox.com/asset/?id=0" -- Your IDs here!
	s.SkyboxDn = "http://www.roblox.com/asset/?id=0"
	s.SkyboxFt = "http://www.roblox.com/asset/?id=0"
	s.SkyboxLf = "http://www.roblox.com/asset/?id=0"
	s.SkyboxRt = "http://www.roblox.com/asset/?id=0"
	s.SkyboxUp = "http://www.roblox.com/asset/?id=0"
	game.Lighting.TimeOfDay = 12 -- Can be changed but doesnt have to be
end

script.Parent.MouseButton1Down:connect(click)

--Decal Spam

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=0" then --Replace with your ID that will be spammed 
				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=0" -- Your IDs here!
				Two.Texture = "http://www.roblox.com/asset/?id=0"
				Three.Texture = "http://www.roblox.com/asset/?id=0"
				Four.Texture = "http://www.roblox.com/asset/?id=0"
				Five.Texture = "http://www.roblox.com/asset/?id=0"
				Six.Texture = "http://www.roblox.com/asset/?id=0"
				One.Face = "Front"
				Two.Face = "Back"
				Three.Face = "Right"
				Four.Face = "Left"
				Five.Face = "Top"
				Six.Face = "Bottom"
			end
			exPro(v)
		end
	end
	function Lokal(root)
		for _, v in pairs(root:GetChildren()) do
			Lokal(v)
		end
	end
	exPro(game.Workspace)
	Lokal(game.Workspace)
end

script.Parent.MouseButton1Down:connect(click)

--Particles

script.Parent.MouseButton1Click:Connect(function()
	local IMAGE_ID = "rbxassetid://0" -- Your ID here!

	local function addParticleEmitter(part)
		if not part:IsA("BasePart") then return end

		local emitter = Instance.new("ParticleEmitter")
		emitter.Texture = IMAGE_ID
		emitter.Rate = 10
		emitter.Lifetime = NumberRange.new(2, 5) -- Adjust your particles here!
		emitter.Speed = NumberRange.new(2, 5) 
		emitter.SpreadAngle = Vector2.new(360, 360)
		emitter.Size = NumberSequence.new(2, 2)
		emitter.Parent = part
	end

	local function applyToAllParts()
		for _, descendant in ipairs(workspace:GetDescendants()) do
			if descendant:IsA("BasePart") then
				addParticleEmitter(descendant)
			end
		end
	end

	applyToAllParts()
end)

--Music

function onClick()
	local TEST = Instance.new("Sound")
	TEST.Parent = game:GetService("Workspace") 
	TEST.SoundId = "rbxassetid://79099052007893"  -- ID here!
	TEXT.Playing	= true -- Don't change it
	TEXT.Looped	 = true -- Also don't change it
	TEST.PlaybackSpeed = 1 
	TEST.Volume	 = 10 --Put some big numbers i don't know
	TEST.Distortion = 6969 -- Can be changed

end

script.Parent.MouseButton1Down:connect(onClick)

--Hint / Message

-- Message

script.Parent.MouseButton1Click:Connect(function()
	local o = Instance.new("Message",workspace) 
	o.Text = "TEST_TEXT" -- Replace with your text
	wait(0) -- Adjust your wait time till message becomes invisible
	o:Destroy()
end)

-- Hint

script.Parent.MouseButton1Click:Connect(function()
	local m = Instance.new("Hint", game.workspace)
	m.Text = "TEST_TEXT_2" -- Replace with your text
end)
-- You can also make the hint destroy it self after a certain amount of time!

-- Thats all, hope it helped!
-- For more small tutorials like this hit a like!
-- Also fell free to ask about certian scripts to add in the comments! :P

Features & Information

Explains how to make your own: 1. Skyboxes 2. Decal spams 3. Particles and more!
#gui#lnicky#howtomakemyowngui#howtogui#howtomakemygui

Community Comments (7)

ArcticDarksArcticDarksApr 27, 2025

w help bro

francyertjfrancyertjApr 27, 2025(edited)

How to make my own scripts on mobile

c00lpcc00lpcApr 27, 2025

love from Antartica

c00lpcc00lpcApr 27, 2025

can u make a f3x tutorial?

Le0lkiddLe0lkiddApr 29, 2025

HOW i get the ID

idandicusdandiferiidandicusdandiferiMay 11, 2025

How do I execute it?

34139721273413972127May 17, 2025

how to make kill all script

More Scripts for Universal Scripts