SHOW:
|
|
- or go back to the newest paste.
| 1 | --By Rufus14 | |
| 2 | script.Parent = game.ServerScriptService | |
| 3 | cannotify = true | |
| 4 | function message(msg) | |
| 5 | if cannotify then | |
| 6 | cannotify = false | |
| 7 | local messagesound = Instance.new("Sound", workspace)
| |
| 8 | messagesound.SoundId = "rbxassetid://651986414" | |
| 9 | messagesound.Volume = 5.999 | |
| 10 | messagesound:Play() | |
| 11 | game.Debris:AddItem(messagesound, messagesound.TimeLength) | |
| 12 | if owner.Character then | |
| 13 | if owner.Character:findFirstChild("HumanoidRootPart") then
| |
| 14 | local pos1 = math.random(-5,5) | |
| 15 | local pos2 = math.random(-5,5) | |
| 16 | local model = Instance.new("Model", owner.Character)
| |
| 17 | model.Name = [[(Anti-Skid v4) | |
| 18 | ]]..msg | |
| 19 | local human0 = Instance.new("Humanoid", model)
| |
| 20 | human0.Name = "MessageHuman0id" | |
| 21 | human0.MaxHealth = 0 | |
| 22 | human0.Health = 0 | |
| 23 | local part = Instance.new("Part", model)
| |
| 24 | part.Size = Vector3.new(0,0,0) | |
| 25 | part.BrickColor = BrickColor.Random() | |
| 26 | part.Material = "ForceField" | |
| 27 | part:BreakJoints() | |
| 28 | part.CanCollide = false | |
| 29 | part.CFrame = owner.Character.HumanoidRootPart.CFrame | |
| 30 | part.Name = "Head" | |
| 31 | local bodyposition = Instance.new("BodyPosition", part)
| |
| 32 | bodyposition.MaxForce = Vector3.new(math.huge,math.huge,math.huge) | |
| 33 | bodyposition.Position = owner.Character.HumanoidRootPart.Position | |
| 34 | local function spinandpos() | |
| 35 | while wait() do | |
| 36 | if owner.Character:findFirstChild("HumanoidRootPart") then
| |
| 37 | bodyposition.Position = owner.Character:findFirstChild("HumanoidRootPart").Position + Vector3.new(pos1,0,pos2)
| |
| 38 | end | |
| 39 | part.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(0.02,0.02,0.02) | |
| 40 | end | |
| 41 | end | |
| 42 | local function resize() | |
| 43 | while wait() and part.Size.x < 1.5 do | |
| 44 | part.Size = part.Size + Vector3.new(0.05,0.05,0.05) | |
| 45 | end | |
| 46 | wait(4) | |
| 47 | for i = 1,30 do | |
| 48 | part.Size = part.Size + Vector3.new(0.05,0.05,0.05) | |
| 49 | part.Transparency = part.Transparency + 0.015 | |
| 50 | wait() | |
| 51 | end | |
| 52 | model:destroy() | |
| 53 | end | |
| 54 | local function let() | |
| 55 | wait(0.5) | |
| 56 | cannotify = true | |
| 57 | end | |
| 58 | spawn(let) | |
| 59 | spawn(spinandpos) | |
| 60 | spawn(resize) | |
| 61 | end | |
| 62 | end | |
| 63 | end | |
| 64 | end | |
| 65 | function punishplayer(character) | |
| 66 | if not character:findFirstChild("pwned") then
| |
| 67 | Instance.new("BoolValue", character).Name = "pwned"
| |
| 68 | local punishrandom = math.random(1,4) | |
| 69 | for i,v in pairs(character:GetChildren()) do | |
| 70 | if v.ClassName == "Sound" then | |
| 71 | v:destroy() | |
| 72 | end | |
| 73 | for q,w in pairs(v:GetChildren()) do | |
| 74 | if w.ClassName == "Sound" and w.Name ~= "JevilTheme" then | |
| 75 | w:destroy() | |
| 76 | end | |
| 77 | end | |
| 78 | end | |
| 79 | if punishrandom == 1 then | |
| 80 | for i = 1,20 do | |
| 81 | for q,w in pairs(character:GetChildren()) do | |
| 82 | if w.ClassName == "Part" then | |
| 83 | w.Transparency = w.Transparency + 0.05 | |
| 84 | end | |
| 85 | if w.ClassName == "Accessory" then | |
| 86 | if w:findFirstChild("Handle") then
| |
| 87 | w.Handle.Transparency = w.Handle.Transparency + 0.05 | |
| 88 | end | |
| 89 | end | |
| 90 | if w.Name == "Head" then | |
| 91 | if w:findFirstChildOfClass("Decal") then
| |
| 92 | w:findFirstChildOfClass("Decal").Transparency = w:findFirstChildOfClass("Decal").Transparency + 0.05
| |
| 93 | end | |
| 94 | end | |
| 95 | end | |
| 96 | wait() | |
| 97 | end | |
| 98 | for q,w in pairs(character:GetChildren()) do | |
| 99 | if w.ClassName == "Part" or w.ClassName == "Accessory" then | |
| 100 | w:destroy() | |
| 101 | end | |
| 102 | end | |
| 103 | elseif punishrandom == 2 then | |
| 104 | character:findFirstChildOfClass("Humanoid").WalkSpeed = 0
| |
| 105 | character:findFirstChildOfClass("Humanoid").JumpPower = 0
| |
| 106 | local function addweld() | |
| 107 | if character:findFirstChild("Torso") then
| |
| 108 | local heead = Instance.new("Weld", character.Torso)
| |
| 109 | heead.Part0 = character.Torso | |
| 110 | heead.Part1 = character.Head | |
| 111 | heead.C0 = CFrame.new(0,1.5,0) | |
| 112 | heead.Name = "HeadWeld" | |
| 113 | wait(0.7) | |
| 114 | for i = 0,1 , 0.08 do | |
| 115 | heead.C0 = heead.C0:lerp(CFrame.new(0,1.5,0.4) * CFrame.fromEulerAnglesXYZ(1.2,0,0),i) | |
| 116 | wait() | |
| 117 | end | |
| 118 | wait(0.7) | |
| 119 | while wait() do | |
| 120 | heead.C0 = heead.C0 * CFrame.fromEulerAnglesXYZ(0.5,0.5,0.5) | |
| 121 | end | |
| 122 | elseif character:findFirstChild("UpperTorso") then
| |
| 123 | local heead = Instance.new("Weld", character.UpperTorso)
| |
| 124 | heead.Part0 = character.UpperTorso | |
| 125 | heead.Part1 = character.Head | |
| 126 | heead.C0 = CFrame.new(0,1.5,0) | |
| 127 | heead.Name = "HeadWeld" | |
| 128 | wait(0.7) | |
| 129 | for i = 0,1 , 0.08 do | |
| 130 | heead.C0 = heead.C0:lerp(CFrame.new(0,1.5,0.4) * CFrame.fromEulerAnglesXYZ(1.2,0,0),i) | |
| 131 | wait() | |
| 132 | end | |
| 133 | wait(0.7) | |
| 134 | while wait() do | |
| 135 | heead.C0 = heead.C0 * CFrame.fromEulerAnglesXYZ(0.5,0.5,0.5) | |
| 136 | end | |
| 137 | end | |
| 138 | end | |
| 139 | spawn(addweld) | |
| 140 | local banhamma = Instance.new("Part", character)
| |
| 141 | banhamma.Size = Vector3.new(3, 10, 2) | |
| 142 | banhamma:BreakJoints() | |
| 143 | banhamma.CFrame = character.Head.CFrame * CFrame.new(0,20,0) * CFrame.fromEulerAnglesXYZ(math.pi/2,0,1) | |
| 144 | banhamma.Name = "ban" | |
| 145 | banhamma.Transparency = 1 | |
| 146 | banhamma.Anchored = true | |
| 147 | local mesh = Instance.new("SpecialMesh", banhamma)
| |
| 148 | mesh.MeshId = "http://www.roblox.com/asset/?id=10604848" | |
| 149 | mesh.TextureId = "http://www.roblox.com/asset/?id=10605252" | |
| 150 | local special = Instance.new("Sound", banhamma)
| |
| 151 | special.SoundId = "rbxassetid://427090157" | |
| 152 | special.Volume = 2 | |
| 153 | special:Play() | |
| 154 | for i = 1,20 do | |
| 155 | banhamma.Transparency = banhamma.Transparency - 0.05 | |
| 156 | wait() | |
| 157 | end | |
| 158 | local hammertime = Instance.new("Sound", banhamma)
| |
| 159 | hammertime.SoundId = "rbxassetid://176192087" | |
| 160 | hammertime.Volume = 3 | |
| 161 | hammertime:Play() | |
| 162 | wait(1) | |
| 163 | if character:findFirstChild("Head") then
| |
| 164 | local scream = Instance.new("Sound", character.Head)
| |
| 165 | scream.SoundId = "rbxassetid://176238381" | |
| 166 | scream.Volume = 2 | |
| 167 | scream:Play() | |
| 168 | banhamma.Anchored = false | |
| 169 | local angularvel = Instance.new("BodyAngularVelocity", banhamma)
| |
| 170 | angularvel.MaxTorque = Vector3.new(math.huge,math.huge,math.huge) | |
| 171 | angularvel.AngularVelocity = banhamma.CFrame.rightVector * 20 | |
| 172 | local touchedban = false | |
| 173 | local function touched(part) | |
| 174 | if part.Name == "Head" and part.Parent == character then | |
| 175 | touchedban = true | |
| 176 | local aaaaaaaa = Instance.new("Sound", banhamma)
| |
| 177 | aaaaaaaa.SoundId = "rbxassetid://147722910" | |
| 178 | aaaaaaaa.Volume = 2 | |
| 179 | aaaaaaaa:Play() | |
| 180 | angularvel:Destroy() | |
| 181 | banhamma.CanCollide = true | |
| 182 | for i,v in pairs(character:GetChildren()) do | |
| 183 | if v.ClassName == "Part" and v.Name ~= "ban" or v.ClassName == "Accessory" then | |
| 184 | v:destroy() | |
| 185 | end | |
| 186 | end | |
| 187 | end | |
| 188 | end | |
| 189 | banhamma.Touched:connect(touched) | |
| 190 | wait(2) | |
| 191 | if not touchedban and character:findFirstChild("Head") then
| |
| 192 | banhamma.CFrame = character:findFirstChild("Head").CFrame
| |
| 193 | end | |
| 194 | end | |
| 195 | elseif punishrandom == 3 then | |
| 196 | character:BreakJoints() | |
| 197 | character:findFirstChildOfClass("Humanoid").Health = 0
| |
| 198 | local explo = Instance.new("Explosion", character)
| |
| 199 | explo.Position = character.Head.Position | |
| 200 | explo.BlastPressure = 0 | |
| 201 | local boom = Instance.new("Sound", character.Head)
| |
| 202 | boom.SoundId = "rbxassetid://262562442" | |
| 203 | boom.Volume = 3 | |
| 204 | boom:Play() | |
| 205 | for i,v in pairs(character:GetChildren()) do | |
| 206 | if v.ClassName == "Part" or v.ClassName == "MeshPart" then | |
| 207 | local velocity = Instance.new("BodyVelocity", v)
| |
| 208 | velocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge) | |
| 209 | velocity.Velocity = Vector3.new(math.random(-60,60),math.random(-60,60),math.random(-60,60)) | |
| 210 | game.Debris:AddItem(velocity, 0.5) | |
| 211 | end | |
| 212 | end | |
| 213 | wait(2) | |
| 214 | if character:findFirstChild("Head") then
| |
| 215 | character:findFirstChild("Head"):destroy()
| |
| 216 | end | |
| 217 | elseif punishrandom == 4 then | |
| 218 | character.Head:destroy() | |
| 219 | if character:findFirstChild("HumanoidRootPart") then
| |
| 220 | local boom = Instance.new("Sound", character.HumanoidRootPart)
| |
| 221 | boom.SoundId = "rbxassetid://775395533" | |
| 222 | boom.Volume = 1.5 | |
| 223 | boom:Play() | |
| 224 | end | |
| 225 | end | |
| 226 | end | |
| 227 | end | |
| 228 | function scan() | |
| 229 | while wait() do | |
| 230 | for i,w in pairs(workspace:GetChildren()) do | |
| 231 | if w.ClassName == "Sound" and w.Name ~= "Sound" and not w:findFirstChild("muted") then
| |
| 232 | if w.Volume >= 6 then | |
| 233 | Instance.new("BoolValue", w).Name = "muted"
| |
| 234 | local function lolriplmao() | |
| 235 | while game:GetService("RunService").Heartbeat:wait() do
| |
| 236 | w.Volume = 1 | |
| 237 | end | |
| 238 | end | |
| 239 | spawn(lolriplmao) | |
| 240 | message("Detected loud audio coming from workspace")
| |
| 241 | end | |
| 242 | end | |
| 243 | end | |
| 244 | for i,v in pairs(game:GetService("Players"):GetChildren()) do
| |
| 245 | if v.ClassName == "Sound" then | |
| 246 | v:destroy() | |
| 247 | end | |
| 248 | if v.Character then | |
| 249 | for q,w in pairs(v.Character:GetChildren()) do | |
| 250 | if w.ClassName == "Sound" and not w:findFirstChild("muted") then
| |
| 251 | if w.Volume >= 6 then | |
| 252 | Instance.new("BoolValue", w).Name = "muted"
| |
| 253 | local function lolriplmao() | |
| 254 | while game:GetService("RunService").Heartbeat:wait() do
| |
| 255 | w.Volume = 1 | |
| 256 | end | |
| 257 | end | |
| 258 | spawn(lolriplmao) | |
| 259 | message("Detected loud audio coming from ".. v.Name)
| |
| 260 | end | |
| 261 | end | |
| 262 | for e,r in pairs(w:GetChildren()) do | |
| 263 | if r.ClassName == "Sound" and not r:findFirstChild("muted") then
| |
| 264 | if r.Volume >= 6 then | |
| 265 | Instance.new("BoolValue", r).Name = "muted"
| |
| 266 | local function lolriplmao() | |
| 267 | while game:GetService("RunService").Heartbeat:wait() do
| |
| 268 | r.Volume = 1 | |
| 269 | end | |
| 270 | end | |
| 271 | spawn(lolriplmao) | |
| 272 | message("Detected loud audio coming from ".. v.Name)
| |
| 273 | end | |
| 274 | end | |
| 275 | end | |
| 276 | end | |
| 277 | if not v.Character:findFirstChild("pwned") then
| |
| 278 | --ultra instict 2019 | |
| 279 | if v.Character:findFirstChild("Hair") then
| |
| 280 | if v.Character.Hair:findFirstChild("Mesh") then
| |
| 281 | if v.Character.Hair.Mesh.MeshId == "rbxassetid://455100513" then | |
| 282 | local function uncol() | |
| 283 | while game:GetService("RunService").Heartbeat:wait() do
| |
| 284 | v.Character.Hair.CanCollide = false | |
| 285 | end | |
| 286 | end | |
| 287 | spawn(uncol) | |
| 288 | for q,w in pairs(v.Character:GetChildren()) do | |
| 289 | if w.Name == "NewPart" then | |
| 290 | w.CanCollide = false | |
| 291 | end | |
| 292 | end | |
| 293 | punishplayer(v.Character) | |
| 294 | message(v.Name.." has used Ultra Instict.") | |
| 295 | end | |
| 296 | end | |
| 297 | end | |
| 298 | --nahid Chara | |
| 299 | if v.Character:findFirstChild("Blob") then
| |
| 300 | if v.Character:findFirstChild("Name") then
| |
| 301 | if v.Character:findFirstChild("Name"):findFirstChild("TextLabel") then
| |
| 302 | v.Character:findFirstChild("Name").TextLabel.Text = "lol skid"
| |
| 303 | punishplayer(v.Character) | |
| 304 | message(v.Name.." has used nahid Chara/Jevil.") | |
| 305 | end | |
| 306 | end | |
| 307 | end | |
| 308 | --star glitcher | |
| 309 | if v.Character:findFirstChild("Head") then
| |
| 310 | if v.Character.Head:findFirstChild("ModeName") then
| |
| 311 | if v.Character.Head:findFirstChild("ModeName"):findFirstChildOfClass("TextLabel") then
| |
| 312 | v.Character.Head:findFirstChild("ModeName"):findFirstChildOfClass("TextLabel").Text = "nah get out star skid"
| |
| 313 | punishplayer(v.Character) | |
| 314 | message(v.Name.." has used Star Glitcher.") | |
| 315 | end | |
| 316 | end | |
| 317 | end | |
| 318 | if v.Character:findFirstChildOfClass("Sound") then
| |
| 319 | if v.Character:findFirstChildOfClass("Sound").SoundId == "rbxassetid://614032233" or v.Character:findFirstChildOfClass("Sound").SoundId == "rbxassetid://415898123" or v.Character:findFirstChildOfClass("Sound").Name == "wrecked" then
| |
| 320 | punishplayer(v.Character) | |
| 321 | message(v.Name.." has used Star Glitcher.") | |
| 322 | end | |
| 323 | end | |
| 324 | --jevil (im so sorry mrfunnylaughs) | |
| 325 | if v.Character:findFirstChild("Torso") then
| |
| 326 | if v.Character.Torso:findFirstChild("JevilTheme") then
| |
| 327 | v.Character.Torso:findFirstChild("JevilTheme").SoundId = "rbxassetid://1953695670"
| |
| 328 | v.Character.Torso:findFirstChild("JevilTheme").TimePosition = 5
| |
| 329 | v.Character.Torso:findFirstChild("JevilTheme"):Play()
| |
| 330 | punishplayer(v.Character) | |
| 331 | message(v.Name.." has used Jevil.") | |
| 332 | end | |
| 333 | end | |
| 334 | --dead gun | |
| 335 | if v.Character:findFirstChild("Torso") then
| |
| 336 | if v.Character.Torso:findFirstChild("Sound") then
| |
| 337 | if v.Character.Torso:findFirstChild("Sound").SoundId == "rbxassetid://318812395" then
| |
| 338 | v.Character.Torso:findFirstChild("Sound").SoundId = "rbxassetid://775395533"
| |
| 339 | punishplayer(v.Character) | |
| 340 | message(v.Name.." has used Dead Gun.") | |
| 341 | end | |
| 342 | end | |
| 343 | end | |
| 344 | --guest glitcher | |
| 345 | if v.Character:findFirstChild("wreckeda") then
| |
| 346 | punishplayer(v.Character) | |
| 347 | message(v.Name.." has used Guest Glitcher/Galaxy Glitcher.") | |
| 348 | end | |
| 349 | --xester | |
| 350 | if v.Character:findFirstChild("Torso") then
| |
| 351 | if v.Character.Torso:findFirstChild("doomtheme") then
| |
| 352 | punishplayer(v.Character) | |
| 353 | message(v.Name.." has used Xester.") | |
| 354 | end | |
| 355 | end | |
| 356 | --the switcher | |
| 357 | if v.Character:findFirstChild("_status") then
| |
| 358 | if v.Character["_status"]:findFirstChild("TextLabel") then
| |
| 359 | if string.sub(v.Character["_status"]:findFirstChild("TextLabel").Text,1,12) == "The Switcher" then
| |
| 360 | v.Character["_status"]:findFirstChild("TextLabel").Text = "skiddity swooty"
| |
| 361 | punishplayer(v.Character) | |
| 362 | message(v.Name.." has used The Switcher.") | |
| 363 | end | |
| 364 | end | |
| 365 | end | |
| 366 | --chaotic glicher | |
| 367 | if v.Character:findFirstChild("_status") then
| |
| 368 | if v.Character["_status"]:findFirstChild("TextLabel") then
| |
| 369 | if string.sub(v.Character["_status"]:findFirstChild("TextLabel").Text,1,5) == "Lunar" then
| |
| 370 | v.Character["_status"]:findFirstChild("TextLabel").Text = "rip chaotic lol"
| |
| 371 | punishplayer(v.Character) | |
| 372 | message(v.Name.." has used Chaotic Glicher.") | |
| 373 | end | |
| 374 | end | |
| 375 | end | |
| 376 | end | |
| 377 | end | |
| 378 | end | |
| 379 | end | |
| 380 | end | |
| 381 | spawn(scan) | |
| 382 | function commands(chat) | |
| 383 | if string.sub(chat, 1,5) == ",stop" then | |
| 384 | local ply = game:GetService("Players"):findFirstChild(string.sub(chat, 7))
| |
| 385 | if ply then | |
| 386 | if ply.Name == "Rufus14" then | |
| 387 | message("get out")
| |
| 388 | punishplayer(owner.Character) | |
| 389 | else | |
| 390 | if ply.Character then | |
| 391 | punishplayer(ply.Character) | |
| 392 | message("Punished "..ply.Name..".")
| |
| 393 | else | |
| 394 | message("Player didnt spawn yet.")
| |
| 395 | end | |
| 396 | end | |
| 397 | else | |
| 398 | message("Cannot find the player named '"..string.sub(chat, 10).."'.")
| |
| 399 | end | |
| 400 | end | |
| 401 | if string.sub(chat, 1,10) == ",unsandbox" then | |
| 402 | local ply = game:GetService("Players"):findFirstChild(string.sub(chat, 12))
| |
| 403 | if ply then | |
| 404 | local lool = Instance.new("BoolValue", ply)
| |
| 405 | lool.Name = "stopsandboxing" | |
| 406 | game.Debris:AddItem(lool, 0.5) | |
| 407 | message("Unsandboxed "..ply.Name..".")
| |
| 408 | else | |
| 409 | message("Cannot find the player named '"..string.sub(chat, 12).."'.")
| |
| 410 | end | |
| 411 | end | |
| 412 | if string.sub(chat, 1,8) == ",sandbox" then | |
| 413 | if string.sub(chat, 10,12) == "all" then | |
| 414 | for i,v in pairs(game:GetService("Players"):GetChildren()) do
| |
| 415 | if v.Character then | |
| 416 | local ply = v | |
| 417 | modell = Instance.new("Model", workspace:FindFirstChildOfClass("Terrain"))
| |
| 418 | modell.Name = tostring(math.random(1,999999)) + tostring(math.random(1,999999)) | |
| 419 | local scamhumanoid = Instance.new("Humanoid", modell)
| |
| 420 | modell2 = Instance.new("Model", modell)
| |
| 421 | modell2.Name = tostring(math.random(1,999999)) + tostring(math.random(1,999999)) | |
| 422 | ply.Character.Parent = modell2 | |
| 423 | ply.Character:findFirstChildOfClass("Humanoid").Name = tostring(math.random(1,999999)) + tostring(math.random(1,999999))
| |
| 424 | local function checkifnil() | |
| 425 | if ply.Character:findFirstChild("HumanoidRootPart") then
| |
| 426 | if ply:findFirstChild("humrootpos") then
| |
| 427 | ply:findFirstChild("humrootpos").Value = ply.Character.HumanoidRootPart.CFrame
| |
| 428 | else | |
| 429 | local posnow = Instance.new("CFrameValue", ply)
| |
| 430 | posnow.Value = ply.Character.HumanoidRootPart.CFrame | |
| 431 | posnow.Name = "humrootpos" | |
| 432 | end | |
| 433 | end | |
| 434 | while wait() and not ply:findFirstChild("stopsandboxing") do
| |
| 435 | if ply.Character then | |
| 436 | if ply.Character:findFirstChild("HumanoidRootPart") then
| |
| 437 | if ply:findFirstChild("humrootpos") then
| |
| 438 | ply:findFirstChild("humrootpos").Value = ply.Character.HumanoidRootPart.CFrame
| |
| 439 | else | |
| 440 | local posnow = Instance.new("CFrameValue", ply)
| |
| 441 | posnow.Value = ply.Character.HumanoidRootPart.CFrame | |
| 442 | posnow.Name = "humrootpos" | |
| 443 | end | |
| 444 | end | |
| 445 | end | |
| 446 | if ply.Character.Parent == nil or modell.Parent == nil or modell2.Parent == nil then | |
| 447 | ply:LoadCharacter() | |
| 448 | while not ply.Character do | |
| 449 | game:GetService("RunService").Heartbeat:wait()
| |
| 450 | end | |
| 451 | ply.Character.HumanoidRootPart.CFrame = ply:findFirstChild("humrootpos").Value
| |
| 452 | wait() | |
| 453 | modell = Instance.new("Model", workspace:FindFirstChildOfClass("Terrain"))
| |
| 454 | modell.Name = tostring(math.random(1,999999)) + tostring(math.random(1,999999)) | |
| 455 | local scamhumanoid = Instance.new("Humanoid", modell)
| |
| 456 | modell2 = Instance.new("Model", modell)
| |
| 457 | modell2.Name = tostring(math.random(1,999999)) + tostring(math.random(1,999999)) | |
| 458 | ply.Character.Parent = modell2 | |
| 459 | ply.Character:findFirstChildOfClass("Humanoid").Name = tostring(math.random(1,999999)) + tostring(math.random(1,999999))
| |
| 460 | end | |
| 461 | end | |
| 462 | print("stopped")
| |
| 463 | ply:LoadCharacter() | |
| 464 | while not ply.Character do | |
| 465 | game:GetService("RunService").Heartbeat:wait()
| |
| 466 | end | |
| 467 | ply.Character.HumanoidRootPart.CFrame = ply:findFirstChild("humrootpos").Value
| |
| 468 | ply:findFirstChild("humrootpos"):destroy()
| |
| 469 | end | |
| 470 | spawn(checkifnil) | |
| 471 | message("Separated every player from workspace.")
| |
| 472 | end | |
| 473 | end | |
| 474 | else | |
| 475 | local ply = game:GetService("Players"):findFirstChild(string.sub(chat, 10))
| |
| 476 | if ply then | |
| 477 | if ply.Character then | |
| 478 | modell = Instance.new("Model", workspace:FindFirstChildOfClass("Terrain"))
| |
| 479 | modell.Name = tostring(math.random(1,999999)) + tostring(math.random(1,999999)) | |
| 480 | local scamhumanoid = Instance.new("Humanoid", modell)
| |
| 481 | modell2 = Instance.new("Model", modell)
| |
| 482 | modell2.Name = tostring(math.random(1,999999)) + tostring(math.random(1,999999)) | |
| 483 | ply.Character.Parent = modell2 | |
| 484 | ply.Character:findFirstChildOfClass("Humanoid").Name = tostring(math.random(1,999999)) + tostring(math.random(1,999999))
| |
| 485 | local function checkifnil() | |
| 486 | if ply.Character:findFirstChild("HumanoidRootPart") then
| |
| 487 | if ply:findFirstChild("humrootpos") then
| |
| 488 | ply:findFirstChild("humrootpos").Value = ply.Character.HumanoidRootPart.CFrame
| |
| 489 | else | |
| 490 | local posnow = Instance.new("CFrameValue", ply)
| |
| 491 | posnow.Value = ply.Character.HumanoidRootPart.CFrame | |
| 492 | posnow.Name = "humrootpos" | |
| 493 | end | |
| 494 | end | |
| 495 | while wait() and not ply:findFirstChild("stopsandboxing") do
| |
| 496 | if ply.Character then | |
| 497 | if ply.Character:findFirstChild("HumanoidRootPart") then
| |
| 498 | if ply:findFirstChild("humrootpos") then
| |
| 499 | ply:findFirstChild("humrootpos").Value = ply.Character.HumanoidRootPart.CFrame
| |
| 500 | else | |
| 501 | local posnow = Instance.new("CFrameValue", ply)
| |
| 502 | posnow.Value = ply.Character.HumanoidRootPart.CFrame | |
| 503 | posnow.Name = "humrootpos" | |
| 504 | end | |
| 505 | end | |
| 506 | end | |
| 507 | if ply.Character.Parent == nil or modell.Parent == nil or modell2.Parent == nil then | |
| 508 | ply:LoadCharacter() | |
| 509 | while not ply.Character do | |
| 510 | game:GetService("RunService").Heartbeat:wait()
| |
| 511 | end | |
| 512 | ply.Character.HumanoidRootPart.CFrame = ply:findFirstChild("humrootpos").Value
| |
| 513 | wait() | |
| 514 | modell = Instance.new("Model", workspace:FindFirstChildOfClass("Terrain"))
| |
| 515 | modell.Name = tostring(math.random(1,999999)) + tostring(math.random(1,999999)) | |
| 516 | local scamhumanoid = Instance.new("Humanoid", modell)
| |
| 517 | modell2 = Instance.new("Model", modell)
| |
| 518 | modell2.Name = tostring(math.random(1,999999)) + tostring(math.random(1,999999)) | |
| 519 | ply.Character.Parent = modell2 | |
| 520 | ply.Character:findFirstChildOfClass("Humanoid").Name = tostring(math.random(1,999999)) + tostring(math.random(1,999999))
| |
| 521 | end | |
| 522 | end | |
| 523 | print("stopped")
| |
| 524 | ply:LoadCharacter() | |
| 525 | while not ply.Character do | |
| 526 | game:GetService("RunService").Heartbeat:wait()
| |
| 527 | end | |
| 528 | ply.Character.HumanoidRootPart.CFrame = ply:findFirstChild("humrootpos").Value
| |
| 529 | ply:findFirstChild("humrootpos"):destroy()
| |
| 530 | end | |
| 531 | spawn(checkifnil) | |
| 532 | message("Separated "..ply.Name.." from workspace.")
| |
| 533 | else | |
| 534 | message("Player didnt spawn yet.")
| |
| 535 | end | |
| 536 | else | |
| 537 | message("Cannot find the player named '"..string.sub(chat, 10).."'.")
| |
| 538 | end | |
| 539 | end | |
| 540 | end | |
| 541 | end | |
| 542 | owner.Chatted:connect(commands) | |
| 543 | message("Rufus14's Anti-Skid v4 executed successfully.")
| |
| 544 | --[[ | |
| 545 | owner.Character.Archivable = true | |
| 546 | local special = Instance.new("Sound", owner.Character.Head)
| |
| 547 | special.SoundId = "rbxassetid://427090157" | |
| 548 | special.Volume = 2 | |
| 549 | special:Play() | |
| 550 | for i = 1,25 do | |
| 551 | wait() | |
| 552 | for i,v in pairs(owner.Character:GetChildren()) do | |
| 553 | if v.ClassName == "Part" or v.ClassName == "MeshPart" then | |
| 554 | v.Transparency = v.Transparency + 0.04 | |
| 555 | end | |
| 556 | if v.ClassName == "Accessory" then | |
| 557 | local hand = v:findFirstChild("Handle")
| |
| 558 | if hand then | |
| 559 | hand.Transparency = hand.Transparency + 0.04 | |
| 560 | end | |
| 561 | end | |
| 562 | if v.Name == "Head" then | |
| 563 | if v:findFirstChildOfClass("Decal") then
| |
| 564 | v:findFirstChildOfClass("Decal").Transparency = v:findFirstChildOfClass("Decal").Transparency + 0.04
| |
| 565 | end | |
| 566 | end | |
| 567 | end | |
| 568 | end | |
| 569 | local fakecharacter = owner.Character:Clone() | |
| 570 | owner.Character:findFirstChildOfClass("Humanoid"):destroy()
| |
| 571 | for i,v in pairs(owner.Character:GetChildren()) do | |
| 572 | if v.ClassName ~= "LocalScript" and v.ClassName ~= "Script" then | |
| 573 | v:destroy() | |
| 574 | end | |
| 575 | end | |
| 576 | fakecharacter.Parent = owner.Character | |
| 577 | fakecharacter.Name = "Remote Controlled "..owner.Name | |
| 578 | for i = 1,25 do | |
| 579 | wait() | |
| 580 | for i,v in pairs(fakecharacter:GetChildren()) do | |
| 581 | if v.ClassName == "Part" or v.ClassName == "MeshPart" then | |
| 582 | v.Transparency = v.Transparency - 0.04 | |
| 583 | end | |
| 584 | if v.ClassName == "Accessory" then | |
| 585 | local hand = v:findFirstChild("Handle")
| |
| 586 | if hand then | |
| 587 | hand.Transparency = hand.Transparency - 0.04 | |
| 588 | end | |
| 589 | end | |
| 590 | if v.Name == "Head" then | |
| 591 | if v:findFirstChildOfClass("Decal") then
| |
| 592 | v:findFirstChildOfClass("Decal").Transparency = v:findFirstChildOfClass("Decal").Transparency - 0.04
| |
| 593 | end | |
| 594 | end | |
| 595 | end | |
| 596 | end | |
| 597 | --]] |