Advertisement
Dark_EccentricYT

Untitled

May 8th, 2018
2,024
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.21 KB | None | 0 0
  1. --By Rufus14 and fixed by raulib
  2. mouse = game.Players.LocalPlayer:GetMouse()
  3. game.Players.LocalPlayer.Character.Torso.Neck.C1 = CFrame.new(0,-0.7,0)
  4. local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  5. rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  6. rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"]
  7. rhandweld.C1 = CFrame.new(0,1,0)
  8. local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  9. lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  10. lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"]
  11. lhandweld.C1 = CFrame.new(0,1,0)
  12. --Converted with ttyyuu12345's model to script plugin v4
  13. function sandbox(var,func)
  14. local env = getfenv(func)
  15. local newenv = setmetatable({},{
  16. __index = function(self,k)
  17. if k=="script" then
  18. return var
  19. else
  20. return env[k]
  21. end
  22. end,
  23. })
  24. setfenv(func,newenv)
  25. return func
  26. end
  27. cors = {}
  28. mas = Instance.new("Model",game:GetService("Lighting"))
  29. Model0 = Instance.new("Model")
  30. Part1 = Instance.new("Part")
  31. Part2 = Instance.new("Part")
  32. Part3 = Instance.new("Part")
  33. Decal4 = Instance.new("Decal")
  34. Part5 = Instance.new("Part")
  35. Part6 = Instance.new("Part")
  36. Weld7 = Instance.new("Weld")
  37. Weld8 = Instance.new("Weld")
  38. Weld9 = Instance.new("Weld")
  39. Weld10 = Instance.new("Weld")
  40. Weld11 = Instance.new("Weld")
  41. Weld12 = Instance.new("Weld")
  42. Weld13 = Instance.new("Weld")
  43. Part14 = Instance.new("Part")
  44. Part15 = Instance.new("Part")
  45. Decal16 = Instance.new("Decal")
  46. Part17 = Instance.new("Part")
  47. Decal18 = Instance.new("Decal")
  48. Decal19 = Instance.new("Decal")
  49. Model0.Name = "camera"
  50. Model0.Parent = mas
  51. Part1.Name = "cam"
  52. Part1.Parent = Model0
  53. Part1.BrickColor = BrickColor.new("Sand violet metallic")
  54. Part1.Rotation = Vector3.new(-92.3399963, 77.7299957, 86.659996)
  55. Part1.Size = Vector3.new(1, 0.200000033, 0.200000003)
  56. 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)
  57. Part1.BottomSurface = Enum.SurfaceType.Smooth
  58. Part1.TopSurface = Enum.SurfaceType.Smooth
  59. Part1.Color = Color3.new(0.584314, 0.556863, 0.639216)
  60. Part1.Position = Vector3.new(-38.4794807, 12.683094, -35.7457619)
  61. Part1.Orientation = Vector3.new(-12.2599993, 90.5099945, -5.73000002)
  62. Part1.Color = Color3.new(0.584314, 0.556863, 0.639216)
  63. Part2.Name = "cam"
  64. Part2.Parent = Model0
  65. Part2.BrickColor = BrickColor.new("Sand violet metallic")
  66. Part2.Rotation = Vector3.new(-92.3399963, 77.7299957, 86.659996)
  67. Part2.Size = Vector3.new(1, 0.200000033, 0.200000003)
  68. 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)
  69. Part2.BottomSurface = Enum.SurfaceType.Smooth
  70. Part2.TopSurface = Enum.SurfaceType.Smooth
  71. Part2.Color = Color3.new(0.584314, 0.556863, 0.639216)
  72. Part2.Position = Vector3.new(-38.3097763, 11.9052372, -35.6673965)
  73. Part2.Orientation = Vector3.new(-12.2599993, 90.5099945, -5.73000002)
  74. Part2.Color = Color3.new(0.584314, 0.556863, 0.639216)
  75. Part3.Name = "cameraah"
  76. Part3.Parent = Model0
  77. Part3.BrickColor = BrickColor.new("Sand violet metallic")
  78. Part3.Transparency = 1
  79. Part3.Rotation = Vector3.new(-92.3399963, 77.7299957, 86.659996)
  80. Part3.Size = Vector3.new(1, 0.649999857, 0.0500000007)
  81. 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)
  82. Part3.BottomSurface = Enum.SurfaceType.Smooth
  83. Part3.TopSurface = Enum.SurfaceType.Smooth
  84. Part3.Color = Color3.new(0.584314, 0.556863, 0.639216)
  85. Part3.Position = Vector3.new(-38.7521629, 12.2222872, -36.6011162)
  86. Part3.Orientation = Vector3.new(-12.2599993, 90.5099945, -5.73000002)
  87. Part3.Color = Color3.new(0.584314, 0.556863, 0.639216)
  88. Decal4.Parent = Part3
  89. Decal4.Texture = "http://www.roblox.com/asset/?id=120551690"
  90. Part5.Name = "cam"
  91. Part5.Parent = Model0
  92. Part5.BrickColor = BrickColor.new("Sand violet metallic")
  93. Part5.Rotation = Vector3.new(-92.3399963, 77.7299957, 86.659996)
  94. Part5.Size = Vector3.new(0.200000003, 0.600000024, 0.200000003)
  95. 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)
  96. Part5.BottomSurface = Enum.SurfaceType.Smooth
  97. Part5.TopSurface = Enum.SurfaceType.Smooth
  98. Part5.Color = Color3.new(0.584314, 0.556863, 0.639216)
  99. Part5.Position = Vector3.new(-38.40205, 12.3527012, -35.1094894)
  100. Part5.Orientation = Vector3.new(-12.2599993, 90.5099945, -5.73000002)
  101. Part5.Color = Color3.new(0.584314, 0.556863, 0.639216)
  102. Part6.Name = "band"
  103. Part6.Parent = Model0
  104. Part6.Material = Enum.Material.Concrete
  105. Part6.BrickColor = BrickColor.new("Black")
  106. Part6.Rotation = Vector3.new(-92.3399963, 77.7299957, 86.659996)
  107. Part6.Size = Vector3.new(1, 0.200000033, 1)
  108. 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)
  109. Part6.BottomSurface = Enum.SurfaceType.Smooth
  110. Part6.TopSurface = Enum.SurfaceType.Smooth
  111. Part6.Color = Color3.new(0.101961, 0.164706, 0.203922)
  112. Part6.Position = Vector3.new(-37.4792252, 12.3322554, -37.5004349)
  113. Part6.Orientation = Vector3.new(-12.2599993, 90.5099945, -5.73000002)
  114. Part6.Color = Color3.new(0.101961, 0.164706, 0.203922)
  115. Weld7.Parent = Part6
  116. 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)
  117. Weld7.Part0 = Part6
  118. Weld7.Part1 = Part2
  119. Weld8.Parent = Part6
  120. 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)
  121. Weld8.Part0 = Part6
  122. Weld8.Part1 = Part17
  123. Weld9.Parent = Part6
  124. 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)
  125. Weld9.Part0 = Part6
  126. Weld9.Part1 = Part14
  127. Weld10.Parent = Part6
  128. 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)
  129. Weld10.Part0 = Part6
  130. Weld10.Part1 = Part5
  131. Weld11.Parent = Part6
  132. 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)
  133. Weld11.Part0 = Part6
  134. Weld11.Part1 = Part1
  135. Weld12.Parent = Part6
  136. 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)
  137. Weld12.Part0 = Part6
  138. Weld12.Part1 = Part15
  139. Weld13.Parent = Part6
  140. 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)
  141. Weld13.Part0 = Part6
  142. Weld13.Part1 = Part3
  143. Part14.Name = "cam"
  144. Part14.Parent = Model0
  145. Part14.BrickColor = BrickColor.new("Sand violet metallic")
  146. Part14.Rotation = Vector3.new(-92.3399963, 77.7299957, 86.659996)
  147. Part14.Size = Vector3.new(0.800000012, 1, 2.29999971)
  148. 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)
  149. Part14.BottomSurface = Enum.SurfaceType.Smooth
  150. Part14.TopSurface = Enum.SurfaceType.Smooth
  151. Part14.Color = Color3.new(0.584314, 0.556863, 0.639216)
  152. Part14.Position = Vector3.new(-37.6369438, 12.3882084, -36.6034966)
  153. Part14.Orientation = Vector3.new(-12.2599993, 90.5099945, -5.73000002)
  154. Part14.Color = Color3.new(0.584314, 0.556863, 0.639216)
  155. Part15.Name = "cam"
  156. Part15.Parent = Model0
  157. Part15.BrickColor = BrickColor.new("Sand violet metallic")
  158. Part15.Transparency = 1
  159. Part15.Rotation = Vector3.new(-92.3399963, 77.7299957, 86.659996)
  160. Part15.Size = Vector3.new(0.150000006, 0.150000036, 0.200000003)
  161. 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)
  162. Part15.BottomSurface = Enum.SurfaceType.Smooth
  163. Part15.TopSurface = Enum.SurfaceType.Smooth
  164. Part15.Color = Color3.new(0.584314, 0.556863, 0.639216)
  165. Part15.Position = Vector3.new(-38.4364014, 12.5009041, -35.3505516)
  166. Part15.Orientation = Vector3.new(-12.2599993, 90.5099945, -5.73000002)
  167. Part15.Color = Color3.new(0.584314, 0.556863, 0.639216)
  168. Decal16.Parent = Part15
  169. Decal16.Texture = "rbxassetid://117959738"
  170. Decal16.Face = Enum.NormalId.Back
  171. Part17.Name = "cam"
  172. Part17.Parent = Model0
  173. Part17.BrickColor = BrickColor.new("Sand violet metallic")
  174. Part17.Transparency = 1
  175. Part17.Rotation = Vector3.new(-92.3399963, 77.7299957, 86.659996)
  176. Part17.Size = Vector3.new(1, 0.600000024, 0.200000003)
  177. 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)
  178. Part17.BottomSurface = Enum.SurfaceType.Smooth
  179. Part17.TopSurface = Enum.SurfaceType.Smooth
  180. Part17.Color = Color3.new(0.584314, 0.556863, 0.639216)
  181. Part17.Position = Vector3.new(-38.3946304, 12.2941666, -35.7065735)
  182. Part17.Orientation = Vector3.new(-12.2599993, 90.5099945, -5.73000002)
  183. Part17.Color = Color3.new(0.584314, 0.556863, 0.639216)
  184. Decal18.Parent = Part17
  185. Decal18.Texture = "rbxassetid://165477810"
  186. Decal18.Face = Enum.NormalId.Back
  187. Decal19.Parent = Part17
  188. Decal19.Texture = "http://www.roblox.com/asset/?id=154987705"
  189. for i,v in pairs(mas:GetChildren()) do
  190. v.Parent = game:GetService("Players").LocalPlayer.Character
  191. pcall(function() v:MakeJoints() end)
  192. end
  193. mas:Destroy()
  194. for i,v in pairs(cors) do
  195. spawn(function()
  196. pcall(v)
  197. end)
  198. end
  199. local weeld = Instance.new("Weld", Part6)
  200. weeld.Part0 = game.Players.LocalPlayer.Character["Right Arm"]
  201. weeld.Part1 = Part6
  202. weeld.C0 = CFrame.fromEulerAnglesXYZ(math.pi/2*2,0,0) * CFrame.new(0,0.5,0)
  203. delayy = 0
  204. -- Objects
  205.  
  206. local framedelay = Instance.new("ScreenGui")
  207. local TextLabel = Instance.new("TextLabel")
  208. local less = Instance.new("TextButton")
  209. local more = Instance.new("TextButton")
  210.  
  211. -- Properties
  212.  
  213. framedelay.Name = "framedelay"
  214. framedelay.Parent = game.Players.LocalPlayer.PlayerGui
  215.  
  216. TextLabel.Parent = framedelay
  217. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  218. TextLabel.BackgroundTransparency = 1
  219. TextLabel.Position = UDim2.new(0.775349796, 0, 0.914686918, 0)
  220. TextLabel.Size = UDim2.new(0, 307, 0, 66)
  221. TextLabel.Font = Enum.Font.Code
  222. TextLabel.FontSize = Enum.FontSize.Size14
  223. TextLabel.Text = "Frame Delay: "..delayy
  224. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  225. TextLabel.TextScaled = true
  226. TextLabel.TextSize = 14
  227. TextLabel.TextWrapped = true
  228.  
  229. less.Name = "less"
  230. less.Parent = framedelay
  231. less.BackgroundColor3 = Color3.new(1, 1, 1)
  232. less.BackgroundTransparency = 1
  233. less.Position = UDim2.new(0.665102601, 0, 0.924479187, 0)
  234. less.Size = UDim2.new(0, 73, 0, 50)
  235. less.Font = Enum.Font.SourceSansBold
  236. less.FontSize = Enum.FontSize.Size14
  237. less.Text = "<"
  238. less.TextScaled = true
  239. less.TextSize = 14
  240. less.TextWrapped = true
  241.  
  242. more.Name = "more"
  243. more.Parent = framedelay
  244. more.BackgroundColor3 = Color3.new(1, 1, 1)
  245. more.BackgroundTransparency = 1
  246. more.Position = UDim2.new(0.718543291, 0, 0.924479187, 0)
  247. more.Size = UDim2.new(0, 73, 0, 50)
  248. more.Font = Enum.Font.SourceSansBold
  249. more.FontSize = Enum.FontSize.Size14
  250. more.Text = ">"
  251. more.TextScaled = true
  252. more.TextSize = 14
  253. more.TextWrapped = true
  254. cameratocam = false
  255. UserInputService = game:GetService("UserInputService")
  256. function moree()
  257. delayy = delayy + 0.001
  258. TextLabel.Text = "Frame Delay: "..delayy
  259. end
  260. more.MouseButton1Down:connect(moree)
  261. function lesss()
  262. delayy = delayy - 0.001
  263. TextLabel.Text = "Frame Delay: "..delayy
  264. end
  265. less.MouseButton1Down:connect(lesss)
  266. function mousedown()
  267. cameratocam = true
  268. end
  269. mouse.Button1Down:connect(mousedown)
  270. function mouseup()
  271. cameratocam = false
  272. finished = true
  273. local frameval = 0
  274. workspace.CurrentCamera.CameraType = "Scriptable"
  275. workspace.CurrentCamera.FieldOfView = 90
  276. -- Objects
  277.  
  278. local ScreenGuii = Instance.new("ScreenGui")
  279. local ImageLabeli = Instance.new("ImageLabel")
  280.  
  281. -- Properties
  282.  
  283. ScreenGuii.Parent = game.Players.LocalPlayer.PlayerGui
  284.  
  285. ImageLabeli.Parent = ScreenGuii
  286. ImageLabeli.BackgroundColor3 = Color3.new(1, 1, 1)
  287. ImageLabeli.Size = UDim2.new(0, 400, 0, 37)
  288. ImageLabeli.Image = "rbxassetid://794422693"
  289. ImageLabeli.BorderSizePixel = 0
  290. local song = Instance.new("Sound", game.Players.LocalPlayer.PlayerGui)
  291. local songmath = math.random(1,3)
  292. if songmath == 1 then
  293. song.SoundId = "rbxassetid://607043786"
  294. end
  295. if songmath == 2 then
  296. song.SoundId = "rbxassetid://227322163"
  297. end
  298. if songmath == 3 then
  299. song.SoundId = "rbxassetid://1441338035"
  300. end
  301. song:Play()
  302. for i,v in pairs(workspace.CurrentCamera:GetChildren()) do
  303. if v.ClassName == "Model" then
  304. if v:findFirstChild("isaframe") then
  305. frameval = frameval + 1
  306. local function search(aa)
  307. for q,w in pairs(aa:GetChildren()) do
  308. search(w)
  309. if w.Name == "cameraah" then
  310. workspace.CurrentCamera.CFrame = w.CFrame
  311. end
  312. end
  313. end
  314. search(v)
  315. wait(delayy)
  316. v:destroy()
  317. end
  318. end
  319. end
  320. workspace.CurrentCamera.CameraType = "Custom"
  321. workspace.CurrentCamera.FieldOfView = 70
  322. workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character
  323. ScreenGuii:destroy()
  324. finished = false
  325. song:destroy()
  326. print("Frames "..frameval)
  327. end
  328. mouse.Button1Up:connect(mouseup)
  329. function look()
  330. 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))
  331. 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)
  332. 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)
  333. 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)
  334. end
  335. game:GetService("RunService").RenderStepped:connect(look)
  336. finished = false
  337. val = 0
  338. moveval = 0
  339. while true do
  340. if cameratocam and not finished then
  341. val = val + 1
  342. local model = Instance.new("Model", workspace.CurrentCamera)
  343. model.Name = val
  344. local isafr = Instance.new("BoolValue", model)
  345. isafr.Name = "isaframe"
  346. for i,v in pairs(workspace:GetChildren()) do
  347. if v.ClassName == "Part" or v.ClassName == "Model" or v.ClassName == "MeshPart" then
  348. v.Archivable = true
  349. cancaptrue = true
  350. local cl = v:Clone()
  351. if cl.Name == "Base" or cl.Name == "Baseplate" then
  352.  
  353. else
  354. cl.Name = "captrued"
  355. end
  356. if cl.ClassName == "Part" or cl.ClassName == "Union" or cl.ClassName == "MeshPart" then
  357. cl.Anchored = true
  358. if (cl.Position - Part3.Position).magnitude > 70 then
  359. if cl.Name == "Baseplate" or cl.Name == "Base" then
  360. else
  361. cancaptrue = false
  362. cl:Remove()
  363. end
  364. else
  365. cl.Anchored = true
  366. end
  367. end
  368. if cl.ClassName == "Model" then
  369. cl.Parent = model
  370. local function search(aa)
  371. for q,w in pairs(aa:GetChildren()) do
  372. search(w)
  373. if w.ClassName == "Part" or w.ClassName == "Union" or w.ClassName == "MeshPart" then
  374. if (w.Position - Part3.Position).magnitude > 70 and w.Name ~= "Baseplate" and w.Name ~= "Base" then
  375. cancaptrue = false
  376. w:Remove()
  377. else
  378. w.Anchored = true
  379. end
  380. end
  381. end
  382. end
  383. search(cl)
  384. end
  385. if cancaptrue then
  386. cl.Parent = model
  387. end
  388. end
  389. end
  390. model:MoveTo(Vector3.new(math.random(10000,1000000),math.random(10000,1000000),math.random(100000,1000000)))
  391. if delayy <=0 then wait() else
  392. wait(delayy)
  393. end
  394. end
  395. game:GetService("RunService").RenderStepped:wait()
  396. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement