SHOW:
|
|
- or go back to the newest paste.
| 1 | --[[ Script made by, Dat Boi (WITH LOTS OF HELP) | |
| 2 | ||
| 3 | All you have to change in this script is your name, everything | |
| 4 | else is done for you. | |
| 5 | ||
| 6 | Main Scripter: Dat Boi | |
| 7 | Helpers: Klux, [Azul] Script, ded_leo, Dion | |
| 8 | ||
| 9 | --]] | |
| 10 | ||
| 11 | -------#:[ Studio Debugging ]:#------- | |
| 12 | ||
| 13 | wait(0.1) | |
| 14 | ||
| 15 | -------#:[ User Config ]:#------- | |
| 16 | ||
| 17 | user = "adranvang40" | |
| 18 | ||
| 19 | -------#:[ Script Debugging ]:#------- | |
| 20 | ||
| 21 | local version = "2.0" | |
| 22 | print("Loading Syndicate's Orb Version: "..version)
| |
| 23 | ||
| 24 | -------#:[ Advanced COnfig (Mainly Variables) ]:#------- | |
| 25 | ||
| 26 | userWS = game.Workspace[user] | |
| 27 | userPL = game.Players[user] | |
| 28 | userHM = game.Workspace[user].Humanoid | |
| 29 | local commandsRan = 0 | |
| 30 | local count = 0 | |
| 31 | local countTl = 0 | |
| 32 | local gear = 0 | |
| 33 | local loop = false | |
| 34 | player = userPL | |
| 35 | statn = "nil" | |
| 36 | value = 0 | |
| 37 | player.Chatted:connect(function(message) onChattedkill(message, player) end) | |
| 38 | player.Chatted:connect(function(message) onChattedkick(message, player) end) | |
| 39 | player.Chatted:connect(function(message) onChattedinvis(message, player) end) | |
| 40 | player.Chatted:connect(function(message) onChattedvis(message, player) end) | |
| 41 | player.Chatted:connect(function(message) onChattedID(message, player) end) | |
| 42 | player.Chatted:connect(function(message) onChattedgear(message, player) end) | |
| 43 | player.Chatted:connect(function(message) onChattedmsg(message, player) end) | |
| 44 | player.Chatted:connect(function(message) onChattedmusic(message, player) end) | |
| 45 | player.Chatted:connect(function(message) onChattedstat(message, player) end) | |
| 46 | player.Chatted:connect(function(message) onChattedvalue(message, player) end) | |
| 47 | player.Chatted:connect(function(message) onChattedgive(message, player) end) | |
| 48 | player.Chatted:connect(function(message) onChattedage(message, player) end) | |
| 49 | player.Chatted:connect(function(message) onChattedthomas(message, player) end) | |
| 50 | player.Chatted:connect(function(message) onChattedmusicl(message, player) end) | |
| 51 | player.Chatted:connect(function(message) onChattedekick(message, player) end) | |
| 52 | -------#:[ Grab nicknames (Thanks to ded_leo) ]:#------- | |
| 53 | ||
| 54 | function getPlayers(str) | |
| 55 | local temp = {}
| |
| 56 | for i,v in next,game:GetService("Players"):children() do
| |
| 57 | if string.sub(v.Name,1,str:len()):lower() == str:lower() then | |
| 58 | table.insert(temp,v) | |
| 59 | end | |
| 60 | end | |
| 61 | return temp | |
| 62 | end | |
| 63 | ||
| 64 | -------#:[ Commands Looper ]:#------- | |
| 65 | ||
| 66 | function countLoop() | |
| 67 | coroutine.resume(coroutine.create(function() | |
| 68 | while loop == true do | |
| 69 | wait(1) | |
| 70 | print("Running")
| |
| 71 | count = count + 1 | |
| 72 | countTl = count.. " Seconds Ago." | |
| 73 | end | |
| 74 | end)) | |
| 75 | end | |
| 76 | ||
| 77 | -------#:[ Commands Section ]:#------- | |
| 78 | ||
| 79 | local isAdmin = {[user] = true}
| |
| 80 | ||
| 81 | function onChattedekick(message, player) | |
| 82 | if message:sub(1, 6) == "ekick/" and isAdmin[player.Name] then | |
| 83 | local victim = message:sub(7); | |
| 84 | for i,victimn in next,getPlayers(victim) do | |
| 85 | --The command | |
| 86 | --Enabling the countdown & Text Loop | |
| 87 | loop = true | |
| 88 | countLoop() | |
| 89 | crash = true | |
| 90 | commandsRan = commandsRan + 1 | |
| 91 | --Colouring the orb | |
| 92 | SyndiMod.BrickColor = BrickColor.new("Bright red")
| |
| 93 | SyndiMod.PointLight.Color = SyndiMod.BrickColor.Color | |
| 94 | --The Text loop | |
| 95 | while crash == true do | |
| 96 | wait() | |
| 97 | SyndiMod.BillboardGui.TextLabel.Text = "Forcefully crashed: "..victimn.Name.." "..countTl.." for hacking" | |
| 98 | Instance.new("HopperBin",workspace.victimn).Name = "ANTI-HAX"
| |
| 99 | end | |
| 100 | end | |
| 101 | end | |
| 102 | end | |
| 103 | ||
| 104 | ||
| 105 | ||
| 106 | function onChattedkill(message, player) | |
| 107 | if message:sub(1, 5) == "kill/" and isAdmin[player.Name] then | |
| 108 | local victim = message:sub(6); | |
| 109 | for i,victimn in next,getPlayers(victim) do | |
| 110 | --The command | |
| 111 | print("Killed "..victimn.Name)
| |
| 112 | victimn.Character:BreakJoints() | |
| 113 | --Enabling the countdown & Text Loop | |
| 114 | loop = true | |
| 115 | countLoop() | |
| 116 | killLoop = true | |
| 117 | commandsRan = commandsRan + 1 | |
| 118 | --Colouring the orb | |
| 119 | SyndiMod.BrickColor = BrickColor.new("Bright red")
| |
| 120 | SyndiMod.PointLight.Color = SyndiMod.BrickColor.Color | |
| 121 | --The Text loop | |
| 122 | while killLoop == true do | |
| 123 | wait() | |
| 124 | SyndiMod.BillboardGui.TextLabel.Text = "Killed: "..victimn.Name.." "..countTl | |
| 125 | end | |
| 126 | end | |
| 127 | end | |
| 128 | end | |
| 129 | ||
| 130 | function onChattedgear(message, player) | |
| 131 | if message:sub(1, 5) == "gear/" and isAdmin[player.Name] then | |
| 132 | local victim = message:sub(6); | |
| 133 | for i,victimn in next,getPlayers(victim) do | |
| 134 | --The command | |
| 135 | print("Geared "..victimn.Name.." "..ID)
| |
| 136 | GearCode = ID | |
| 137 | InsertService = game:GetService("InsertService")
| |
| 138 | GEAR = InsertService:LoadAsset(GearCode) | |
| 139 | GE = GEAR:GetChildren()[1] | |
| 140 | GE.Parent = victimn.Backpack | |
| 141 | GEAR:Destroy() | |
| 142 | --Enabling the countdown & Text Loop | |
| 143 | commandsRan = commandsRan + 1 | |
| 144 | --Colouring the orb | |
| 145 | SyndiMod.BrickColor = BrickColor.new("Lime green")
| |
| 146 | SyndiMod.PointLight.Color = SyndiMod.BrickColor.Color | |
| 147 | --The Text loop | |
| 148 | SyndiMod.BillboardGui.TextLabel.Text = "You Gave: "..victimn.Name.." Gear of ID: "..ID | |
| 149 | ||
| 150 | end | |
| 151 | end | |
| 152 | end | |
| 153 | ||
| 154 | function onChattedID(message, player) | |
| 155 | if message:sub(1, 3) == "id/" and isAdmin[player.Name] then | |
| 156 | local IDN = message:sub(4); | |
| 157 | --The command | |
| 158 | print("ID "..IDN)
| |
| 159 | ID = IDN | |
| 160 | --Enabling the countdown & Text Loop | |
| 161 | commandsRan = commandsRan + 1 | |
| 162 | --Colouring the orb | |
| 163 | SyndiMod.BrickColor = BrickColor.new("New Yeller")
| |
| 164 | SyndiMod.PointLight.Color = SyndiMod.BrickColor.Color | |
| 165 | --The Text loop | |
| 166 | SyndiMod.BillboardGui.TextLabel.Text = "ID for gear set to: "..IDN | |
| 167 | print(ID) | |
| 168 | end | |
| 169 | end | |
| 170 | ||
| 171 | function onChattedmusic(message, player) | |
| 172 | if message:sub(1, 6) == "music/" and isAdmin[player.Name] then | |
| 173 | local song = message:sub(7); | |
| 174 | --The command | |
| 175 | print("Music "..song)
| |
| 176 | local a = Instance.new("Sound")
| |
| 177 | a.Name = "Sound" | |
| 178 | a.SoundId = "http://www.roblox.com/asset/?id="..song | |
| 179 | a.Volume = 1 | |
| 180 | a.Pitch = 1 | |
| 181 | a.Looped = true | |
| 182 | a.archivable = false | |
| 183 | a.Parent = SyndiMod | |
| 184 | a:play() | |
| 185 | --Enabling the countdown & Text Loop | |
| 186 | loop = true | |
| 187 | countLoop() | |
| 188 | songLoop = true | |
| 189 | commandsRan = commandsRan + 1 | |
| 190 | --Colouring the orb | |
| 191 | SyndiMod.BrickColor = BrickColor.new("Lime green")
| |
| 192 | SyndiMod.PointLight.Color = SyndiMod.BrickColor.Color | |
| 193 | --The Text loop | |
| 194 | while songLoop == true do | |
| 195 | wait() | |
| 196 | SyndiMod.BillboardGui.TextLabel.Text = "You have played song ID: "..song.." since "..countTl | |
| 197 | end | |
| 198 | end | |
| 199 | end | |
| 200 | ||
| 201 | function onChattedmusicl(message, player) | |
| 202 | if message:sub(1, 7) == "musicl/" and isAdmin[player.Name] then | |
| 203 | local song = message:sub(8); | |
| 204 | --The command | |
| 205 | print("Music "..song)
| |
| 206 | local a = Instance.new("Sound")
| |
| 207 | a.Name = "Soundl" | |
| 208 | a.SoundId = "http://www.roblox.com/asset/?id="..song | |
| 209 | a.Volume = 1 | |
| 210 | a.Pitch = 1 | |
| 211 | a.Looped = true | |
| 212 | a.archivable = false | |
| 213 | a.Parent = game.Workspace | |
| 214 | a:play() | |
| 215 | --Enabling the countdown & Text Loop | |
| 216 | loop = true | |
| 217 | countLoop() | |
| 218 | songLoopl = true | |
| 219 | commandsRan = commandsRan + 1 | |
| 220 | --Colouring the orb | |
| 221 | SyndiMod.BrickColor = BrickColor.new("Lime green")
| |
| 222 | SyndiMod.PointLight.Color = SyndiMod.BrickColor.Color | |
| 223 | --The Text loop | |
| 224 | while songLoopl == true do | |
| 225 | wait() | |
| 226 | SyndiMod.BillboardGui.TextLabel.Text = "You have played song ID: "..song.." since "..countTl | |
| 227 | end | |
| 228 | end | |
| 229 | end | |
| 230 | ||
| 231 | function onChattedkick(message, player) | |
| 232 | if message:sub(1, 5) == "kick/" and isAdmin[player.Name] then | |
| 233 | local victim = message:sub(6); | |
| 234 | for i,victimn in next,getPlayers(victim) do | |
| 235 | --The command | |
| 236 | print("Kicked "..victimn.Name)
| |
| 237 | victimn:remove() | |
| 238 | --Enabling the countdown & Text Loop | |
| 239 | loop = true | |
| 240 | countLoop() | |
| 241 | killLoop = true | |
| 242 | commandsRan = commandsRan + 1 | |
| 243 | --Colouring the orb | |
| 244 | SyndiMod.BrickColor = BrickColor.new("Bright red")
| |
| 245 | SyndiMod.PointLight.Color = SyndiMod.BrickColor.Color | |
| 246 | --The Text loop | |
| 247 | while killLoop == true do | |
| 248 | wait() | |
| 249 | SyndiMod.BillboardGui.TextLabel.Text = "Kicked: "..victimn.Name.." "..countTl | |
| 250 | end | |
| 251 | end | |
| 252 | end | |
| 253 | end | |
| 254 | ||
| 255 | function onChattedage(message, player) | |
| 256 | if message:sub(1, 4) == "age/" and isAdmin[player.Name] then | |
| 257 | local victim = message:sub(5); | |
| 258 | for i,victimn in next,getPlayers(victim) do | |
| 259 | --The command | |
| 260 | print("Aged"..victimn.Name)
| |
| 261 | local age = victimn.AccountAge | |
| 262 | --Enabling the countdown & Text Loop | |
| 263 | commandsRan = commandsRan + 1 | |
| 264 | --Colouring the orb | |
| 265 | SyndiMod.BrickColor = BrickColor.new("New Yeller")
| |
| 266 | SyndiMod.PointLight.Color = SyndiMod.BrickColor.Color | |
| 267 | --The Text loop | |
| 268 | SyndiMod.BillboardGui.TextLabel.Text = victimn.Name.."'s account is "..age.." Day's old" | |
| 269 | end | |
| 270 | end | |
| 271 | end | |
| 272 | ||
| 273 | function onChattedmsg(message, player) | |
| 274 | if message:sub(1, 4) == "msg/" and isAdmin[player.Name] then | |
| 275 | local msg = message:sub(5); | |
| 276 | --The command | |
| 277 | print("msg "..msg)
| |
| 278 | SyndiMod.BillboardGui.TextLabel.Text = msg | |
| 279 | --Enabling the countdown & Text Loop | |
| 280 | commandsRan = commandsRan + 1 | |
| 281 | --Colouring the orb | |
| 282 | SyndiMod.BrickColor = BrickColor.new("Lime green")
| |
| 283 | SyndiMod.PointLight.Color = SyndiMod.BrickColor.Color | |
| 284 | ||
| 285 | end | |
| 286 | end | |
| 287 | ||
| 288 | function onChattedstat(message, player) | |
| 289 | if message:sub(1, 5) == "stat/" and isAdmin[player.Name] then | |
| 290 | local stat = message:sub(6); | |
| 291 | --The command | |
| 292 | print("stat "..stat)
| |
| 293 | statn = stat | |
| 294 | --Enabling the countdown & Text Loop | |
| 295 | commandsRan = commandsRan + 1 | |
| 296 | --Colouring the orb | |
| 297 | SyndiMod.BrickColor = BrickColor.new("Lime green")
| |
| 298 | SyndiMod.PointLight.Color = SyndiMod.BrickColor.Color | |
| 299 | SyndiMod.BillboardGui.TextLabel.Text = "Step 1 Complete | You have set the name of the stat to: "..stat.." | Now type value/Number" | |
| 300 | ||
| 301 | end | |
| 302 | end | |
| 303 | ||
| 304 | function onChattedvalue(message, player) | |
| 305 | if message:sub(1, 6) == "value/" and isAdmin[player.Name] then | |
| 306 | local val = message:sub(7); | |
| 307 | --The command | |
| 308 | print("value "..val)
| |
| 309 | value = val | |
| 310 | --Enabling the countdown & Text Loop | |
| 311 | commandsRan = commandsRan + 1 | |
| 312 | --Colouring the orb | |
| 313 | SyndiMod.BrickColor = BrickColor.new("Lime green")
| |
| 314 | SyndiMod.PointLight.Color = SyndiMod.BrickColor.Color | |
| 315 | SyndiMod.BillboardGui.TextLabel.Text = "Step 2 Complete | You have set the value of "..statn.." to "..val.." | Now type statgive/username to complete " | |
| 316 | ||
| 317 | end | |
| 318 | end | |
| 319 | ||
| 320 | function onChattedgive(message, player) | |
| 321 | if message:sub(1, 9) == "statgive/" and isAdmin[player.Name] then | |
| 322 | local victim = message:sub(10); | |
| 323 | for i,victimn in next,getPlayers(victim) do | |
| 324 | --The command | |
| 325 | print("gavestat "..statn..value..victimn.Name)
| |
| 326 | victimn.leaderstats[statn].Value = value | |
| 327 | --Enabling the countdown & Text Loop | |
| 328 | commandsRan = commandsRan + 1 | |
| 329 | --Colouring the orb | |
| 330 | SyndiMod.BrickColor = BrickColor.new("Lime green")
| |
| 331 | SyndiMod.PointLight.Color = SyndiMod.BrickColor.Color | |
| 332 | SyndiMod.BillboardGui.TextLabel.Text = "Step 3 Complete | You gave: "..victimn.Name.." "..value.." Towards: "..statn | |
| 333 | ||
| 334 | end | |
| 335 | end | |
| 336 | end | |
| 337 | ||
| 338 | ||
| 339 | function onChattedinvis(message, player) | |
| 340 | if message:sub(1, 6) == "invis/" and isAdmin[player.Name] then | |
| 341 | local victim = message:sub(7); | |
| 342 | for i,victimn in next,getPlayers(victim) do | |
| 343 | --The command | |
| 344 | print("Invisible "..victimn.Name)
| |
| 345 | vic = victimn.Character | |
| 346 | vic.Head.Transparency = 1 | |
| 347 | vic["Right Arm"].Transparency = 1 | |
| 348 | vic["Left Arm"].Transparency = 1 | |
| 349 | vic.Torso.Transparency = 1 | |
| 350 | vic["Right Leg"].Transparency = 1 | |
| 351 | vic["Left Leg"].Transparency = 1 | |
| 352 | --Enabling the countdown & Text Loop | |
| 353 | commandsRan = commandsRan + 1 | |
| 354 | --Colouring the orb | |
| 355 | SyndiMod.BrickColor = BrickColor.new("Lime green")
| |
| 356 | SyndiMod.PointLight.Color = SyndiMod.BrickColor.Color | |
| 357 | --The Text loop | |
| 358 | SyndiMod.BillboardGui.TextLabel.Text = "You made: "..victimn.Name.." Invisible" | |
| 359 | end | |
| 360 | end | |
| 361 | end | |
| 362 | ||
| 363 | function onChattedthomas(message, player) | |
| 364 | if message:sub(1, 7) == "thomas/" and isAdmin[player.Name] then | |
| 365 | local victim = message:sub(8); | |
| 366 | for i,victimn in next,getPlayers(victim) do | |
| 367 | --The command | |
| 368 | print("thomas "..victimn.Name)
| |
| 369 | ||
| 370 | --THIS SCRIPT IS NOT MINE, AND WAS MADE BY KRYSTAL TEAM (EDITED BY ME TO WORK WITH ORB) | |
| 371 | local p = victimn.Character | |
| 372 | local weld = Instance.new("Weld",p.Torso)
| |
| 373 | weld.Part0 = p.Torso | |
| 374 | ||
| 375 | local train = Instance.new("Part",p.Torso)
| |
| 376 | train.Anchored = true | |
| 377 | train.CanCollide = false | |
| 378 | train.Size = Vector3.new(3,2,6) | |
| 379 | train.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0) | |
| 380 | weld.Part1 = train | |
| 381 | weld.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(180),0) | |
| 382 | train.Anchored = false | |
| 383 | local TrainMesh = Instance.new("SpecialMesh",train)
| |
| 384 | TrainMesh.MeshType = Enum.MeshType.FileMesh | |
| 385 | TrainMesh.Scale = Vector3.new(0.020,0.020,0.015) | |
| 386 | TrainMesh.MeshId = "rbxassetid://431017802" | |
| 387 | TrainMesh.TextureId = "rbxassetid://431017809" | |
| 388 | ||
| 389 | ||
| 390 | local weld2 = Instance.new("Weld",p.Torso)
| |
| 391 | weld2.Part0 = p.Torso | |
| 392 | local Smoke = Instance.new("Part",p.Torso)
| |
| 393 | Smoke.Anchored = true | |
| 394 | Smoke.CanCollide = false | |
| 395 | Smoke.Size = Vector3.new(1,1,1) | |
| 396 | Smoke.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0) | |
| 397 | weld2.Part1 = Smoke | |
| 398 | weld2.C1 = CFrame.new(0,-4,3.5)-- * CFrame.Angles(0,math.rad(180),0) | |
| 399 | Smoke.Anchored = false | |
| 400 | Smoke.Transparency = 1; | |
| 401 | ||
| 402 | local Particle = Instance.new("ParticleEmitter",Smoke)
| |
| 403 | Particle.Rate = 50; | |
| 404 | Particle.Speed = NumberRange.new(30,60); | |
| 405 | Particle.VelocitySpread = 4; | |
| 406 | Particle.Texture = "rbxassetid://133619974" | |
| 407 | ||
| 408 | local Light = Instance.new("SpotLight",train)
| |
| 409 | Light.Angle = 45; | |
| 410 | Light.Brightness = 100; | |
| 411 | Light.Face = Enum.NormalId.Back; | |
| 412 | Light.Range = 30; | |
| 413 | ||
| 414 | p.Humanoid.WalkSpeed = 60; | |
| 415 | ||
| 416 | ||
| 417 | for i,v in pairs(p:GetChildren()) do | |
| 418 | if v:IsA("Part") then
| |
| 419 | v.Transparency = 1; | |
| 420 | elseif v:IsA("Hat") then
| |
| 421 | v:Destroy() | |
| 422 | elseif v:IsA("Model") then
| |
| 423 | v:Destroy() | |
| 424 | end | |
| 425 | end | |
| 426 | ||
| 427 | local function SFX(id) local s=Instance.new("Sound",p.Torso); s.SoundId = "rbxassetid://"..id; s.Volume = 1; return s; end
| |
| 428 | train.Touched:connect(function(p) | |
| 429 | if p.Parent then | |
| 430 | if p.Parent:IsA("Model") then
| |
| 431 | if game.Players:FindFirstChild(p.Parent.Name) then | |
| 432 | if p.Parent.Name ~= game.Players.LocalPlayer.Name then | |
| 433 | --Removed breakjoints to make it Person299 minigame's friendly | |
| 434 | local Whistle = SFX(475073913) | |
| 435 | Whistle:Play() | |
| 436 | end | |
| 437 | end | |
| 438 | end | |
| 439 | end | |
| 440 | end) | |
| 441 | ||
| 442 | local Music = SFX(190819252) | |
| 443 | Music.Looped = true; | |
| 444 | wait(1) | |
| 445 | Music:Play(); | |
| 446 | --Enabling the countdown & Text Loop | |
| 447 | commandsRan = commandsRan + 1 | |
| 448 | --Colouring the orb | |
| 449 | SyndiMod.BrickColor = BrickColor.new("Lime green")
| |
| 450 | SyndiMod.PointLight.Color = SyndiMod.BrickColor.Color | |
| 451 | --The Text loop | |
| 452 | SyndiMod.BillboardGui.TextLabel.Text = "You made: "..victimn.Name.." Thomas the Dank Engine" | |
| 453 | end | |
| 454 | end | |
| 455 | end | |
| 456 | ||
| 457 | function onChattedvis(message, player) | |
| 458 | if message:sub(1, 3) == "vis/" and isAdmin[player.Name] then | |
| 459 | local victim = message:sub(5); | |
| 460 | for i,victimn in next,getPlayers(victim) do | |
| 461 | --The command | |
| 462 | print("Invisible "..victimn.Name)
| |
| 463 | vic = victimn.Character | |
| 464 | vic.Head.Transparency = 0 | |
| 465 | vic["Right Arm"].Transparency = 0 | |
| 466 | vic["Left Arm"].Transparency = 0 | |
| 467 | vic.Torso.Transparency = 0 | |
| 468 | vic["Right Leg"].Transparency = 0 | |
| 469 | vic["Left Leg"].Transparency = 0 | |
| 470 | --Enabling the countdown & Text Loop | |
| 471 | commandsRan = commandsRan + 1 | |
| 472 | --Colouring the orb | |
| 473 | SyndiMod.BrickColor = BrickColor.new("Lime green")
| |
| 474 | SyndiMod.PointLight.Color = SyndiMod.BrickColor.Color | |
| 475 | --The Text loop | |
| 476 | SyndiMod.BillboardGui.TextLabel.Text = "You made: "..victimn.Name.." Visible" | |
| 477 | end | |
| 478 | end | |
| 479 | end | |
| 480 | ||
| 481 | player.Chatted:connect(function(message) | |
| 482 | if message == "stopsong/" and isAdmin[player.Name] then | |
| 483 | SyndiMod.Sound:remove() | |
| 484 | songLoop = 0 | |
| 485 | wait(0.1) | |
| 486 | SyndiMod.BillboardGui.TextLabel.Text = "Song stopped, type newcmd/ before continuing" | |
| 487 | end | |
| 488 | end | |
| 489 | ) | |
| 490 | ||
| 491 | player.Chatted:connect(function(message) | |
| 492 | if message == "stopsongl/" and isAdmin[player.Name] then | |
| 493 | game.Workspace.Soundl:remove() | |
| 494 | songLoopl = 0 | |
| 495 | wait(0.1) | |
| 496 | SyndiMod.BillboardGui.TextLabel.Text = "Song stopped, type newcmd/ before continuing" | |
| 497 | end | |
| 498 | end | |
| 499 | ) | |
| 500 | ||
| 501 | player.Chatted:connect(function(message) | |
| 502 | if message == "unanchorall/" and isAdmin[player.Name] then | |
| 503 | a = function(instance) | |
| 504 | for i,v in pairs(instance:GetChildren()) do | |
| 505 | if v.className == "Part" then | |
| 506 | v.Anchored = false | |
| 507 | end | |
| 508 | a(v) | |
| 509 | end | |
| 510 | end | |
| 511 | a(workspace) | |
| 512 | wait(0.1) | |
| 513 | SyndiMod.BillboardGui.TextLabel.Text = "Unanchoring everything!!" | |
| 514 | end | |
| 515 | end | |
| 516 | ) | |
| 517 | ||
| 518 | ||
| 519 | player.Chatted:connect(function(message) | |
| 520 | if message == "shutdown/" and isAdmin[player.Name] then | |
| 521 | for i,v in pairs(game.Players:GetChildren()) do | |
| 522 | v:Remove() | |
| 523 | end | |
| 524 | end | |
| 525 | end) | |
| 526 | ||
| 527 | player.Chatted:connect(function(message) | |
| 528 | if message == "clear/" and isAdmin[player.Name] then | |
| 529 | game.Workspace["SyndiMod Protector"]:remove() | |
| 530 | end | |
| 531 | end) | |
| 532 | ||
| 533 | ||
| 534 | player.Chatted:connect(function(message) | |
| 535 | if message == "newcmd/" and isAdmin[player.Name] then | |
| 536 | --Disabling main loop & setting count to 0 | |
| 537 | loop = false | |
| 538 | count = 0 | |
| 539 | --Setting Color | |
| 540 | SyndiMod.BrickColor = BrickColor.new("Magenta")
| |
| 541 | SyndiMod.PointLight.Color = SyndiMod.BrickColor.Color | |
| 542 | --Disabling Command Loops | |
| 543 | killLoop = false | |
| 544 | songLoop = false | |
| 545 | songLoopl = false | |
| 546 | --Changing the name of Orb and wait for debugging | |
| 547 | wait(0.1) | |
| 548 | SyndiMod.BillboardGui.TextLabel.Text = "Dat Boiii | Commands ran this game: "..commandsRan | |
| 549 | end | |
| 550 | end) | |
| 551 | ||
| 552 | player.Chatted:connect(function(message) | |
| 553 | if message == "cmds/" and isAdmin[player.Name] then | |
| 554 | SyndiMod.BillboardGui.TextLabel.Text = "IMPORTANT REMINDER!! You MUST type newcmd/ after every command!" | |
| 555 | wait(5) | |
| 556 | SyndiMod.BillboardGui.TextLabel.Text = "kill/user | kick/user | invis/user | vis/user" | |
| 557 | wait(5) | |
| 558 | SyndiMod.BillboardGui.TextLabel.Text = "shutdown/ | music/ID | id/ID | gear/username" | |
| 559 | wait(5) | |
| 560 | SyndiMod.BillboardGui.TextLabel.Text = "msg/message | stopsong/ | newcmd/ | stat/stat" | |
| 561 | wait(5) | |
| 562 | SyndiMod.BillboardGui.TextLabel.Text = "value/value | statgive/username | clear/ | age/username" | |
| 563 | wait(5) | |
| 564 | SyndiMod.BillboardGui.TextLabel.Text = "thomas/name" | |
| 565 | wait(5) | |
| 566 | SyndiMod.BillboardGui.TextLabel.Text = "That's all the commands | IMPORTANT REMINDER!! You MUST type newcmd/ after every command!" | |
| 567 | end | |
| 568 | end) | |
| 569 | ||
| 570 | -------#:[ Orb Creation ]:#------- | |
| 571 | ||
| 572 | local protection = Instance.new("Model",workspace)
| |
| 573 | protection.Name = "SyndiMod Protector" | |
| 574 | ||
| 575 | local orb = Instance.new('Part', workspace["SyndiMod Protector"])
| |
| 576 | local orbmesh = Instance.new('BlockMesh', orb)
| |
| 577 | orb.Size=Vector3.new(1.2,1.2,1.2) | |
| 578 | orb.CanCollide = false | |
| 579 | orb.Transparency = 0.3 | |
| 580 | orb.TopSurface = 'Smooth' | |
| 581 | orb.BottomSurface = 'Smooth' | |
| 582 | orb.Anchored = true | |
| 583 | orb.Name = "SyndiMod" | |
| 584 | SyndiMod = game.Workspace["SyndiMod Protector"].SyndiMod | |
| 585 | orb.Locked = true | |
| 586 | orb.CFrame = userPL.Character.Head.CFrame | |
| 587 | orb.BrickColor = BrickColor.new("Magenta")
| |
| 588 | ||
| 589 | local Billboard = Instance.new("BillboardGui", orb)
| |
| 590 | Billboard.Adornee = orb | |
| 591 | Billboard.Enabled = true | |
| 592 | Billboard.Active = true | |
| 593 | Billboard.Size = UDim2.new(1, 1, 1,1) | |
| 594 | Billboard.ExtentsOffset = Vector3.new(0, 1.5, 0) | |
| 595 | ||
| 596 | local point = Instance.new("PointLight",orb)
| |
| 597 | point.Brightness = 1/0 | |
| 598 | point.Color = orb.BrickColor.Color | |
| 599 | point.Range = 10 | |
| 600 | ||
| 601 | local textlb = Instance.new("TextLabel", Billboard)
| |
| 602 | textlb.Text = "Orb Coded by: Dat Boi (Type cmds/ for commands)" | |
| 603 | textlb.BackgroundTransparency = 1 | |
| 604 | textlb.Size = UDim2.new(1, 0, 1, 0) | |
| 605 | textlb.FontSize = "Size18" | |
| 606 | textlb.Font = "ArialBold" | |
| 607 | textlb.TextStrokeTransparency = 0 | |
| 608 | textlb.TextColor3 = BrickColor.new("White").Color
| |
| 609 | ||
| 610 | -------#:[ End Animation Loop]:#------- | |
| 611 | ||
| 612 | while true do | |
| 613 | for a=0,360,3 do | |
| 614 | SyndiMod.Position = game.Workspace[user].Head.Position + Vector3.new(0,3,5) | |
| 615 | SyndiMod.CFrame=CFrame.new(SyndiMod.Position)*CFrame.fromEulerAnglesXYZ(math.rad(a),math.rad(0),math.rad(a)) | |
| 616 | wait() | |
| 617 | end | |
| 618 | end | |
| 619 | ||
| 620 | ||
| 621 | ||
| 622 | ||
| 623 | ||
| 624 | ||
| 625 | ||
| 626 | ||
| 627 | ||
| 628 | ||
| 629 | ||
| 630 | ||
| 631 | ||
| 632 | ||
| 633 | ||
| 634 | ||
| 635 | ||
| 636 | ||
| 637 | ||
| 638 | ||
| 639 | ||
| 640 | ||
| 641 | ||
| 642 | ||
| 643 | ||
| 644 | ||
| 645 | ||
| 646 | ||
| 647 | ||
| 648 | ||
| 649 | ||
| 650 | ||
| 651 | ||
| 652 | ||
| 653 | --HOW TO USE: Change "user = "username" at the top of the script to your name | |
| 654 | --After EVERY command type "newcmd/" |