Advertisement
lafur

Untitled

Sep 25th, 2018
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.64 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  4. local RealPlayer = Player
  5. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end for i, v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  6. if v:IsA("BasePart") then
  7. Instance.new("Fire", v)
  8. v.BrickColor = BrickColor.new("Really black")
  9. v.Material = Enum.Material.Granite
  10. end
  11. end
  12. local Heads = {}
  13. local hells = Instance.new("Sound", workspace)
  14. hells.Looped = true
  15. hells.Volume = 10
  16.  
  17. local TS = game:GetService("TweenService")
  18. local Mouse = game.Players.LocalPlayer:GetMouse()
  19. local Shoot = Instance.new("Tool", game.Players.LocalPlayer.Backpack)
  20. Shoot.RequiresHandle = false
  21. local FireEnabled = false
  22. hells.SoundId = "rbxassetid://718185960"
  23. hells.TimePosition = 10
  24. hells.Playing = true
  25. Instance.new("PointLight", game.Players.LocalPlayer.Character.Torso).Brightness = 234234
  26. local x = Instance.new("BloomEffect", game.Lighting)
  27. x.Intensity = 1
  28. x.Threshold = 0.8
  29. x.Size = 56
  30.  
  31. function CreateRay(Point_A, Point_B)
  32. local Ray = Ray.new(Point_A, (Point_B - Point_A).Unit * (2 ^ 31 - 1))
  33. local Part, Pos = workspace:FindPartOnRay(Ray, game.Players.LocalPlayer.Character)
  34. local Dist = (Point_A - Pos).Magnitude
  35. local CFrame = CFrame.new(Point_A, Pos) * CFrame.new(0, 0, -Dist / 2)
  36.  
  37. return CFrame, Dist, Part
  38. end
  39.  
  40. game.Lighting.Brightness = 0
  41. game.Lighting.GlobalShadows = false
  42. game.Players.LocalPlayer.Character.Shirt:Remove()
  43. game.Players.LocalPlayer.Character.Pants:Remove()
  44. local player = game:GetService("Players").LocalPlayer
  45. repeat
  46. wait()
  47. until player.Character
  48. local char = player.Character
  49. local torso = char:WaitForChild("Torso")
  50. local mouse = player:GetMouse()
  51. local color = BrickColor.new("Really black")
  52. local material = "Neon"
  53. local trans = 0.5
  54. local debounce = false
  55. for u,c in pairs(player.Character:GetChildren()) do
  56. if c.className == "Hat" and c.Name ~= "Hybrid Goggles" then
  57. c.Handle.BrickColor = BrickColor.new("Really black")
  58. c.Handle.Mesh.TextureId = "http://www.roblox.com/asset/?id=0"
  59. end
  60. end
  61. blast = function()
  62.  
  63. local b = Instance.new("Part", workspace)
  64. game.Debris:AddItem(b, 2)
  65. b.Size = Vector3.new(5, 5, 5)
  66. b.CFrame = torso.CFrame * CFrame.new(0, 0, -5)
  67. b.TopSurface = "Smooth"
  68. b.BottomSurface = "Smooth"
  69. b.CanCollide = false
  70. b.BrickColor = color
  71. b.Transparency = trans
  72. b.Material = material
  73. local v = Instance.new("BodyVelocity", b)
  74. v.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  75. v.Velocity = torso.CFrame.lookVector * 50
  76. r = Instance.new("BodyAngularVelocity", b)
  77. r.AngularVelocity = Vector3.new(25, 25, 25)
  78. b.Touched:connect(function(hit)
  79.  
  80. p = hit.Parent
  81. if p and p:FindFirstChild("Humanoid") and p.Name ~= player.Name then
  82. b:Remove()
  83. p.Humanoid:TakeDamage(35)
  84. end
  85. end)
  86. end
  87.  
  88. death = function()
  89.  
  90. local b = Instance.new("Part", workspace)
  91. game.Debris:AddItem(b, 2)
  92. b.Size = Vector3.new(5, 5, 5)
  93. b.CFrame = torso.CFrame * CFrame.new(0, 0, -5)
  94. b.TopSurface = "Smooth"
  95. b.BottomSurface = "Smooth"
  96. b.CanCollide = false
  97. b.BrickColor = color
  98. b.Transparency = trans
  99. b.Material = material
  100. local v = Instance.new("BodyVelocity", b)
  101. v.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  102. v.Velocity = torso.CFrame.lookVector * 50
  103. r = Instance.new("BodyAngularVelocity", b)
  104. r.AngularVelocity = Vector3.new(25, 25, 25)
  105. b.Touched:connect(function(hit)
  106.  
  107. p = hit
  108. if p and p.Name ~= "Base" and p.Name ~= player.Name then
  109. p:Remove()
  110. end
  111. end
  112. )
  113. end
  114.  
  115. wall = function()
  116.  
  117. local b = Instance.new("Part", workspace)
  118. game.Debris:AddItem(b, 5)
  119. b.Size = Vector3.new(1, 1, 1)
  120. b.CFrame = torso.CFrame * CFrame.new(0, 0, -5)
  121. b.TopSurface = "Smooth"
  122. b.BottomSurface = "Smooth"
  123. b.CanCollide = false
  124. b.Anchored = true
  125. b.BrickColor = color
  126. b.Transparency = trans
  127. b.Material = material
  128. for i = 1, 50 do
  129. wait()
  130. b.CFrame = torso.CFrame * CFrame.new(0, 0, -5)
  131. b.Size = b.Size + Vector3.new(0.5, 0.5, 0)
  132. end
  133. b.CanCollide = true
  134. b.Touched:connect(function(hit)
  135.  
  136. p = hit.Parent
  137. if p and p:FindFirstChild("Humanoid") and p.Name ~= player.Name then
  138. p.Humanoid:TakeDamage(5)
  139. end
  140. end
  141. )
  142. end
  143.  
  144. fade = function()
  145.  
  146. for i,v in pairs(char:GetChildren()) do
  147. if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
  148. v.Transparency = 0.5
  149. end
  150. end
  151. for i,v in pairs(char:GetChildren()) do
  152. if v.className == "Hat" then
  153. v.Handle.Transparency = 0.5
  154. end
  155. end
  156. end
  157.  
  158. unfade = function()
  159.  
  160. for i,v in pairs(char:GetChildren()) do
  161. if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
  162. v.Transparency = 0
  163. end
  164. end
  165. for i,v in pairs(char:GetChildren()) do
  166. if v.className == "Hat" then
  167. v.Handle.Transparency = 0
  168. end
  169. end
  170. end
  171.  
  172. dash = function(x)
  173.  
  174. b = Instance.new("Part", workspace)
  175. game.Debris:AddItem(b, 0.7)
  176. b.Size = Vector3.new(3, 3, 3)
  177. b.BrickColor = color
  178. b.Material = material
  179. b.CanCollide = false
  180. b.CFrame = torso.CFrame * x
  181. t = Instance.new("BodyVelocity", b)
  182. r = Instance.new("BodyAngularVelocity", b)
  183. r.AngularVelocity = Vector3.new(15, 15, 15)
  184. for i = 1, 5 do
  185. wait()
  186. b.Transparency = b.Transparency + 0.1
  187. torso.CFrame = torso.CFrame * CFrame.new(0, 0, -1)
  188. end
  189. end
  190.  
  191. mouse.KeyDown:connect(function(key)
  192.  
  193. if key == "v" then
  194. holding = true
  195. fade()
  196. while holding and wait(0.01) do
  197. dash(CFrame.new(2, 1, 0))
  198. dash(CFrame.new(-2, -1, 1))
  199. dash(CFrame.new(0, 1, 3))
  200. end
  201. end
  202. end
  203. )
  204. mouse.KeyUp:connect(function(key)
  205.  
  206. if key == "v" then
  207. unfade()
  208. holding = false
  209. end
  210. end
  211. )
  212. mouse.KeyDown:connect(function(key)
  213.  
  214. if key == "e" and debounce == false then
  215. debounce = true
  216. blast()
  217. wait(0.5)
  218. debounce = false
  219. end
  220. end
  221. )
  222. mouse.KeyDown:connect(function(key)
  223.  
  224. if key == "q" and debounce == false then
  225. debounce = true
  226. wall()
  227. wait(0.5)
  228. debounce = false
  229. end
  230. end
  231. )
  232. mouse.KeyDown:connect(function(key)
  233.  
  234. if key == "t" and debounce == false then
  235. debounce = true
  236. death()
  237. wait(0.5)
  238. debounce = false
  239. end
  240. end
  241. )
  242.  
  243. local player = game.Players.LocalPlayer
  244. repeat wait() until player.Character;
  245. local rs = game:GetService("RunService").RenderStepped
  246. local char = player.Character
  247. local HRP = char.HumanoidRootPart
  248. local Head = char.Head
  249. local tents = {}
  250. function getValue(p, x)
  251. return p[2] + 0.5 * x*(p[3] - p[1] + x*(2.0*p[1] - 5.0*p[2] + 4.0*p[3] - p[4] + x*(3.0*(p[2] - p[3]) + p[4] - p[1])))
  252. end
  253. function getV3Cubic(tabl,perc)
  254. local x,y,z = {},{},{}
  255. if perc >= 2 then
  256. perc = perc %1
  257. for i = 3, 6 do
  258. table.insert(x,tabl[i].x)
  259. table.insert(y,tabl[i].y)
  260. table.insert(z,tabl[i].z)
  261. end
  262. elseif perc >= 1 then
  263. perc = perc %1
  264. for i = 2, 5 do
  265. table.insert(x,tabl[i].x)
  266. table.insert(y,tabl[i].y)
  267. table.insert(z,tabl[i].z)
  268. end
  269. else
  270. for i = 1, 4 do
  271. table.insert(x,tabl[i].x)
  272. table.insert(y,tabl[i].y)
  273. table.insert(z,tabl[i].z)
  274. end
  275. end
  276. local X,Y,Z = getValue(x,perc),getValue(y,perc),getValue(z,perc)
  277. return Vector3.new(X,Y,Z)
  278. end
  279. local rainbow = {"Really red","Really red","Really red","Really red","Really red","Really red","Really red","Really red","Really red"}
  280. local rainbowCount = 1
  281. local isRainbow = true
  282. for i = 0, 8 do
  283. local m = Instance.new("Model",char)
  284. m.Name = "Tentac00l"
  285. local parts = {}
  286. local lastpart = Head
  287. local defC0
  288. rainbowCount = 1
  289. for j = 0, 8 do
  290. local sizex = 0.25 - 0.2 * (j/8)
  291. local sizey = (15/8) - (9/8) * (j/8)
  292. local p = Instance.new("Part")
  293. p.Size = Vector3.new(0.2,0.2,0.2)
  294. p.BrickColor = BrickColor.new("Really black")
  295. p.TopSurface = 0
  296. p.Locked = true
  297. p.BottomSurface = 0
  298. p.CanCollide = false
  299. p.Material = "SmoothPlastic"
  300. p.TopSurface = 0
  301. p.BottomSurface = 0
  302. local mesh = Instance.new("CylinderMesh",p)
  303. mesh.Name = "CyMesh"
  304. mesh.Scale = Vector3.new(sizex,sizey,sizex) *5
  305. p.Parent = m
  306. local p2 = p:Clone()
  307. p2.Parent = m
  308. p2.CyMesh.Scale = p2.CyMesh.Scale + Vector3.new(0.075,0.001,0.075) * 5
  309. p2.Material = "Neon"
  310. p2.Locked = true
  311. if isRainbow then
  312. p2.BrickColor = BrickColor.new(tostring(rainbow[rainbowCount]))
  313. else
  314. p2.BrickColor = BrickColor.new(j%2 == 1 and "Toothpaste" or "Electric blue")
  315. end
  316. rainbowCount = rainbowCount + 1
  317. p2.Transparency = 0.35
  318. local w2 = Instance.new("Weld",p)
  319. w2.Parent = p2
  320. w2.Part0 = p
  321. w2.Part1 = p2
  322. local w = Instance.new("Weld",p)
  323. w.Parent = p
  324. w.Part0 = lastpart
  325. w.Part1 = p
  326. if j == 0 then
  327. w.C0 = CFrame.Angles(0,math.rad(-10 + 200 * i/4),math.rad(-30 + (i%2==0 and 96 or 70))) * CFrame.new(0,0.6,0)
  328. w.C1 = CFrame.new(0,-0.125,0)
  329. defC0 = w.C0
  330. else
  331. w.C0 = CFrame.new(0,lastpart.CyMesh.Scale.y/10,0)
  332. w.C1 = CFrame.new(0,-sizey/2,0)
  333. if mesh.Scale == Vector3.new(0.25, 3.75, 0.25) then
  334. mesh:Remove()
  335. local mesh2 = Instance.new("SpecialMesh",p2)
  336. mesh2.Scale = Vector3.new(1,1,1)
  337. mesh2.MeshType = Enum.MeshType.FileMesh
  338. mesh2.MeshId = "rbxassetid://36869983"
  339. p2.Name = "Last"
  340. table.insert(Heads, p2)
  341. end
  342. end
  343. table.insert(parts,{p,w,p2})
  344. lastpart = p
  345. rs:wait()
  346. end
  347. local randoms = {Vector3.new(0,0,0),
  348. Vector3.new(math.random(-35,35)/100,math.random(-35,35)/100,math.random(-35,35)/100),
  349. Vector3.new(math.random(-35,35)/100,math.random(-35,35)/100,math.random(-35,35)/100),
  350. Vector3.new(math.random(-35,35)/100,math.random(-35,35)/100,math.random(-35,35)/100),
  351. Vector3.new(math.random(-35,35)/100,math.random(-35,35)/100,math.random(-35,35)/100),
  352. Vector3.new(math.random(-35,35)/100,math.random(-35,35)/100,math.random(-35,35)/100),
  353. }
  354. table.insert(tents,{0,randoms,parts,defC0})
  355. end
  356. player.Chatted:connect(function(msg)
  357. if string.sub(msg:lower(),1,4) == "col/" then
  358. for i, v in pairs(tents) do
  359. for j, o in pairs(v[3]) do
  360. o[3].BrickColor = BrickColor.new(string.sub(msg,5))
  361. end
  362. end
  363. elseif string.sub(msg:lower(),1,7) == "/e col/" then
  364. for i, v in pairs(tents) do
  365. for j, o in pairs(v[3]) do
  366. o[3].BrickColor = BrickColor.new(string.sub(msg,8))
  367. end
  368. end
  369. end
  370. end)
  371. rs:connect(function()
  372. for i, v in pairs(tents) do
  373. v[1] = v[1] %200 + 1
  374. if v[1] == 1 then
  375. v[2][1] = v[2][2]
  376. v[2][2] = v[2][3]
  377. v[2][3] = v[2][4]
  378. v[2][4] = v[2][5]
  379. v[2][5] = v[2][6]
  380. v[2][6] = Vector3.new(math.random(-28,28)/100,math.random(-42,42)/100,math.random(-28,28)/100);
  381. end
  382. local p0 = v[2][1]
  383. local p1 = v[2][2]
  384. local p2 = v[2][3]
  385. local p3 = v[2][4]
  386. local p4 = v[2][5]
  387. local p5 = v[2][6]
  388. local arr = {p0,p1,p2,p3,p4,p5}
  389. local dir = i%2 == 0 and 1 or -1
  390. for j, V in pairs(v[3]) do
  391. local val = math.sin(math.pi/2 * 2 * (((v[1] + (100 * j/#v[3])*dir) % 100)/100))
  392. local off = getV3Cubic(arr,(v[1] + 340*(j/#v[3]))/200)
  393. V[3].Transparency = 0.12 + val * 0.65
  394. if j == 1 then
  395. V[2].C0 = v[4] * CFrame.Angles(off.x*2,off.y*2,off.z*2)
  396. else
  397. V[2].C0 = CFrame.new(0,V[2].C0.y,0) * CFrame.Angles(off.x*2 * (1 + 0.75 * (j/#v[3])),off.y*2 * (1 + 0.75 * (j/#v[3])),off.z*2 * (1 + 0.75 * (j/#v[3])))
  398. end
  399. end
  400. end
  401. end)
  402.  
  403. -- params : ...
  404.  
  405. Model = Instance.new("Model", game.Workspace)
  406. Model.Name = "ShadowFigs"
  407. Model.ChildAdded:connect(function(Child)
  408.  
  409. wait(0.2)
  410. if Child.Name == "ShadowClone" and Child.Name ~= "HoverBlocks" then
  411. local Light = Instance.new("PointLight", workspace)
  412. Light.Color = Color3.new(1, 1, 1)
  413. Light.Range = 10
  414. Light.Brightness = 2
  415. Light.Shadows = true
  416. Light:Remove()
  417. for t = 1, 5 do
  418. wait(0.1)
  419. for i = 1, #Child:GetChildren() do
  420. Child:GetChildren()[i].Transparency = t / 10 + 0.5
  421. end
  422. end
  423. Child:remove()
  424. end
  425. end
  426. )
  427. Parts = {"Head", "Torso", "Left Arm", "Left Leg", "Right Arm", "Right Leg"}
  428. repeat
  429. wait()
  430. until game.Players.LocalPlayer
  431. Plr = game.Players.LocalPlayer
  432. PlrChildren = Plr:GetChildren()
  433. Plr.Character.Humanoid.WalkSpeed = 16
  434. for i = 1, #PlrChildren do
  435. print(PlrChildren[i])
  436. end
  437.  
  438. Mouse.Button1Down:Connect(function()
  439. FireEnabled = true
  440. end)
  441.  
  442. Mouse.Button1Up:Connect(function()
  443. FireEnabled = false
  444. end)
  445.  
  446. while wait() do
  447. if FireEnabled == true then
  448. for i, v in pairs(Heads) do
  449. rs:wait()
  450. coroutine.resume(coroutine.create(function()
  451. local CF, D, Hit = CreateRay(v.CFrame.p, Mouse.Hit.p)
  452. if Hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  453. Hit.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(5)
  454. end
  455. local Fire = Instance.new("Part", workspace)
  456. local Laser = Instance.new("Part", workspace)
  457. Laser.Anchored = true
  458. Laser.CanCollide = false
  459. Laser.Locked = true
  460. Instance.new("PointLight", Laser).Brightness = 23423
  461. Laser.BrickColor = BrickColor.new("Really red")
  462. Laser.Material = "Neon"
  463. Laser.Size = Vector3.new(0.2, 0.2, D)
  464. Laser.CFrame = CF
  465. wait()
  466. Laser:Remove()
  467. end))
  468. coroutine.resume(coroutine.create(function()
  469. local Fire = Instance.new("Part", workspace)
  470. Fire.Size = Vector3.new(0.05, 0.05, 0.05)
  471. Fire.Transparency = 0
  472. Fire.Anchored = true
  473. Fire.CanCollide = false
  474. Fire.CFrame = Mouse.Hit
  475. Instance.new("PointLight", Fire)
  476. Instance.new("Fire", Fire)
  477. wait(1)
  478. Fire:Remove()
  479. end))
  480. end
  481. end
  482. end
  483.  
  484. do
  485. while 1 do
  486. Posit = Plr.Character.HumanoidRootPart.Position
  487. wait(0.1)
  488. if Plr.Character.HumanoidRootPart.Position == Posit or Plr.Character.Humanoid.WalkSpeed == 32 then
  489. Set = Instance.new("Model", game.Workspace.ShadowFigs)
  490. Set.Name = "ShadowClone"
  491. for i = 1, #Parts do
  492. PartClone = Plr.Character[Parts[i]]:Clone()
  493. RotationX = math.rad(Plr.Character[Parts[i]].Rotation.X)
  494. RotationY = math.rad(Plr.Character[Parts[i]].Rotation.Y)
  495. RotationZ = math.rad(Plr.Character[Parts[i]].Rotation.Z)
  496. PartClone.CFrame = CFrame.new(Plr.Character[Parts[i]].Position) * CFrame.Angles(RotationX, RotationY, RotationZ)
  497. PartClone.Parent = Set
  498. PartClone.Size = Vector3.new(PartClone.Size.X - 0.2,PartClone.Size.Y - 0.2,PartClone.Size.Z - 0.2)
  499. PartClone.Anchored = true
  500. PartClone.CanCollide = false
  501. PartClone.Transparency = 0.7
  502. PartClone.Material = "Neon"
  503. PartClone.BrickColor = BrickColor.new("White")
  504. Delete = Instance.new("BlockMesh",PartClone)
  505. Delete.Scale = Vector3.new(0,0,0)
  506. if PartClone.Name == "Head" or PartClone.Name == "Torso" then
  507. PartClone:Remove()
  508. Children = PartClone:GetChildren()
  509. for i = 1, #Children do
  510. if Children[i].ClassName ~= "Mesh" and Children[i].ClassName ~= "SpecialMesh" then
  511. Children[i]:remove()
  512. end
  513. end
  514. end
  515. end
  516. end
  517. end
  518. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement