Run it
Copy the script and paste it into your executor.
Players = :()
UserInputService = :()
player = Players.LocalPlayer
rng = Random.()
guiTitle =
mainButtonText =
smallButtonText =
defaultTextureId =
defaultColorText =
defaultChaosPool =
defaultMaterialName =
materialList = {
.Material.Plastic,
.Material.SmoothPlastic,
.Material.Neon,
.Material.Wood,
.Material.WoodPlanks,
.Material.Glass,
.Material.Concrete,
.Material.Granite,
.Material.Slate,
.Material.Metal,
.Material.CorrodedMetal,
.Material.DiamondPlate,
.Material.Foil,
.Material.Ice,
.Material.Fabric,
.Material.Grass,
.Material.Pebble,
.Material.ForceField,
}
materialIndex =
i, mat (materialList)
mat.Name == defaultMaterialName
materialIndex = i
chaosOn =
chaosToken =
originalState = {}
faces = {
.NormalId.Front,
.NormalId.Back,
.NormalId.Left,
.NormalId.Right,
.NormalId.Top,
.NormalId.Bottom,
}
(s)
((s ):(, ):(, ))
(text)
text = (text)
text ==
id = text:()
id
.. id
(text)
text = (text)
text ==
text:(, ) ==
text = text:()
#text == text:()
r = (text:(, ), )
g = (text:(, ), )
b = (text:(, ), )
r g b
.(r, g, b)
nums = {}
n text:()
nums[#nums + ] = (n)
#nums >=
.(
.(nums[], , ),
.(nums[], , ),
.(nums[], , )
)
(text)
text = (text)
pool = {}
text ==
pool
token text:()
id = (token)
id
pool[#pool + ] = id
pool
()
parts = {}
_, obj (:())
obj:()
parts[#parts + ] = obj
parts
(part)
originalState[part] part part.Parent
extras = {}
_, child (part:())
child:() child:() child:()
extras[#extras + ] = child:()
child:()
originalState[part] = {
Color = part.Color,
Material = part.Material,
Reflectance = part.Reflectance,
Transparency = part.Transparency,
Extras = extras,
}
(part)
_, face (faces)
tex = part:( .. face.Name)
tex tex:()
tex:()
(part, textureId)
textureId textureId ==
(part)
(part)
(part)
_, face (faces)
tex = .()
tex.Name = .. face.Name
tex.Face = face
tex.Texture = textureId
tex.StudsPerTileU =
tex.StudsPerTileV =
tex.Parent = part
(part, color3)
color3
(part)
part.Color = color3
(part, materialEnum)
materialEnum
(part)
part.Material = materialEnum
(part)
(part part.Parent originalState[part])
(part)
old = originalState[part]
part.Color = old.Color
part.Material = old.Material
part.Reflectance = old.Reflectance
part.Transparency = old.Transparency
(part)
_, childClone (old.Extras {})
childClone.Parent = part
originalState[part] =
()
chaosOn =
chaosToken +=
part, _ (originalState)
(part)
(textureId, color3, materialEnum)
_, part (())
textureId
(part, textureId)
(part)
color3
(part, color3)
materialEnum
(part, materialEnum)
screenGui = .()
screenGui.Name =
screenGui.ResetOnSpawn =
screenGui.Parent = player:()
mainFrame = .()
mainFrame.Size = .(, , , )
mainFrame.Position = .(, -, , -)
mainFrame.BackgroundColor3 = .(, , )
mainFrame.BorderSizePixel =
mainFrame.Active =
mainFrame.ClipsDescendants =
mainFrame.Parent = screenGui
mainCorner = .()
mainCorner.CornerRadius = .(, )
mainCorner.Parent = mainFrame
titleBar = .()
titleBar.Size = .(, , , )
titleBar.BackgroundColor3 = .(, , )
titleBar.BorderSizePixel =
titleBar.Text = guiTitle
titleBar.TextColor3 = .(, , )
titleBar.TextScaled =
titleBar.Font = .Font.GothamBold
titleBar.Active =
titleBar.Parent = mainFrame
titleCorner = .()
titleCorner.CornerRadius = .(, )
titleCorner.Parent = titleBar
hideButton = .()
hideButton.Size = .(, , , )
hideButton.Position = .(, -, , )
hideButton.BackgroundColor3 = .(, , )
hideButton.Text =
hideButton.TextColor3 = .(, , )
hideButton.TextScaled =
hideButton.Font = .Font.Gotham
hideButton.BorderSizePixel =
hideButton.Parent = mainFrame
hideCorner = .()
hideCorner.CornerRadius = .(, )
hideCorner.Parent = hideButton
closeButton = .()
closeButton.Size = .(, , , )
closeButton.Position = .(, -, , )
closeButton.BackgroundColor3 = .(, , )
closeButton.Text =
closeButton.TextColor3 = .(, , )
closeButton.TextScaled =
closeButton.Font = .Font.GothamBold
closeButton.BorderSizePixel =
closeButton.Parent = mainFrame
closeCorner = .()
closeCorner.CornerRadius = .(, )
closeCorner.Parent = closeButton
scrollFrame = .()
scrollFrame.Size = .(, , , -)
scrollFrame.Position = .(, , , )
scrollFrame.BackgroundTransparency =
scrollFrame.BorderSizePixel =
scrollFrame.ScrollBarThickness =
scrollFrame.CanvasSize = .(, , , )
scrollFrame.Parent = mainFrame
content = .()
content.Size = .(, -, , )
content.Position = .(, , , )
content.BackgroundTransparency =
content.BorderSizePixel =
content.Parent = scrollFrame
layout = .()
layout.Padding = .(, )
layout.SortOrder = .SortOrder.LayoutOrder
layout.Parent = content
layout:():(()
content.Size = .(, -, , layout.AbsoluteContentSize.Y)
scrollFrame.CanvasSize = .(, , , layout.AbsoluteContentSize.Y + )
)
(obj, radius)
c = .()
c.CornerRadius = .(, radius)
c.Parent = obj
c
(text, height)
lbl = .()
lbl.Size = .(, , , height )
lbl.BackgroundTransparency =
lbl.Text = text
lbl.TextColor3 = .(, , )
lbl.TextScaled =
lbl.Font = .Font.Gotham
lbl.Parent = content
lbl
(labelText, defaultText)
row = .()
row.Size = .(, , , )
row.BackgroundColor3 = .(, , )
row.BorderSizePixel =
row.Parent = content
(row, )
lbl = .()
lbl.Size = .(, -, , )
lbl.Position = .(, , , )
lbl.BackgroundTransparency =
lbl.Text = labelText
lbl.TextColor3 = .(, , )
lbl.TextScaled =
lbl.Font = .Font.Gotham
lbl.Parent = row
box = .()
box.Size = .(, -, , )
box.Position = .(, , , )
box.BackgroundColor3 = .(, , )
box.Text = defaultText
box.TextColor3 = .(, , )
box.TextScaled =
box.Font = .Font.Gotham
box.BorderSizePixel =
box.ClearTextOnFocus =
box.Parent = row
(box, )
box
(text, color, height)
btn = .()
btn.Size = .(, , , height )
btn.BackgroundColor3 = color
btn.Text = text
btn.TextColor3 = .(, , )
btn.TextScaled =
btn.Font = .Font.GothamBold
btn.BorderSizePixel =
btn.Parent = content
(btn, )
btn
(, )
textureBox = (, defaultTextureId)
colorBox = (, defaultColorText)
chaosPoolBox = (, defaultChaosPool)
materialButton = ( .. materialList[materialIndex].Name, .(, , ), )
applyButton = (mainButtonText, .(, , ), )
chaosButton = (, .(, , ), )
returnButton = (, .(, , ), )
statusLabel = (, )
smallButton = .()
smallButton.Size = .(, , , )
smallButton.Position = .(, , , -)
smallButton.BackgroundColor3 = .(, , )
smallButton.Text = smallButtonText
smallButton.TextColor3 = .(, , )
smallButton.TextScaled =
smallButton.Font = .Font.GothamBold
smallButton.BorderSizePixel =
smallButton.Visible =
smallButton.Active =
smallButton.Parent = screenGui
(smallButton, )
(text)
statusLabel.Text = .. text
()
materialButton.Text = .. materialList[materialIndex].Name
materialButton.MouseButton1Click:(()
materialIndex +=
materialIndex > #materialList
materialIndex =
()
( .. materialList[materialIndex].Name)
)
applyButton.MouseButton1Click:(()
textureId = (textureBox.Text)
color3 = (colorBox.Text)
materialEnum = materialList[materialIndex]
(textureId, color3, materialEnum)
textureId color3 materialEnum
()
()
)
returnButton.MouseButton1Click:(()
()
()
)
chaosButton.MouseButton1Click:(()
chaosOn = chaosOn
chaosToken +=
myToken = chaosToken
chaosOn
chaosButton.Text =
chaosButton.BackgroundColor3 = .(, , )
()
.(()
chaosOn chaosToken == myToken screenGui.Parent
pool = (chaosPoolBox.Text)
textureId =
#pool >
textureId = pool[rng:(, #pool)]
(textureBox.Text)
textureId = (textureBox.Text)
_, part (())
(part)
textureId
(part, textureId)
(part)
part.Color = .(
rng:(, ),
rng:(, ),
rng:(, )
)
part.Material = materialList[rng:(, #materialList)]
.()
chaosOn
chaosButton.Text =
chaosButton.BackgroundColor3 = .(, , )
)
()
chaosButton.Text =
chaosButton.BackgroundColor3 = .(, , )
()
)
hideButton.MouseButton1Click:(()
mainFrame.Visible =
smallButton.Visible =
)
smallButton.MouseButton1Click:(()
mainFrame.Visible =
smallButton.Visible =
)
closeButton.MouseButton1Click:(()
()
screenGui:()
)
(handle, target)
dragging =
dragInput
dragStart
startPos
handle.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1
input.UserInputType == .UserInputType.Touch
dragging =
dragStart = input.Position
startPos = target.Position
input.Changed:(()
input.UserInputState == .UserInputState.End
dragging =
)
)
handle.InputChanged:((input)
input.UserInputType == .UserInputType.MouseMovement
input.UserInputType == .UserInputType.Touch
dragInput = input
)
UserInputService.InputChanged:((input)
input == dragInput dragging
delta = input.Position - dragStart
target.Position = .(
startPos.X.Scale,
startPos.X.Offset + delta.X,
startPos.Y.Scale,
startPos.Y.Offset + delta.Y
)
)
(titleBar, mainFrame)
(smallButton, smallButton)
()
()--// Texture Changer GUI --// Open Source | Credit: Me --// Local-only visual changer --// Easily change textures, colors, and materials of all parts in your game. --// Includes CHAOS mode for random fun! --// Put this LocalScript in StarterPlayerScripts or StarterGui

Universal