Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mask2 = Instance.new("Part", dir)
- mask2.Anchored = false
- mask2.CanCollide = false
- mask2.Size = Vector3.new(.5, .5, .5)
- local mesh = Instance.new("SpecialMesh", mask2)
- mesh.MeshId = "rbxassetid://13520257"
- mesh.TextureId = "rbxassetid://149756906"
- local weldparts = Instance.new("Weld", mask2)
- weldparts.Part0 = mask2
- weldparts.Part1 = dir["Head"]
- weldparts.C0 = CFrame.new(0, 0, 0.54)
- mask.Transparency = 1
- for i = 0, 1, .1 do
- wait()
- weld.C0 = lerp(weld.C0, store[1].C0, .1)
- end
- mask:Remove()
- store[1].Parent = weld.Parent
- weld:Remove()
- store = {}
- bgui2 = Instance.new("BillboardGui", mask2)
- bgui2.Active = false
- bgui2.AlwaysOnTop = true
- bgui2.Enabled = true
- bgui2.MaxDistance = 100
- bgui2.Size = UDim2.new(0.5, 0, 0.5, 0)
- bgui2.SizeOffset = Vector2.new(-20, 5)
- bgui2.Name = "FrameHolder"
- bgui2.Adornee = dir.Head
- frame2 = Instance.new("Frame", bgui2)
- frame2.Active = false
- frame2.BackgroundTransparency = 1
- frame2.Size = UDim2.new(42, 0, 4, 0)
- frame2.Name = "Frame"
- text2 = Instance.new("TextLabel", frame2)
- text2.Active = false
- text2.BackgroundTransparency = 1
- text2.Size = UDim2.new(1, 0, 1, 0)
- text2.Visible = true
- text2.Font = "Antique"
- text2.TextScaled = true
- text2.TextSize = 14
- text2.TextColor3 = Color3.new(255/255, 0/255, 0/255)
- text2.TextTransparency = 0.5
- text2.Text = ""
- tool.Parent = nil
- cam.CameraSubject = dir.Humanoid
- dir.Humanoid.MaxHealth = math.huge
- char.Parent = workspace
- for i, v in pairs(char:GetChildren()) do
- if v:IsA("Part") or v:IsA("MeshPart") then
- v.Transparency = 1
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement