Advertisement
InTesting

Not my glasses lol

Jun 11th, 2019
397
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.45 KB | None | 0 0
  1. print('Not my glasses lol. https://pastebin.com/YTTzeXTh')
  2. local function glasses1(char)
  3.     local mr = math.rad
  4.     local head = char:FindFirstChild'Head'
  5.     if head then
  6.         local function weldtwo(part1,part2)
  7.             local w = Instance.new("WeldConstraint",part1)
  8.             w.Part0 = part1
  9.             w.Part1 = part2
  10.         end
  11.        
  12.         local glassesmod = Instance.new("Model",char)
  13.        
  14.         local part1 = Instance.new("Part",glassesmod)
  15.         part1.BrickColor = BrickColor.new("Institutional white")
  16.         part1.Transparency = .6
  17.         part1.CFrame = head.CFrame * CFrame.new(0.009, 0.235, -0.614)
  18.         part1.CanCollide = false
  19.         part1.Massless = true
  20.         part1.Size = Vector3.new(1.44, 0.626, 0.25)
  21.        
  22.         local sm1 = Instance.new("SpecialMesh",part1)
  23.         sm1.MeshType = Enum.MeshType.FileMesh
  24.         sm1.MeshId = 'rbxassetid://846704876'
  25.         sm1.Scale = Vector3.new(1.565, 1.565, 1.356)
  26.        
  27.         local part2 = Instance.new("Part",glassesmod)
  28.         part2.BrickColor = BrickColor.new("Really black")
  29.         part2.CFrame = head.CFrame * CFrame.new(-0.001, 0.25, -0.104) * CFrame.Angles(0,mr(-1),0)
  30.         part2.CanCollide = false
  31.         part2.Massless = true
  32.         part2.Size = Vector3.new(1.44, 0.626, 1.273)
  33.        
  34.         local sm2 = Instance.new("SpecialMesh",part2)
  35.         sm2.MeshType = Enum.MeshType.FileMesh
  36.         sm2.MeshId = 'rbxassetid://846704761'
  37.         sm2.Scale = Vector3.new(1.565, 1.565, 1.356)
  38.        
  39.         weldtwo(head,part1)
  40.         weldtwo(head,part2)
  41.     end
  42. end
  43.  
  44. glasses1(owner.Character)
  45. owner.CharacterAdded:Connect(function(ch)
  46.     glasses1(ch)
  47. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement