0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

robloxでassistant その185

Posted at

概要

robloxでassistant、やってみた。
練習問題やってみた。

練習問題

UIGradientを使え。

写真

image.png

サンプルコード

ReplicatedFirst.LocalScript



local ScreenGui = Instance.new("ScreenGui")
local Frame = Instance.new("Frame")
local UIGradient = Instance.new("UIGradient")
local title = Instance.new("TextLabel")
local status = Instance.new("TextLabel")
local image = Instance.new("ImageLabel")
local Players = game:GetService("Players")
local Player = Players.LocalPlayer
local PlayerGui = Player:WaitForChild("PlayerGui")
local Gui = Instance.new("ScreenGui")
Gui.Parent = PlayerGui
Frame.Parent = Gui
Frame.BackgroundColor3 = Color3.fromRGB(109, 109, 109)
Frame.BorderSizePixel = 0
Frame.Position = UDim2.new(0.1, 0, 0.400000006, 0)
Frame.Size = UDim2.new(0, 300, 0, 150)
UIGradient.Color = ColorSequence.new({
	ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 0, 255)),
	ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 255, 0))
})
	
UIGradient.Rotation = 30
UIGradient.Parent = Frame
title.Name = "title"
title.Parent = Frame
title.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
title.BackgroundTransparency = 1.000
title.Size = UDim2.new(0, 300, 0, 32)
title.Font = Enum.Font.Gotham
title.Text = "Ohisama"
title.TextColor3 = Color3.fromRGB(255, 255, 255)
title.TextSize = 22.000
status.Name = "status"
status.Parent = Frame
status.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
status.BackgroundTransparency = 1.000
status.Position = UDim2.new(0.283333331, 0, 0.486666679, 0)
status.Size = UDim2.new(0, 203, 0, 29)
status.Font = Enum.Font.Gotham
status.Text = "looking for game"
status.TextColor3 = Color3.fromRGB(255, 255, 255)
status.TextScaled = true
status.TextSize = 20.000
status.TextWrapped = true



以上。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?