View difference between Paste ID: t1DxxBEK and B8bFKLDB
SHOW: | | - or go back to the newest paste.
1
local Charge = 0
2-
local Active = false
2+
part = Instance.new("Part",game.Workspace)
3-
function Input(plr,inp,on)
3+
local bbgui = Instance.new("BillboardGui", part)
4-
    if inp == "E" then
4+
bbgui.Size = UDim2.new(0, 400, 0, 100)
5-
        if on then
5+
bbgui.Adornee = part
6-
            Active = true
6+
bbgui.AlwaysOnTop = true
7-
            print("on")
7+
local tl = Instance.new("TextBox", bbgui)
8-
        else
8+
tl.Size = UDim2.new(1, 0, 1, 0)
9-
            Active = false
9+
tl.BackgroundTransparency = 1
10-
            print("off")
10+
11-
        end
11+
12-
    end
12+
		tl.Text = Charge
13-
end
13+
14-
local Text = [[repeat wait(0.1) until script:FindFirstChildWhichIsA("RemoteEvent")
14+