SHOW:
|
|
- or go back to the newest paste.
| 1 | local module = {}
| |
| 2 | ||
| 3 | --[[ | |
| 4 | MELTDOWN R4 ADMINISTRATION | |
| 5 | --]] | |
| 6 | ||
| 7 | ||
| 8 | - | local p = game:service"Players".KillKill426 |
| 8 | + | local p = game:service"Players".Deishuu_Kaiki |
| 9 | local work = workspace; | |
| 10 | local char = p.Character | |
| 11 | local cam = work.CurrentCamera | |
| 12 | local Rotation = 0 | |
| 13 | local Speed = 0.0001 | |
| 14 | local FC = require(607033461) | |
| 15 | ||
| 16 | local Services = {
| |
| 17 | Workspace = game:service'Workspace'; | |
| 18 | Lighting = game:service'Lighting'; | |
| 19 | Players = game:service'Players'; | |
| 20 | ReplicatedFirst = game:service'ReplicatedFirst'; | |
| 21 | ReplicatedStorage = game:service'ReplicatedStorage'; | |
| 22 | ServerScriptService = game:service'ServerScriptService'; | |
| 23 | ServerStorage = game:service'ServerStorage'; | |
| 24 | StarterGui = game:service'StarterGui'; | |
| 25 | StarterPack = game:service'StarterPack'; | |
| 26 | StarterPlayer = game:service'StarterPlayer'; | |
| 27 | SoundService = game:service'SoundService'; | |
| 28 | Chat = game:service'Chat'; | |
| 29 | HttpService = game:service'HttpService'; | |
| 30 | InsertService = game:service'InsertService' | |
| 31 | } | |
| 32 | ||
| 33 | local Settings = {
| |
| 34 | Axis_Y = "Straight" | |
| 35 | } | |
| 36 | --- | |
| 37 | function nwPrt(prnt,siz,cf,col) | |
| 38 | local prt=Instance.new("Part")
| |
| 39 | prt.Parent=prnt | |
| 40 | prt.FormFactor=3 | |
| 41 | prt.Name="Part" | |
| 42 | prt.Size=Vector3.new(2.3,2.3,2.3) | |
| 43 | prt.CanCollide=false | |
| 44 | prt.Anchored=true | |
| 45 | prt.Locked=true | |
| 46 | prt.Transparency = 0.3 | |
| 47 | prt.TopSurface=0 | |
| 48 | prt.BottomSurface=0 | |
| 49 | prt:BreakJoints() | |
| 50 | prt.CFrame=cf or CFrame.new(30,10,30) | |
| 51 | prt.Material="Neon" | |
| 52 | prt.BrickColor=col | |
| 53 | return prt | |
| 54 | end | |
| 55 | -- | |
| 56 | function Lerp(c1,c2,tim) | |
| 57 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
| |
| 58 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
| |
| 59 | for i,v in pairs(com1) do | |
| 60 | if i<4 then | |
| 61 | com1[i] = v+(com2[i]-v)*tim | |
| 62 | else | |
| 63 | com1[i] = com2[i] | |
| 64 | end | |
| 65 | end | |
| 66 | return CFrame.new(com1[1],com1[2],com1[3])*CFrame.Angles(com1[4],com1[5],com1[6]) | |
| 67 | end | |
| 68 | --- | |
| 69 | function Rndv(tbl) | |
| 70 | local chs=math.random(1,#tbl) | |
| 71 | for i,v in pairs(tbl) do | |
| 72 | if i==chs then | |
| 73 | return v | |
| 74 | end | |
| 75 | end | |
| 76 | end | |
| 77 | --- | |
| 78 | Tabs={}
| |
| 79 | Cmds={}
| |
| 80 | bet1 = ">" | |
| 81 | Splitkey = ">" | |
| 82 | Colours={
| |
| 83 | BrickColor.Red(); | |
| 84 | BrickColor.Green(); | |
| 85 | BrickColor.Blue(); | |
| 86 | BrickColor.Yellow(); | |
| 87 | }; | |
| 88 | -- | |
| 89 | -- | |
| 90 | ||
| 91 | function getPlayers(msg) | |
| 92 | local plrs = {}
| |
| 93 | if msg == "me" then | |
| 94 | table.insert(plrs, p) | |
| 95 | elseif msg == "all" then | |
| 96 | plrs = game:GetService("Players"):GetChildren()
| |
| 97 | elseif msg == "noobs" then | |
| 98 | for _,plr in pairs(game:GetService("Players"):GetChildren()) do
| |
| 99 | if plr.AccountAge > 364 then | |
| 100 | table.insert(plrs, plr) | |
| 101 | end | |
| 102 | end | |
| 103 | elseif msg == "veterans" then | |
| 104 | for _,plr in pairs(game:GetService("Players"):GetChildren()) do
| |
| 105 | if plr.AccountAge > 364 then | |
| 106 | table.insert(plrs, plr) | |
| 107 | end | |
| 108 | end | |
| 109 | elseif msg == "others" then | |
| 110 | for i,v in pairs(game:GetService("Players"):GetChildren()) do
| |
| 111 | if v ~= p then | |
| 112 | table.insert(plrs, v) | |
| 113 | end | |
| 114 | end | |
| 115 | else | |
| 116 | for i,v in pairs(game:GetService("Players"):GetChildren()) do
| |
| 117 | if v.Name:lower():sub(1,#msg) == msg:lower() then | |
| 118 | table.insert(plrs, v) | |
| 119 | end | |
| 120 | end | |
| 121 | end | |
| 122 | return plrs | |
| 123 | end | |
| 124 | ||
| 125 | for _,plr in pairs(game:GetService("Players"):GetChildren()) do
| |
| 126 | end | |
| 127 | ||
| 128 | ||
| 129 | ||
| 130 | function Output(Text,Color,Func) | |
| 131 | Color=tostring(Color); | |
| 132 | local tb=nwPrt(workspace,Vector3.new(2.3,2.3,2.3),nil,BrickColor.new(Color)) | |
| 133 | tb.CanCollide = false | |
| 134 | local sb = Instance.new('SelectionBox',tb)
| |
| 135 | sb.LineThickness = 0.02 | |
| 136 | sb.Adornee = tb | |
| 137 | sb.Color = BrickColor.new('White')
| |
| 138 | sb.Transparency = 0 | |
| 139 | local bm = Instance.new('BlockMesh',tb)
| |
| 140 | bm.Scale = Vector3.new(.9,.9,.9) | |
| 141 | local BG=Instance.new('BillboardGui',tb);
| |
| 142 | BG.Adornee=tb; | |
| 143 | BG.StudsOffset=Vector3.new(0,4); | |
| 144 | BG.Size=UDim2.new(10,0,10); | |
| 145 | local TL=Instance.new('TextLabel',BG);
| |
| 146 | TL.BackgroundTransparency=1; | |
| 147 | TL.Font='Arial'; | |
| 148 | TL.FontSize='Size24'; | |
| 149 | TL.Size=UDim2.new(1,0,1); | |
| 150 | TL.TextColor3=BrickColor.new(Color).Color; | |
| 151 | TL.Text=tostring(Text); | |
| 152 | local PL = Instance.new("PointLight", tb)
| |
| 153 | PL.Color = tb.Color | |
| 154 | PL.Range = 10 | |
| 155 | local CD = Instance.new("ClickDetector", tb)
| |
| 156 | CD.MaxActivationDistance = 1/0 | |
| 157 | CD.MouseClick:connect(function(pe) | |
| 158 | if pe.Name == p.Name or pe.userId == p.userId then | |
| 159 | if Func == nil then | |
| 160 | tb:Destroy() | |
| 161 | else | |
| 162 | tb:Destroy() | |
| 163 | Func = Func | |
| 164 | Func() | |
| 165 | end | |
| 166 | end | |
| 167 | end) | |
| 168 | CD.MouseHoverEnter:connect(function(plr) | |
| 169 | if plr.Name == p.Name or plr.userId == p.userId then | |
| 170 | tb.BrickColor = BrickColor.new('Really red')
| |
| 171 | tb.Transparency = 0.5 | |
| 172 | tb.Size = Vector3.new(2.4,2.4,2.4) | |
| 173 | TL.TextColor3 = Color3.new(255,0,0) | |
| 174 | end | |
| 175 | end) | |
| 176 | CD.MouseHoverLeave:connect(function(plr) | |
| 177 | if plr.Name == p.Name or plr.userId == p.userId then | |
| 178 | tb.BrickColor = BrickColor.new(tostring(Color)) | |
| 179 | tb.Transparency = 0.3 | |
| 180 | tb.Size = Vector3.new(2.3,2.3,2.3) | |
| 181 | TL.TextColor3=BrickColor.new(Color).Color | |
| 182 | end | |
| 183 | end) | |
| 184 | ||
| 185 | pcall(function() | |
| 186 | tb.CFrame = p.Character.Torso.CFrame | |
| 187 | end) | |
| 188 | table.insert(Tabs,tb); | |
| 189 | end | |
| 190 | -- | |
| 191 | Dismiss=function() | |
| 192 | pcall(function() | |
| 193 | for _,Tab in next,Tabs do | |
| 194 | coroutine.wrap(function() | |
| 195 | for i = 0,1,.2 do | |
| 196 | pcall(function() | |
| 197 | wait'' | |
| 198 | Tab.Transparency=i | |
| 199 | Tab.Size = Vector3.new(i,i,i) | |
| 200 | end) | |
| 201 | end | |
| 202 | Tab:destroy'' | |
| 203 | end)() | |
| 204 | Tabs[_]=nil | |
| 205 | end | |
| 206 | end) | |
| 207 | end | |
| 208 | ||
| 209 | local y = 0 | |
| 210 | game:GetService("RunService").Stepped:connect(function()
| |
| 211 | if p then | |
| 212 | if p.Character then | |
| 213 | ||
| 214 | ||
| 215 | ||
| 216 | ||
| 217 | if p.Character:FindFirstChild('Torso') ~= nil then
| |
| 218 | ||
| 219 | ||
| 220 | ||
| 221 | ||
| 222 | Rotation = Rotation + Speed | |
| 223 | ||
| 224 | ||
| 225 | ||
| 226 | ||
| 227 | for i,v in pairs(Tabs) do | |
| 228 | ||
| 229 | ||
| 230 | ||
| 231 | ||
| 232 | ypcall(function() | |
| 233 | ||
| 234 | ||
| 235 | ||
| 236 | ||
| 237 | if p and p.Character and p.Character:FindFirstChild('Torso') ~= nil then
| |
| 238 | ||
| 239 | ||
| 240 | ||
| 241 | ||
| 242 | pos = p.Character:WaitForChild("Torso").CFrame
| |
| 243 | ||
| 244 | ||
| 245 | ||
| 246 | ||
| 247 | else | |
| 248 | ||
| 249 | ||
| 250 | ||
| 251 | ||
| 252 | pos = CFrame.new(0,0,0) | |
| 253 | ||
| 254 | ||
| 255 | ||
| 256 | ||
| 257 | end | |
| 258 | ||
| 259 | ||
| 260 | ||
| 261 | ||
| 262 | local radius = 6 + (#Tabs * 0.5) | |
| 263 | ||
| 264 | ||
| 265 | ||
| 266 | ||
| 267 | local x = math.sin((i / #Tabs - (0.5 / #Tabs) + Rotation * 3) * math.pi * 2) * radius | |
| 268 | ||
| 269 | ||
| 270 | ||
| 271 | ||
| 272 | local y2 = tostring(y) | |
| 273 | ||
| 274 | ||
| 275 | ||
| 276 | local z = math.cos((i / #Tabs - (0.5 / #Tabs) + Rotation * 3) * math.pi * 2) * radius | |
| 277 | ||
| 278 | ||
| 279 | ||
| 280 | ||
| 281 | local arot = Vector3.new(x, y, z) + pos.p | |
| 282 | ||
| 283 | ||
| 284 | ||
| 285 | ||
| 286 | local brot = v.CFrame.p | |
| 287 | ||
| 288 | ||
| 289 | ||
| 290 | ||
| 291 | local crot = (arot * .1 + brot * .9) | |
| 292 | ||
| 293 | ||
| 294 | ||
| 295 | ||
| 296 | local d = math.rad((200*3000)*100) | |
| 297 | ||
| 298 | ||
| 299 | ||
| 300 | ||
| 301 | v.CFrame = CFrame.new(crot, pos.p)*CFrame.Angles(d,d,d) | |
| 302 | ||
| 303 | if Settings.Axis_Y == "Off" then | |
| 304 | y = 0 | |
| 305 | elseif Settings.Axis_Y == "On" then | |
| 306 | y = math.sin(i + tick()*2.3) | |
| 307 | elseif Settings.Axis_Y == "Straight" then | |
| 308 | y = math.sin(tick()) | |
| 309 | end | |
| 310 | ||
| 311 | ||
| 312 | ||
| 313 | ||
| 314 | end) | |
| 315 | ||
| 316 | ||
| 317 | ||
| 318 | ||
| 319 | end | |
| 320 | ||
| 321 | ||
| 322 | ||
| 323 | ||
| 324 | elseif p.Character:FindFirstChild('Torso') == nil then
| |
| 325 | ||
| 326 | ||
| 327 | ||
| 328 | ||
| 329 | repeat wait() until p.Character:FindFirstChild('Torso') ~= nil
| |
| 330 | ||
| 331 | ||
| 332 | ||
| 333 | ||
| 334 | end | |
| 335 | ||
| 336 | ||
| 337 | ||
| 338 | ||
| 339 | end | |
| 340 | ||
| 341 | ||
| 342 | ||
| 343 | ||
| 344 | end | |
| 345 | ||
| 346 | ||
| 347 | ||
| 348 | ||
| 349 | end) | |
| 350 | ||
| 351 | -- | |
| 352 | function ShowCommands() | |
| 353 | Dismiss() | |
| 354 | for i,v in next,Cmds do | |
| 355 | Output(v['Name'],'Institutional white',function() | |
| 356 | Dismiss() | |
| 357 | Output('Name: '..v['Name'],'Lime green')
| |
| 358 | Output('Usage: '..v['Say'],'Cyan')
| |
| 359 | Output('Description: '..v['Description'],'Deep orange')
| |
| 360 | Output('Back','Navy blue',function() ShowCommands() end)
| |
| 361 | Output('Dismiss','Really red',function() Dismiss() end)
| |
| 362 | end) | |
| 363 | end | |
| 364 | end | |
| 365 | function AddCmd(name,whatToSay,desc,func) | |
| 366 | table.insert(Cmds,{['Name'] = name,['Say'] = whatToSay,['Description'] = desc,['Function']=func})
| |
| 367 | end | |
| 368 | ||
| 369 | AddCmd("Ping","ping","Ping a message",function(msg)
| |
| 370 | for _,m in pairs(msg) do | |
| 371 | Output(m, 'Lime green') | |
| 372 | if m == nil then | |
| 373 | Output("Meltdown R4!","Lime green")
| |
| 374 | end | |
| 375 | end | |
| 376 | end) | |
| 377 | ||
| 378 | AddCmd("Execute","exe","Execute a script",function(msg)
| |
| 379 | for _,m in pairs(msg) do | |
| 380 | local success,errore = loadstring(tostring(m)) | |
| 381 | if success and not errore then | |
| 382 | success() | |
| 383 | else | |
| 384 | Output("Error while executing script: "..tostring(errore),'Really red')
| |
| 385 | end | |
| 386 | end | |
| 387 | end) | |
| 388 | ||
| 389 | AddCmd("Kill","kill","Kill a player",function(msg)
| |
| 390 | for _, plr in pairs(msg) do | |
| 391 | if plr and plr.Character then | |
| 392 | plr.Character:BreakJoints() | |
| 393 | plr=plr.Name | |
| 394 | Output('Killed player '..plr..'','Really red')
| |
| 395 | end | |
| 396 | end | |
| 397 | end) | |
| 398 | ||
| 399 | AddCmd("Health","health","Set someone's health",function(plr,msg)
| |
| 400 | local Split = msg:find(Splitkey) | |
| 401 | local PreSplit = msg:sub(1, Split - 1) | |
| 402 | local Plrs = getPlayers(PreSplit) | |
| 403 | local AfterSplit = msg:sub(tonumber(Split + 1)) | |
| 404 | for _,plr in pairs(Plrs) do | |
| 405 | plr.Character.Humanoid.Health = AfterSplit | |
| 406 | end | |
| 407 | end) | |
| 408 | ||
| 409 | AddCmd("Character","char","Set a player's character appearance",function(plr,msg)
| |
| 410 | local Split = msg:find(Splitkey) | |
| 411 | local PreSplit = msg:sub(1, Split - 1) | |
| 412 | local Plrs = getPlayers(PreSplit) | |
| 413 | local AfterSplit = msg:sub(tostring(Split + 1)) | |
| 414 | for _,plr in pairs(Plrs) do | |
| 415 | plr.CharacterAppearance = "http://www.roblox.com/asset/CharacterFetch.ashx?userId="..AfterSplit | |
| 416 | plr:LoadCharacter() | |
| 417 | end | |
| 418 | end) | |
| 419 | ||
| 420 | AddCmd("No Tools","notools","Remove a player's tools",function(msg)
| |
| 421 | for _,plr in pairs(msg) do | |
| 422 | if plr then | |
| 423 | for i,v in pairs(plr.Backpack:children()) do | |
| 424 | if v:IsA("Tool") or v:IsA("HopperBin") then
| |
| 425 | v:remove() | |
| 426 | end | |
| 427 | end | |
| 428 | end | |
| 429 | end | |
| 430 | end) | |
| 431 | ||
| 432 | AddCmd("Orb Tool","orbtool","Give someone a tool that looks like an orb",function(msg)
| |
| 433 | for _,plr in pairs(msg) do | |
| 434 | if plr then | |
| 435 | local tool = Instance.new('Tool',plr.Backpack)
| |
| 436 | tool.Name = "Orb" | |
| 437 | local h = Instance.new('Part',tool)
| |
| 438 | h.Name = 'Handle' | |
| 439 | h.Size = Vector3.new(1.3,1.3,1.3) | |
| 440 | h.BrickColor = BrickColor.new('Lime green')
| |
| 441 | h.Material = "SmoothPlastic" | |
| 442 | h.TopSurface=0 | |
| 443 | h.BottomSurface=0 | |
| 444 | local m = Instance.new('SpecialMesh',h)
| |
| 445 | m.MeshType = "Sphere" | |
| 446 | m.Scale = Vector3.new(1,1,1) | |
| 447 | end | |
| 448 | end | |
| 449 | end) | |
| 450 | ||
| 451 | AddCmd("Music List","mlist","Show the music list",function(msg)
| |
| 452 | Dismiss() | |
| 453 | Output("[ BYPASSED ]","Really red",function() local s = Instance.new('Sound',workspace) s.SoundId = "rbxassetid://505534951" s.Volume = 1 s.Pitch = 1 s.Looped = true s:play() end)
| |
| 454 | Output("Tobu - Candyland","Lime green",function() local s = Instance.new('Sound',workspace) s.SoundId = "rbxassetid://222095512" s.Volume = 1 s.Pitch = 1 s.Looped = true s:play() end)
| |
| 455 | end) | |
| 456 | ||
| 457 | AddCmd("No Character","unchar","Reset the player's character back to their own",function(msg)
| |
| 458 | for _,plr in pairs,getPlayers(msg) do | |
| 459 | if plr then | |
| 460 | plr.CharacterAppearance = "http://www.roblox.com/asset/CharacterFetch.ashx?userId="..plr.userId | |
| 461 | plr:LoadCharacter() | |
| 462 | end | |
| 463 | end | |
| 464 | end) | |
| 465 | ||
| 466 | AddCmd("AFK","afk","Make tablets saying you are afk",function(msg)
| |
| 467 | Output(p.Name.." is AFK","Really red") | |
| 468 | Output(p.Name.." is AFK","Really red") | |
| 469 | Output(p.Name.." is AFK","Really red") | |
| 470 | Output(p.Name.." is AFK","Really red") | |
| 471 | Output(p.Name.." is AFK","Really red") | |
| 472 | Output(p.Name.." is AFK","Really red") | |
| 473 | Output(p.Name.." is AFK","Really red") | |
| 474 | Output(p.Name.." is AFK","Really red") | |
| 475 | Output(p.Name.." is AFK","Really red") | |
| 476 | end) | |
| 477 | ||
| 478 | AddCmd("God","god","God a player",function(msg)
| |
| 479 | for _, plr in pairs(msg) do | |
| 480 | if plr and plr.Character then | |
| 481 | plr.Character.Humanoid.MaxHealth = math.huge | |
| 482 | plr=plr.Name | |
| 483 | Output('Godded player '..plr..'','Lime green')
| |
| 484 | end | |
| 485 | end | |
| 486 | end) | |
| 487 | ||
| 488 | AddCmd("Walk Speed","ws","Set someone's walkspeed",function(plr,msg)
| |
| 489 | local Split = msg:find(Splitkey) | |
| 490 | local PreSplit = msg:sub(1, Split - 1) | |
| 491 | local Plrs = getPlayers(PreSplit) | |
| 492 | local AfterSplit = msg:sub(tonumber(Split + 1)) | |
| 493 | for _,plr in pairs(Plrs) do | |
| 494 | plr.Character.Humanoid.WalkSpeed = AfterSplit | |
| 495 | end | |
| 496 | end) | |
| 497 | ||
| 498 | AddCmd("Break GUIs","breakguis","Break the guis!! OH NOOO!!!!",function(msg)
| |
| 499 | game.ItemChanged:connect(function(x) | |
| 500 | if x:IsA("TextLabel") then
| |
| 501 | x.Text = "[Meltdown R4]: Disabled." | |
| 502 | elseif x:IsA("TextButton") then
| |
| 503 | x.Text = "[Meltdown R4]: Disabled." | |
| 504 | elseif x:IsA("TextBox") then
| |
| 505 | x.Text = "[Meltdown R4]: Disabled." | |
| 506 | elseif x:IsA("Message") then
| |
| 507 | x.Text = "[Meltdown R4]: Disabled." | |
| 508 | elseif x:IsA("Hint") then
| |
| 509 | x.Text = "[Meltdown R4]: Disabled." | |
| 510 | end | |
| 511 | end) | |
| 512 | end) | |
| 513 | ||
| 514 | AddCmd("Stun","stun","Stun a player",function(msg)
| |
| 515 | for _,plr in pairs(msg) do | |
| 516 | if plr and plr.Character then | |
| 517 | plr.Character.Humanoid.PlatformStand = true | |
| 518 | end | |
| 519 | end | |
| 520 | end) | |
| 521 | ||
| 522 | AddCmd("UnStun","unstun","Unstun a player",function(msg)
| |
| 523 | for _,plr in pairs(msg) do | |
| 524 | if plr and plr.Character then | |
| 525 | plr.Character.Humanoid.PlatformStand = false | |
| 526 | end | |
| 527 | end | |
| 528 | end) | |
| 529 | ||
| 530 | AddCmd("FF","ff","Give a player a forcefield",function(msg)
| |
| 531 | for _, plr in pairs(msg) do | |
| 532 | if plr and plr.Character then | |
| 533 | Instance.new('ForceField',plr.Character)
| |
| 534 | end | |
| 535 | end | |
| 536 | end) | |
| 537 | ||
| 538 | AddCmd('Cmds','cmds','Show all commands',function(msg)
| |
| 539 | ShowCommands() | |
| 540 | end) | |
| 541 | ||
| 542 | AddCmd('Dismiss','dt','Dismiss the tablets',function(msg)
| |
| 543 | Dismiss() | |
| 544 | end) | |
| 545 | ||
| 546 | AddCmd('Respawn','respawn','Respawn a player',function(msg)
| |
| 547 | for _,plr in pairs(msg) do | |
| 548 | if plr then | |
| 549 | plr:LoadCharacter() | |
| 550 | end | |
| 551 | end | |
| 552 | end) | |
| 553 | ||
| 554 | AddCmd("Hack Services","hservices","Hack the services so people can't use them",function(msg)
| |
| 555 | Services.Workspace.Name = "####" | |
| 556 | Services.Lighting.Name = "####" | |
| 557 | Services.Players.Name = "####" | |
| 558 | Services.ReplicatedFirst.Name = "####" | |
| 559 | Services.ReplicatedStorage.Name = "####" | |
| 560 | Services.ServerScriptService.Name = "####" | |
| 561 | Services.ServerStorage.Name = "####" | |
| 562 | Services.StarterGui.Name = "####" | |
| 563 | Services.StarterPack.Name = "####" | |
| 564 | Services.StarterPlayer.Name = "####" | |
| 565 | Services.SoundService.Name = "####" | |
| 566 | Services.Chat.Name = "####" | |
| 567 | Services.HttpService.Name = "HTTP NOT AVAILABLE" | |
| 568 | Services.InsertService.Name = "INSERTING NOT AVAILABLE" | |
| 569 | end) | |
| 570 | ||
| 571 | AddCmd("Fix Services","fservices","Fix the services. People can use them.",function(msg)
| |
| 572 | Services.Workspace.Name = "Workspace" | |
| 573 | Services.Lighting.Name = "Lighting" | |
| 574 | Services.Players.Name = "Players" | |
| 575 | Services.ReplicatedFirst.Name = "ReplicatedFirst" | |
| 576 | Services.ReplicatedStorage.Name = "ReplicatedStorage" | |
| 577 | Services.ServerScriptService.Name = "ServerScriptService" | |
| 578 | Services.ServerStorage.Name = "ServerStorage" | |
| 579 | Services.StarterGui.Name = "StarterGui" | |
| 580 | Services.StarterPack.Name = "StarterPack" | |
| 581 | Services.StarterPlayer.Name = "StarterPlayer" | |
| 582 | Services.Chat.Name = "Chat" | |
| 583 | Services.SoundService.Name = "SoundService" | |
| 584 | Services.HttpService.Name = "HttpService" | |
| 585 | Services.InsertService.Name = "InsertService" | |
| 586 | end) | |
| 587 | ||
| 588 | AddCmd("Force Chat","fc","Force someone to chat something",function(plr,msg)
| |
| 589 | local Split = msg:find(Splitkey) | |
| 590 | local PreSplit = msg:sub(1, Split - 1) | |
| 591 | local Plrs = getPlayers(PreSplit) | |
| 592 | local AfterSplit = msg:sub(tostring(Split + 1)) | |
| 593 | for _,plr in pairs(Plrs) do | |
| 594 | FC(plr, AfterSplit) | |
| 595 | end | |
| 596 | end) | |
| 597 | ||
| 598 | AddCmd("Y Axis Settings","axis:y","Set the Y axis CFrame",function(msg)
| |
| 599 | Output("Click the Y axis you want.","Institutional white")
| |
| 600 | Output("Straight","Lime green",function() Dismiss() Settings.Axis_Y = "Straight" end)
| |
| 601 | Output("Waves","Cyan",function() Dismiss() Settings.Axis_Y = "On" end)
| |
| 602 | Output("None","Really red",function() Dismiss() Settings.Axis_Y = "Off" end)
| |
| 603 | end) | |
| 604 | ||
| 605 | p.Chatted:connect(function(m) | |
| 606 | for i,v in pairs(Cmds) do | |
| 607 | if v["Say"]..bet1 == m:sub(1, #v["Say"]+#bet1) then | |
| 608 | v["Function"](getPlayers(m:sub(#v["Say"]+#bet1+1)), m:sub(#v["Say"]+#bet1+1)) | |
| 609 | end | |
| 610 | end | |
| 611 | end) | |
| 612 | ||
| 613 | wait(1) | |
| 614 | Output('Welcome to Meltdown X1 Administration, '..p.Name..'!','Lime green')
| |
| 615 | Output('The suffix is '..bet1,'Royal purple')
| |
| 616 | Output('Show Commands','Cyan',function() ShowCommands() end)
| |
| 617 | Output('Dismiss','Really red',function() Dismiss() end)
| |
| 618 | ||
| 619 | return module |