Advertisement
InTesting

Swimsuit lol

Apr 13th, 2019
328
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.08 KB | None | 0 0
  1. function sws()
  2.     wait(2)
  3.     local unblock = false
  4.     local char = owner.Character
  5.     for _,v in pairs(char:GetChildren())do
  6.         if v:IsA'CharacterMesh'then
  7.             if v.BodyPart==Enum.BodyPart.Torso and tonumber(v.MeshId)==48112070 then
  8.                 unblock = true
  9.             end
  10.         end
  11.     end
  12.     if unblock==false then
  13.         error'Script requires girl torso and R6.'
  14.     else
  15.    
  16.         local torso = char.Torso
  17.         local mr = math.rad
  18.                
  19.         local function par(parent,size,pos,ori)
  20.                 local part = Instance.new("Part",parent)
  21.                 part.CanCollide = true
  22.                 part.Size = size
  23.                 part.Position = pos
  24.                 part.Orientation = ori
  25.         end
  26.         local function wed(parent,size,cf)
  27.             local part = Instance.new("WedgePart",parent)
  28.             part.CanCollide = true
  29.             part.Size = size
  30.             part.CFrame = cf
  31.         end
  32.         wait(1/math.huge)
  33.         if char:FindFirstChildWhichIsA'Pants'then
  34.             char:FindFirstChildWhichIsA'Pants':Destroy()
  35.         end
  36.         if char:FindFirstChildWhichIsA'Shirt'then
  37.             char:FindFirstChildWhichIsA'Shirt':Destroy()
  38.         end
  39.         if char:FindFirstChildWhichIsA'ShirtGraphic'then
  40.             char:FindFirstChildWhichIsA'ShirtGraphic':Destroy()
  41.         end
  42.        
  43.         local mod = Instance.new("Model",char)
  44.         par(mod,Vector3.new(2.05, 0.1, 1.05),torso.Position - Vector3.new(0,(3-2.2),0),torso.Orientation)
  45.         par(mod,Vector3.new(0.3, 0.3, 1.05),torso.Position - Vector3.new(0,(3-2.05),0),torso.Orientation)
  46.         wed(mod,Vector3.new(1.05, 0.25, 0.9),torso.CFrame * CFrame.new(-(4.598-4.048),-(3-2.025),0) * CFrame.Angles(0,mr(90),mr(180)))
  47.         wed(mod,Vector3.new(1.05, 0.25, 0.9),torso.CFrame * CFrame.new((4.598-4.048),-(3-2.025),0) * CFrame.Angles(0,mr(-90),mr(180)))
  48.        
  49.        
  50.         wed(mod,Vector3.new(1.05, 0.3, 1.15),torso.CFrame * CFrame.new(.785,-.2798,0) * CFrame.Angles(mr(90),mr(180),mr(90)))--top
  51.         wed(mod,Vector3.new(1.05, 0.4, .95),torso.CFrame * CFrame.new(.785,-.2695,0) * CFrame.Angles(mr(-90),mr(180),mr(90)))
  52.        
  53.         wed(mod,Vector3.new(1.05, 0.4, 0.95),torso.CFrame * CFrame.new(-.834,-.2695,0) * CFrame.Angles(mr(90),mr(0),mr(90)))
  54.         wed(mod,Vector3.new(1.05, 0.3, 1.15),torso.CFrame * CFrame.new(-.834,-.2798,0) *  CFrame.Angles(mr(-90),mr(0),mr(90)))--top
  55.        
  56.         par(mod,Vector3.new(1.4, 1.1, 1.05),torso.Position - Vector3.new(0,(2.988-2.738),0),torso.Orientation)
  57.         par(mod,Vector3.new(2.05, 0.4, 1.05),torso.Position - Vector3.new(0,(2.988-3.446),0),torso.Orientation)
  58.        
  59.         local part1 = Instance.new("Part",mod)
  60.         part1.CanCollide = true
  61.         part1.Size = Vector3.new(0.15, 0.45, 1.05)
  62.         part1.CFrame = torso.CFrame * CFrame.new(-(0.625),-(2.966-3.791),0)
  63.                
  64.         local part2 = Instance.new("Part",mod)
  65.         part2.CanCollide = true
  66.         part2.Size = Vector3.new(0.15, 0.45, 1.05)
  67.         part2.CFrame = torso.CFrame * CFrame.new((0.625),-(2.966-3.791),0)
  68.        
  69.         for _,v in pairs(mod:GetChildren())do
  70.             local weld = Instance.new("WeldConstraint",mod)
  71.             weld.Part1 = torso
  72.             weld.Part0 = v
  73.             v.Massless = true
  74.    
  75.             v.BrickColor = BrickColor.new("Really blue")
  76.             v.Material = Enum.Material.Glass
  77.                     -- Style code here Part Properties. v = Part (instance)
  78.         end
  79.     end
  80. end
  81. sws()
  82. workspace.ChildAdded:Connect(function(lp)
  83.     if lp.Name==owner.Name then
  84.         sws()
  85.     end
  86. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement