random script i made
Key Required

random script i made

my Gui v1.MoonistMoonist 533 views 41 executesUpdated Nov 27, 2025
Unrated
00
Lua Script•269 lines (8619 chars)
-- Gui to Lua
-- Version: 3.2

-- Instances:

local ScreenGui = Instance.new("ScreenGui")
local Frame = Instance.new("Frame")
local TextBox = Instance.new("TextBox")
local ImageLabel = Instance.new("ImageLabel")
local TextButton = Instance.new("TextButton")
local TextButton_2 = Instance.new("TextButton")
local TextButton_3 = Instance.new("TextButton")
local TextButton_4 = Instance.new("TextButton")

--Properties:

ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling

Frame.Parent = ScreenGui
Frame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
Frame.BorderColor3 = Color3.fromRGB(103, 0, 2)
Frame.BorderSizePixel = 3
Frame.Position = UDim2.new(0.40060699, 0, 0.497663558, 0)
Frame.Size = UDim2.new(0, 317, 0, 343)

TextBox.Parent = Frame
TextBox.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
TextBox.BorderColor3 = Color3.fromRGB(72, 0, 0)
TextBox.BorderSizePixel = 3
TextBox.Size = UDim2.new(0, 317, 0, 44)
TextBox.Font = Enum.Font.Unknown
TextBox.Text = "aiIezu Gui V1"
TextBox.TextColor3 = Color3.fromRGB(86, 1, 1)
TextBox.TextSize = 36.000

ImageLabel.Parent = TextBox
ImageLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
ImageLabel.BackgroundTransparency = 1.000
ImageLabel.BorderColor3 = Color3.fromRGB(0, 0, 0)
ImageLabel.BorderSizePixel = 0
ImageLabel.Position = UDim2.new(0.858044147, 0, 6.89795876, 0)
ImageLabel.Size = UDim2.new(0, 45, 0, 39)
ImageLabel.Image = "rbxassetid://115653359342408"

TextButton.Parent = Frame
TextButton.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
TextButton.BorderColor3 = Color3.fromRGB(83, 0, 0)
TextButton.BorderSizePixel = 3
TextButton.Position = UDim2.new(0.13249211, 0, 0.20408164, 0)
TextButton.Size = UDim2.new(0, 232, 0, 48)
TextButton.Font = Enum.Font.Unknown
TextButton.Text = "666"
TextButton.TextColor3 = Color3.fromRGB(85, 0, 0)
TextButton.TextSize = 37.000

TextButton_2.Parent = Frame
TextButton_2.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
TextButton_2.BorderColor3 = Color3.fromRGB(83, 0, 0)
TextButton_2.BorderSizePixel = 3
TextButton_2.Position = UDim2.new(0.126182958, 0, 0.411078721, 0)
TextButton_2.Size = UDim2.new(0, 232, 0, 48)
TextButton_2.Font = Enum.Font.Unknown
TextButton_2.Text = "Disco"
TextButton_2.TextColor3 = Color3.fromRGB(85, 0, 0)
TextButton_2.TextSize = 37.000

TextButton_3.Parent = Frame
TextButton_3.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
TextButton_3.BorderColor3 = Color3.fromRGB(83, 0, 0)
TextButton_3.BorderSizePixel = 3
TextButton_3.Position = UDim2.new(0.126182958, 0, 0.60641402, 0)
TextButton_3.Size = UDim2.new(0, 232, 0, 48)
TextButton_3.Font = Enum.Font.Unknown
TextButton_3.Text = "Decale Spam"
TextButton_3.TextColor3 = Color3.fromRGB(85, 0, 0)
TextButton_3.TextSize = 37.000

TextButton_4.Parent = Frame
TextButton_4.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
TextButton_4.BorderColor3 = Color3.fromRGB(83, 0, 0)
TextButton_4.BorderSizePixel = 3
TextButton_4.Position = UDim2.new(0.126182958, 0, 0.795918345, 0)
TextButton_4.Size = UDim2.new(0, 232, 0, 48)
TextButton_4.Font = Enum.Font.Unknown
TextButton_4.Text = "Meshify"
TextButton_4.TextColor3 = Color3.fromRGB(85, 0, 0)
TextButton_4.TextSize = 37.000

-- Scripts:

local function CMBGJIW_fake_script() -- Frame.LocalScript 
	local script = Instance.new('LocalScript', Frame)

	local UIS = game:GetService('UserInputService')
	local frame = script.Parent
	local dragToggle = nil
	local dragSpeed = 0.25
	local dragStart = nil
	local startPos = nil
	
	local function updateInput(input)
		local delta = input.Position - dragStart
		local position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X,
			startPos.Y.Scale, startPos.Y.Offset + delta.Y)
		game:GetService('TweenService'):Create(frame, TweenInfo.new(dragSpeed), {Position = position}):Play()
	end
	
	frame.InputBegan:Connect(function(input)
		if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) then 
			dragToggle = true
			dragStart = input.Position
			startPos = frame.Position
			input.Changed:Connect(function()
				if input.UserInputState == Enum.UserInputState.End then
					dragToggle = false
				end
			end)
		end
	end)
	
	UIS.InputChanged:Connect(function(input)
		if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
			if dragToggle then
				updateInput(input)
			end
		end
	end)
	
	
end
coroutine.wrap(CMBGJIW_fake_script)()
local function CHYNTRP_fake_script() -- TextButton.Script 
	local script = Instance.new('Script', TextButton)

	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(CHYNTRP_fake_script)()
local function KJXO_fake_script() -- TextButton_2.LocalScript 
	local script = Instance.new('LocalScript', TextButton_2)

	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(KJXO_fake_script)()
local function VXWZ_fake_script() -- TextButton_3.LocalScript 
	local script = Instance.new('LocalScript', TextButton_3)

	script.Parent.MouseButton1Click:Connect(function()
		local ok = Instance.new("Sky",game.Lighting)	
		ok.SkyboxBk = "http://www.roblox.com/asset/?id=78793237156844"
		ok.SkyboxFt = "http://www.roblox.com/asset/?id=78793237156844"
		ok.SkyboxDn = "http://www.roblox.com/asset/?id=78793237156844"
		ok.SkyboxLf = "http://www.roblox.com/asset/?id=78793237156844"
		ok.SkyboxRt = "http://www.roblox.com/asset/?id=78793237156844"
		ok.SkyboxUp = "http://www.roblox.com/asset/?id=78793237156844"
		ok.MoonTextureId = "http://www.roblox.com/asset/?id=78793237156844"
		ok.Starcount = 0
	end)
end
coroutine.wrap(VXWZ_fake_script)()
local function INVDC_fake_script() -- TextButton_3.LocalScript 
	local script = Instance.new('LocalScript', TextButton_3)

	script.Parent.MouseButton1Click:Connect(function()
		for i,v in pairs(workspace:GetDescendants()) do
			if v:IsA("BasePart") then
				v.Transparency = 0
				local O = Instance.new("Decal", v)
				local T = Instance.new("Decal", v)
				local Th = Instance.new("Decal", v)
				local F = Instance.new("Decal", v)
				local Fi = Instance.new("Decal", v)
				local S = Instance.new("Decal", v)
				O.Texture = "http://www.roblox.com/asset/?id=78793237156844"
				T.Texture = "http://www.roblox.com/asset/?id=78793237156844"
				Th.Texture = "http://www.roblox.com/asset/?id=78793237156844"
				F.Texture = "http://www.roblox.com/asset/?id=78793237156844"
				Fi.Texture = "http://www.roblox.com/asset/?id=78793237156844"
				S.Texture = "http://www.roblox.com/asset/?id=78793237156844"
				O.Face = "Front"
				T.Face = "Back"
				Th.Face = "Right"
				F.Face = "Left"
				Fi.Face = "Top"
				S.Face = "Bottom"
			end
		end
	end)
end
coroutine.wrap(INVDC_fake_script)()
local function IPLT_fake_script() -- TextButton_4.LocalScript 
	local script = Instance.new('LocalScript', TextButton_4)

	local meshTypes = {
		Enum.MeshType.Head,
		Enum.MeshType.Wedge,
		Enum.MeshType.Brick,
		Enum.MeshType.Sphere,
		Enum.MeshType.Cylinder, 
	}
	
	local button = script.Parent
	local isRunning = false
	
	local function switchMeshes()
		while true do
			wait(0.1) 
	
			for i, v in pairs(workspace:GetDescendants()) do
				if v:IsA("BasePart") then
					local mesh = v:FindFirstChildOfClass("SpecialMesh")
					if not mesh then
						mesh = Instance.new("SpecialMesh", v)
					end
					v.Color = Color3.fromRGB(math.random(0, 255), math.random(0, 255), math.random(0, 255))
					--You can deleted v.color if you want so you can have mesify
	
					local randomIndex = math.random(1, #meshTypes)
					mesh.MeshType = meshTypes[randomIndex]
				end
			end
		end
	end
	
	button.MouseButton1Click:Connect(function()
		if not isRunning then
			isRunning = true
			switchMeshes()
		end
	end)
	
end
coroutine.wrap(IPLT_fake_script)()

Features & Information

was bored so i made it
#script

Community Comments (0)

No comments yet for this script.