Sacki

Untitled

Oct 15th, 2017
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.81 KB | None | 0 0
  1. --[[
  2. Hello, magiccube3 here this is my original 2D script which I made and am the original owner.
  3. For proof you can go to LuaLearners and the script is posted by TheScripter an alt. account
  4. of mine on LuaLearners and which is stated in his P.F. Disc.; my alt. account on Roblox is TheScripterxxLuaLrns.
  5. This script was created in an sync.in by magicube3.
  6.  
  7. This script is called "2D" and it makes everyone in the workspace 2D.
  8. --]]
  9. -- "2D" made by: magiccube3 and magiccube1
  10.  
  11. for _, plr in pairs(game.Players:GetChildren()) do -- Gets the players and sets them to plr
  12. for _, obj in pairs(plr.Character:GetChildren()) do -- Gets everyone's character and sets anything in their character to obj
  13. if (obj.Name == "Head") then -- If the name of the thing in the character is = to "Head" then that now only stands for obj
  14. obj.Mesh.MeshType = "Brick" -- Changes the mesh inside of the Head to a brick mesh
  15. obj.Mesh.Scale = Vector3.new(1, 1, .01); -- Changes the scale (size) of the mesh to 1, 1, .01
  16. obj.Mesh:Clone().Parent = plr.Character["Torso"]; -- Clones the mesh to the players torso
  17. obj.Mesh:Clone().Parent = plr.Character["Left Arm"]; -- Clones the mesh to the players left arm
  18. obj.Mesh:Clone().Parent = plr.Character["Right Arm"]; -- Clones the mesh to the players right arm
  19. obj.Mesh:Clone().Parent = plr.Character["Left Leg"]; -- Clones the mesh to the players left leg
  20. obj.Mesh:Clone().Parent = plr.Character["Right Leg"]; -- Clones the mesh to the players right leg
  21. obj.Mesh:Clone().Parent = plr.Character["Head"]; -- Clones the mesh to the players head
  22. for _, plra in pairs(game.Players:GetChildren()) do -- Sets all the players to plra
  23. for _, obja in pairs(plra.Character:GetChildren()) do -- Gets everyone's character and sets anything in their character to obja
  24. if (obja:IsA("Hat")) then -- If the name of the thing in the character is a "Hat" then that now only stands for obja
  25. for _, objas in pairs(obja:GetChildren()) do -- Gets anything in the player(s) hat(s) and sets them to objas
  26. objas.Mesh.Scale = Vector3.new(1, 1, .01) -- Changes the scale of the mesh in the hat to 1, 1, .01
  27. end -- All "end"(s) end the parrelel blue highlighted word such as "for" or "if"
  28. end -- All "end"(s) end the parrelel blue highlighted word such as "for" or "if"
  29. end -- All "end"(s) end the parrelel blue highlighted word such as "for" or "if"
  30. end -- All "end"(s) end the parrelel blue highlighted word such as "for" or "if"
  31. end -- All "end"(s) end the parrelel blue highlighted word such as "for" or "if"
  32. end -- All "end"(s) end the parrelel blue highlighted word such as "for" or "if"
  33. end -- All "end"(s) end the parrelel blue highlighted word such as "for" or "if"
  34.  
  35.  
  36.  
  37. -- *THANKS FOR USING MY SCRIPT* - Magiccube3
  38.  
  39. --[[
  40. Note: All accounts below belong to me.
  41. CREDITS
  42. magiccube3
  43. TheScripterxxLuaLrns
  44. BlackOpps2Fan
  45. te11em0n
  46.  
  47. R.I.P. - murdearm4n - my first Roblox account...
  48.  
  49. Accounts I own on LuaLearners - magiccube3,TheScripter
  50. --]]
Add Comment
Please, Sign In to add comment