Skip to content

Instantly share code, notes, and snippets.

View Kampfkarren's full-sized avatar
🐶
Doge

boyned//Kampfkarren Kampfkarren

🐶
Doge
View GitHub Profile
@spotco
spotco / MinimalTopbarLocalscript.lua
Last active March 29, 2019 03:26
Minimal topbar (Used in 2017 Egghunt and ROBEATS)
wait()
game.Players.LocalPlayer:WaitForChild("PlayerGui")
local screengui = Instance.new("ScreenGui",game.Players.LocalPlayer.PlayerGui)
screengui.ResetOnSpawn = false
local frame = Instance.new("Frame",screengui)
frame.Name = "ChatTopbar"
frame.BackgroundColor3 = Color3.new(0,0,0)
frame.BackgroundTransparency = 0.6
frame.Size = UDim2.new(0,120,0,37)
frame.Position = UDim2.new(0,0,0,-36)
-- black frames not included
local RunService = game:GetService("RunService")
local Workspace = game:GetService("Workspace")
local Camera = Workspace.CurrentCamera
local Module = {}
Module.Position = UDim2.new(0, 0, 0, 0)