Run it
Copy the script and paste it into your executor.
player = .Players.LocalPlayer
UIS = :()
TweenService = :()
gui = .()
gui.Name =
gui.Parent = player:()
button = .()
button.Size = .(, , , )
button.Position = .(, -, , -)
button.BackgroundColor3 = .(, , )
button.TextColor3 = .(,,)
button.TextScaled =
button.Text =
button.Font = .Font.GothamBold
button.Parent = gui
button.AutoButtonColor =
button.Active =
devText = .()
devText.Size = .(, , , )
devText.Position = .(, , , )
devText.BackgroundTransparency =
devText.Text =
devText.TextColor3 = .(,,)
devText.TextScaled =
devText.Font = .Font.Gotham
devText.Parent = button
.(()
colors = {
.(, , ),
.(, , ),
.(, , ),
.(, , ),
.(, , ),
.(, , ),
.(, , ),
.(, , ),
.(, , )
}
index =
tween = TweenService:(
devText,
TweenInfo.(
,
.EasingStyle.Sine,
.EasingDirection.InOut
),
{TextColor3 = colors[index]}
)
tween:()
index +=
index > #colors
index =
.()
)
enabled =
button.MouseButton1Click:(()
enabled = enabled
enabled
button.Text =
button.BackgroundColor3 = .(, , )
.(()
enabled
i = ,
enabled
.ReplicatedStorage.Modules.EventManagerClient.ServerEvent:()
.()
)
button.Text =
button.BackgroundColor3 = .(, , )
)
dragging =
dragStart
startPos
(input)
delta = input.Position - dragStart
button.Position = .(
startPos.X.Scale,
startPos.X.Offset + delta.X,
startPos.Y.Scale,
startPos.Y.Offset + delta.Y
)
button.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1
input.UserInputType == .UserInputType.Touch
dragging =
dragStart = input.Position
startPos = button.Position
)
button.InputEnded:((input)
input.UserInputType == .UserInputType.MouseButton1
input.UserInputType == .UserInputType.Touch
dragging =
)
UIS.InputChanged:((input)
dragging
(input.UserInputType == .UserInputType.MouseMovement
input.UserInputType == .UserInputType.Touch)
(input)
)inf money Build a Store
Build a Store🏪