
971 Views
5.3k Executions
Gravity lay by CalinYT29
Universal Script 📌
CalinYT2910K executions
6 months ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
Its just a gravity lay Since the other one dissapeared, also this is one is my first scripts that I make in my life
local player = game.Players.LocalPlayer
local TweenService = game:GetService("TweenService")
local ScreenGui = Instance.new("ScreenGui")
local MainFrame = Instance.new("Frame")
local Title = Instance.new("TextLabel")
local Credit = Instance.new("TextLabel")
local LayOnBtn = Instance.new("TextButton")
local LayOffBtn = Instance.new("TextButton")
local function style(parent, cornerRadius)
local corner = Instance.new("UICorner")
corner.CornerRadius = UDim.new(0, cornerRadius)
corner.Parent = parent
local stroke = Instance.new("UIStroke")
stroke.Color = Color3.fromRGB(0, 0, 80)
stroke.Thickness = 2
stroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
stroke.Parent = parent
return stroke
end
ScreenGui.Name = "GravityLay"
ScreenGui.Parent = player:WaitForChild("PlayerGui")
ScreenGui.ResetOnSpawn = false
MainFrame.Parent = ScreenGui
MainFrame.BackgroundColor3 = Color3.fromRGB(0, 0, 128)
MainFrame.Size = UDim2.new(0, 90, 0, 110)
MainFrame.Active = true
MainFrame.Draggable = true
MainFrame.BackgroundTransparency = 1
local frameStroke = style(MainFrame, 12)
frameStroke.Transparency = 1
local FinalPos = UDim2.new(0.5, -45, 0.5, -55)
MainFrame.Position = UDim2.new(0.5, -45, 0.5, 50)
MainFrame.Visible = false
Title.Parent = MainFrame
Title.BackgroundTransparency = 1
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!


