Advertisement
Guest User

owenpinet06 anti skid

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