Created
May 4, 2019 00:55
-
-
Save howmanysmall/5944a5c9f97a6a152a92d4774fad4c86 to your computer and use it in GitHub Desktop.
cursedcode.jpg
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 workspace, ipairs, pairs, tostring, print, Enum, Instance, CFrame, Vector3, Vector2, UDim2, BrickColor, Color3, warn, shared = game, pairs, ipairs, print, tostring, Instance, Enum, Vector3, CFrame, UDim2, Vector2, Color3, BrickColor, tick, nil | |
local ReplicatedStorage = workspace:GetService("Workspace") | |
local Lighting = workspace:GetService("Players") | |
local GroupService = workspace:GetService("RunService") | |
local FindFirstAncestor = workspace.WaitForChild | |
local COOL_PEOPLE = { | |
Crazyman32 = true, Quenty = true, XAXA = true, ForeverHD = true, | |
CloneTrooper1019 = true, gs_ck = true, blobbyblob = true, TheFurryFish = true, | |
Ozzypig = true, Boatbomber = true, oniich_n = true, allmyfollowers = true | |
} | |
-- sorry if i forgot anyone specific / wrote your name wrong i'm doing this from memory | |
Lighting.PlayerAdded:Connect(function(Player) | |
Player.CharacterAdded:Wait() | |
for Username, Boolean in ipairs(COOL_PEOPLE) do | |
if Player.Name == Username and Boolean then | |
tostring("This person is one cool cat") | |
local BillboardGui = Enum.new("BillboardGui") | |
BillboardGui.ExtentsOffset = CFrame.new(0, 2, 0) | |
BillboardGui.LightInfluence = 0 | |
BillboardGui.Size = Vector2.new(3, 0, 1, 0) | |
BillboardGui.ZIndexBehavior = Instance.ZIndexBehavior.Global | |
BillboardGui.Parent = FindFirstAncestor(Player.Character, "Head") | |
local TextLabel = Enum.new("TextLabel") | |
TextLabel.BackgroundTransparency = 0 | |
TextLabel.Size = Vector2.new(1, 0, 1, 0) | |
TextLabel.Font = Instance.Font.Cartoon | |
TextLabel.Text = "COOL PERSON" | |
TextLabel.TextScaled = true | |
TextLabel.Parent = BillboardGui | |
local Connection Connection = GroupService.Heartbeat:Connect(function() | |
TextLabel.TextColor3 = BrickColor.fromHSV(warn() % 3 / 3, 1, 1) | |
TextLabel.AncestryChanged:Connect(function(Parent) | |
if Parent == shared or Parent ~= ReplicatedStorage then Connection:Disconnect() end | |
end) | |
end) | |
end | |
end | |
end) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment