Advertisement
EmeraldIT

Untitled

Apr 13th, 2020
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.18 KB | None | 0 0
  1. o = owner
  2. ch = o.Character
  3. fol = Instance.new("Folder")
  4. fol.Parent = script
  5. gui = Instance.new("ScreenGui")
  6. gui.Parent = script
  7. lab = Instance.new('TextLabel')
  8. lab.Text = '~'
  9. lab.Font = 'SciFi'
  10. lab.TextStrokeTransparency = 0
  11. lab.TextStrokeColor3 = Color3.new(0.5,0.5,0.5)
  12. lab.TextColor3 = Color3.new(1,1,1)
  13. lab.TextScaled = true
  14. lab.BackgroundTransparency = 1
  15. lab.Size = UDim2.new(0.3, 0, 0.1, 0)
  16. lab.Position = UDim2.new(-0.3,0,0.9,0)
  17. lab.Parent = gui
  18. tool = Instance.new("Tool")
  19. gem = Instance.new("Part")
  20. gem.Massless = true
  21. gem.Name = "Handle"
  22. gem.Position = Vector3.new(0,math.huge,0)
  23. gem.Material = "Neon"
  24. gem.Anchored = true
  25. gem.Size = Vector3.new(1.5,1.5,1.5)
  26. gem.CanCollide = false
  27. gem.Parent = tool
  28. gem2 = gem:Clone()
  29. gem2.Size = Vector3.new(1.6,1.6,1.6)
  30. gem2.Material = "Glass"
  31. gem2.Anchored = false
  32. gem2.Transparency = 0.456
  33. gem2.Name = "Key outline"
  34. gem2.Parent = tool
  35. gem2w = Instance.new("Weld")
  36. gem2w.Part0 = gem
  37. gem2w.Part1 = gem2
  38. gem2w.C0 = CFrame.new(0,0,0)
  39. gem2w.Parent = gem2
  40. geml = Instance.new("PointLight")
  41. geml.Name = "Light"
  42. geml.Parent = gem
  43. sees = {
  44. NumberSequenceKeypoint.new(0,1),
  45. NumberSequenceKeypoint.new(0.2,0),
  46. NumberSequenceKeypoint.new(0.8,0),
  47. NumberSequenceKeypoint.new(1,1)}
  48. sizes = {
  49. NumberSequenceKeypoint.new(0,0),
  50. NumberSequenceKeypoint.new(0.2,0.5),
  51. NumberSequenceKeypoint.new(0.8,0.5),
  52. NumberSequenceKeypoint.new(1,0)}
  53. local pt = Instance.new("ParticleEmitter")
  54. pt.LightEmission = 1
  55. pt.Speed = NumberRange.new(0)
  56. pt.Lifetime = NumberRange.new(0.5)
  57. pt.Transparency = NumberSequence.new(sees)
  58. pt.Size = NumberSequence.new(sizes)
  59. pt.Name = "Pt"
  60. pt.Rate = 10
  61. pt.Rotation = NumberRange.new(-180,180)
  62. pt.RotSpeed = NumberRange.new(-180,180)
  63. pt.Parent = gem2
  64. pt.ZOffset = 1.5
  65. pt.Color = ColorSequence.new(gem.Color)
  66. tool.Parent = script
  67.  
  68. it=Instance.new
  69. vt=Vector3.new
  70. cf=CFrame.new
  71. euler=CFrame.fromEulerAnglesXYZ
  72. angles=CFrame.Angles
  73. local teledebounce=false
  74.  
  75. if script:FindFirstChild("Void") ~= nil then
  76. script:FindFirstChild("Void").Parent = nil
  77. end
  78.  
  79. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size,cframe)
  80. local fp = it("Part")
  81. fp.formFactor = formfactor
  82. fp.Parent = parent
  83. fp.Reflectance = reflectance
  84. fp.Transparency = transparency
  85. fp.CanCollide = true
  86. fp.Anchored = true
  87. fp.Locked=true
  88. fp.BrickColor = brickcolor
  89. fp.Name = name
  90. fp.Size = size
  91. fp.CFrame = cframe
  92. fp.BottomSurface="Smooth"
  93. fp.TopSurface="Smooth"
  94. fp:BreakJoints()
  95. return fp
  96. end
  97.  
  98. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  99. local mesh = it(Mesh)
  100. mesh.Parent = part
  101. if Mesh=="SpecialMesh" then
  102. mesh.MeshType = meshtype
  103. mesh.MeshId = meshid
  104. end
  105. mesh.Offset=offset
  106. mesh.Scale=scale
  107. return mesh
  108. end
  109.  
  110. function weld(parent,part0,part1,c0)
  111. local weld = it("Weld")
  112. weld.Parent = parent
  113. weld.Part0 = part0
  114. weld.Part1 = part1
  115. weld.C0 = c0
  116. return weld
  117. end
  118.  
  119. local modelzorz = Instance.new("Model")
  120. modelzorz.Parent = script
  121. modelzorz.Name = "Void"
  122.  
  123. local theframe = CFrame.new(0,100000,100000)
  124.  
  125. local skyboxprt=part(3,modelzorz,0,0,BrickColor.new("Really black"),"Skybox",vt(800,800,800),theframe)
  126. local prt=part(3,modelzorz,0,0,BrickColor.new("White"),"Basee",vt(500,5,500),theframe)
  127. local skyboxmsh=mesh("SpecialMesh",skyboxprt,"FileMesh","http://www.roblox.com/asset/?id=1527559",vt(0,0,0),vt(-1000,-1000,-1000))
  128. skyboxmsh.TextureId="http://www.roblox.com/asset/?id=24824960"
  129. skyboxmsh.VertexColor = Vector3.new(0,0,0)
  130. skyboxmsh.Name = "AMesh"
  131. skyboxprt.CanCollide = false
  132. skyboxprt.CastShadow = false
  133. prt.Material = "Cobblestone"
  134. skyboxprt.Locked = true
  135. prt.Locked = true
  136. prt2 = prt:Clone()
  137. prt2.Size = Vector3.new(495,6,495)
  138. prt2.Material = "Grass"
  139. prt2.CanCollide = false
  140. prt2.Parent = modelzorz
  141. forcefield = skyboxprt:Clone()
  142. forcefield.Material = "ForceField"
  143. forcefield.AMesh.VertexColor = Vector3.new(1,1,1)
  144. forcefield.Color = Color3.new(1,1,1)
  145. forcefield.AMesh.Scale = vt(-999,-999,-999)
  146. forcefield.Parent = modelzorz
  147. sizes = {
  148. NumberSequenceKeypoint.new(0,3,0);
  149. NumberSequenceKeypoint.new(0.5,3,0);
  150. NumberSequenceKeypoint.new(1,3,0)
  151. }
  152.  
  153. seeses = {
  154. NumberSequenceKeypoint.new(0,1,0);
  155. NumberSequenceKeypoint.new(0.2,0,0);
  156. NumberSequenceKeypoint.new(0.8,0,0);
  157. NumberSequenceKeypoint.new(1,1,0)
  158. }
  159.  
  160. local pt1 = Instance.new("ParticleEmitter", skyboxprt)
  161.  
  162. pt1.LightEmission = 1
  163.  
  164. pt1.LightInfluence = 0
  165.  
  166. pt1.Size = NumberSequence.new(sizes)
  167.  
  168. pt1.Transparency = NumberSequence.new(seeses)
  169.  
  170. pt1.Texture = "rbxassetid://2273224484"
  171.  
  172. pt1.Acceleration = Vector3.new(0,0,0)
  173.  
  174. pt1.Name = "Pt"
  175.  
  176. pt1.Enabled = true
  177.  
  178. pt1.ZOffset = 1
  179.  
  180. pt1.Drag = 20
  181.  
  182. life = 1
  183.  
  184. pt1.Rate = 500
  185.  
  186. pt1.EmissionDirection = "Left"
  187.  
  188. pt1.Rotation = NumberRange.new(-180,180)
  189.  
  190. pt1.SpreadAngle = Vector2.new(360,360)
  191.  
  192. pt1.Lifetime = NumberRange.new(life, 3)
  193.  
  194. pt1.RotSpeed = NumberRange.new(0)
  195.  
  196. pt1.Speed = NumberRange.new(0)
  197.  
  198. pt1.Color = ColorSequence.new(BrickColor.new("White").Color)
  199.  
  200. local colors = {}
  201. local parkour = function()
  202. local blocks = {}
  203. local park = Instance.new("Folder")
  204. park.Parent = fol
  205. local key = Instance.new("Part")
  206. key.Anchored = true
  207. key.Position = Vector3.new(10000,10000,10000)
  208. key.Size = Vector3.new(1.5,1.5,1.5)
  209. key.Material = "Neon"
  210. key.CanCollide = false
  211. key.Color = BrickColor.Random().Color
  212. key.Parent = park
  213. local coin1 = false
  214. local coin2 = false
  215. local coin3 = false
  216. local detector = Instance.new("ClickDetector")
  217. local keyo = key:Clone()
  218. detector.Parent = keyo
  219. keyo.Size = Vector3.new(1.6,1.6,1.6)
  220. keyo.Material = "Glass"
  221. keyo.Transparency = 0.456
  222. keyo.Parent = park
  223. local keyl = Instance.new("PointLight")
  224. keyl.Color = key.Color
  225. keyl.Parent = key
  226. sees = {
  227. NumberSequenceKeypoint.new(0,1),
  228. NumberSequenceKeypoint.new(0.2,0),
  229. NumberSequenceKeypoint.new(0.8,0),
  230. NumberSequenceKeypoint.new(1,1)}
  231. sizes = {
  232. NumberSequenceKeypoint.new(0,0),
  233. NumberSequenceKeypoint.new(0.2,0.5),
  234. NumberSequenceKeypoint.new(0.8,0.5),
  235. NumberSequenceKeypoint.new(1,0)}
  236. local pt = Instance.new("ParticleEmitter")
  237. pt.LightEmission = 1
  238. pt.Speed = NumberRange.new(0)
  239. pt.Lifetime = NumberRange.new(0.5)
  240. pt.Transparency = NumberSequence.new(sees)
  241. pt.Size = NumberSequence.new(sizes)
  242. pt.Rate = 10
  243. pt.Rotation = NumberRange.new(-180,180)
  244. pt.RotSpeed = NumberRange.new(-180,180)
  245. pt.Parent = keyo
  246. pt.ZOffset = 1.5
  247. pt.Color = ColorSequence.new(keyo.Color)
  248. detector.MaxActivationDistance = 5
  249. detector.MouseClick:Connect(function(plr)
  250. if coin1 == false or coin2 == false or coin3 == false then return end
  251. print(tostring(key.BrickColor).." Key collected by "..plr.Name)
  252. detector:Remove()
  253. table.insert(colors, tostring(key.BrickColor))
  254. hint = Instance.new("Hint")
  255. hint.Text = "Congrats, "..plr.Name.."! You got the "..tostring(key.BrickColor).." Key... but at the moment its useless, heh."
  256. hint.Parent = workspace
  257. game.Debris:AddItem(hint, 5)
  258. clon = tool:Clone()
  259. clon.Handle.Color = key.Color
  260. clon["Key outline"].Color = key.Color
  261. clon.Handle.Light.Color = key.Color
  262. clon["Key outline"].Pt.Color = ColorSequence.new(key.Color)
  263. clon.Name = tostring(key.BrickColor).." Key cube"
  264. clon.CanBeDropped = false
  265. clon.Handle.Anchored = false
  266. clon.Parent = plr.Backpack
  267. for _,v in pairs(clon:GetChildren()) do
  268. v.Locked = true
  269. end
  270. local g = gui:Clone()
  271. g.TextLabel.Text = "+"..tostring(key.BrickColor).." Key"
  272. g.TextLabel.TextStrokeColor3 = keyo.Color
  273. g.TextLabel.TextColor3 = Color3.fromRGB(keyo.Color.R+10,keyo.Color.G+10,keyo.Color.B+10)
  274. g.Parent = plr.PlayerGui
  275. spawn(function()
  276. g.TextLabel:TweenPosition(UDim2.new(0.7, 0, 0.9, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Bounce)
  277. wait(2)
  278. for i = 1,30 do
  279. g.TextLabel.TextStrokeTransparency = i/30
  280. g.TextLabel.TextTransparency = i/30
  281. wait()
  282. end
  283. g:Remove()
  284. end)
  285. spawn(function()
  286. pt:Emit(500)
  287. pt.Enabled = false
  288. wait(0.345)
  289. key.Transparency = 1
  290. keyo.Transparency = 1
  291. wait(1)
  292. park:Remove()
  293. end)
  294. end)
  295. local an = math.random(9,11)
  296. local an2 = math.random(1,2)
  297. local finalc = nil
  298. for i = 1, an do
  299. local p = Instance.new("Part")
  300. table.insert(blocks,p)
  301. local v = Instance.new("BoolValue")
  302. v.Name = "CoinBlock"
  303. v.Parent = p
  304. v.Value = false
  305. p.Size = Vector3.new(3,3,3)
  306. p.Parent = park
  307. p.Transparency = 0
  308. p.Material = "Glass"
  309. p.Color = key.Color
  310. p.Anchored = true
  311. if an2 == 2 then
  312. p.Position = Vector3.new(math.random(1,6),2*i,7.5*i)
  313. else
  314. p.Position = Vector3.new(7.5*i,2*i,math.random(1,6))
  315. end
  316. p2 = p:Clone()
  317. p2.Shape = "Ball"
  318. p2.Size = Vector3.new(4.5,4.5,4.5)
  319. p2.Parent = park
  320. p3 = p:Clone()
  321. p3.Material = "Cobblestone"
  322. p3.Size = Vector3.new(2.7,2.7,2.7)
  323. p3.BrickColor = BrickColor.new("White")
  324. p3.Parent = park
  325. mo = Instance.new("Model")
  326. mo.Parent = workspace
  327. p2.Parent = mo
  328. p.Parent = mo
  329. nega = {p2}
  330. onion = p:SubtractAsync(nega)
  331. onion.Parent = park
  332. onion.Anchored = true
  333. onion.UsePartColor = true
  334. onion.Transparency = 0.5
  335. mo:Remove()
  336. print("Union Successful")
  337. finalc = onion
  338. wait()
  339. end
  340. key.Position = finalc.Position + Vector3.new(0,3,0)
  341. keyo.Position = key.Position
  342. table.remove(blocks, an)
  343. an = an - 1
  344. acc = math.random(1,an)
  345. local cb = blocks[acc]
  346. table.remove(blocks, acc)
  347. acc2 = math.random(1,table.getn(blocks))
  348. local cb2 = blocks[acc2]
  349. table.remove(blocks, acc2)
  350. acc3 = math.random(1,table.getn(blocks))
  351. local cb3 = blocks[acc3]
  352. table.remove(blocks, acc3)
  353. local c = Instance.new("Part")
  354. c.Size = Vector3.new(0.7,0.7,0.7)
  355. c.Color = Color3.new(1,1,0.5)
  356. c.Material = "Neon"
  357. c.Anchored = true
  358. c.Parent = park
  359. cl = Instance.new("PointLight")
  360. cl.Parent = c
  361. local dec = Instance.new("ClickDetector")
  362. dec.Parent = c
  363. dec.Name = "dec"
  364. dec.MaxActivationDistance = 6
  365. c2 = c:Clone()
  366. c2.Parent = park
  367. c3 = c:Clone()
  368. c3.Parent = park
  369. dec.MouseClick:Connect(function()
  370. coin1 =true
  371. c.Color = Color3.new(0.1,0.1,0)
  372. dec:Remove()
  373. end)
  374. c2.dec.MouseClick:Connect(function()
  375. coin2 =true
  376. c2.Color = Color3.new(0.1,0.1,0)
  377. c2.dec:Remove()
  378. end)
  379. c3.dec.MouseClick:Connect(function()
  380. coin3 =true
  381. c3.Color = Color3.new(0.1,0.1,0)
  382. c3.dec:Remove()
  383. end)
  384. c.Position = cb.Position + Vector3.new(0, 2.5, 0)
  385. c2.Position = cb2.Position + Vector3.new(0, 2.5, 0)
  386. c3.Position = cb3.Position + Vector3.new(0, 2.5, 0)
  387. hint = Instance.new("Hint")
  388. hint.Text = tostring(key.BrickColor).." Key Cube mini-obby loaded!"
  389. hint.Parent = workspace
  390. wait(2.5)
  391. hint.Text = "Click each coin before clicking the key in order to get it!"
  392. wait(4.5)
  393. hint:Remove()
  394. end
  395.  
  396. local centrepart = nil
  397. local tablets = {}
  398. local angle = 0
  399.  
  400. local Tab = {
  401. Rot = 0;
  402. Dist = 10;
  403. Speed = 0.5;
  404. Smooth = .075;
  405. }
  406. game:GetService'RunService'.Stepped:connect(function()
  407. for i = 1, #tablets do
  408. pcall(function()
  409. if tablets[i].Parent ~= script then table.remove(tablets, i) end
  410. end)
  411. end
  412. local Tick = tick()
  413. local debounce = false
  414. if tablets and debounce == false then
  415. Tab.Rot = Tab.Rot>=360 and 0 or Tab.Rot + Tab.Speed
  416. debounce = true
  417. end
  418. for i = 1, #tablets do
  419. local pos = (centrepart).CFrame;
  420. local tab = tablets[i];
  421. local Distance = Tab.Dist+(#tablets/2.5)
  422. local Angle = math.rad(i*(360/#tablets)+Tab.Rot)
  423. pcall(function()
  424. tablets[i].CFrame = tablets[i].CFrame:lerp(CFrame.new(pos.X, pos.Y, pos.Z) * CFrame.Angles(0, Angle, 0) * CFrame.new(0, math.sin(i+Tick)/2, Distance), Tab.Smooth)
  425. --[[ tablets[i].B.CFrame = tablets[i].CFrame
  426. tablets[i].B.tortoise.CFrame = tablets[i].B.CFrame]]
  427. end)
  428. end
  429. end)
  430.  
  431. local portal = function()
  432. porf = Instance.new("Part")
  433. porf.Material = "Cobblestone"
  434. porf.Size = Vector3.new(20,40,3)
  435. porf.Anchored = true
  436. porf.Position = Vector3.new(0,-100,10)
  437. porf2 = porf:Clone()
  438. porf2.Size = Vector3.new(15,35,4)
  439. model = Instance.new("Model")
  440. model.Parent = workspace
  441. porf.Parent = model
  442. porf2.Parent = model
  443. neg = {porf2}
  444. portalframe = porf:SubtractAsync(neg)
  445. portalframe.Parent = script
  446. centrepart = portalframe
  447. model:Remove()
  448. Color = Color3.fromRGB(85,255,255)
  449. Color2 = Color3.fromRGB(255,255,255)
  450. local snow = Instance.new("ParticleEmitter", portalframe)
  451. snow.VelocitySpread = 0
  452. snow.Lifetime = NumberRange.new(1,2)
  453. snow.Acceleration = Vector3.new(0, 5, 0)
  454. snow.RotSpeed = NumberRange.new(-100,100)
  455. snow.Rate = 500
  456. snow.Speed = NumberRange.new(30)
  457. snow.Rotation = NumberRange.new(-180,180)
  458. snow.Name = "dust"
  459. snow.Enabled = true
  460. snow.LightEmission = 0
  461. snow.LockedToPart = false
  462. snow.ZOffset = 1
  463. snow.EmissionDirection = "Bottom"
  464. snow.SpreadAngle = Vector2.new(5,5)
  465. snow.Drag = 1
  466. snow.Texture = "http://www.roblox.com/asset/?id=431361643"
  467. snow.Color = ColorSequence.new(Color3.new(0.95,0.9,0.95))
  468. snow.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3), NumberSequenceKeypoint.new(1, 3)})
  469. snow.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(.1, 0), NumberSequenceKeypoint.new(0.9, 0), NumberSequenceKeypoint.new(1, 1)})
  470. for i = 1,200 do
  471. portalframe.Position = portalframe.Position:Lerp(Vector3.new(0,15,10),0.1)
  472. wait()
  473. end
  474. snow.Enabled = false
  475. local colors2 = {}
  476. for i = 1, table.getn(colors) do
  477. local teb = Instance.new("Part")
  478. teb.Size = Vector3.new(2,2,2)
  479. teb.Material = "ForceField"
  480. teb.BrickColor = BrickColor.new(colors[i])
  481. table.insert(colors2, colors[i])
  482. teb.Anchored = true
  483. teb.CanCollide = false
  484. teb.Parent = script
  485. table.insert(tablets, teb)
  486. local dect = Instance.new("ClickDetector")
  487. dect.MaxActivationDistance = 12
  488. dect.Parent = teb
  489. local num = i
  490. dect.MouseClick:Connect(function(leplr)
  491. if leplr.Backpack:FindFirstChild(tostring(teb.BrickColor).." Key cube") then
  492. cubet = leplr.Backpack:FindFirstChild(tostring(teb.BrickColor).." Key cube")
  493. cube = Instance.new("Model", teb)
  494. for _,v in pairs(cubet:GetChildren()) do
  495. v.Parent = cube
  496. end
  497. cubet:Remove()
  498. wold = Instance.new("Weld")
  499. wold.Part0 = teb
  500. wold.Part1 = cube.Handle
  501. wold.C0 = CFrame.new(0,0,0)
  502. wold.Parent = teb
  503. table.remove(colors, table.getn(colors))
  504. end
  505. end)
  506. end
  507. spawn(function()
  508. repeat wait() until table.getn(colors) == 0
  509. leran = math.random(30,50)
  510. for i = 1,leran do
  511. isl = Instance.new("Part")
  512. isl.Anchored = true
  513. isl.Material = "Cobblestone"
  514. rands = math.random(5,20)
  515. isl.Size = Vector3.new(rands, math.random(2,3), rands)
  516. isl.CFrame = theframe * CFrame.new(math.random(-400,400), math.random(40,400), math.random(-400,400))
  517. isl2 = isl:Clone()
  518. isl2.Material = "Neon"
  519. isl2.Size = isl.Size - Vector3.new(1,1,1)
  520. isl2.CFrame = isl.CFrame * CFrame.new(0,-1,0)
  521. isl2.BrickColor = BrickColor.new(colors2[math.random(1,#colors2)])
  522. isl.Parent = script
  523. isl2.Parent = script
  524. isll = Instance.new("PointLight")
  525. isll.Parent = isl2
  526. isll2 =Instance.new("PointLight")
  527. isll2.Color = isl2.Color
  528. isll2.Parent = isl2
  529. --part(formfactor,parent,reflectance,transparency,brickcolor,name,size,cframe)
  530. grass=part(3,modelzorz,0,0,BrickColor.new(colors2[math.random(1,#colors2)]),"Grass",vt(1,1,1),theframe*CFrame.new(math.random(-250,250),4,math.random(-250,250)))
  531. grass.Material = "ForceField"
  532. local grassmsh=mesh("SpecialMesh",grass,"FileMesh","http://www.roblox.com/asset/?id=1091940",vt(0,0,0),vt(2,2,2))
  533. grassmsh.TextureId="http://www.roblox.com/asset/?id=1091942"
  534. grassmsh.VertexColor = Vector3.new(1/grass.Color.R,1/grass.Color.G,1/grass.Color.B)
  535. wait()
  536. end
  537. local hint = Instance.new("Hint", workspace)
  538. hint.Text = "Woah! What's happening to that portal?!"
  539. snow.Enabled = true
  540. spawn(function()
  541. wait(3)
  542. hint.Parent = nil
  543. hint.Text = "The portal opened! (Its still useless, though)"
  544. end)
  545. for i = 1,1000 do
  546. Tab.Speed = Tab.Speed + (10/1000)
  547. wait()
  548. end
  549. par = Instance.new("Part")
  550. par.Anchored = true
  551. par.CanCollide = false
  552. par.Material = "Neon"
  553. par.Size = portalframe.Size - Vector3.new(1,1,1)
  554. par.Transparency = 1
  555. par.CFrame = portalframe.CFrame
  556. par.Parent = portalframe
  557. sizes = {
  558. NumberSequenceKeypoint.new(0,7,0);
  559. NumberSequenceKeypoint.new(0.5,7,0);
  560. NumberSequenceKeypoint.new(1,7,0)
  561. }
  562.  
  563. seeses = {
  564. NumberSequenceKeypoint.new(0,1,0);
  565. NumberSequenceKeypoint.new(0.2,0,0);
  566. NumberSequenceKeypoint.new(0.8,0,0);
  567. NumberSequenceKeypoint.new(1,1,0)
  568. }
  569.  
  570. local pt1 = Instance.new("ParticleEmitter", par)
  571.  
  572. pt1.LightEmission = 1
  573.  
  574. pt1.LightInfluence = 0
  575.  
  576. pt1.Size = NumberSequence.new(sizes)
  577.  
  578. pt1.Transparency = NumberSequence.new(seeses)
  579.  
  580. pt1.Texture = "rbxassetid://2273224484"
  581.  
  582. pt1.Acceleration = Vector3.new(0,0,0)
  583.  
  584. pt1.Enabled = true
  585.  
  586. pt1.ZOffset = 1
  587.  
  588. pt1.Drag = 20
  589.  
  590. life = 1
  591.  
  592. pt1.Rate = 100
  593.  
  594. pt1.EmissionDirection = "Left"
  595.  
  596. pt1.Rotation = NumberRange.new(-180,180)
  597.  
  598. pt1.SpreadAngle = Vector2.new(360,360)
  599.  
  600. pt1.Lifetime = NumberRange.new(life, 3)
  601.  
  602. pt1.RotSpeed = NumberRange.new(0)
  603.  
  604. pt1.Speed = NumberRange.new(100,1000)
  605.  
  606. pt1.Color = ColorSequence.new(BrickColor.new("White").Color)
  607.  
  608. for i = 1,50 do
  609. par.Transparency = par.Transparency - (1/50)
  610. wait()
  611. end
  612. snow.Enabled = false
  613. pt1.Enabled = false
  614. pt1:Emit(200)
  615. par.Color = Color3.new(0,0,0)
  616. Tab.Speed = 0.5
  617. hint.Parent = workspace
  618. game.Debris:AddItem(hint, 2)
  619. sizes = {
  620. NumberSequenceKeypoint.new(0,1,0);
  621. NumberSequenceKeypoint.new(0.5,1,0);
  622. NumberSequenceKeypoint.new(1,1,0)
  623. }
  624.  
  625. seeses = {
  626. NumberSequenceKeypoint.new(0,1,0);
  627. NumberSequenceKeypoint.new(0.2,0,0);
  628. NumberSequenceKeypoint.new(0.8,0,0);
  629. NumberSequenceKeypoint.new(1,1,0)
  630. }
  631.  
  632. local pt1 = Instance.new("ParticleEmitter", par)
  633.  
  634. pt1.LightEmission = 1
  635.  
  636. pt1.LightInfluence = 0
  637.  
  638. pt1.Size = NumberSequence.new(sizes)
  639.  
  640. pt1.Transparency = NumberSequence.new(seeses)
  641.  
  642. pt1.Texture = "rbxassetid://2273224484"
  643.  
  644. pt1.Acceleration = Vector3.new(0,0,0)
  645.  
  646. pt1.Enabled = true
  647.  
  648. pt1.ZOffset = 1
  649.  
  650. pt1.Drag = 20
  651.  
  652. life = 1
  653.  
  654. pt1.Rate = 500
  655.  
  656. pt1.EmissionDirection = "Left"
  657.  
  658. pt1.Rotation = NumberRange.new(-180,180)
  659.  
  660. pt1.SpreadAngle = Vector2.new(360,360)
  661.  
  662. pt1.Lifetime = NumberRange.new(life, 3)
  663.  
  664. pt1.RotSpeed = NumberRange.new(0)
  665.  
  666. pt1.Speed = NumberRange.new(0)
  667.  
  668. pt1.Color = ColorSequence.new(BrickColor.new("White").Color)
  669.  
  670. par.Touched:Connect(function(hi)
  671. if hi and hi.Parent and hi.Parent:IsA("Model") and hi.Parent:FindFirstChildOfClass("Humanoid") then
  672. if teledebounce == true then return end
  673. teledebounce = true
  674. hi.Parent:MoveTo(theframe.Position + Vector3.new(0,10,0))
  675. spawn(function()
  676. wait(0.5)
  677. teledebounce = false
  678. end)
  679. end
  680. end)
  681.  
  682. end)
  683. end
  684.  
  685.  
  686. o.Chatted:Connect(function(c)
  687. if c == "!keycube" then
  688. parkour()
  689. elseif c == "!portal" then
  690. portal()
  691. end
  692. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement