Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print('Not my glasses lol. https://pastebin.com/YTTzeXTh')
- local function glasses1(char)
- local mr = math.rad
- local head = char:FindFirstChild'Head'
- if head then
- local function weldtwo(part1,part2)
- local w = Instance.new("WeldConstraint",part1)
- w.Part0 = part1
- w.Part1 = part2
- end
- local glassesmod = Instance.new("Model",char)
- local part1 = Instance.new("Part",glassesmod)
- part1.BrickColor = BrickColor.new("Institutional white")
- part1.Transparency = .6
- part1.CFrame = head.CFrame * CFrame.new(0.009, 0.235, -0.614)
- part1.CanCollide = false
- part1.Massless = true
- part1.Size = Vector3.new(1.44, 0.626, 0.25)
- local sm1 = Instance.new("SpecialMesh",part1)
- sm1.MeshType = Enum.MeshType.FileMesh
- sm1.MeshId = 'rbxassetid://846704876'
- sm1.Scale = Vector3.new(1.565, 1.565, 1.356)
- local part2 = Instance.new("Part",glassesmod)
- part2.BrickColor = BrickColor.new("Really black")
- part2.CFrame = head.CFrame * CFrame.new(-0.001, 0.25, -0.104) * CFrame.Angles(0,mr(-1),0)
- part2.CanCollide = false
- part2.Massless = true
- part2.Size = Vector3.new(1.44, 0.626, 1.273)
- local sm2 = Instance.new("SpecialMesh",part2)
- sm2.MeshType = Enum.MeshType.FileMesh
- sm2.MeshId = 'rbxassetid://846704761'
- sm2.Scale = Vector3.new(1.565, 1.565, 1.356)
- weldtwo(head,part1)
- weldtwo(head,part2)
- end
- end
- glasses1(owner.Character)
- owner.CharacterAdded:Connect(function(ch)
- glasses1(ch)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement