Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for i,v in pairs(owner.Character:GetDescendants()) do
- if v:IsA("BasePart") then
- v.Transparency = 1
- elseif v:IsA("Decal") then
- v:Destroy()
- end
- end
- part = Instance.new("Part",owner.Character.Head)
- part.Size = owner.Character.Head.Size
- part.CanCollide = false
- part2 = Instance.new("Part",owner.Character.Head)
- part2.Size = owner.Character.Head.Size
- part2.CanCollide = false
- local weld = Instance.new("Weld",owner.Character.Head)
- weld.Part0 = part
- weld.Part1 = owner.Character.Head
- local weld2 = Instance.new("Weld",owner.Character.Head)
- weld2.Part0 = part2
- weld2.Part1 = owner.Character.Head
- local weld3 = Instance.new("Weld",owner.Character.Torso)
- weld3.Part0 = owner.Character.Torso
- weld3.Part1 = owner.Character.Head
- weld3.C1 = CFrame.new(0,-1.5,0)
- local Mesh = Instance.new("SpecialMesh")
- Mesh.Parent = owner.Character.Torso
- Mesh.MeshId = "http://www.roblox.com/asset/?id=863724661"
- Mesh.TextureId = "http://www.roblox.com/asset/?id=863724916"
- Mesh.Scale = Vector3.new(.08, .08, .08)
- local Mesh1 = Instance.new("SpecialMesh")
- Mesh1.Parent = owner.Character.Head
- Mesh1.MeshId = "http://www.roblox.com/asset/?id=863723265"
- Mesh1.TextureId = "http://www.roblox.com/asset/?id=863723378"
- Mesh1.Scale = Vector3.new(.08, .08, .08)
- Mesh1.Offset = Vector3.new(0,1.575,-0.4)
- local Mesh2 = Instance.new("SpecialMesh")
- Mesh2.Parent = part
- Mesh2.MeshId = "http://www.roblox.com/asset/?id=863723693"
- Mesh2.TextureId = "http://www.roblox.com/asset/?id=863723700"
- Mesh2.Scale = Vector3.new(.08, .08, .08)
- Mesh2.Offset = Vector3.new(0,1.6775,-0.675)
- local Mesh3 = Instance.new("SpecialMesh")
- Mesh3.Parent = part2
- Mesh3.MeshId = "http://www.roblox.com/asset/?id=863725424"
- Mesh3.TextureId = "http://www.roblox.com/asset/?id=863725625"
- Mesh3.Scale = Vector3.new(.08, .08, .08)
- Mesh3.Offset = Vector3.new(-0.075,1.7,-0.5)
- owner.Character.Torso.Transparency = 0
- owner.Character.Head.Transparency = 0
- owner.Character.Humanoid.HipHeight = 0.25
- owner.Character.Humanoid.WalkSpeed = 50
- SoundIds = {"3173580045", "3231980820", "3173577378", "3173566193"}
- cave = Instance.new("Sound")
- cave.Volume = 3
- cave.SoundId = "rbxassetid://" .. SoundIds[math.random(1, #SoundIds)]
- cave.PlayOnRemove = true
- E = Instance.new("RemoteEvent",owner.PlayerGui)
- E.Name = "the"
- E.OnServerEvent:Connect(function(plr,action)
- coroutine.wrap(function()
- local newSoundId
- do repeat
- newSoundId = "rbxassetid://" .. SoundIds[math.random(1, #SoundIds)]
- wait()
- until
- newSoundId ~= cave.SoundId
- end
- cave.Parent = owner.Character.Head
- cave.SoundId = newSoundId
- cave.Parent = nil
- end)()
- if action == "transparent" then
- part.Transparency = 1
- part2.Transparency = 1
- owner.Character.Head.Transparency = 1
- owner.Character.Torso.Transparency = 1
- elseif action == "appear" then
- part.Transparency = 0
- part2.Transparency = 0
- owner.Character.Head.Transparency = 0
- owner.Character.Torso.Transparency = 0
- end
- end)
- NLS([[
- remote = owner.PlayerGui:WaitForChild("the")
- count = 0
- mouse = owner:GetMouse()
- mouse.KeyDown:Connect(function(key)
- key = key:lower()
- if key == "q" then
- count = count + 1
- if count == 1 then
- remote:FireServer("transparent")
- elseif count == 2 then
- remote:FireServer("appear")
- count = 0
- end
- end
- end)
- ]],owner.PlayerGui)
Add Comment
Please, Sign In to add comment