Advertisement
foolkiller204

Auto Text

Jul 5th, 2023
897
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.34 KB | Software | 0 0
  1. --automatically past 6 textures(1 for each face) into the specified part and assigns the specified texture id number
  2.  
  3. local part =
  4. local texture_ID =
  5. local faces = {"Back","Bottom","Top","Front","Left","Right"}
  6.  
  7. for _,v in ipairs(faces) do
  8.     local texture = Instance.new("Texture",part)
  9.     texture.Texture=texture_ID
  10.     texture.Face=v
  11. end
Tags: #roblox
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement