This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--[[ | |
Creates a circle out of Beams. | |
You can let it use a default Beam object, but you probably want to pass it | |
your own via the BeamObject parameter. | |
local BeamCircle, Attachments, Beams = DrawBeamCircle({ | |
[REQUIRED] | |
CFrame = CFrame of center of circle, | |
Radius = Radius of circle, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Visualize all unique Roblox Studio style guide colors | |
-- The color-modifier pairs associated with each color is listed under the color's Part | |
-- List of colors: https://developer.roblox.com/en-us/api-reference/enum/StudioStyleGuideColor | |
-- PASTE INTO THE COMMAND BAR | |
local Themes = settings().Studio:GetAvailableThemes() | |
local StudioStyleGuideColors = Enum.StudioStyleGuideColor:GetEnumItems() | |
local StudioStyleGuideModifiers = Enum.StudioStyleGuideModifier:GetEnumItems() | |
local PART_LENGTH = 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Visualize all Roblox Studio style guide colors | |
-- List of colors: https://developer.roblox.com/en-us/api-reference/enum/StudioStyleGuideColor | |
-- PASTE INTO THE COMMAND BAR | |
local ChangeHistoryService = game:GetService("ChangeHistoryService") | |
local Themes = settings().Studio:GetAvailableThemes() | |
local StudioStyleGuideColors = Enum.StudioStyleGuideColor:GetEnumItems() | |
local StudioStyleGuideModifiers = Enum.StudioStyleGuideModifier:GetEnumItems() | |
local USE_BILLBOARDS = true -- false uses Humanoid names |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local CoreGui = game:GetService("CoreGui") | |
local MIN_THICKNESS = 0.001 | |
local MAX_THICKNESS = 0.04 | |
local MIN_DIST = 2 | |
local MAX_DIST = 10 | |
game:GetService("RunService").Heartbeat:Connect(function() | |
local hoverBox = CoreGui:FindFirstChild("HoverBox") | |
if hoverBox and hoverBox:IsA("SelectionBox") then | |
local adornee = hoverBox.Adornee |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Don't use this for anything critical; Roblox could change this functionality at any time. | |
-- Returns true if the client is running on macOS, otherwise false. | |
-- Note that it yields for a heartbeat. | |
local Players = game:GetService("Players") | |
local RunService = game:GetService("RunService") | |
local Player = Players.LocalPlayer | |
local PlayerGui = Player:WaitForChild("PlayerGui") |