2 useful GUI tricks | studio lite
HTML-код
- Опубликовано: 7 фев 2025
- Animation gui script :
local frame = script.Parent.Frame ---------------- your frame
local openclose = script.Parent.OpenClose -------- your button
frame.Size = UDim2.new(0.188, 0,0.071, 0)
openclose.MouseButton1Click:Connect(function()
if frame.Size == UDim2.new(0.188, 0,0.071, 0) then
frame.Visible = true
frame:TweenSize(UDim2.new(0.514, 0,0.803, 0),Enum.EasingDirection.Out,Enum.EasingStyle.Back,0.2)
openclose.Text = "CLOSE" ---------- you can change this
elseif frame.Size == UDim2.new(0.514, 0,0.803, 0) then
frame:TweenSize(UDim2.new(0.188, 0,0.071, 0),Enum.EasingDirection.In,Enum.EasingStyle.Quint,0.15)
wait(0.13)
openclose.Text = "OPEN" ---------- you can change this
frame.Visible = false
end
end)
Name changer gui script :
script.Parent.FocusLost:connect(function(enter)
if enter then
v = game.Players.LocalPlayer
for a, mod in pairs(v.Character:children()) do
if mod:findFirstChild("NameTag") then
v.Character.Head.Transparency = 0 mod:Destroy()
end
end
local char = v.Character
local mod = Instance.new("Model", char)
mod.Name = script.Parent.Text
local cl = char.Head:Clone()
cl.Parent = mod
local hum = Instance.new("Humanoid", mod)
hum.Name = "NameTag"
hum.MaxHealth = 0
hum.Health = 0
local weld = Instance.new("Weld", cl) weld.Part0 = cl weld.Part1 = char.Head
char.Head.Transparency = 0
end
end)
Sorry
That is so cool! 3:16
❤
Nice! That's cool.
❤
Yoooo
🆃🅷🅸🆂◼️🅸🆂◼️🅲🅾🅾🅻
❤