-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMain.txt
More file actions
137 lines (127 loc) · 4.98 KB
/
Main.txt
File metadata and controls
137 lines (127 loc) · 4.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
print("[Client Commands]: © 2025 SkunkPlatform Team. All Rights Reserved.")
print("[Client Commands]: Commands will display with '.help'.")
local function freezeCharacter()
local character = game.Players.LocalPlayer.Character
local humanoidRootPart = character and character:FindFirstChild("HumanoidRootPart")
if humanoidRootPart then
humanoidRootPart.Anchored = true
game:GetService("StarterGui"):SetCore("SendNotification", {
Title = "Command Executed",
Text = "Your character is now frozen.",
Duration = 5,
})
else
game:GetService("StarterGui"):SetCore("SendNotification", {
Title = "Error",
Text = "HumanoidRootPart not found.",
Duration = 5,
})
end
end
local function unfreezeCharacter()
local character = game.Players.LocalPlayer.Character
local humanoidRootPart = character and character:FindFirstChild("HumanoidRootPart")
if humanoidRootPart then
humanoidRootPart.Anchored = false
game:GetService("StarterGui"):SetCore("SendNotification", {
Title = "Command Executed",
Text = "Your character is now unfrozen.",
Duration = 5,
})
else
game:GetService("StarterGui"):SetCore("SendNotification", {
Title = "Error",
Text = "HumanoidRootPart not found.",
Duration = 5,
})
end
end
local function executeFlyCommand()
print("Fly loading...")
game:GetService("StarterGui"):SetCore("SendNotification", {
Title = "Executing loadstring...",
Text = "This Command may take a bit few. (0.91 to 3.11 seconds)",
Duration = 5,
})
loadstring(game:HttpGet("https://raw.githubusercontent.com/XNEOFF/FlyGuiV3/main/FlyGuiV3.txt"))()
end
local function xray()
print("SkunkPlatform's Highlight Players loading...")
game:GetService("StarterGui"):SetCore("SendNotification", {
Title = "Executing loadstring...",
Text = "This Command is loading the skunkplatform's highlight players... (0.91 to 1.50 seconds)",
Duration = 5,
})
loadstring(game:HttpGet("https://skunkplatform.netlify.app/api/roblox/HighlightPlayers.txt"))()
end
local function sendHelpMessage()
-- Send a notification with help commands
game:GetService("StarterGui"):SetCore("SendNotification", {
Title = "Available Commands",
Text = ".fly - Enable flying\n.runner-enable - Enable running fast\n.runner-disable - Disable running fast\n.highjump-enable - Enable high jumps\n.highjump-disable - Disable high jumps\n.disconnect - Disconnect the player",
Duration = 10,
})
end
print("Chatted is adding to onChat callback.")
-- Bind the function to a command or key
game.Players.LocalPlayer.Chatted:connect(function(message)
print("Client Chat Sent: " .. message)
local character = game.Players.LocalPlayer.Character
local humanoid = character and character:FindFirstChild("Humanoid")
if message == ".fly" then
executeFlyCommand()
elseif message == ".runner-enable" then
game:GetService("StarterGui"):SetCore("SendNotification", {
Title = "Command Executed",
Text = "You've applied to the 50.",
Duration = 5,
})
if humanoid then
humanoid.WalkSpeed = 50
end
elseif message == ".runner-disable" then
game:GetService("StarterGui"):SetCore("SendNotification", {
Title = "Command Executed",
Text = "You've applied to the Default.",
Duration = 5,
})
if humanoid then
humanoid.WalkSpeed = 16
end
elseif message == ".highjump-enable" then
game:GetService("StarterGui"):SetCore("SendNotification", {
Title = "Command Executed",
Text = "You've applied to the 125.",
Duration = 5,
})
if humanoid then
humanoid.JumpPower = 125
end
elseif message == ".highjump-disable" then
game:GetService("StarterGui"):SetCore("SendNotification", {
Title = "Command Executed",
Text = "You've applied to the Default.",
Duration = 5,
})
if humanoid then
humanoid.JumpPower = 50
end
elseif message == ".disconnect" then
game.Players.LocalPlayer:Kick("You've Disconnected due to chatting with '.disconnect'")
elseif message == ".xray" then
xray() -- Callback SkunkPlatform's HighlightPlayers
elseif message == ".help" then
sendHelpMessage() -- Display help message when .help is typed
elseif message == ".freeze" then
freezeCharacter()
elseif message == ".unfreeze" then
unfreezeCharacter()
end
end)
print("Chatted has been added to onChat callback.")
-- Display notification on script start (client side)
game:GetService("StarterGui"):SetCore("SendNotification", {
Title = "Client Commands",
Text = "Type '.help' to show more commands.",
Duration = 5,
})