Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --By Rufus14 and fixed by raulib
- mouse = game.Players.LocalPlayer:GetMouse()
- game.Players.LocalPlayer.Character.Torso.Neck.C1 = CFrame.new(0,-0.7,0)
- local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
- rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
- rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"]
- rhandweld.C1 = CFrame.new(0,1,0)
- local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
- lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
- lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"]
- lhandweld.C1 = CFrame.new(0,1,0)
- --Converted with ttyyuu12345's model to script plugin v4
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- Model0 = Instance.new("Model")
- Part1 = Instance.new("Part")
- Part2 = Instance.new("Part")
- Part3 = Instance.new("Part")
- Decal4 = Instance.new("Decal")
- Part5 = Instance.new("Part")
- Part6 = Instance.new("Part")
- Weld7 = Instance.new("Weld")
- Weld8 = Instance.new("Weld")
- Weld9 = Instance.new("Weld")
- Weld10 = Instance.new("Weld")
- Weld11 = Instance.new("Weld")
- Weld12 = Instance.new("Weld")
- Weld13 = Instance.new("Weld")
- Part14 = Instance.new("Part")
- Part15 = Instance.new("Part")
- Decal16 = Instance.new("Decal")
- Part17 = Instance.new("Part")
- Decal18 = Instance.new("Decal")
- Decal19 = Instance.new("Decal")
- Model0.Name = "camera"
- Model0.Parent = mas
- Part1.Name = "cam"
- Part1.Parent = Model0
- Part1.BrickColor = BrickColor.new("Sand violet metallic")
- Part1.Rotation = Vector3.new(-92.3399963, 77.7299957, 86.659996)
- Part1.Size = Vector3.new(1, 0.200000033, 0.200000003)
- Part1.CFrame = CFrame.new(-38.4794807, 12.683094, -35.7457619, 0.0123719107, -0.212127253, 0.977163732, -0.0975575149, 0.972321033, 0.212311149, -0.99515301, -0.0979562849, -0.00866513234)
- Part1.BottomSurface = Enum.SurfaceType.Smooth
- Part1.TopSurface = Enum.SurfaceType.Smooth
- Part1.Color = Color3.new(0.584314, 0.556863, 0.639216)
- Part1.Position = Vector3.new(-38.4794807, 12.683094, -35.7457619)
- Part1.Orientation = Vector3.new(-12.2599993, 90.5099945, -5.73000002)
- Part1.Color = Color3.new(0.584314, 0.556863, 0.639216)
- Part2.Name = "cam"
- Part2.Parent = Model0
- Part2.BrickColor = BrickColor.new("Sand violet metallic")
- Part2.Rotation = Vector3.new(-92.3399963, 77.7299957, 86.659996)
- Part2.Size = Vector3.new(1, 0.200000033, 0.200000003)
- Part2.CFrame = CFrame.new(-38.3097763, 11.9052372, -35.6673965, 0.0123719098, -0.212127239, 0.977163732, -0.0975574926, 0.972320795, 0.212311089, -0.99515301, -0.0979562849, -0.00866513234)
- Part2.BottomSurface = Enum.SurfaceType.Smooth
- Part2.TopSurface = Enum.SurfaceType.Smooth
- Part2.Color = Color3.new(0.584314, 0.556863, 0.639216)
- Part2.Position = Vector3.new(-38.3097763, 11.9052372, -35.6673965)
- Part2.Orientation = Vector3.new(-12.2599993, 90.5099945, -5.73000002)
- Part2.Color = Color3.new(0.584314, 0.556863, 0.639216)
- Part3.Name = "cameraah"
- Part3.Parent = Model0
- Part3.BrickColor = BrickColor.new("Sand violet metallic")
- Part3.Transparency = 1
- Part3.Rotation = Vector3.new(-92.3399963, 77.7299957, 86.659996)
- Part3.Size = Vector3.new(1, 0.649999857, 0.0500000007)
- Part3.CFrame = CFrame.new(-38.7521629, 12.2222872, -36.6011162, 0.0123719107, -0.212127253, 0.977163732, -0.0975575149, 0.972321033, 0.212311149, -0.99515301, -0.0979562849, -0.00866513234)
- Part3.BottomSurface = Enum.SurfaceType.Smooth
- Part3.TopSurface = Enum.SurfaceType.Smooth
- Part3.Color = Color3.new(0.584314, 0.556863, 0.639216)
- Part3.Position = Vector3.new(-38.7521629, 12.2222872, -36.6011162)
- Part3.Orientation = Vector3.new(-12.2599993, 90.5099945, -5.73000002)
- Part3.Color = Color3.new(0.584314, 0.556863, 0.639216)
- Decal4.Parent = Part3
- Decal4.Texture = "http://www.roblox.com/asset/?id=120551690"
- Part5.Name = "cam"
- Part5.Parent = Model0
- Part5.BrickColor = BrickColor.new("Sand violet metallic")
- Part5.Rotation = Vector3.new(-92.3399963, 77.7299957, 86.659996)
- Part5.Size = Vector3.new(0.200000003, 0.600000024, 0.200000003)
- Part5.CFrame = CFrame.new(-38.40205, 12.3527012, -35.1094894, 0.0123719107, -0.212127253, 0.977163732, -0.0975575149, 0.972321033, 0.212311149, -0.99515301, -0.0979562849, -0.00866513234)
- Part5.BottomSurface = Enum.SurfaceType.Smooth
- Part5.TopSurface = Enum.SurfaceType.Smooth
- Part5.Color = Color3.new(0.584314, 0.556863, 0.639216)
- Part5.Position = Vector3.new(-38.40205, 12.3527012, -35.1094894)
- Part5.Orientation = Vector3.new(-12.2599993, 90.5099945, -5.73000002)
- Part5.Color = Color3.new(0.584314, 0.556863, 0.639216)
- Part6.Name = "band"
- Part6.Parent = Model0
- Part6.Material = Enum.Material.Concrete
- Part6.BrickColor = BrickColor.new("Black")
- Part6.Rotation = Vector3.new(-92.3399963, 77.7299957, 86.659996)
- Part6.Size = Vector3.new(1, 0.200000033, 1)
- Part6.CFrame = CFrame.new(-37.4792252, 12.3322554, -37.5004349, 0.0123719098, -0.212127239, 0.977163732, -0.0975574702, 0.972320557, 0.212311044, -0.99515301, -0.0979562849, -0.00866513234)
- Part6.BottomSurface = Enum.SurfaceType.Smooth
- Part6.TopSurface = Enum.SurfaceType.Smooth
- Part6.Color = Color3.new(0.101961, 0.164706, 0.203922)
- Part6.Position = Vector3.new(-37.4792252, 12.3322554, -37.5004349)
- Part6.Orientation = Vector3.new(-12.2599993, 90.5099945, -5.73000002)
- Part6.Color = Color3.new(0.101961, 0.164706, 0.203922)
- Weld7.Parent = Part6
- Weld7.C0 = CFrame.new(-1.79277039, -0.41857338, -0.918128967, 1, -2.23517418e-08, -4.65661287e-09, -2.23517418e-08, 1.00000024, 4.89526428e-08, -4.65661287e-09, 4.89526428e-08, 1)
- Weld7.Part0 = Part6
- Weld7.Part1 = Part2
- Weld8.Parent = Part6
- Weld8.C0 = CFrame.new(-1.7927742, -0.0185718536, -0.918132782, 1, -2.23517418e-08, -4.65661287e-09, -2.23517418e-08, 1.00000024, 4.89526428e-08, -4.65661287e-09, 4.89526428e-08, 1)
- Weld8.Part0 = Part6
- Weld8.Part1 = Part17
- Weld9.Parent = Part6
- Weld9.C0 = CFrame.new(-0.900001526, 0, -0.150009155, 1, -2.23517418e-08, -4.65661287e-09, -2.23517418e-08, 1.00000024, 4.89526428e-08, -4.65661287e-09, 4.89526428e-08, 1)
- Weld9.Part0 = Part6
- Weld9.Part1 = Part14
- Weld10.Parent = Part6
- Weld10.C0 = CFrame.new(-2.39276886, -0.0185718536, -0.918128967, 1, -4.47034836e-08, -1.02445483e-08, -4.47034836e-08, 1.00000048, 1.08557288e-07, -8.38190317e-09, 9.36561264e-08, 1)
- Weld10.Part0 = Part6
- Weld10.Part1 = Part5
- Weld11.Parent = Part6
- Weld11.C0 = CFrame.new(-1.79277039, 0.381427765, -0.918132782, 1, -4.47034836e-08, -1.02445483e-08, -4.47034836e-08, 1.00000048, 1.08557288e-07, -8.38190317e-09, 9.36561264e-08, 1)
- Weld11.Part0 = Part6
- Weld11.Part1 = Part1
- Weld12.Parent = Part6
- Weld12.C0 = CFrame.new(-2.16775894, 0.156429291, -0.918140411, 1, -4.47034836e-08, -1.02445483e-08, -4.47034836e-08, 1.00000048, 1.08557288e-07, -8.38190317e-09, 9.36561264e-08, 1)
- Weld12.Part0 = Part6
- Weld12.Part1 = Part15
- Weld13.Parent = Part6
- Weld13.C0 = CFrame.new(-0.899978638, 0.075006485, -1.27500916, 1, -4.47034836e-08, -1.02445483e-08, -4.47034836e-08, 1.00000048, 1.08557288e-07, -8.38190317e-09, 9.36561264e-08, 1)
- Weld13.Part0 = Part6
- Weld13.Part1 = Part3
- Part14.Name = "cam"
- Part14.Parent = Model0
- Part14.BrickColor = BrickColor.new("Sand violet metallic")
- Part14.Rotation = Vector3.new(-92.3399963, 77.7299957, 86.659996)
- Part14.Size = Vector3.new(0.800000012, 1, 2.29999971)
- Part14.CFrame = CFrame.new(-37.6369438, 12.3882084, -36.6034966, 0.0123719098, -0.212127239, 0.977163732, -0.0975574479, 0.972320318, 0.212311, -0.99515301, -0.0979562849, -0.00866513234)
- Part14.BottomSurface = Enum.SurfaceType.Smooth
- Part14.TopSurface = Enum.SurfaceType.Smooth
- Part14.Color = Color3.new(0.584314, 0.556863, 0.639216)
- Part14.Position = Vector3.new(-37.6369438, 12.3882084, -36.6034966)
- Part14.Orientation = Vector3.new(-12.2599993, 90.5099945, -5.73000002)
- Part14.Color = Color3.new(0.584314, 0.556863, 0.639216)
- Part15.Name = "cam"
- Part15.Parent = Model0
- Part15.BrickColor = BrickColor.new("Sand violet metallic")
- Part15.Transparency = 1
- Part15.Rotation = Vector3.new(-92.3399963, 77.7299957, 86.659996)
- Part15.Size = Vector3.new(0.150000006, 0.150000036, 0.200000003)
- Part15.CFrame = CFrame.new(-38.4364014, 12.5009041, -35.3505516, 0.0123719107, -0.212127253, 0.977163732, -0.0975575149, 0.972321033, 0.212311149, -0.99515301, -0.0979562849, -0.00866513234)
- Part15.BottomSurface = Enum.SurfaceType.Smooth
- Part15.TopSurface = Enum.SurfaceType.Smooth
- Part15.Color = Color3.new(0.584314, 0.556863, 0.639216)
- Part15.Position = Vector3.new(-38.4364014, 12.5009041, -35.3505516)
- Part15.Orientation = Vector3.new(-12.2599993, 90.5099945, -5.73000002)
- Part15.Color = Color3.new(0.584314, 0.556863, 0.639216)
- Decal16.Parent = Part15
- Decal16.Texture = "rbxassetid://117959738"
- Decal16.Face = Enum.NormalId.Back
- Part17.Name = "cam"
- Part17.Parent = Model0
- Part17.BrickColor = BrickColor.new("Sand violet metallic")
- Part17.Transparency = 1
- Part17.Rotation = Vector3.new(-92.3399963, 77.7299957, 86.659996)
- Part17.Size = Vector3.new(1, 0.600000024, 0.200000003)
- Part17.CFrame = CFrame.new(-38.3946304, 12.2941666, -35.7065735, 0.0123719098, -0.212127239, 0.977163732, -0.0975574926, 0.972320795, 0.212311089, -0.99515301, -0.0979562849, -0.00866513234)
- Part17.BottomSurface = Enum.SurfaceType.Smooth
- Part17.TopSurface = Enum.SurfaceType.Smooth
- Part17.Color = Color3.new(0.584314, 0.556863, 0.639216)
- Part17.Position = Vector3.new(-38.3946304, 12.2941666, -35.7065735)
- Part17.Orientation = Vector3.new(-12.2599993, 90.5099945, -5.73000002)
- Part17.Color = Color3.new(0.584314, 0.556863, 0.639216)
- Decal18.Parent = Part17
- Decal18.Texture = "rbxassetid://165477810"
- Decal18.Face = Enum.NormalId.Back
- Decal19.Parent = Part17
- Decal19.Texture = "http://www.roblox.com/asset/?id=154987705"
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = game:GetService("Players").LocalPlayer.Character
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
- local weeld = Instance.new("Weld", Part6)
- weeld.Part0 = game.Players.LocalPlayer.Character["Right Arm"]
- weeld.Part1 = Part6
- weeld.C0 = CFrame.fromEulerAnglesXYZ(math.pi/2*2,0,0) * CFrame.new(0,0.5,0)
- delayy = 0
- -- Objects
- local framedelay = Instance.new("ScreenGui")
- local TextLabel = Instance.new("TextLabel")
- local less = Instance.new("TextButton")
- local more = Instance.new("TextButton")
- -- Properties
- framedelay.Name = "framedelay"
- framedelay.Parent = game.Players.LocalPlayer.PlayerGui
- TextLabel.Parent = framedelay
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.BackgroundTransparency = 1
- TextLabel.Position = UDim2.new(0.775349796, 0, 0.914686918, 0)
- TextLabel.Size = UDim2.new(0, 307, 0, 66)
- TextLabel.Font = Enum.Font.Code
- TextLabel.FontSize = Enum.FontSize.Size14
- TextLabel.Text = "Frame Delay: "..delayy
- TextLabel.TextColor3 = Color3.new(1, 1, 1)
- TextLabel.TextScaled = true
- TextLabel.TextSize = 14
- TextLabel.TextWrapped = true
- less.Name = "less"
- less.Parent = framedelay
- less.BackgroundColor3 = Color3.new(1, 1, 1)
- less.BackgroundTransparency = 1
- less.Position = UDim2.new(0.665102601, 0, 0.924479187, 0)
- less.Size = UDim2.new(0, 73, 0, 50)
- less.Font = Enum.Font.SourceSansBold
- less.FontSize = Enum.FontSize.Size14
- less.Text = "<"
- less.TextScaled = true
- less.TextSize = 14
- less.TextWrapped = true
- more.Name = "more"
- more.Parent = framedelay
- more.BackgroundColor3 = Color3.new(1, 1, 1)
- more.BackgroundTransparency = 1
- more.Position = UDim2.new(0.718543291, 0, 0.924479187, 0)
- more.Size = UDim2.new(0, 73, 0, 50)
- more.Font = Enum.Font.SourceSansBold
- more.FontSize = Enum.FontSize.Size14
- more.Text = ">"
- more.TextScaled = true
- more.TextSize = 14
- more.TextWrapped = true
- cameratocam = false
- UserInputService = game:GetService("UserInputService")
- function moree()
- delayy = delayy + 0.001
- TextLabel.Text = "Frame Delay: "..delayy
- end
- more.MouseButton1Down:connect(moree)
- function lesss()
- delayy = delayy - 0.001
- TextLabel.Text = "Frame Delay: "..delayy
- end
- less.MouseButton1Down:connect(lesss)
- function mousedown()
- cameratocam = true
- end
- mouse.Button1Down:connect(mousedown)
- function mouseup()
- cameratocam = false
- finished = true
- local frameval = 0
- workspace.CurrentCamera.CameraType = "Scriptable"
- workspace.CurrentCamera.FieldOfView = 90
- -- Objects
- local ScreenGuii = Instance.new("ScreenGui")
- local ImageLabeli = Instance.new("ImageLabel")
- -- Properties
- ScreenGuii.Parent = game.Players.LocalPlayer.PlayerGui
- ImageLabeli.Parent = ScreenGuii
- ImageLabeli.BackgroundColor3 = Color3.new(1, 1, 1)
- ImageLabeli.Size = UDim2.new(0, 400, 0, 37)
- ImageLabeli.Image = "rbxassetid://794422693"
- ImageLabeli.BorderSizePixel = 0
- local song = Instance.new("Sound", game.Players.LocalPlayer.PlayerGui)
- local songmath = math.random(1,3)
- if songmath == 1 then
- song.SoundId = "rbxassetid://607043786"
- end
- if songmath == 2 then
- song.SoundId = "rbxassetid://227322163"
- end
- if songmath == 3 then
- song.SoundId = "rbxassetid://1441338035"
- end
- song:Play()
- for i,v in pairs(workspace.CurrentCamera:GetChildren()) do
- if v.ClassName == "Model" then
- if v:findFirstChild("isaframe") then
- frameval = frameval + 1
- local function search(aa)
- for q,w in pairs(aa:GetChildren()) do
- search(w)
- if w.Name == "cameraah" then
- workspace.CurrentCamera.CFrame = w.CFrame
- end
- end
- end
- search(v)
- wait(delayy)
- v:destroy()
- end
- end
- end
- workspace.CurrentCamera.CameraType = "Custom"
- workspace.CurrentCamera.FieldOfView = 70
- workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character
- ScreenGuii:destroy()
- finished = false
- song:destroy()
- print("Frames "..frameval)
- end
- mouse.Button1Up:connect(mouseup)
- function look()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position,Vector3.new(mouse.Hit.p.x,game.Players.LocalPlayer.Character.HumanoidRootPart.Position.y,mouse.Hit.p.z))
- lhandweld.C0 = CFrame.new(-1.5,1,0) * CFrame.fromEulerAnglesXYZ(math.asin((mouse.Hit.p-mouse.Origin.p).unit.y)/2,0,0) * CFrame.Angles(0,0,0)
- rhandweld.C0 = CFrame.new(1.5,0,0.5) * CFrame.fromEulerAnglesXYZ(math.asin((mouse.Hit.p-mouse.Origin.p).unit.y)* 0.6,0,0) * CFrame.Angles(3,0,0.1)
- game.Players.LocalPlayer.Character.Torso.Neck.C0 = CFrame.new(0,0.8,0) * CFrame.fromEulerAnglesXYZ(math.asin((mouse.Hit.p-mouse.Origin.p).unit.y),0,0)
- end
- game:GetService("RunService").RenderStepped:connect(look)
- finished = false
- val = 0
- moveval = 0
- while true do
- if cameratocam and not finished then
- val = val + 1
- local model = Instance.new("Model", workspace.CurrentCamera)
- model.Name = val
- local isafr = Instance.new("BoolValue", model)
- isafr.Name = "isaframe"
- for i,v in pairs(workspace:GetChildren()) do
- if v.ClassName == "Part" or v.ClassName == "Model" or v.ClassName == "MeshPart" then
- v.Archivable = true
- cancaptrue = true
- local cl = v:Clone()
- if cl.Name == "Base" or cl.Name == "Baseplate" then
- else
- cl.Name = "captrued"
- end
- if cl.ClassName == "Part" or cl.ClassName == "Union" or cl.ClassName == "MeshPart" then
- cl.Anchored = true
- if (cl.Position - Part3.Position).magnitude > 70 then
- if cl.Name == "Baseplate" or cl.Name == "Base" then
- else
- cancaptrue = false
- cl:Remove()
- end
- else
- cl.Anchored = true
- end
- end
- if cl.ClassName == "Model" then
- cl.Parent = model
- local function search(aa)
- for q,w in pairs(aa:GetChildren()) do
- search(w)
- if w.ClassName == "Part" or w.ClassName == "Union" or w.ClassName == "MeshPart" then
- if (w.Position - Part3.Position).magnitude > 70 and w.Name ~= "Baseplate" and w.Name ~= "Base" then
- cancaptrue = false
- w:Remove()
- else
- w.Anchored = true
- end
- end
- end
- end
- search(cl)
- end
- if cancaptrue then
- cl.Parent = model
- end
- end
- end
- model:MoveTo(Vector3.new(math.random(10000,1000000),math.random(10000,1000000),math.random(100000,1000000)))
- if delayy <=0 then wait() else
- wait(delayy)
- end
- end
- game:GetService("RunService").RenderStepped:wait()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement