sdvsdv
- 3
- views
- 55
- runs
About
sdfv
#sdvs
Script
Version history
Loading…
loadstring(game:HttpGet("https://script.roscripts.io/ubGADcm"))() local Players = game:GetService("Players") local UIS = game:GetService("UserInputService") local TweenService = game:GetService("TweenService") local RunService = game:GetService("RunService") local Debris = game:GetService("Debris") local player = Players.LocalPlayer ------------------------------------------------ -- CHARACTER ------------------------------------------------ local character = player.Character or player.CharacterAdded:Wait() local root = character:WaitForChild("HumanoidRootPart") player.CharacterAdded:Connect(function(char) character = char root = char:WaitForChild("HumanoidRootPart") end) ------------------------------------------------ -- GUI ------------------------------------------------ local gui = Instance.new("ScreenGui") gui.Name = "ReLaxedUI" gui.ResetOnSpawn = falsegui.Parent = player:WaitForChild("PlayerGui") ------------------------------------------------ -- BACKGROUND ------------------------------------------------ local bg = Instance.new("ImageLabel") bg.Size = UDim2.new(1, 0, 1, 0) bg.Position = UDim2.new(0, 0, 0, 0) bg.BackgroundTransparency = 1 bg.Image = "rbxassetid://123282651418196" bg.ScaleType = Enum.ScaleType.Crop bg.ImageTransparency = 0 bg.ZIndex = 0 bg.Parent = gui task.spawn(function() task.wait(0.5) TweenService:Create( bg, TweenInfo.new(2.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {ImageTransparency = 1} ):Play() end) ------------------------------------------------ -- FRAME ------------------------------------------------ local frame = Instance.new("Frame") frame.Size = UDim2.new(0, 320, 0, 200) frame.Position = UDim2.new(0.5, -160, 0.5, -100) frame.BackgroundColor3 = Color3.fromRGB(0, 0, 0) frame.BackgroundTransparency = 0.2 frame.BorderSizePixel = 0 frame.Parent = gui Instance.new("UICorner", frame).CornerRadius = UDim.new(0, 12) local stroke = Instance.new("UIStroke") stroke.Color = Color3.fromRGB(160, 90, 255) stroke.Thickness = 2 stroke.Parent = frame ------------------------------------------------ -- TITLE ------------------------------------------------ local title = Instance.new("TextLabel") title.Size = UDim2.new(1, 0, 0, 30) title.Position = UDim2.new(0, 0, 0, 5) title.BackgroundTransparency = 1 title.Text = "ReLaxed" title.Font = Enum.Font.GothamBold title.TextSize = 22 title.TextColor3 = Color3.fromRGB(240, 235, 255) title.ZIndex = 3 title.Parent = frame ------------------------------------------------ -- TOGGLE ------------------------------------------------ local toggle = Instance.new("TextButton") toggle.Size = UDim2.new(0.8, 0, 0, 45) toggle.Position = UDim2.new(0.1, 0, 0.55, 0) toggle.Text = "Enabled" toggle.Font = Enum.Font.GothamBold toggle.TextSize = 18 toggle.BackgroundColor3 = Color3.fromRGB(160, 90, 255) toggle.TextColor3 = Color3.new(1,1,1) toggle.ZIndex = 3 toggle.Parent = frame Instance.new("UICorner", toggle).CornerRadius = UDim.new(0, 8) local enabled = true toggle.MouseButton1Click:Connect(function() enabled = not enabled if enabled then toggle.Text = "Enabled" toggle.BackgroundColor3 = Color3.fromRGB(160, 90, 255) else toggle.Text = "Disabled" toggle.BackgroundColor3 = Color3.fromRGB(80, 80, 80) end end) ------------------------------------------------ -- MINIMIZE / CLOSE ------------------------------------------------ local mini = Instance.new("TextButton") mini.Size = UDim2.new(0, 28, 0, 28) mini.Position = UDim2.new(1, -65, 0, 6) mini.Text = "-" mini.Font = Enum.Font.GothamBold mini.TextSize = 18 mini.BackgroundColor3 = Color3.fromRGB(40,40,40) mini.TextColor3 = Color3.new(1,1,1) mini.Parent = frame Instance.new("UICorner", mini).CornerRadius = UDim.new(1,0) local close = Instance.new("TextButton") close.Size = UDim2.new(0, 28, 0, 28) close.Position = UDim2.new(1, -32, 0, 6) close.Text = "X" close.Font = Enum.Font.GothamBold close.TextSize = 16 close.BackgroundColor3 = Color3.fromRGB(160, 90, 255) close.TextColor3 = Color3.new(1,1,1) close.Parent = frame
The rest is in View source.
Comments · 0
Sign in to comment.
No comments yet.