Kotyara19k-Official

Untitled

Apr 22nd, 2025
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.12 KB | None | 0 0
  1. local player = game.Players.LocalPlayer
  2.  
  3. local char = player.Character
  4.  
  5. local tool
  6.  
  7. for i,v in player:GetDescendants() do
  8.  
  9. if v.Name == "SyncAPI" then
  10.  
  11. tool = v.Parent
  12.  
  13. end
  14.  
  15. end
  16.  
  17. for i,v in game.ReplicatedStorage:GetDescendants() do
  18.  
  19. if v.Name == "SyncAPI" then
  20.  
  21. tool = v.Parent
  22.  
  23. end
  24.  
  25. end
  26.  
  27. remote = tool.SyncAPI.ServerEndpoint
  28.  
  29. function _(args)
  30.  
  31. remote:InvokeServer(unpack(args))
  32.  
  33. end
  34.  
  35. function SetCollision(part,boolean)
  36.  
  37. local args = {
  38.  
  39. [1] = "SyncCollision",
  40.  
  41. [2] = {
  42.  
  43. [1] = {
  44.  
  45. ["Part"] = part,
  46.  
  47. ["CanCollide"] = boolean
  48.  
  49. }
  50.  
  51. }
  52.  
  53. }
  54.  
  55. _(args)
  56.  
  57. end
  58.  
  59. function SetAnchor(boolean,part)
  60.  
  61. local args = {
  62.  
  63. [1] = "SyncAnchor",
  64.  
  65. [2] = {
  66.  
  67. [1] = {
  68.  
  69. ["Part"] = part,
  70.  
  71. ["Anchored"] = boolean
  72.  
  73. }
  74.  
  75. }
  76.  
  77. }
  78.  
  79. _(args)
  80.  
  81. end
  82.  
  83. function CreatePart(cf,parent)
  84.  
  85. local args = {
  86.  
  87. [1] = "CreatePart",
  88.  
  89. [2] = "Normal",
  90.  
  91. [3] = cf,
  92.  
  93. [4] = parent
  94.  
  95. }
  96.  
  97. _(args)
  98.  
  99. end
  100.  
  101. function DestroyPart(part)
  102.  
  103. local args = {
  104.  
  105. [1] = "Remove",
  106.  
  107. [2] = {
  108.  
  109. [1] = part
  110.  
  111. }
  112.  
  113. }
  114.  
  115. _(args)
  116.  
  117. end
  118.  
  119. function MovePart(part,cf)
  120.  
  121. local args = {
  122.  
  123. [1] = "SyncMove",
  124.  
  125. [2] = {
  126.  
  127. [1] = {
  128.  
  129. ["Part"] = part,
  130.  
  131. ["CFrame"] = cf
  132.  
  133. }
  134.  
  135. }
  136.  
  137. }
  138.  
  139. _(args)
  140.  
  141. end
  142.  
  143. function Resize(part,size,cf)
  144.  
  145. local args = {
  146.  
  147. [1] = "SyncResize",
  148.  
  149. [2] = {
  150.  
  151. [1] = {
  152.  
  153. ["Part"] = part,
  154.  
  155. ["CFrame"] = cf,
  156.  
  157. ["Size"] = size
  158.  
  159. }
  160.  
  161. }
  162.  
  163. }
  164.  
  165. _(args)
  166.  
  167. end
  168.  
  169. function AddMesh(part)
  170.  
  171. local args = {
  172.  
  173. [1] = "CreateMeshes",
  174.  
  175. [2] = {
  176.  
  177. [1] = {
  178.  
  179. ["Part"] = part
  180.  
  181. }
  182.  
  183. }
  184.  
  185. }
  186.  
  187. _(args)
  188.  
  189. end
  190.  
  191. function SetMesh(part,meshid)
  192.  
  193. local args = {
  194.  
  195. [1] = "SyncMesh",
  196.  
  197. [2] = {
  198.  
  199. [1] = {
  200.  
  201. ["Part"] = part,
  202.  
  203. ["MeshId"] = "rbxassetid://"..meshid
  204.  
  205. }
  206.  
  207. }
  208.  
  209. }
  210.  
  211. _(args)
  212.  
  213. end
  214.  
  215. function SetTexture(part, texid)
  216.  
  217. local args = {
  218.  
  219. [1] = "SyncMesh",
  220.  
  221. [2] = {
  222.  
  223. [1] = {
  224.  
  225. ["Part"] = part,
  226.  
  227. ["TextureId"] = "rbxassetid://"..texid
  228.  
  229. }
  230.  
  231. }
  232.  
  233. }
  234.  
  235. _(args)
  236.  
  237. end
  238.  
  239. function SetName(part, stringg)
  240.  
  241. local args = {
  242.  
  243. [1] = "SetName",
  244.  
  245. [2] = {
  246.  
  247. [1] = part
  248.  
  249. },
  250.  
  251. [3] = stringg
  252.  
  253. }
  254.  
  255. _(args)
  256.  
  257. end
  258.  
  259. function MeshResize(part,size)
  260.  
  261. local args = {
  262.  
  263. [1] = "SyncMesh",
  264.  
  265. [2] = {
  266.  
  267. [1] = {
  268.  
  269. ["Part"] = part,
  270.  
  271. ["Scale"] = size
  272.  
  273. }
  274.  
  275. }
  276.  
  277. }
  278.  
  279. _(args)
  280.  
  281. end
  282.  
  283. function Weld(part1, part2,lead)
  284.  
  285. local args = {
  286.  
  287. [1] = "CreateWelds",
  288.  
  289. [2] = {
  290.  
  291. [1] = part1,
  292.  
  293. [2] = part2
  294.  
  295. },
  296.  
  297. [3] = lead
  298.  
  299. }
  300.  
  301. _(args)
  302.  
  303. end
  304.  
  305. function SetLocked(part,boolean)
  306.  
  307. local args = {
  308.  
  309. [1] = "SetLocked",
  310.  
  311. [2] = {
  312.  
  313. [1] = part
  314.  
  315. },
  316.  
  317. [3] = boolean
  318.  
  319. }
  320.  
  321. _(args)
  322.  
  323. end
  324.  
  325. function SetTrans(part,int)
  326.  
  327. local args = {
  328.  
  329. [1] = "SyncMaterial",
  330.  
  331. [2] = {
  332.  
  333. [1] = {
  334.  
  335. ["Part"] = part,
  336.  
  337. ["Transparency"] = int
  338.  
  339. }
  340.  
  341. }
  342.  
  343. }
  344.  
  345. _(args)
  346.  
  347. end
  348.  
  349. function CreateSpotlight(part)
  350.  
  351. local args = {
  352.  
  353. [1] = "CreateLights",
  354.  
  355. [2] = {
  356.  
  357. [1] = {
  358.  
  359. ["Part"] = part,
  360.  
  361. ["LightType"] = "SpotLight"
  362.  
  363. }
  364.  
  365. }
  366.  
  367. }
  368.  
  369. _(args)
  370.  
  371. end
  372.  
  373. function SyncLighting(part,brightness)
  374.  
  375. local args = {
  376.  
  377. [1] = "SyncLighting",
  378.  
  379. [2] = {
  380.  
  381. [1] = {
  382.  
  383. ["Part"] = part,
  384.  
  385. ["LightType"] = "SpotLight",
  386.  
  387. ["Brightness"] = brightness
  388.  
  389. }
  390.  
  391. }
  392.  
  393. }
  394.  
  395. _(args)
  396.  
  397. end
  398.  
  399. function Color(part,color)
  400.  
  401. local args = {
  402.  
  403. [1] = "SyncColor",
  404.  
  405. [2] = {
  406.  
  407. [1] = {
  408.  
  409. ["Part"] = part,
  410.  
  411. ["Color"] = color,
  412.  
  413. ["UnionColoring"] = false
  414.  
  415. }
  416.  
  417. }
  418.  
  419. }
  420.  
  421. _(args)
  422.  
  423. end
  424.  
  425. function SpawnDecal(part,side)
  426.  
  427. local args = {
  428.  
  429. [1] = "CreateTextures",
  430.  
  431. [2] = {
  432.  
  433. [1] = {
  434.  
  435. ["Part"] = part,
  436.  
  437. ["Face"] = side,
  438.  
  439. ["TextureType"] = "Decal"
  440.  
  441. }
  442.  
  443. }
  444.  
  445. }
  446.  
  447. _(args)
  448.  
  449. end
  450.  
  451. function AddDecal(part,asset,side)
  452.  
  453. local args = {
  454.  
  455. [1] = "SyncTexture",
  456.  
  457. [2] = {
  458.  
  459. [1] = {
  460.  
  461. ["Part"] = part,
  462.  
  463. ["Face"] = side,
  464.  
  465. ["TextureType"] = "Decal",
  466.  
  467. ["Texture"] = "rbxassetid://".. asset
  468.  
  469. }
  470.  
  471. }
  472.  
  473. }
  474.  
  475. _(args)
  476.  
  477. end
  478.  
  479. function spam(id)
  480.  
  481. for i,v in game.workspace:GetDescendants() do
  482.  
  483. if v:IsA("BasePart") then
  484.  
  485. task.wait(0.5)
  486.  
  487. SetLocked(v,false)
  488.  
  489. SpawnDecal(v,Enum.NormalId.Front)
  490.  
  491. AddDecal(v,id,Enum.NormalId.Front)
  492.  
  493. SpawnDecal(v,Enum.NormalId.Back)
  494.  
  495. AddDecal(v,id,Enum.NormalId.Back)
  496.  
  497. SpawnDecal(v,Enum.NormalId.Right)
  498.  
  499. AddDecal(v,id,Enum.NormalId.Right)
  500.  
  501. SpawnDecal(v,Enum.NormalId.Left)
  502.  
  503. AddDecal(v,id,Enum.NormalId.Left)
  504.  
  505. SpawnDecal(v,Enum.NormalId.Bottom)
  506.  
  507. AddDecal(v,id,Enum.NormalId.Bottom)
  508.  
  509. SpawnDecal(v,Enum.NormalId.Top)
  510.  
  511. AddDecal(v,id,Enum.NormalId.Top)
  512.  
  513. end
  514.  
  515. end
  516.  
  517. end
  518.  
  519. spam("15170444338")
  520.  
  521.  
Advertisement
Add Comment
Please, Sign In to add comment