-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathInstaller.lua
More file actions
24 lines (19 loc) · 755 Bytes
/
Copy pathInstaller.lua
File metadata and controls
24 lines (19 loc) · 755 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
-- Run in Roblox Studio Console
local HttpService = game:GetService("HttpService");
local ReplicatedStorage = game:GetService("ReplicatedStorage");
local LastValue = HttpService.HttpEnabled
HttpService.HttpEnabled = true
local Request = HttpService:RequestAsync({
Url = "https://raw.githubusercontent.com/Perthys/chalk/main/src/init.luau";
Method = "GET";
});
HttpService.HttpEnabled = LastValue
if Request.Success and Request.StatusCode == 200 then
local ChalkModule = Instance.new("ModuleScript");
ChalkModule.Name = "Chalk";
ChalkModule.Parent = ReplicatedStorage;
ChalkModule.Source = Request.Body
print("Successfully installed Chalk module. At:", ChalkModule);
else
error("Failed to install Chalk module.");
end