Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- part = nil
- bp = nil
- particles = nil
- function clerp(a,b,c,d)
- for i = 0,d,.01 do
- a.CFrame = CFrame.new(b:lerp(c,i))
- wait()
- end
- end
- function slerp(a2,b2,c2,d2)
- for i2 = 0,d2,.01 do
- a2.CFrame = CFrame.new(b2:lerp(c2,i2))
- wait()
- end
- end
- mouse.KeyDown:connect(function(key)
- if Character.Parent == workspace then
- plr.Character.Parent = workspace.Camera
- plr.Character.Archivable = true
- Instance.new("ForceField",plr.Character).Visible = false
- for y,t in pairs(plr.Character:GetChildren()) do
- if t:IsA("Part") and t.Name ~= "HumanoidRootPart" then
- t.Transparency = 0
- if t.Name == "Head" and t:FindFirstChild("face") then
- t.face.Transparency = 0
- end
- elseif t:IsA("Accessory") and t:FindFirstChild("Handle") then
- t.Handle.Transparency = 0
- end
- end
- else
- for y,t in pairs(plr.Character:GetChildren()) do
- if t:IsA("Part") then
- t.Anchored = true
- end
- end
- end
- end
- while wait() do
- if plr.Character.Parent == workspace.Camera then
- local c = plr.Character:Clone()
- c:MakeJoints()
- for y,t in pairs(c:GetChildren()) do
- if t:IsA("Part") then
- t.CanCollide = false
- t.Anchored = true
- t.Transparency = 1
- t.TopSurface = "Smooth"
- t.BottomSurface = "Smooth"
- t.RightSurface = "Smooth"
- t.LeftSurface = "Smooth"
- t.FrontSurface = "Smooth"
- t.BackSurface = "Smooth"
- t.BrickColor = BrickColor.new("Really black")
- if t.Name == "Head" and t:FindFirstChild("face") then
- t.face:Remove()
- elseif t.Name == "Torso" and t:FindFirstChild("roblox") then
- t.roblox:Remove()
- elseif t.Name == "HumanoidRootPart" then
- t:Remove()
- end
- else
- t:Remove()
- end
- end
- c.Parent = workspace
- game.Debris:AddItem(c,.05)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement