Advertisement
Guest User

Untitled

a guest
Sep 16th, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 47.12 KB | None | 0 0
  1. --By Rufus14
  2. --owner = game.Players[script.Parent.Name]
  3. script.Parent = game:GetService("ServerScriptService")
  4. cannotify = true
  5. canragdollkill = true
  6. function message(msg)
  7. if cannotify then
  8. local messagesound = Instance.new("Sound", workspace)
  9. messagesound.SoundId = "rbxassetid://651986414"
  10. messagesound.Volume = 5.999
  11. messagesound:Play()
  12. game.Debris:AddItem(messagesound, messagesound.TimeLength)
  13. if owner.Character then
  14. if owner.Character:findFirstChild("HumanoidRootPart") then
  15. local pos1 = math.random(-5,5)
  16. local pos2 = math.random(-5,5)
  17. local model = Instance.new("Model", owner.Character)
  18. model.Name = [[(!SKID DETECTED!)
  19. ]]..msg
  20. local human0 = Instance.new("Humanoid", model)
  21. human0.Name = "MessageHuman0id"
  22. human0.MaxHealth = 0
  23. human0.Health = 0
  24. local part = Instance.new("Part", model)
  25. part.Size = Vector3.new(0,0,0)
  26. part.BrickColor = BrickColor.Random()
  27. part.Material = "ForceField"
  28. part:BreakJoints()
  29. part.CanCollide = false
  30. part.CFrame = owner.Character.HumanoidRootPart.CFrame
  31. part.Name = "Head"
  32. local bodyposition = Instance.new("BodyPosition", part)
  33. bodyposition.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  34. bodyposition.Position = owner.Character.HumanoidRootPart.Position
  35. local function spinandpos()
  36. while wait() do
  37. if owner.Character:findFirstChild("HumanoidRootPart") then
  38. bodyposition.Position = owner.Character:findFirstChild("HumanoidRootPart").Position + Vector3.new(pos1,0,pos2)
  39. end
  40. part.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(0.02,0.02,0.02)
  41. end
  42. end
  43. local function resize()
  44. while wait() and part.Size.x < 1.5 do
  45. part.Size = part.Size + Vector3.new(0.05,0.05,0.05)
  46. end
  47. wait(4)
  48. for i = 1,30 do
  49. part.Size = part.Size - Vector3.new(0.05,0.05,0.05)
  50. part.Transparency = part.Transparency + 0.015
  51. wait()
  52. end
  53. model:destroy()
  54. end
  55. spawn(spinandpos)
  56. spawn(resize)
  57. end
  58. end
  59. end
  60. end
  61. function punishplayer(character)
  62. if not character:findFirstChild("pwned") then
  63. Instance.new("BoolValue", character).Name = "pwned"
  64. local function loopremove()
  65. while wait() do
  66. for i,v in pairs(character:GetChildren()) do
  67. if v.ClassName == "Script" or v.ClassName == "LocalScript" then
  68. v.Disabled = true
  69. end
  70. end
  71. end
  72. end
  73. spawn(loopremove)
  74. local function thotbegone()
  75. local punishrandom = math.random(1,7)
  76. for i,v in pairs(character:GetChildren()) do
  77. if v.ClassName == "Sound" and v.Name ~= "JevilTheme" then
  78. v:destroy()
  79. end
  80. for q,w in pairs(v:GetChildren()) do
  81. if w.ClassName == "Sound" and w.Name ~= "JevilTheme" then
  82. w:destroy()
  83. end
  84. end
  85. end
  86. if punishrandom == 1 then
  87. for i = 1,10 do
  88. for q,w in pairs(character:GetChildren()) do
  89. if w.ClassName == "Part" then
  90. w.Transparency = w.Transparency + 0.1
  91. end
  92. if w.ClassName == "Accessory" then
  93. if w:findFirstChild("Handle") then
  94. w.Handle.Transparency = w.Handle.Transparency + 0.1
  95. end
  96. end
  97. if w.Name == "Head" then
  98. if w:findFirstChildOfClass("Decal") then
  99. w:findFirstChildOfClass("Decal").Transparency = w:findFirstChildOfClass("Decal").Transparency + 0.1
  100. end
  101. end
  102. end
  103. wait()
  104. end
  105. for q,w in pairs(character:GetChildren()) do
  106. if w.ClassName == "Part" or w.ClassName == "Accessory" then
  107. w:destroy()
  108. end
  109. end
  110. elseif punishrandom == 2 then
  111. character:findFirstChildOfClass("Humanoid").WalkSpeed = 0
  112. character:findFirstChildOfClass("Humanoid").JumpPower = 0
  113. local function addweld()
  114. if character:findFirstChild("Torso") then
  115. local heead = Instance.new("Weld", character.Torso)
  116. heead.Part0 = character.Torso
  117. heead.Part1 = character.Head
  118. heead.C0 = CFrame.new(0,1.5,0)
  119. heead.Name = "HeadWeld"
  120. wait(0.7)
  121. for i = 0,1 , 0.08 do
  122. heead.C0 = heead.C0:lerp(CFrame.new(0,1.5,0.4) * CFrame.fromEulerAnglesXYZ(1.2,0,0),i)
  123. wait()
  124. end
  125. wait(0.7)
  126. while wait() do
  127. heead.C0 = heead.C0 * CFrame.fromEulerAnglesXYZ(0.5,0.5,0.5)
  128. end
  129. elseif character:findFirstChild("UpperTorso") then
  130. local heead = Instance.new("Weld", character.UpperTorso)
  131. heead.Part0 = character.UpperTorso
  132. heead.Part1 = character.Head
  133. heead.C0 = CFrame.new(0,1.5,0)
  134. heead.Name = "HeadWeld"
  135. wait(0.7)
  136. for i = 0,1 , 0.08 do
  137. heead.C0 = heead.C0:lerp(CFrame.new(0,1.5,0.4) * CFrame.fromEulerAnglesXYZ(1.2,0,0),i)
  138. wait()
  139. end
  140. wait(0.7)
  141. while wait() do
  142. heead.C0 = heead.C0 * CFrame.fromEulerAnglesXYZ(0.5,0.5,0.5)
  143. end
  144. end
  145. end
  146. spawn(addweld)
  147. local banhamma = Instance.new("Part", character)
  148. banhamma.Size = Vector3.new(3, 10, 2)
  149. banhamma:BreakJoints()
  150. banhamma.CFrame = character.Head.CFrame * CFrame.new(0,20,0) * CFrame.fromEulerAnglesXYZ(math.pi/2,0,1)
  151. banhamma.Name = "ban"
  152. banhamma.Transparency = 1
  153. banhamma.Anchored = true
  154. local mesh = Instance.new("SpecialMesh", banhamma)
  155. mesh.MeshId = "http://www.roblox.com/asset/?id=10604848"
  156. mesh.TextureId = "http://www.roblox.com/asset/?id=10605252"
  157. local special = Instance.new("Sound", banhamma)
  158. special.SoundId = "rbxassetid://427090157"
  159. special.Volume = 2
  160. special:Play()
  161. for i = 1,20 do
  162. banhamma.Transparency = banhamma.Transparency - 0.05
  163. if character:findFirstChildOfClass("Humanoid") then
  164. character:findFirstChildOfClass("Humanoid").JumpPower = 0
  165. character:findFirstChildOfClass("Humanoid").WalkSpeed = 0
  166. end
  167. wait()
  168. end
  169. local hammertime = Instance.new("Sound", banhamma)
  170. hammertime.SoundId = "rbxassetid://176192087"
  171. hammertime.Volume = 3
  172. hammertime:Play()
  173. wait(1)
  174. if character:findFirstChild("Head") then
  175. local scream = Instance.new("Sound", character.Head)
  176. scream.SoundId = "rbxassetid://176238381"
  177. scream.Volume = 2
  178. scream:Play()
  179. banhamma.Anchored = false
  180. local angularvel = Instance.new("BodyAngularVelocity", banhamma)
  181. angularvel.MaxTorque = Vector3.new(math.huge,math.huge,math.huge)
  182. angularvel.AngularVelocity = banhamma.CFrame.rightVector * 20
  183. local touchedban = false
  184. local function touched(part)
  185. if part.Name == "Head" and part.Parent == character then
  186. touchedban = true
  187. local aaaaaaaa = Instance.new("Sound", banhamma)
  188. aaaaaaaa.SoundId = "rbxassetid://147722910"
  189. aaaaaaaa.Volume = 2
  190. aaaaaaaa:Play()
  191. angularvel:Destroy()
  192. banhamma.CanCollide = true
  193. for i,v in pairs(character:GetChildren()) do
  194. if v.ClassName == "Part" and v.Name ~= "ban" or v.ClassName == "Accessory" then
  195. v:destroy()
  196. end
  197. end
  198. end
  199. end
  200. banhamma.Touched:connect(touched)
  201. wait(2)
  202. if not touchedban and character:findFirstChild("Head") then
  203. banhamma.CFrame = character:findFirstChild("Head").CFrame
  204. end
  205. end
  206. elseif punishrandom == 3 then
  207. character:BreakJoints()
  208. character:findFirstChildOfClass("Humanoid").Health = 0
  209. local explo = Instance.new("Explosion", character)
  210. explo.Position = character.Head.Position
  211. explo.BlastPressure = 0
  212. local boom = Instance.new("Sound", character.Head)
  213. boom.SoundId = "rbxassetid://262562442"
  214. boom.Volume = 3
  215. boom.Name = "booom"
  216. boom:Play()
  217. for i,v in pairs(character:GetChildren()) do
  218. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  219. local velocity = Instance.new("BodyVelocity", v)
  220. velocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  221. velocity.Velocity = Vector3.new(math.random(-60,60),math.random(-60,60),math.random(-60,60))
  222. game.Debris:AddItem(velocity, 0.5)
  223. end
  224. end
  225. if canragdollkill then
  226. character:BreakJoints()
  227. ragdollkill(character)
  228. else
  229. if character:findFirstChild("Head") then
  230. wait(2)
  231. character:findFirstChild("Head"):destroy()
  232. end
  233. end
  234. elseif punishrandom == 4 then
  235. character.Head:destroy()
  236. if character:findFirstChild("HumanoidRootPart") then
  237. local boom = Instance.new("Sound", character.HumanoidRootPart)
  238. boom.SoundId = "rbxassetid://775395533"
  239. boom.Volume = 1.5
  240. boom.Name = "chinese"
  241. boom:Play()
  242. end
  243. if canragdollkill then
  244. character:BreakJoints()
  245. ragdollkill(character)
  246. end
  247. elseif punishrandom == 5 then
  248. local hahahahahah = Instance.new("Sound", workspace)
  249. hahahahahah.SoundId = "rbxassetid://807874496"
  250. hahahahahah.Volume = 1.5
  251. hahahahahah:Play()
  252. game.Debris:AddItem(hahahahahah, hahahahahah.TimeLength)
  253. if character:findFirstChild("HumanoidRootPart") then
  254. local humanoidrootpart = Instance.new("Weld", character.HumanoidRootPart)
  255. humanoidrootpart.Part0 = character.HumanoidRootPart
  256. if character:findFirstChild("Torso") then
  257. humanoidrootpart.Part1 = character.Torso
  258. elseif character:findFirstChild("UpperTorso") then
  259. humanoidrootpart.Part1 = character.UpperTorso
  260. end
  261. humanoidrootpart.Name = "HumanoidRootPartWeld"
  262. local function rrreeeeee()
  263. while humanoidrootpart do
  264. humanoidrootpart.C0 = humanoidrootpart.C0 * CFrame.Angles(math.random(-2,2),math.random(-2,2),math.random(-2,2))
  265. wait()
  266. end
  267. end
  268. spawn(rrreeeeee)
  269. end
  270. local function thot()
  271. for i = 1,20 do
  272. for q,w in pairs(character:GetChildren()) do
  273. if w.ClassName == "Part" then
  274. w.Transparency = w.Transparency + 0.05
  275. end
  276. if w.ClassName == "Accessory" then
  277. if w:findFirstChild("Handle") then
  278. w.Handle.Transparency = w.Handle.Transparency + 0.05
  279. end
  280. end
  281. if w.Name == "Head" then
  282. if w:findFirstChildOfClass("Decal") then
  283. w:findFirstChildOfClass("Decal").Transparency = w:findFirstChildOfClass("Decal").Transparency + 0.05
  284. end
  285. end
  286. end
  287. wait()
  288. end
  289. for q,w in pairs(character:GetChildren()) do
  290. if w.ClassName == "Part" or w.ClassName == "Accessory" then
  291. w:destroy()
  292. end
  293. end
  294. end
  295. spawn(thot)
  296. elseif punishrandom == 6 then
  297. for q,w in pairs(character:GetChildren()) do
  298. if w.ClassName == "Part" or w.ClassName == "MeshPart" then
  299. w.Anchored = true
  300. end
  301. if w.Name == "Health" and w.ClassName == "Script" then
  302. w.Disabled = true
  303. end
  304. end
  305. local aaaaaaaaa = Instance.new("Sound", character.Head)
  306. aaaaaaaaa.SoundId = "rbxassetid://3181950107"
  307. aaaaaaaaa.Volume = 3
  308. aaaaaaaaa:Play()
  309. aaaaaaaaa.TimePosition = 2.9
  310. local hydraulicpress = Instance.new("Part", character)
  311. hydraulicpress.Size = Vector3.new(12,6,12)
  312. hydraulicpress.Anchored = true
  313. hydraulicpress.Material = "CorrodedMetal"
  314. hydraulicpress.CFrame = character.Head.CFrame * CFrame.new(0,20,0)
  315. local hydraulicpress2 = Instance.new("Part", character)
  316. hydraulicpress2.Size = Vector3.new(3,1000,3)
  317. hydraulicpress2.Anchored = true
  318. hydraulicpress2.Material = "CorrodedMetal"
  319. hydraulicpress2.CFrame = hydraulicpress.CFrame * CFrame.new(0,hydraulicpress2.Size.y/2,0)
  320. for i = 1,9 do
  321. hydraulicpress2.CFrame = hydraulicpress2.CFrame * CFrame.new(0,-2.4,0)
  322. hydraulicpress.CFrame = hydraulicpress.CFrame * CFrame.new(0,-2.4,0)
  323. game:GetService("RunService").Stepped:wait()
  324. end
  325. if character:findFirstChildOfClass("Humanoid") then
  326. character:findFirstChildOfClass("Humanoid").Health = 0.01
  327. end
  328. wait(3)
  329. character:BreakJoints()
  330. elseif punishrandom == 7 then
  331. local congrats_pleb = Instance.new("Sound", character.Head)
  332. congrats_pleb.SoundId = "rbxassetid://360099761"
  333. congrats_pleb.Volume = 5.999
  334. congrats_pleb.Name = "congratzpleb"
  335. local notorbitalflutesound = Instance.new("Sound", character.Head)
  336. notorbitalflutesound.SoundId = "rbxassetid://225627419"
  337. notorbitalflutesound.Volume = 5.999
  338. notorbitalflutesound.Name = "congratzpleb1"
  339. notorbitalflutesound:Play()
  340. congrats_pleb:Play()
  341. game.Debris:AddItem(notorbitalflutesound, 0.3)
  342. game.Debris:AddItem(congrats_pleb, 3)
  343. -- Farewell Infortality.
  344. -- Version: 2.82
  345. -- Instances:
  346. local ScreenGui = Instance.new("ScreenGui")
  347. game.Debris:AddItem(ScreenGui,2.5)
  348. local h = Instance.new("TextLabel")
  349. --Properties:
  350. ScreenGui.Name = "ąęśżźółń"
  351. ScreenGui.Parent = game:GetService("Players"):findFirstChild(character.Name):findFirstChildOfClass("PlayerGui")
  352. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  353.  
  354. h.Name = "h ę"
  355. h.Parent = ScreenGui
  356. h.BackgroundColor3 = Color3.new(1, 1, 1)
  357. h.BackgroundTransparency = 1
  358. h.Size = UDim2.new(1, 0, 1, 0)
  359. h.Font = Enum.Font.SourceSansLight
  360. h.TextColor3 = Color3.new(1, 1, 1)
  361. h.TextScaled = true
  362. h.TextSize = 14
  363. h.TextWrapped = true
  364. h.Text = "Congratulations,"
  365. wait(1)
  366. h.Text = "you played yourself."
  367. wait(0.8)
  368. if character:findFirstChild("Head") then
  369. --Converted with ttyyuu12345's model to script plugin v4
  370. local function sandbox(var,func)
  371. local env = getfenv(func)
  372. local newenv = setmetatable({},{
  373. __index = function(self,k)
  374. if k=="script" then
  375. return var
  376. else
  377. return env[k]
  378. end
  379. end,
  380. })
  381. setfenv(func,newenv)
  382. return func
  383. end
  384. local cors = {}
  385. local mas = Instance.new("Model",game:GetService("Lighting"))
  386. local fluuute = Instance.new("Part")
  387. local SpecialMesh1 = Instance.new("SpecialMesh")
  388. fluuute.Name = "wooosh"
  389. fluuute.Parent = mas
  390. fluuute.Anchored = true
  391. fluuute.CFrame = CFrame.new(-9.54999828, 10.7131758, -2.17677665, 1, 0, 0, 0, 0.707106709, 0.707106709, 0, -0.707106709, 0.707106709)
  392. fluuute.Orientation = Vector3.new(-45, 0, 0)
  393. fluuute.Position = Vector3.new(-9.54999828, 10.7131758, -2.17677665)
  394. fluuute.Rotation = Vector3.new(-45, 0, 0)
  395. fluuute.Size = Vector3.new(0.099999927, 2.4000001, 0.0999999568)
  396. fluuute.BottomSurface = Enum.SurfaceType.Smooth
  397. fluuute.TopSurface = Enum.SurfaceType.Smooth
  398. fluuute.FormFactor = Enum.FormFactor.Custom
  399. fluuute.formFactor = Enum.FormFactor.Custom
  400. fluuute.CanCollide = false
  401. SpecialMesh1.Parent = fluuute
  402. SpecialMesh1.MeshId = "rbxassetid://223104924"
  403. SpecialMesh1.Scale = Vector3.new(0.25, 0.25, 0.25)
  404. SpecialMesh1.TextureId = "rbxassetid://223104978"
  405. SpecialMesh1.MeshType = Enum.MeshType.FileMesh
  406. for i,v in pairs(mas:GetChildren()) do
  407. v.Parent = character
  408. pcall(function() v:MakeJoints() end)
  409. end
  410. mas:Destroy()
  411. for i,v in pairs(cors) do
  412. spawn(function()
  413. pcall(v)
  414. end)
  415. end
  416. fluuute.CFrame = character.Head.CFrame * CFrame.new(math.random(-600,600),600,math.random(-600,600))
  417. Instance.new("Fire", fluuute)
  418. local orbitalwoosh = Instance.new("Sound", fluuute)
  419. orbitalwoosh.SoundId = "rbxassetid://97179624"
  420. orbitalwoosh.Volume = 5.999
  421. orbitalwoosh:Play()
  422. orbitalwoosh.Looped = true
  423. orbitalwoosh.PlaybackSpeed = 0.9
  424. local canchase = true
  425. local function flyto()
  426. while game:GetService("RunService").Stepped:wait() and character do
  427. if character:findFirstChild("Head") then
  428. if (character.Head.Position - fluuute.Position).magnitude > 1.5 and canchase then
  429. fluuute.CFrame = CFrame.new(fluuute.Position, character:findFirstChild("Head").Position) * CFrame.Angles(-math.pi/2,0,0)
  430. fluuute.CFrame = fluuute.CFrame * CFrame.new(0,1.5,0)
  431. if fluuute:findFirstChild("ray") then
  432. fluuute:findFirstChild("ray"):destroy()
  433. end
  434. local raye = Ray.new(fluuute.CFrame.p, fluuute.CFrame.upVector * 1000)
  435. local hit, position = workspace:FindPartOnRayWithIgnoreList(raye, {fluuute})
  436. local partte = Instance.new("Part", fluuute)
  437. partte.Anchored = true
  438. partte.CanCollide = false
  439. partte.Material = "Neon"
  440. partte.BrickColor = BrickColor.new("Really red")
  441. partte.Name = "ray"
  442. partte.Size = Vector3.new(0,0,(fluuute.Position - position).magnitude)
  443. partte.CFrame = CFrame.new(fluuute.Position, position) * CFrame.new(0,0,-(fluuute.Position - position).magnitude/2)
  444. else
  445. if character then
  446. if canchase and character:findFirstChild("Head") then
  447. canchase = false
  448. local Sound2 = Instance.new("Sound", workspace)
  449. Sound2.Name = "Explosion"
  450. Sound2.SoundId = "rbxassetid://55224766"
  451. Sound2:Play()
  452. orbitalwoosh:Stop()
  453. fluuute.Transparency = 1
  454. if fluuute:FindFirstChildOfClass("Fire") then
  455. fluuute:FindFirstChildOfClass("Fire"):destroy()
  456. end
  457. game.Debris:AddItem(Sound2, Sound2.TimeLength)
  458. game.Debris:AddItem(fluuute, Sound2.TimeLength)
  459. local boom = Instance.new("Explosion", workspace)
  460. boom.BlastRadius = 0
  461. boom.Position = character.Head.Position
  462. character:BreakJoints()
  463. for i,v in pairs(character:GetChildren()) do
  464. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  465. v.BrickColor = BrickColor.new("Black")
  466. Instance.new("Fire", v)
  467. end
  468. end
  469. if canragdollkill then
  470. ragdollkill(character)
  471. end
  472. end
  473. end
  474. end
  475. end
  476. end
  477. end
  478. local function higherpitch()
  479. orbitalwoosh.PlaybackSpeed = orbitalwoosh.PlaybackSpeed + 0.2
  480. end
  481. orbitalwoosh.DidLoop:connect(higherpitch)
  482. spawn(flyto)
  483. end
  484. end
  485. end
  486. spawn(thotbegone)
  487. end
  488. end
  489. function scan()
  490. while wait() do
  491. for i,w in pairs(workspace:GetChildren()) do
  492. if w.ClassName == "Sound" and w.Name ~= "Sound" and not w:findFirstChild("muted") then
  493. if w.Volume >= 6 then
  494. Instance.new("BoolValue", w).Name = "muted"
  495. local function lolriplmao()
  496. while game:GetService("RunService").Stepped:wait() do
  497. w.Volume = 1
  498. end
  499. end
  500. spawn(lolriplmao)
  501. message("LOUD AUDIO !!!!")
  502. end
  503. end
  504. end
  505. for i,v in pairs(game:GetService("Players"):GetChildren()) do
  506. if v.ClassName == "Sound" then
  507. v:destroy()
  508. end
  509. if v.Character then
  510. if not v.Character:findFirstChild("pwned") then
  511. --fat remote
  512. if v.Character:findFirstChild("Remote") then
  513. if v.Character:findFirstChild("Remote"):findFirstChild("Handle") then
  514. if v.Character:findFirstChild("Remote"):findFirstChild("Handle"):findFirstChild("p4") then
  515. v.Character:findFirstChild("Remote"):findFirstChild("Handle"):destroy()
  516. v.Character:findFirstChild("Remote"):destroy()
  517. punishplayer(v.Character)
  518. message(v.Name.." USED REMOTE")
  519. end
  520. end
  521. end
  522. --fat banisher
  523. if v.Character:findFirstChild("Adds") then
  524. v.Character:findFirstChild("Adds"):destroy()
  525. punishplayer(v.Character)
  526. v:LoadCharacter()
  527. message(v.Name.." used a banish")
  528. end
  529. --gay ass eggdog
  530. if v.Character:findFirstChild("EggDog") then
  531. punishplayer(v.Character)
  532. message(v.Name.." has used Egg-Dog script.")
  533. end
  534. --abuse bazooka
  535. if v.Character:findFirstChild("Banzai Bazooka") then
  536. punishplayer(v.Character)
  537. message(v.Name.." has used Banzai Bazooka.")
  538. end
  539. --shini
  540. if v.Character:findFirstChild("Shini-G4-MI") then
  541. punishplayer(v.Character)
  542. message(v.Name.." has used Shini-G4-MI.")
  543. end
  544. --flamingo meme moment
  545. if v.Character:findFirstChild("OofHead") then
  546. punishplayer(v.Character)
  547. message(v.Name.." has used a script from the worm familiy.")
  548. end
  549. --white shiny flying unkillable dominus thing
  550. if v.Character:findFirstChild("Control.mp3") then
  551. punishplayer(v.Character)
  552. v:LoadCharacter()
  553. message(v.Name.." has used a script that has 'Controlmp3'' in it.")
  554. end
  555. --ultra instict 2019
  556. if v.Character:findFirstChild("Hair") then
  557. if v.Character.Hair:findFirstChild("Mesh") then
  558. if v.Character.Hair.Mesh.MeshId == "rbxassetid://455100513" then
  559. local function uncol()
  560. while game:GetService("RunService").Stepped:wait() do
  561. if v.Character:findFirstChild("Hair") then
  562. v.Character.Hair.CanCollide = false
  563. end
  564. end
  565. end
  566. spawn(uncol)
  567. for q,w in pairs(v.Character:GetChildren()) do
  568. if w.Name == "NewPart" then
  569. w.CanCollide = false
  570. end
  571. end
  572. punishplayer(v.Character)
  573. message(v.Name.." IS A SKID GOKU")
  574. end
  575. end
  576. end
  577. --nahid Chara
  578. if v.Character:findFirstChild("Blob") then
  579. if v.Character:findFirstChild("Name") then
  580. if v.Character:findFirstChild("Name"):findFirstChild("TextLabel") then
  581. v.Character:findFirstChild("Name").TextLabel.Text = "lol skid"
  582. punishplayer(v.Character)
  583. message(v.Name.." has used NOOB SWITCHER / NAHID CHARA OR JEVIL")
  584. end
  585. end
  586. end
  587. --star glitcher
  588. if v.Character:findFirstChild("Head") then
  589. if v.Character.Head:findFirstChild("ModeName") then
  590. if v.Character.Head:findFirstChild("ModeName"):findFirstChildOfClass("TextLabel") then
  591. v.Character.Head:findFirstChild("ModeName"):findFirstChildOfClass("TextLabel").Text = "nah get out star skid"
  592. punishplayer(v.Character)
  593. message(v.Name.."USED A SKID GLITCHER")
  594. end
  595. end
  596. end
  597. if v.Character:findFirstChildOfClass("Sound") then
  598. if v.Character:findFirstChildOfClass("Sound").SoundId == "rbxassetid://614032233" or v.Character:findFirstChildOfClass("Sound").SoundId == "rbxassetid://415898123" or v.Character:findFirstChildOfClass("Sound").Name == "wrecked" then
  599. punishplayer(v.Character)
  600. message(v.Name.." has used Star Glitcher.")
  601. end
  602. end
  603. --big ban theory
  604. if v.Character:findFirstChild("Hammer") then
  605. v.Character:findFirstChild("Hammer"):destroy()
  606. punishplayer(v.Character)
  607. message(v.Name.." used the BIG BIG BIG BIG BIG BAN HAMMAR")
  608. end
  609. --dual doom
  610. if v.Character:findFirstChild("Dual Doom") then
  611. v.Character:findFirstChild("Dual Doom"):destroy()
  612. if v.Character:findFirstChild("Dual Doom") then
  613. v.Character:findFirstChild("Dual Doom"):destroy()
  614. end
  615. punishplayer(v.Character)
  616. message(v.Name.." the kickguns")
  617. end
  618. --jevil
  619. if v.Character:findFirstChild("Torso") then
  620. if v.Character.Torso:findFirstChild("JevilTheme") then
  621. v.Character.Torso:findFirstChild("JevilTheme").SoundId = "rbxassetid://1953695670"
  622. v.Character.Torso:findFirstChild("JevilTheme").TimePosition = 5
  623. v.Character.Torso:findFirstChild("JevilTheme"):Play()
  624. punishplayer(v.Character)
  625. message(v.Name.."IS A SKID JEVIL.")
  626. end
  627. end
  628. --dead gun
  629. if v.Character:findFirstChild("Torso") then
  630. if v.Character.Torso:findFirstChild("Sound") then
  631. if v.Character.Torso:findFirstChild("Sound").SoundId == "rbxassetid://318812395" then
  632. v.Character.Torso:findFirstChild("Sound").SoundId = "rbxassetid://775395533"
  633. punishplayer(v.Character)
  634. message(v.Name.." has used Dead Gun.")
  635. end
  636. end
  637. end
  638. --guest glitcher
  639. if v.Character:findFirstChild("wreckeda") then
  640. punishplayer(v.Character)
  641. message(v.Name.." has used Guest Glitcher/Galaxy Glitcher.")
  642. end
  643. --xester
  644. if v.Character:findFirstChild("Head") then
  645. if v.Character.Head:findFirstChild("eyo1") then
  646. punishplayer(v.Character)
  647. message(v.Name.." has used Xester.")
  648. end
  649. end
  650. --the switcher
  651. if v.Character:findFirstChild("_status") then
  652. if v.Character["_status"]:findFirstChildOfClass("TextLabel") then
  653. v.Character["_status"]:findFirstChildOfClass("TextLabel").Text = "epic skid moment woooooo"
  654. punishplayer(v.Character)
  655. message(v.Name.." has used an auto added annoying script.")
  656. end
  657. end
  658. --chaotic glicher
  659. if v.Character:findFirstChild("_status") then
  660. if v.Character["_status"]:findFirstChild("TextLabel") then
  661. if string.sub(v.Character["_status"]:findFirstChild("TextLabel").Text,1,5) == "Lunar" then
  662. v.Character["_status"]:findFirstChild("TextLabel").Text = "rip chaotic lol"
  663. punishplayer(v.Character)
  664. message(v.Name.." has used Chaotic Glicher.")
  665. end
  666. end
  667. end
  668. end
  669. end
  670. end
  671. end
  672. end
  673. spawn(scan)
  674. function commands(chat)
  675. if string.sub(chat, 1,8) == ",ragdoll" then
  676. if string.sub(chat, 10,11) == "on" then
  677. canragdollkill = true
  678. message("Ragdoll on!")
  679. end
  680. if string.sub(chat, 10,12) == "off" then
  681. message("Ragdoll off!")
  682. canragdollkill = false
  683. end
  684. end
  685. if string.sub(chat, 1,7) == ",notify" then
  686. if string.sub(chat, 9,10) == "on" then
  687. cannotify = true
  688. message("Notifications on!")
  689. end
  690. if string.sub(chat, 9,11)--[[ << coincidence?]] == "off" then
  691. message("Notifications off!")
  692. cannotify = false
  693. end
  694. end
  695. if string.sub(chat, 1,7) == ",whitelist" then
  696. if string.sub(chat, 9,10) == "on" then
  697.  
  698. message("X4142Y")
  699. message("themrbenja2")
  700. message("CarlosRT104")
  701. message("Rufus14")
  702. message("trades")
  703. message("(none)")
  704. message("(none)")
  705. message("(none)")
  706. message("(none)")
  707. message("(none)")
  708. message("(none)")
  709. message("(none)")
  710. end
  711. if string.sub(chat, 9,11)--[[ << coincidence?]] == "off" then
  712. message("BEGONE ")
  713. cannotify = false
  714. wait()
  715. cannotify = true
  716. end
  717. end
  718. if string.sub(chat, 1,5) == ",stop" then
  719. local ply = game:GetService("Players"):findFirstChild(string.sub(chat, 7))
  720. if ply then
  721. if ply.Name == "Rufus14" then
  722. message("get out")
  723. punishplayer(owner.Character)
  724. else
  725. if ply.Character then
  726. punishplayer(ply.Character)
  727. message("Punished "..ply.Name..".")
  728. else
  729. message("Player isnt even spawned.")
  730. end
  731. end
  732. else
  733. message("Cannot find the player named '"..string.sub(chat, 10).."'.")
  734. end
  735. end
  736. if string.sub(chat, 1,5) == ",ban" then
  737. local ply = game:GetService("Players"):findFirstChild(string.sub(chat, 7))
  738. if ply then
  739. if ply.Name == "Rufus14" then
  740. message("get out")
  741. punishplayer(owner.Character)
  742. else
  743. if ply.Character then
  744. punishplayer(ply.Character)
  745. wait(6)
  746. ply:Kick("skid")
  747. message("kicked "..ply.Name..".")
  748. else
  749. message("Player isnt even spawned.")
  750. end
  751. end
  752. else
  753. message("Cannot find the player named '"..string.sub(chat, 10).."'.")
  754. end
  755. end
  756. if string.sub(chat, 1,10) == ",unsandbox" then
  757. local ply = game:GetService("Players"):findFirstChild(string.sub(chat, 12))
  758. if ply then
  759. local lool = Instance.new("BoolValue", ply)
  760. lool.Name = "stopsandboxing"
  761. game.Debris:AddItem(lool, 0.5)
  762. message("Unsandboxed "..ply.Name..".")
  763. else
  764. message("Cannot find the player named '"..string.sub(chat, 12).."'.")
  765. end
  766. end
  767. if string.sub(chat, 1,8) == ",sandbox" then
  768. if string.sub(chat, 10,12) == "all" then
  769. for i,v in pairs(game:GetService("Players"):GetChildren()) do
  770. if v.Character then
  771. local ply = v
  772. modell = Instance.new("Model", workspace:FindFirstChildOfClass("Terrain"))
  773. modell.Name = tostring(math.random(1,999999)) + tostring(math.random(1,999999))
  774. local scamhumanoid = Instance.new("Humanoid", modell)
  775. modell2 = Instance.new("Model", modell)
  776. modell2.Name = tostring(math.random(1,999999)) + tostring(math.random(1,999999))
  777. ply.Character.Parent = modell2
  778. ply.Character:findFirstChildOfClass("Humanoid").Name = tostring(math.random(1,999999)) + tostring(math.random(1,999999))
  779. local function checkifnil()
  780. if ply.Character:findFirstChild("HumanoidRootPart") then
  781. if ply:findFirstChild("humrootpos") then
  782. ply:findFirstChild("humrootpos").Value = ply.Character.HumanoidRootPart.CFrame
  783. else
  784. local posnow = Instance.new("CFrameValue", ply)
  785. posnow.Value = ply.Character.HumanoidRootPart.CFrame
  786. posnow.Name = "humrootpos"
  787. end
  788. end
  789. while wait() and not ply:findFirstChild("stopsandboxing") do
  790. if ply.Character then
  791. if ply.Character:findFirstChild("HumanoidRootPart") then
  792. if ply:findFirstChild("humrootpos") then
  793. ply:findFirstChild("humrootpos").Value = ply.Character.HumanoidRootPart.CFrame
  794. else
  795. local posnow = Instance.new("CFrameValue", ply)
  796. posnow.Value = ply.Character.HumanoidRootPart.CFrame
  797. posnow.Name = "humrootpos"
  798. end
  799. end
  800. end
  801. if ply.Character.Parent == nil or modell.Parent == nil or modell2.Parent == nil then
  802. ply:LoadCharacter()
  803. while not ply.Character do
  804. game:GetService("RunService").Stepped:wait()
  805. end
  806. ply.Character.HumanoidRootPart.CFrame = ply:findFirstChild("humrootpos").Value
  807. wait()
  808. modell = Instance.new("Model", workspace:FindFirstChildOfClass("Terrain"))
  809. modell.Name = tostring(math.random(1,999999)) + tostring(math.random(1,999999))
  810. local scamhumanoid = Instance.new("Humanoid", modell)
  811. modell2 = Instance.new("Model", modell)
  812. modell2.Name = tostring(math.random(1,999999)) + tostring(math.random(1,999999))
  813. ply.Character.Parent = modell2
  814. ply.Character:findFirstChildOfClass("Humanoid").Name = tostring(math.random(1,999999)) + tostring(math.random(1,999999))
  815. end
  816. end
  817. print("stopped")
  818. ply:LoadCharacter()
  819. while not ply.Character do
  820. game:GetService("RunService").Stepped:wait()
  821. end
  822. ply.Character.HumanoidRootPart.CFrame = ply:findFirstChild("humrootpos").Value
  823. ply:findFirstChild("humrootpos"):destroy()
  824. end
  825. spawn(checkifnil)
  826. message("Separated every player from workspace.")
  827. end
  828. end
  829. else
  830. local ply = game:GetService("Players"):findFirstChild(string.sub(chat, 10))
  831. if ply then
  832. if ply.Character then
  833. modell = Instance.new("Model", workspace:FindFirstChildOfClass("Terrain"))
  834. modell.Name = tostring(math.random(1,999999)) + tostring(math.random(1,999999))
  835. local scamhumanoid = Instance.new("Humanoid", modell)
  836. modell2 = Instance.new("Model", modell)
  837. modell2.Name = tostring(math.random(1,999999)) + tostring(math.random(1,999999))
  838. ply.Character.Parent = modell2
  839. ply.Character:findFirstChildOfClass("Humanoid").Name = tostring(math.random(1,999999)) + tostring(math.random(1,999999))
  840. local function checkifnil()
  841. if ply.Character:findFirstChild("HumanoidRootPart") then
  842. if ply:findFirstChild("humrootpos") then
  843. ply:findFirstChild("humrootpos").Value = ply.Character.HumanoidRootPart.CFrame
  844. else
  845. local posnow = Instance.new("CFrameValue", ply)
  846. posnow.Value = ply.Character.HumanoidRootPart.CFrame
  847. posnow.Name = "humrootpos"
  848. end
  849. end
  850. while wait() and not ply:findFirstChild("stopsandboxing") do
  851. if ply.Character then
  852. if ply.Character:findFirstChild("HumanoidRootPart") then
  853. if ply:findFirstChild("humrootpos") then
  854. ply:findFirstChild("humrootpos").Value = ply.Character.HumanoidRootPart.CFrame
  855. else
  856. local posnow = Instance.new("CFrameValue", ply)
  857. posnow.Value = ply.Character.HumanoidRootPart.CFrame
  858. posnow.Name = "humrootpos"
  859. end
  860. end
  861. end
  862. if ply.Character.Parent == nil or modell.Parent == nil or modell2.Parent == nil then
  863. ply:LoadCharacter()
  864. while not ply.Character do
  865. game:GetService("RunService").Stepped:wait()
  866. end
  867. ply.Character.HumanoidRootPart.CFrame = ply:findFirstChild("humrootpos").Value
  868. wait()
  869. modell = Instance.new("Model", workspace:FindFirstChildOfClass("Terrain"))
  870. modell.Name = tostring(math.random(1,999999)) + tostring(math.random(1,999999))
  871. local scamhumanoid = Instance.new("Humanoid", modell)
  872. modell2 = Instance.new("Model", modell)
  873. modell2.Name = tostring(math.random(1,999999)) + tostring(math.random(1,999999))
  874. ply.Character.Parent = modell2
  875. ply.Character:findFirstChildOfClass("Humanoid").Name = tostring(math.random(1,999999)) + tostring(math.random(1,999999))
  876. end
  877. end
  878. print("stopped")
  879. ply:LoadCharacter()
  880. while not ply.Character do
  881. game:GetService("RunService").Stepped:wait()
  882. end
  883. ply.Character.HumanoidRootPart.CFrame = ply:findFirstChild("humrootpos").Value
  884. ply:findFirstChild("humrootpos"):destroy()
  885. end
  886. spawn(checkifnil)
  887. message("Separated "..ply.Name.." from workspace.")
  888. else
  889. message("Player didnt spawn yet.")
  890. end
  891. else
  892. message("Cannot find the player named '"..string.sub(chat, 10).."'.")
  893. end
  894. end
  895. end
  896. end
  897. owner.Chatted:connect(commands)
  898. function ragdollkill(character)
  899. local victimshumanoid = character:findFirstChildOfClass("Humanoid")
  900. if character:findFirstChild("wooosh") then
  901. character:findFirstChild("wooosh"):destroy()
  902. end
  903. if not character:findFirstChild("UpperTorso") then
  904. character.Archivable = true
  905. for i,v in pairs(character:GetChildren()) do
  906. if v.ClassName == "Sound" then
  907. v:remove()
  908. end
  909. for q,w in pairs(v:GetChildren()) do
  910. if w.ClassName == "Sound" and w.Name ~= "chinese" and w.Name ~= "booom" then
  911. w:remove()
  912. end
  913. end
  914. end
  915. local ragdoll = character:Clone()
  916. ragdoll:findFirstChildOfClass("Humanoid").Health = 0
  917. if ragdoll:findFirstChild("Health") then
  918. if ragdoll:findFirstChild("Health").ClassName == "Script" then
  919. ragdoll:findFirstChild("Health").Disabled = true
  920. end
  921. end
  922. for i,v in pairs(character:GetChildren()) do
  923. if v.ClassName == "Part" or v.ClassName == "ForceField" or v.ClassName == "Accessory" or v.ClassName == "Hat" then
  924. v:destroy()
  925. end
  926. end
  927. for i,v in pairs(character:GetChildren()) do
  928. if v.ClassName == "Accessory" then
  929. local attachment1 = v.Handle:findFirstChildOfClass("Attachment")
  930. if attachment1 then
  931. for q,w in pairs(character:GetChildren()) do
  932. if w.ClassName == "Part" then
  933. local attachment2 = w:findFirstChild(attachment1.Name)
  934. if attachment2 then
  935. local hinge = Instance.new("HingeConstraint", v.Handle)
  936. hinge.Attachment0 = attachment1
  937. hinge.Attachment1 = attachment2
  938. hinge.LimitsEnabled = true
  939. hinge.LowerAngle = 0
  940. hinge.UpperAngle = 0
  941. end
  942. end
  943. end
  944. end
  945. end
  946. end
  947. ragdoll.Parent = workspace
  948. if ragdoll:findFirstChild("Right Arm") then
  949. local glue = Instance.new("Glue", ragdoll.Torso)
  950. glue.Part0 = ragdoll.Torso
  951. glue.Part1 = ragdoll:findFirstChild("Right Arm")
  952. glue.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  953. glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  954. local limbcollider = Instance.new("Part", ragdoll:findFirstChild("Right Arm"))
  955. limbcollider.Size = Vector3.new(1.4,1,1)
  956. limbcollider.Shape = "Cylinder"
  957. limbcollider.Transparency = 1
  958. limbcollider.Name = "LimbCollider"
  959. local limbcolliderweld = Instance.new("Weld", limbcollider)
  960. limbcolliderweld.Part0 = ragdoll:findFirstChild("Right Arm")
  961. limbcolliderweld.Part1 = limbcollider
  962. limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  963. end
  964. if ragdoll:findFirstChild("Left Arm") then
  965. local glue = Instance.new("Glue", ragdoll.Torso)
  966. glue.Part0 = ragdoll.Torso
  967. glue.Part1 = ragdoll:findFirstChild("Left Arm")
  968. glue.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  969. glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  970. local limbcollider = Instance.new("Part", ragdoll:findFirstChild("Left Arm"))
  971. limbcollider.Size = Vector3.new(1.4,1,1)
  972. limbcollider.Shape = "Cylinder"
  973. limbcollider.Name = "LimbCollider"
  974. limbcollider.Transparency = 1
  975. local limbcolliderweld = Instance.new("Weld", limbcollider)
  976. limbcolliderweld.Part0 = ragdoll:findFirstChild("Left Arm")
  977. limbcolliderweld.Part1 = limbcollider
  978. limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  979. end
  980. if ragdoll:findFirstChild("Left Leg") then
  981. local glue = Instance.new("Glue", ragdoll.Torso)
  982. glue.Part0 = ragdoll.Torso
  983. glue.Part1 = ragdoll:findFirstChild("Left Leg")
  984. glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  985. glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  986. local limbcollider = Instance.new("Part", ragdoll:findFirstChild("Left Leg"))
  987. limbcollider.Size = Vector3.new(1.4,1,1)
  988. limbcollider.Shape = "Cylinder"
  989. limbcollider.Name = "LimbCollider"
  990. limbcollider.Transparency = 1
  991. local limbcolliderweld = Instance.new("Weld", limbcollider)
  992. limbcolliderweld.Part0 = ragdoll:findFirstChild("Left Leg")
  993. limbcolliderweld.Part1 = limbcollider
  994. limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  995. end
  996. if ragdoll:findFirstChild("Right Leg") then
  997. local glue = Instance.new("Glue", ragdoll.Torso)
  998. glue.Part0 = ragdoll.Torso
  999. glue.Part1 = ragdoll:findFirstChild("Right Leg")
  1000. glue.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1001. glue.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1002. local limbcollider = Instance.new("Part", ragdoll:findFirstChild("Right Leg"))
  1003. limbcollider.Size = Vector3.new(1.4,1,1)
  1004. limbcollider.Shape = "Cylinder"
  1005. limbcollider.Name = "LimbCollider"
  1006. limbcollider.Transparency = 1
  1007. local limbcolliderweld = Instance.new("Weld", limbcollider)
  1008. limbcolliderweld.Part0 = ragdoll:findFirstChild("Right Leg")
  1009. limbcolliderweld.Part1 = limbcollider
  1010. limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  1011. end
  1012. if ragdoll:findFirstChild("Head") and ragdoll.Torso:findFirstChild("NeckAttachment") then
  1013. local HeadAttachment = Instance.new("Attachment", ragdoll["Head"])
  1014. HeadAttachment.Position = Vector3.new(0, -0.5, 0)
  1015. local connection = Instance.new('HingeConstraint', ragdoll["Head"])
  1016. connection.LimitsEnabled = true
  1017. connection.Attachment0 = ragdoll.Torso.NeckAttachment
  1018. connection.Attachment1 = HeadAttachment
  1019. connection.UpperAngle = 60
  1020. connection.LowerAngle = -60
  1021. elseif ragdoll:findFirstChild("Head") and not ragdoll.Torso:findFirstChild("NeckAttachment") then
  1022. local hedweld = Instance.new("Weld", ragdoll.Torso)
  1023. hedweld.Part0 = ragdoll.Torso
  1024. hedweld.Part1 = ragdoll.Head
  1025. hedweld.C0 = CFrame.new(0,1.5,0)
  1026. end
  1027. game.Debris:AddItem(ragdoll, 5)
  1028. local function aaaalol()
  1029. wait(0.2)
  1030. local function searchforvelocity(wot)
  1031. for i,v in pairs(wot:GetChildren()) do
  1032. searchforvelocity(v)
  1033. if v.ClassName == "BodyPosition" or v.ClassName == "BodyVelocity" then
  1034. v:destroy()
  1035. end
  1036. end
  1037. end
  1038. searchforvelocity(ragdoll)
  1039. wait(0.5)
  1040. if ragdoll:findFirstChildOfClass("Humanoid") then
  1041. ragdoll:findFirstChildOfClass("Humanoid").PlatformStand = true
  1042. end
  1043. if ragdoll:findFirstChild("HumanoidRootPart") then
  1044. ragdoll:findFirstChild("HumanoidRootPart"):destroy()
  1045. end
  1046. end
  1047. spawn(aaaalol)
  1048. elseif character:findFirstChild("UpperTorso") then
  1049. character.Archivable = true
  1050. for i,v in pairs(character:GetChildren()) do
  1051. if v.ClassName == "Sound" then
  1052. v:remove()
  1053. end
  1054. for q,w in pairs(v:GetChildren()) do
  1055. if w.ClassName == "Sound" and w.Name ~= "chinese" and w.Name ~= "booom" then
  1056. w:remove()
  1057. end
  1058. end
  1059. end
  1060. local ragdoll = character:Clone()
  1061. ragdoll:findFirstChildOfClass("Humanoid").Health = 0
  1062. if ragdoll:findFirstChild("Health") then
  1063. if ragdoll:findFirstChild("Health").ClassName == "Script" then
  1064. ragdoll:findFirstChild("Health").Disabled = true
  1065. end
  1066. end
  1067. for i,v in pairs(character:GetChildren()) do
  1068. if v.ClassName == "Part" or v.ClassName == "ForceField" or v.ClassName == "Accessory" or v.ClassName == "Hat" or v.ClassName == "MeshPart" then
  1069. v:destroy()
  1070. end
  1071. end
  1072. for i,v in pairs(character:GetChildren()) do
  1073. if v.ClassName == "Accessory" then
  1074. local attachment1 = v.Handle:findFirstChildOfClass("Attachment")
  1075. if attachment1 then
  1076. for q,w in pairs(character:GetChildren()) do
  1077. if w.ClassName == "Part" or w.ClassName == "MeshPart" then
  1078. local attachment2 = w:findFirstChild(attachment1.Name)
  1079. if attachment2 then
  1080. local hinge = Instance.new("HingeConstraint", v.Handle)
  1081. hinge.Attachment0 = attachment1
  1082. hinge.Attachment1 = attachment2
  1083. hinge.LimitsEnabled = true
  1084. hinge.LowerAngle = 0
  1085. hinge.UpperAngle = 0
  1086. end
  1087. end
  1088. end
  1089. end
  1090. end
  1091. end
  1092. ragdoll.Parent = workspace
  1093. local Humanoid = ragdoll:findFirstChildOfClass("Humanoid")
  1094. Humanoid.PlatformStand = true
  1095. local function makeballconnections(limb, attachementone, attachmenttwo, twistlower, twistupper)
  1096. local connection = Instance.new('BallSocketConstraint', limb)
  1097. connection.LimitsEnabled = true
  1098. connection.Attachment0 = attachementone
  1099. connection.Attachment1 = attachmenttwo
  1100. connection.TwistLimitsEnabled = true
  1101. connection.TwistLowerAngle = twistlower
  1102. connection.TwistUpperAngle = twistupper
  1103. local limbcollider = Instance.new("Part", limb)
  1104. limbcollider.Size = Vector3.new(0.1,1,1)
  1105. limbcollider.Shape = "Cylinder"
  1106. limbcollider.Transparency = 1
  1107. limbcollider:BreakJoints()
  1108. local limbcolliderweld = Instance.new("Weld", limbcollider)
  1109. limbcolliderweld.Part0 = limb
  1110. limbcolliderweld.Part1 = limbcollider
  1111. limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2)
  1112. end
  1113. local function makehingeconnections(limb, attachementone, attachmenttwo, lower, upper)
  1114. local connection = Instance.new('HingeConstraint', limb)
  1115. connection.LimitsEnabled = true
  1116. connection.Attachment0 = attachementone
  1117. connection.Attachment1 = attachmenttwo
  1118. connection.LimitsEnabled = true
  1119. connection.LowerAngle = lower
  1120. connection.UpperAngle = upper
  1121. local limbcollider = Instance.new("Part", limb)
  1122. limbcollider.Size = Vector3.new(0.1,1,1)
  1123. limbcollider.Shape = "Cylinder"
  1124. limbcollider.Transparency = 1
  1125. limbcollider:BreakJoints()
  1126. local limbcolliderweld = Instance.new("Weld", limbcollider)
  1127. limbcolliderweld.Part0 = limb
  1128. limbcolliderweld.Part1 = limbcollider
  1129. limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2)
  1130. end
  1131. if Humanoid.Parent:findFirstChild("Head") then
  1132. HeadAttachment = Instance.new("Attachment", Humanoid.Parent.Head)
  1133. HeadAttachment.Position = Vector3.new(0, -0.5, 0)
  1134. end
  1135. if ragdoll.UpperTorso:findFirstChild("NeckAttachment") then
  1136. makehingeconnections(Humanoid.Parent.Head, HeadAttachment, ragdoll.UpperTorso.NeckAttachment, -50, 50)
  1137. end
  1138. makehingeconnections(Humanoid.Parent.LowerTorso, Humanoid.Parent.LowerTorso.WaistRigAttachment, Humanoid.Parent.UpperTorso.WaistRigAttachment, -50, 50)
  1139. makeballconnections(Humanoid.Parent.LeftUpperArm, Humanoid.Parent.LeftUpperArm.LeftShoulderRigAttachment, Humanoid.Parent.UpperTorso.LeftShoulderRigAttachment, -200, 200, 180)
  1140. makehingeconnections(Humanoid.Parent.LeftLowerArm, Humanoid.Parent.LeftLowerArm.LeftElbowRigAttachment, Humanoid.Parent.LeftUpperArm.LeftElbowRigAttachment, 0, -60)
  1141. makehingeconnections(Humanoid.Parent.LeftHand, Humanoid.Parent.LeftHand.LeftWristRigAttachment, Humanoid.Parent.LeftLowerArm.LeftWristRigAttachment, -20, 20)
  1142. --
  1143. makeballconnections(Humanoid.Parent.RightUpperArm, Humanoid.Parent.RightUpperArm.RightShoulderRigAttachment, Humanoid.Parent.UpperTorso.RightShoulderRigAttachment, -200, 200, 180)
  1144. makehingeconnections(Humanoid.Parent.RightLowerArm, Humanoid.Parent.RightLowerArm.RightElbowRigAttachment, Humanoid.Parent.RightUpperArm.RightElbowRigAttachment, 0, -60)
  1145. makehingeconnections(Humanoid.Parent.RightHand, Humanoid.Parent.RightHand.RightWristRigAttachment, Humanoid.Parent.RightLowerArm.RightWristRigAttachment, -20, 20)
  1146. --
  1147. makeballconnections(Humanoid.Parent.RightUpperLeg, Humanoid.Parent.RightUpperLeg.RightHipRigAttachment, Humanoid.Parent.LowerTorso.RightHipRigAttachment, -80, 80, 80)
  1148. makehingeconnections(Humanoid.Parent.RightLowerLeg, Humanoid.Parent.RightLowerLeg.RightKneeRigAttachment, Humanoid.Parent.RightUpperLeg.RightKneeRigAttachment, 0, 60)
  1149. makehingeconnections(Humanoid.Parent.RightFoot, Humanoid.Parent.RightFoot.RightAnkleRigAttachment, Humanoid.Parent.RightLowerLeg.RightAnkleRigAttachment, -20, 20)
  1150. --
  1151. makeballconnections(Humanoid.Parent.LeftUpperLeg, Humanoid.Parent.LeftUpperLeg.LeftHipRigAttachment, Humanoid.Parent.LowerTorso.LeftHipRigAttachment, -80, 80, 80)
  1152. makehingeconnections(Humanoid.Parent.LeftLowerLeg, Humanoid.Parent.LeftLowerLeg.LeftKneeRigAttachment, Humanoid.Parent.LeftUpperLeg.LeftKneeRigAttachment, 0, 60)
  1153. makehingeconnections(Humanoid.Parent.LeftFoot, Humanoid.Parent.LeftFoot.LeftAnkleRigAttachment, Humanoid.Parent.LeftLowerLeg.LeftAnkleRigAttachment, -20, 20)
  1154. for i,v in pairs(Humanoid.Parent:GetChildren()) do
  1155. if v.ClassName == "Accessory" then
  1156. local attachment1 = v.Handle:findFirstChildOfClass("Attachment")
  1157. if attachment1 then
  1158. for q,w in pairs(Humanoid.Parent:GetChildren()) do
  1159. if w.ClassName == "Part" then
  1160. local attachment2 = w:findFirstChild(attachment1.Name)
  1161. if attachment2 then
  1162. local hinge = Instance.new("HingeConstraint", v.Handle)
  1163. hinge.Attachment0 = attachment1
  1164. hinge.Attachment1 = attachment2
  1165. hinge.LimitsEnabled = true
  1166. hinge.LowerAngle = 0
  1167. hinge.UpperAngle = 0
  1168. end
  1169. end
  1170. end
  1171. end
  1172. end
  1173. end
  1174. for i,v in pairs(ragdoll:GetChildren()) do
  1175. for q,w in pairs(v:GetChildren()) do
  1176. if w.ClassName == "Motor6D"--[[ and w.Name ~= "Neck"--]] then
  1177. w:destroy()
  1178. end
  1179. end
  1180. end
  1181. if ragdoll:findFirstChild("HumanoidRootPart") then
  1182. ragdoll.HumanoidRootPart.Anchored = true
  1183. ragdoll.HumanoidRootPart.CanCollide = false
  1184. end
  1185. if ragdoll:findFirstChildOfClass("Humanoid") then
  1186. ragdoll:findFirstChildOfClass("Humanoid").PlatformStand = true
  1187. end
  1188. local function waitfordatmoment()
  1189. wait(0.2)
  1190. local function searchforvelocity(wot)
  1191. for i,v in pairs(wot:GetChildren()) do
  1192. searchforvelocity(v)
  1193. if v.ClassName == "BodyPosition" or v.ClassName == "BodyVelocity" then
  1194. v:destroy()
  1195. end
  1196. end
  1197. end
  1198. searchforvelocity(ragdoll)
  1199. end
  1200. spawn(waitfordatmoment)
  1201. game.Debris:AddItem(ragdoll, 5)
  1202. end
  1203. end
  1204. print("commands:")
  1205. print(",ragdoll on/off - toggles ragdoll death on punishments")
  1206. print(",notify on/off - toggles notify bricks")
  1207. print(",sandbox (player name) - changes player's parent from workspace to terrain")
  1208. print(",unsandbox (player name) - changes player's parent from terrain to workspace")
  1209. print(",stop (player name) - manual punishment")
  1210. print(",ban (player name) - kick")
  1211. print(",whitelist on/off")
  1212. message("skid's nightmare loaded")
  1213. message("edit by themrbenja2")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement