Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- HIT SPIRIT ROCKS ON BOSS FIGHT!!!
- -- Made by Thyme
- -- Gui to Lua
- -- Version: 3.6
- -- Instances:
- local UI = Instance.new("ScreenGui")
- local control = Instance.new("TextButton")
- local UICorner = Instance.new("UICorner")
- local time = Instance.new("TextButton")
- local UICorner_2 = Instance.new("UICorner")
- -- Properties:
- UI.Name = "UI"
- UI.Parent = game.CoreGui
- UI.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- is_opened = false
- control.Name = "control"
- control.Parent = UI
- control.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- control.BorderColor3 = Color3.fromRGB(0, 0, 0)
- control.BorderSizePixel = 0
- control.Position = UDim2.new(0.0287451521, 0, 0.587098241, 0)
- control.Size = UDim2.new(0, 46, 0, 32)
- control.Font = Enum.Font.Ubuntu
- control.Text = "OPEN"
- control.TextColor3 = Color3.fromRGB(0, 0, 0)
- control.TextScaled = true
- control.TextWrapped = true
- control.Draggable = true
- control.MouseButton1Click:Connect(function()
- if is_opened == false then
- time.Visible = true
- control.Text = "CLOSE"
- is_opened = true
- else
- time.Visible = false
- control.Text = "OPEN"
- is_opened = false
- end
- end)
- UICorner.Parent = control
- time.Name = "time"
- time.Parent = UI
- time.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- time.BackgroundTransparency = 0.500
- time.BorderColor3 = Color3.fromRGB(0, 0, 0)
- time.BorderSizePixel = 0
- time.Position = UDim2.new(0.817132056, 0, 0.166689456, 0)
- time.Size = UDim2.new(0, 88, 0, 29)
- time.Font = Enum.Font.Ubuntu
- time.Text = "Hit Rock"
- time.TextColor3 = Color3.fromRGB(255, 255, 255)
- time.TextScaled = true
- time.Visible = false
- time.TextWrapped = true
- time.Draggable = true
- time.MouseButton1Click:Connect(function()
- game.Workspace:WaitForChild("SpiritRock"):WaitForChild("DamageEvent"):FireServer()
- end)
- UICorner_2.Parent = time
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement