caden2113121131

fdsfs

Jun 22nd, 2016
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 24.50 KB | None | 0 0
  1. player = game.Players.LocalPlayer
  2. char = player.Character
  3.  
  4. key1 = "q"
  5. key2 = "e"
  6.  
  7. bookcovercol = "Really black"
  8.  
  9. scriptname = "5CR0LL"
  10.  
  11. page = 1
  12.  
  13. torso = char.Torso
  14. head = char.Head
  15. leftarm = char["Left Arm"]
  16. rightarm = char["Right Arm"]
  17. leftleg = char["Left Leg"]
  18. rightleg = char["Right Leg"]
  19. humanoid = char["Humanoid"]
  20.  
  21. chat = game:GetService("Chat")
  22.  
  23. function plchat(msg)
  24. chat:Chat(head, msg, 2)
  25. end
  26.  
  27. startphrases={
  28. "Oh! So that's where I put page 18!";
  29. "I assure you this is NOT a cook book!";
  30. "..Now where did I put that alchemy book..."
  31. }
  32.  
  33. deathphrases={
  34. "I'll be back!";
  35. "Oh bugger.";
  36. "Bother!"
  37. }
  38.  
  39. hb = Instance.new("HopperBin", player.Backpack)
  40. hb.Name = scriptname
  41. scriptmodel = Instance.new("Model", char)
  42. scriptmodel.Name = scriptname
  43.  
  44. -- New parts --
  45.  
  46. function newweld(wp0,wp1,wc0)
  47. local weld = Instance.new("Weld")
  48. weld.Parent = wp0
  49. weld.Part0 = wp0
  50. weld.Part1 = wp1
  51. weld.C0 = wc0
  52. end
  53.  
  54. scrollbinder = Instance.new("Part",char)
  55. scrollbinder.FormFactor = "Custom"
  56. scrollbinder.Size = Vector3.new(0.2,0.2,0.2)
  57. scrollbinder.BrickColor = BrickColor.new(bookcovercol)
  58. scrollbinder.TopSurface = "Smooth"
  59. scrollbinder.BottomSurface = "Smooth"
  60. scrollbinder.CanCollide = false
  61. scrollbinder.Anchored = false
  62. scrollbinder.Position = torso.Position
  63. newweld(rightarm,scrollbinder,CFrame.new(0,-1.1,0)*CFrame.Angles(math.rad(90),0,0))
  64. scrollbindermesh = Instance.new("BlockMesh",scrollbinder)
  65. scrollbindermesh.Scale = Vector3.new(1,6,1)
  66.  
  67. scrollbinder2 = Instance.new("Part",char)
  68. scrollbinder2.FormFactor = "Custom"
  69. scrollbinder2.Size = Vector3.new(0.2,0.2,0.2)
  70. scrollbinder2.BrickColor = BrickColor.new(bookcovercol)
  71. scrollbinder2.TopSurface = "Smooth"
  72. scrollbinder2.BottomSurface = "Smooth"
  73. scrollbinder2.CanCollide = false
  74. scrollbinder2.Anchored = false
  75. scrollbinder2.Position = torso.Position
  76. newweld(leftarm,scrollbinder2,CFrame.new(0,-1.1,0)*CFrame.Angles(math.rad(90),0,0))
  77. scrollbinder2mesh = Instance.new("BlockMesh",scrollbinder2)
  78. scrollbinder2mesh.Scale = Vector3.new(1,6,1)
  79.  
  80. scrolllight1 = Instance.new("Part",char)
  81. scrolllight1.FormFactor = "Custom"
  82. scrolllight1.Size = Vector3.new(0.2,0.2,0.2)
  83. scrolllight1.BrickColor = BrickColor.new(bookcovercol)
  84. scrolllight1.TopSurface = "Smooth"
  85. scrolllight1.BottomSurface = "Smooth"
  86. scrolllight1.CanCollide = false
  87. scrolllight1.Anchored = false
  88. scrolllight1.Position = torso.Position
  89. coroutine.resume(coroutine.create(function()
  90. while wait() do
  91. if equi == true then
  92. for i = 0,0.6,0.1 do
  93. scrolllight1.Reflectance = i
  94. wait()
  95. end
  96. for i = 0.6,0,-0.1 do
  97. scrolllight1.Reflectance = i
  98. wait()
  99. end
  100. end
  101. end
  102. end))
  103. newweld(scrollbinder,scrolllight1,CFrame.new(0,-0.2,0))
  104. scrolllight1mesh = Instance.new("BlockMesh",scrolllight1)
  105. scrolllight1mesh.Scale = Vector3.new(1.01,0.2,1.01)
  106.  
  107. scrolllight2 = Instance.new("Part",char)
  108. scrolllight2.FormFactor = "Custom"
  109. scrolllight2.Size = Vector3.new(0.2,0.2,0.2)
  110. scrolllight2.BrickColor = BrickColor.new(bookcovercol)
  111. scrolllight2.TopSurface = "Smooth"
  112. scrolllight2.BottomSurface = "Smooth"
  113. scrolllight2.CanCollide = false
  114. scrolllight2.Anchored = false
  115. scrolllight2.Position = torso.Position
  116. coroutine.resume(coroutine.create(function()
  117. while wait() do
  118. if equi == true then
  119. for i = 0,0.6,0.1 do
  120. scrolllight2.Reflectance = i
  121. wait()
  122. end
  123. for i = 0.6,0,-0.1 do
  124. scrolllight2.Reflectance = i
  125. wait()
  126. end
  127. end
  128. end
  129. end))
  130. newweld(scrollbinder,scrolllight2,CFrame.new(0,0.2,0))
  131. scrolllight2mesh = Instance.new("BlockMesh",scrolllight2)
  132. scrolllight2mesh.Scale = Vector3.new(1.01,0.2,1.01)
  133.  
  134. scrolllight21 = Instance.new("Part",char)
  135. scrolllight21.FormFactor = "Custom"
  136. scrolllight21.Size = Vector3.new(0.2,0.2,0.2)
  137. scrolllight21.BrickColor = BrickColor.new(bookcovercol)
  138. scrolllight21.TopSurface = "Smooth"
  139. scrolllight21.BottomSurface = "Smooth"
  140. scrolllight21.CanCollide = false
  141. scrolllight21.Anchored = false
  142. scrolllight21.Position = torso.Position
  143. coroutine.resume(coroutine.create(function()
  144. while wait() do
  145. if equi == true then
  146. for i = 0,0.6,0.1 do
  147. scrolllight21.Reflectance = i
  148. wait()
  149. end
  150. for i = 0.6,0,-0.1 do
  151. scrolllight21.Reflectance = i
  152. wait()
  153. end
  154. end
  155. end
  156. end))
  157. newweld(scrollbinder2,scrolllight21,CFrame.new(0,-0.2,0))
  158. scrolllight21mesh = Instance.new("BlockMesh",scrolllight21)
  159. scrolllight21mesh.Scale = Vector3.new(1.01,0.2,1.01)
  160.  
  161. scrolllight22 = Instance.new("Part",char)
  162. scrolllight22.FormFactor = "Custom"
  163. scrolllight22.Size = Vector3.new(0.2,0.2,0.2)
  164. scrolllight22.BrickColor = BrickColor.new(bookcovercol)
  165. scrolllight22.TopSurface = "Smooth"
  166. scrolllight22.BottomSurface = "Smooth"
  167. scrolllight22.CanCollide = false
  168. scrolllight22.Anchored = false
  169. scrolllight22.Position = torso.Position
  170. coroutine.resume(coroutine.create(function()
  171. while wait() do
  172. if equi == true then
  173. for i = 0,0.6,0.1 do
  174. scrolllight22.Reflectance = i
  175. wait()
  176. end
  177. for i = 0.6,0,-0.1 do
  178. scrolllight22.Reflectance = i
  179. wait()
  180. end
  181. end
  182. end
  183. end))
  184. newweld(scrollbinder2,scrolllight22,CFrame.new(0,0.2,0))
  185. scrolllight22mesh = Instance.new("BlockMesh",scrolllight22)
  186. scrolllight22mesh.Scale = Vector3.new(1.01,0.2,1.01)
  187.  
  188. scroll = Instance.new("Part",char)
  189. scroll.FormFactor = "Custom"
  190. scroll.Size = Vector3.new(0.2,0.2,0.2)
  191. scroll.BrickColor = BrickColor.new("White")
  192. scroll.TopSurface = "Smooth"
  193. scroll.BottomSurface = "Smooth"
  194. scroll.CanCollide = false
  195. scroll.Anchored = false
  196. scroll.Position = torso.Position
  197. scroll.Transparency = 1
  198. newweld(torso,scroll,CFrame.new(0,0.5,-2.1)*CFrame.Angles(0,0,0))
  199. scrollmesh = Instance.new("BlockMesh",scroll)
  200. scrollmesh.Scale = Vector3.new(6,5.98,0.1)
  201.  
  202. slash = Instance.new("Sound", torso)
  203. slash.SoundId = "rbxasset://sounds/swordlunge.wav"
  204. slash.Pitch = 1
  205. slash.Volume = 0.6
  206. charge = Instance.new("Sound",torso)
  207. charge.Looped = true
  208. charge.SoundId = "http://www.roblox.com/asset/?id=75421988"
  209. charge.Volume = 1
  210. charge.Pitch = 1
  211. charge.Parent = torso
  212. rages = Instance.new("Sound",torso)
  213. rages.SoundId = "http://www.roblox.com/asset/?id=32788951"
  214. rages.Volume = 1
  215. rages.Pitch = 1.3
  216. rages.Parent = torso
  217. hitsound = Instance.new("Sound",torso)
  218. hitsound.SoundId = "http://www.roblox.com/asset/?id=2801263"
  219. hitsound.Volume = 0.5
  220. hitsound.Pitch = 2.3
  221. gunshot = Instance.new("Sound", torso)
  222. gunshot.SoundId = "http://roblox.com/asset/?id=10209798"
  223. gunshot.Pitch = 1.4
  224. gunshot.Volume = 10
  225.  
  226. gyro = Instance.new("BodyGyro")
  227.  
  228. function dmgcounter(part,name)
  229. dmgcm = Instance.new("Model", part.Parent)
  230. dmgcm.Name = name
  231. dmgc = Instance.new("Part", dmgcm)
  232. dmgc.Name = "Head"
  233. dmgc.BrickColor = BrickColor.new("Bright red")
  234. dmgc.FormFactor = "Custom"
  235. dmgc.Size = Vector3.new(0.7,0.2,0.7)
  236. dmgc.TopSurface = "Smooth"
  237. dmgc.BottomSurface = "Smooth"
  238. dmgc.CanCollide = false
  239. dmgc.Anchored = true
  240. Instance.new("Humanoid", dmgcm).MaxHealth = 0
  241. game:GetService("Debris"):AddItem(dmgcm,3)
  242. dmgc.CFrame = CFrame.new(part.CFrame.x+math.random(-2,2),math.random(7,8),part.CFrame.z+math.random(-2,2))
  243. coroutine.resume(coroutine.create(function()
  244. while true do
  245. wait(0.1)
  246. dmgc.CFrame = dmgc.CFrame*CFrame.new(0,0.01,0)
  247. end
  248. end))
  249. end
  250.  
  251. rephead = head:Clone()
  252. rephead.Parent = char
  253. newweld(head,rephead,CFrame.new())
  254. head.Transparency = 1
  255.  
  256. -- Important values! >:O (That means don't touch. |:C) --
  257. switching = false
  258. mode = 1
  259. clicking = false
  260. equi = false
  261. guiup = false
  262. dmgcool = false
  263. local c0 = nil
  264. local c1 = nil
  265. local c02 = nil
  266. local c12 = nil
  267. local s = nil
  268. local s2 = nil
  269. local w = nil
  270. local t = nil
  271. local c = nil
  272.  
  273. time_zone = -5
  274. hour24 = false
  275.  
  276. function getTime()
  277.     local tick = math.fmod(tick(),86400)
  278.  
  279.     local hour = math.floor(tick/3600) + 5 + time_zone
  280.     local minute = math.floor(tick/60 - 60*hour)
  281.  
  282.     local m = ""
  283.     if (not hour24) then
  284.         if (hour > 12) then
  285.             hour = hour - 12
  286.             m = " PM"
  287.         else
  288.             hour = (hour == 0) and 12 or hour
  289.             m = " AM"
  290.         end
  291.     end
  292.  
  293.     return string.format("%2.0f:%02.0f",hour,minute)..m
  294. end
  295.  
  296. -- Gui
  297.  
  298. gui1 = Instance.new("ScreenGui", player.PlayerGui)
  299. gui1.Name = "Health"
  300. IntroFrame = Instance.new("Frame", gui1)
  301. IntroFrame.Name = "Health"
  302. IntroFrame.Position = UDim2.new(-0.2,0,0.5,0)
  303. IntroFrame.Style = "RobloxRound"
  304. IntroFrame.Size = UDim2.new(0.2,0,0.2,0)
  305. introt = Instance.new("TextLabel", IntroFrame)
  306. introt.BorderSizePixel = 0
  307. introt.BackgroundTransparency = 1
  308. introt.TextColor3 = BrickColor.new("Institutional White").Color
  309. introt.Text = scriptname.." has loaded!"
  310. introt.Position = UDim2.new(0.5,0,0.4,0)
  311. introt.Font = 2
  312. introt.FontSize = 7
  313. coroutine.resume(coroutine.create(function()
  314. IntroFrame:TweenPosition(UDim2.new(0.5,-125,0.5,0),"In",4)
  315. wait(3)
  316. IntroFrame:TweenPosition(UDim2.new(0.5,-125,1,0),"Out",4)
  317. end))
  318. pageframe = Instance.new("Frame", gui1)
  319. pageframe.Name = "Health"
  320. pageframe.Position = UDim2.new(0.8,15,0.5,0)
  321. pageframe.Style = "RobloxRound"
  322. pageframe.Size = UDim2.new(0.2,0,0.2,0)
  323. paget = Instance.new("TextLabel", pageframe)
  324. paget.BorderSizePixel = 0
  325. paget.BackgroundTransparency = 1
  326. paget.TextColor3 = BrickColor.new("Institutional White").Color
  327. paget.Position = UDim2.new(0.5,0,0.4,-10)
  328. paget.Font = 2
  329. paget.FontSize = 7
  330. pagel = Instance.new("TextLabel", pageframe)
  331. pagel.BorderSizePixel = 0
  332. pagel.BackgroundTransparency = 1
  333. pagel.TextColor3 = BrickColor.new("Institutional White").Color
  334. pagel.Position = UDim2.new(0.5,0,0.6,-10)
  335. pagel.Font = 2
  336. pagel.FontSize = 6
  337. pagei = Instance.new("TextLabel", pageframe)
  338. pagei.BorderSizePixel = 0
  339. pagei.BackgroundTransparency = 1
  340. pagei.TextColor3 = BrickColor.new("Institutional White").Color
  341. pagei.Position = UDim2.new(0.5,0,0.8,0)
  342. pagei.Font = 2
  343. pagei.FontSize = 5
  344. pagei.Text = "Q and E to scroll through pages."
  345. pagei2 = Instance.new("TextLabel", pageframe)
  346. pagei2.BorderSizePixel = 0
  347. pagei2.BackgroundTransparency = 1
  348. pagei2.TextColor3 = BrickColor.new("Institutional White").Color
  349. pagei2.Position = UDim2.new(0.5,0,0.7,0)
  350. pagei2.Font = 2
  351. pagei2.FontSize = 5
  352. pagei2.Text = "Click to read the page."
  353. timel = Instance.new("TextLabel", pageframe)
  354. timel.BorderSizePixel = 0
  355. timel.BackgroundTransparency = 1
  356. timel.TextColor3 = BrickColor.new("Institutional White").Color
  357. timel.Position = UDim2.new(0.5,0,0.1,0)
  358. timel.Font = 2
  359. timel.FontSize = 5
  360. coroutine.resume(coroutine.create(function()
  361. while wait() do
  362. paget.Text = "Page #"..page
  363. timel.Text = "Time:"..getTime()
  364. if page == 1 then
  365. pagel.Text = "Psychic Blast"
  366. elseif page == 2 then
  367. pagel.Text = "Summon MudClone"
  368. elseif page == 3 then
  369. pagel.Text = "Package Bomb"
  370. elseif page == 4 then
  371. pagel.Text = "N/A"
  372. elseif page == 5 then
  373. pagel.Text = "N/A"
  374. else
  375. pagel.Text = "Unknown Spell"
  376. end
  377. end
  378. end))
  379.  
  380. -- Functions
  381.  
  382. local wchar = char
  383. if wchar ~= nil then
  384. if torso and leftarm and rightarm ~= nil then
  385. shoulder1 = torso:FindFirstChild("Right Shoulder")
  386. shoulder2 = torso:FindFirstChild("Left Shoulder")
  387. neck = torso:FindFirstChild("Neck")
  388. if shoulder1 and shoulder2 and neck ~= nil then
  389. c0 = shoulder1.C0
  390. c1 = shoulder1.C1
  391. c02 = shoulder2.C0
  392. c12 = shoulder2.C1
  393. c03 = neck.C0
  394. c13 = neck.C1
  395. s = shoulder1:clone()
  396. s2 = shoulder2:clone()
  397. n = neck:clone()
  398. shoulder1.Parent = nil
  399. shoulder2.Parent = nil
  400. neck.Parent = nil
  401. local weld = Instance.new("Weld")
  402. local weld2 = Instance.new("Weld")
  403. local weld3 = Instance.new("Weld")
  404. local yes = true
  405. if yes then
  406. yes = false
  407. w = weld
  408. w2 = weld2
  409. w3 = weld3
  410. t = torso
  411. c = wchar
  412. weld.Part0 = torso
  413. weld.Parent = torso
  414. weld.Part1 = rightarm
  415. weld2.Part0 = torso
  416. weld2.Parent = torso
  417. weld2.Part1 = leftarm
  418. weld3.Parent = torso
  419. weld3.Part0 = torso
  420. weld3.Part1 = head
  421. weld.C1 = CFrame.new(-1.5, 0, 0) * CFrame.Angles(0, 0,0)
  422. weld2.C1 = CFrame.new(1.5, 0, 0) * CFrame.Angles(0,0, 0)
  423. weld3.C1 = CFrame.new(0, -1.5, 0) * CFrame.Angles(0, 0, 0)
  424. end
  425. end
  426. end
  427. end
  428.  
  429. function pageup()
  430. if page ~= 5 then
  431. if switching == false then
  432. switching = true
  433. page = page + 1
  434. scrolllight21.BrickColor = BrickColor.new("New Yeller")
  435. scrolllight22.BrickColor = BrickColor.new("New Yeller")
  436. wait(0.3)
  437. scrolllight21.BrickColor = BrickColor.new(bookcovercol)
  438. scrolllight22.BrickColor = BrickColor.new(bookcovercol)
  439. wait(0.1)
  440. switching = false
  441. end
  442. end
  443. end
  444.  
  445. function pagedown()
  446. if page ~= 1 then
  447. if switching == false then
  448. switching = true
  449. page = page + -1
  450. scrolllight1.BrickColor = BrickColor.new("New Yeller")
  451. scrolllight2.BrickColor = BrickColor.new("New Yeller")
  452. wait(0.3)
  453. scrolllight1.BrickColor = BrickColor.new(bookcovercol)
  454. scrolllight2.BrickColor = BrickColor.new(bookcovercol)
  455. wait(0.1)
  456. switching = false
  457. end
  458. end
  459. end
  460.  
  461. gundeb = false
  462.  
  463. function Select(mouse)
  464. equi = true
  465. humanoid.WalkSpeed = 19
  466. gyro.Parent = torso
  467.  
  468. coroutine.resume(coroutine.create(function()
  469. w.C1 = CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(-15),0,0)
  470. w2.C1 = CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(-15),0,0)
  471. wait()
  472. w.C1 = CFrame.new(-1.5, 0.2, 0.1) * CFrame.Angles(math.rad(-30),0,0)
  473. w2.C1 = CFrame.new(1.5, 0.2, 0.1) * CFrame.Angles(math.rad(-30),0,0)
  474. wait()
  475. w.C1 = CFrame.new(-1.5, 0.4, 0.2) * CFrame.Angles(math.rad(-45),math.rad(5),0)
  476. w2.C1 = CFrame.new(1.5, 0.4, 0.2) * CFrame.Angles(math.rad(-45),math.rad(-5),0)
  477. wait()
  478. w.C1 = CFrame.new(-1.5, 0.6, 0.3) * CFrame.Angles(math.rad(-60),math.rad(-10),0)
  479. w2.C1 = CFrame.new(1.5, 0.6, 0.3) * CFrame.Angles(math.rad(-60),math.rad(10),0)
  480. wait()
  481. w.C1 = CFrame.new(-1.4, 0.6, 0.4) * CFrame.Angles(math.rad(-75),math.rad(-15),0)
  482. w2.C1 = CFrame.new(1.4, 0.6, 0.4) * CFrame.Angles(math.rad(-75),math.rad(15),0)
  483. wait()
  484. w.C1 = CFrame.new(-1.3, 0.6, 0.5) * CFrame.Angles(math.rad(-90),math.rad(-20),0)
  485. w2.C1 = CFrame.new(1.3, 0.6, 0.5) * CFrame.Angles(math.rad(-90),math.rad(20),0)
  486. for i = 1,0.3,-0.1 do
  487. scroll.Transparency = i
  488. wait()
  489. end
  490. end))
  491.  
  492. blastdmgcooldown = false
  493.  
  494. mouse.Button1Down:connect(function()
  495. if clicking == false then
  496. clicking = true
  497.  
  498. if page == 1 then
  499. local prevws = humanoid.WalkSpeed
  500. humanoid.WalkSpeed = 0
  501. local symbol = Instance.new("Model",workspace)
  502. symbol.Name = "Symb0l"
  503. local symbol1 = Instance.new("Part", symbol)
  504. symbol1.FormFactor = "Custom"
  505. symbol1.Size = Vector3.new(0.8,0.2,0.2)
  506. symbol1.Anchored = true
  507. symbol1.CanCollide = false
  508. symbol1.CFrame = torso.CFrame*CFrame.new(0,0.3,-3.5)
  509. symbol1.BrickColor = BrickColor.new("Alder")
  510. local symbol2 = Instance.new("Part", symbol)
  511. symbol2.FormFactor = "Custom"
  512. symbol2.Size = Vector3.new(0.2,1,0.2)
  513. symbol2.Anchored = true
  514. symbol2.CanCollide = false
  515. symbol2.CFrame = torso.CFrame*CFrame.new(-0.3,0.7,-3.5)
  516. symbol2.BrickColor = BrickColor.new("Alder")
  517. local symbol3 = Instance.new("Part", symbol)
  518. symbol3.FormFactor = "Custom"
  519. symbol3.Size = Vector3.new(0.2,1,0.2)
  520. symbol3.Anchored = true
  521. symbol3.CanCollide = false
  522. symbol3.CFrame = torso.CFrame*CFrame.new(0.3,0.7,-3.5)
  523. symbol3.BrickColor = BrickColor.new("Alder")
  524. for i = 1,0,-0.1 do
  525. symbol1.Transparency = i
  526. symbol2.Transparency = i
  527. symbol3.Transparency = i
  528. wait()
  529. end
  530. wait(0.2)
  531. for i = 0,1,0.1 do
  532. symbol1.Transparency = i
  533. symbol2.Transparency = i
  534. symbol3.Transparency = i
  535. wait()
  536. end
  537. symbol:Destroy()
  538. local psybl = Instance.new("Part", workspace)
  539. psybl.Anchored = true
  540. psybl.CanCollide = false
  541. psybl.FormFactor = "Custom"
  542. psybl.TopSurface = "Smooth"
  543. psybl.BottomSurface = "Smooth"
  544. psybl.Size = Vector3.new(1,1,1)
  545. psybl.CFrame = torso.CFrame*CFrame.new(0,0,-6)
  546. psybl.BrickColor = BrickColor.new("Alder")
  547. local psyblm = Instance.new("SpecialMesh", psybl)
  548. psyblm.MeshType = "Sphere"
  549. local psyrn = Instance.new("Part", workspace)
  550. psyrn.Anchored = true
  551. psyrn.CanCollide = false
  552. psyrn.FormFactor = "Custom"
  553. psyrn.Size = Vector3.new(0.2,0.2,0.2)
  554. psyrn.CFrame = psybl.CFrame
  555. psyrn.BrickColor = BrickColor.new("Alder")
  556. local psyrnms = Instance.new("SpecialMesh", psyrn)
  557. psyrnms.MeshId = "http://www.roblox.com/asset/?id=3270017"
  558. for i = 1,10 do
  559. psyrnms.Scale = Vector3.new(i,i,i/4)
  560. psyblm.Scale = Vector3.new(i/2,i/2,i/2)
  561. wait()
  562. end
  563. local psybla = Instance.new("Part", workspace)
  564. psybla.Anchored = true
  565. psybla.CanCollide = false
  566. psybla.FormFactor = "Custom"
  567. psybla.Size = Vector3.new(4.8,1000,4.8)
  568. psybla.BrickColor = BrickColor.new("Alder")
  569. psybla.CFrame = torso.CFrame*CFrame.new(0,0,-(psybla.Size.y/2+6))*CFrame.Angles(math.rad(90),0,0)
  570. Instance.new("CylinderMesh",psybla)
  571.  
  572. psybla.Touched:connect(function(part)
  573. if blastdmgcooldown == false then
  574. if part then
  575. if part.Parent:FindFirstChild("Humanoid") then
  576. if part.Parent:FindFirstChild("Health") then
  577. coroutine.resume(coroutine.create(function()
  578. part.Parent.Health.Disabled = true
  579. wait(0.1)
  580. part.Parent.Health.Disabled = false
  581. end))
  582. end
  583. local avgpsydmg = math.random(20,40)
  584. local catalogdmg = avgpsydmg
  585. dmgcounter(part,catalogdmg)
  586. blastdmgcooldown = true
  587. part.Parent.Humanoid:TakeDamage(catalogdmg)
  588. coroutine.resume(coroutine.create(function()
  589. local victws = part.Parent.Humanoid.WalkSpeed
  590. part.Parent.Humanoid.WalkSpeed = -16
  591. wait(4)
  592. part.Parent.Humanoid.WalkSpeed = victws
  593. end))
  594. wait()
  595. blastdmgcooldown = false
  596. end
  597. end
  598. end
  599. end)
  600.  
  601. wait(0.7)
  602. for i = 0,1,0.1 do
  603. psybla.Transparency = i
  604. psybl.Transparency = i
  605. psyrn.Transparency = i
  606. wait()
  607. end
  608. psybla:Destroy()
  609. psybl:Destroy()
  610. psyrn:Destroy()
  611. humanoid.WalkSpeed = prevws
  612.  
  613. elseif page == 2 then
  614. local prevws = humanoid.WalkSpeed
  615. humanoid.WalkSpeed = 0
  616. local symbol = Instance.new("Model",workspace)
  617. symbol.Name = "Symb0l"
  618. local symbol1 = Instance.new("Part", symbol)
  619. symbol1.FormFactor = "Custom"
  620. symbol1.Size = Vector3.new(0.2,1.3,0.2)
  621. symbol1.Anchored = true
  622. symbol1.CanCollide = false
  623. symbol1.CFrame = torso.CFrame*CFrame.new(0,0.2,-3.5)
  624. symbol1.BrickColor = BrickColor.new("Reddish brown")
  625. local symbol2 = Instance.new("Part", symbol)
  626. symbol2.FormFactor = "Custom"
  627. symbol2.Size = Vector3.new(1,0.2,0.2)
  628. symbol2.Anchored = true
  629. symbol2.CanCollide = false
  630. symbol2.CFrame = torso.CFrame*CFrame.new(0,0.6,-3.5)
  631. symbol2.BrickColor = BrickColor.new("Reddish brown")
  632. local symbol3 = Instance.new("Part", symbol)
  633. symbol3.FormFactor = "Custom"
  634. symbol3.Size = Vector3.new(1,0.2,0.2)
  635. symbol3.Anchored = true
  636. symbol3.CanCollide = false
  637. symbol3.CFrame = torso.CFrame*CFrame.new(0,0.3,-3.5)
  638. symbol3.BrickColor = BrickColor.new("Reddish brown")
  639. for i = 1,0,-0.1 do
  640. symbol1.Transparency = i
  641. symbol2.Transparency = i
  642. symbol3.Transparency = i
  643. wait()
  644. end
  645. wait(0.2)
  646. for i = 0,1,0.1 do
  647. symbol1.Transparency = i
  648. symbol2.Transparency = i
  649. symbol3.Transparency = i
  650. wait()
  651. end
  652. symbol:Destroy()
  653. wait(0.5)
  654. humanoid.WalkSpeed = prevws
  655. local rise = Instance.new("Part", workspace)
  656. rise.BrickColor = BrickColor.new("Reddish brown")
  657. rise.FormFactor = "Custom"
  658. rise.Anchored = true
  659. rise.CanCollide = true
  660. rise.Size = Vector3.new(3.98,7,3.98)
  661. rise.CFrame = torso.CFrame*CFrame.new(0,-5,-8)
  662. rise.TopSurface = "Smooth"
  663. riset = Instance.new("Part", workspace)
  664. riset.FormFactor = "Custom"
  665. riset.Size = Vector3.new(4,1,4)
  666. riset.Anchored = true
  667. riset.BrickColor = BrickColor.new("Dark green")
  668. riset.CFrame = rise.CFrame*CFrame.new(0,3.6,0)
  669. for i = 1,10 do
  670. rise.CFrame = rise.CFrame*CFrame.new(0,0.5,0)
  671. riset.CFrame = rise.CFrame*CFrame.new(0,3.6,0)
  672. wait()
  673. end
  674. local plchil = game.Players:children()
  675. local nchar = plchil[math.random(1,#plchil)].Character
  676. while wait() do
  677. if nchar == nil then
  678. nchar = plchil[math.random(1,#plchil)].Character
  679. else
  680. break
  681. end
  682. end
  683. nchar.Archivable = true
  684. local charc = nchar:Clone()
  685. local charcc = charc:children()
  686. if charc:FindFirstChild("Body Colors") then
  687. charc["Body Colors"]:Destroy()
  688. end
  689. for i = 1,#charcc do
  690. if charcc[i]:IsA("Part") then
  691. if charcc[i].Name == "ActionPack" then
  692. charcc[i]:Destroy()
  693. end
  694. if charcc[i].Name == "Head" then
  695. local charccnh = charcc[i]:Clone()
  696. charccnh.Parent = charc
  697. charccnh.BrickColor = BrickColor.new("Reddish brown")
  698. charccnh.Material = "Slate"
  699. newweld(charcc[i],charccnh,CFrame.new())
  700. charcc[i].Transparency = 1
  701. end
  702. charcc[i].BrickColor = BrickColor.new("Reddish brown")
  703. charcc[i].Material = "Slate"
  704. elseif charcc[i]:IsA("Humanoid") then
  705. elseif charcc[i]:IsA("Hat") then
  706. if charcc[i]:FindFirstChild("Handle") then
  707. charcc[i].Handle.Mesh.TextureId = ""
  708. charcc[i].Handle.BrickColor = BrickColor.new("Reddish brown")
  709. charcc[i].Handle.Material = "Slate"
  710. end
  711. else
  712. charcc[i]:Destroy()
  713. end
  714. end
  715. charc.Parent = workspace
  716. charc:MakeJoints()
  717. charc:MoveTo(riset.Position+Vector3.new(0,5,0))
  718. charc.Humanoid.Died:connect(function()
  719. game.Debris:AddItem(charc,3)
  720. end)
  721.  
  722. wait(1)
  723. for i = 1,10 do
  724. rise.CFrame = rise.CFrame*CFrame.new(0,-0.5,0)
  725. riset.CFrame = rise.CFrame*CFrame.new(0,3.6,0)
  726. wait()
  727. end
  728. riset:Destroy()
  729. rise:Destroy()
  730. elseif page == 3 then
  731. local prevws = humanoid.WalkSpeed
  732. humanoid.WalkSpeed = 0
  733. local symbol = Instance.new("Model",workspace)
  734. symbol.Name = "Symb0l"
  735. local symbol1 = Instance.new("Part", symbol)
  736. symbol1.FormFactor = "Custom"
  737. symbol1.Size = Vector3.new(0.2,0.2,0.2)
  738. symbol1.Anchored = true
  739. symbol1.CanCollide = false
  740. symbol1.CFrame = torso.CFrame*CFrame.new(0.2,0.3,-3.5)
  741. symbol1.BrickColor = BrickColor.new("Light blue")
  742. local symbol2 = Instance.new("Part", symbol)
  743. symbol2.FormFactor = "Custom"
  744. symbol2.Size = Vector3.new(0.2,0.2,0.2)
  745. symbol2.Anchored = true
  746. symbol2.CanCollide = false
  747. symbol2.CFrame = torso.CFrame*CFrame.new(0,0.6,-3.5)
  748. symbol2.BrickColor = BrickColor.new("Light blue")
  749. local symbol3 = Instance.new("Part", symbol)
  750. symbol3.FormFactor = "Custom"
  751. symbol3.Size = Vector3.new(0.2,0.2,0.2)
  752. symbol3.Anchored = true
  753. symbol3.CanCollide = false
  754. symbol3.CFrame = torso.CFrame*CFrame.new(-0.2,0.3,-3.5)
  755. symbol3.BrickColor = BrickColor.new("Light blue")
  756. for i = 1,0,-0.1 do
  757. symbol1.Transparency = i
  758. symbol2.Transparency = i
  759. symbol3.Transparency = i
  760. wait()
  761. end
  762. wait(0.2)
  763. for i = 0,1,0.1 do
  764. symbol1.Transparency = i
  765. symbol2.Transparency = i
  766. symbol3.Transparency = i
  767. wait()
  768. end
  769. symbol:Destroy()
  770. wait(0.5)
  771. humanoid.WalkSpeed = prevws
  772. local packbox = Instance.new("Part",workspace)
  773. packbox.FormFactor = "Custom"
  774. packbox.Size = Vector3.new(4,5.6,4)
  775. packbox.BrickColor = BrickColor.Random()
  776. packbox.Transparency = 0.4
  777. packbox.TopSurface = "Smooth"
  778. packbox.BottomSurface = "Smooth"
  779. packbox.Anchored = true
  780. packbox.CFrame = torso.CFrame*CFrame.new(0,0,-5)
  781. Instance.new("BlockMesh",packbox).Scale = Vector3.new(0.25,0.25,0.25)
  782. Instance.new("Decal", packbox).Texture = "http://www.roblox.com/asset/?id=79465359"
  783. coroutine.resume(coroutine.create(function()
  784. while wait() do
  785. if packbox then
  786. packbox.CFrame = packbox.CFrame*CFrame.new(0,0,-2)
  787. else
  788. break
  789. end
  790. end
  791. end))
  792. packbox.Touched:connect(function(part)
  793. if part.Parent:FindFirstChild("Humanoid") then
  794.                 local packpl = part.Parent
  795.                 packpl.Head.Anchored = true
  796.                 local block = Instance.new("Part", packpl)
  797.                 block.FormFactor = "Custom"
  798.                 block.Name = "ActionPack"
  799.                 block.Size = Vector3.new(6,8.3,6)
  800.                 block.BrickColor = BrickColor.Random()
  801.                 block.Transparency = 0.4
  802.                 block.TopSurface = "Smooth"
  803.                 block.BottomSurface = "Smooth"
  804.                 block.Anchored = true
  805.                 block.CFrame = packpl.Torso.CFrame + Vector3.new(0,1.2,0)
  806.                 Instance.new("Decal", block).Texture = "http://www.roblox.com/asset/?id=79465359"
  807.                 local rustle = Instance.new("Sound", block)
  808.                 rustle.Pitch = 0.6
  809.                 rustle.Volume = 1
  810.                 rustle.SoundId = "http://www.roblox.com/asset/?id=16720281"
  811.                 rustle:Play()
  812.                 packbox:Destroy()
  813.                 local blockcd = Instance.new("ClickDetector",block)
  814.                 blockcd.MouseClick:connect(function(p)
  815.                 if p ~= packpl then
  816.                 block:Destroy()
  817.                 rustle:Play()
  818.                 packpl.Head.Anchored = false
  819.                 end
  820.                 end)
  821. end
  822. end)
  823.  
  824. elseif page == 4 then
  825.  
  826. elseif page == 5 then
  827.  
  828. end
  829.  
  830. wait(0.1)
  831. clicking = false
  832. end
  833. end)
  834.  
  835. mouse.KeyDown:connect(function(keylol)
  836. key = keylol:lower()
  837. if key == key1 then
  838. if switching == false then
  839. if clicking == false then
  840. pagedown()
  841. end
  842. end
  843.  
  844. elseif key == key2 then
  845. if switching == false then
  846. if clicking == false then
  847. pageup()
  848. end
  849. end
  850. end
  851. end)
  852. end
  853.  
  854. hb.Deselected:connect(function()
  855. equi = false
  856. coroutine.resume(coroutine.create(function()
  857. for i = 0.2,1,0.1 do
  858. scroll.Transparency = i
  859. wait()
  860. end
  861. w.C1 = CFrame.new(-1.4, 0.6, 0.4) * CFrame.Angles(math.rad(-75),math.rad(-15),0)
  862. w2.C1 = CFrame.new(1.4, 0.6, 0.4) * CFrame.Angles(math.rad(-75),math.rad(15),0)
  863. wait()
  864. w.C1 = CFrame.new(-1.5, 0.6, 0.3) * CFrame.Angles(math.rad(-60),math.rad(-10),0)
  865. w2.C1 = CFrame.new(1.5, 0.6, 0.3) * CFrame.Angles(math.rad(-60),math.rad(10),0)
  866. wait()
  867. w.C1 = CFrame.new(-1.5, 0.6, 0.2) * CFrame.Angles(math.rad(-45),math.rad(-5),0)
  868. w2.C1 = CFrame.new(1.5, 0.6, 0.2) * CFrame.Angles(math.rad(-45),math.rad(5),0)
  869. wait()
  870. w.C1 = CFrame.new(-1.5, 0.4, 0.1) * CFrame.Angles(math.rad(-30),0,0)
  871. w2.C1 = CFrame.new(1.5, 0.4, 0.1) * CFrame.Angles(math.rad(-30),0,0)
  872. wait()
  873. w.C1 = CFrame.new(-1.5, 0.2, 0) * CFrame.Angles(math.rad(-15),0,0)
  874. w2.C1 = CFrame.new(1.5, 0.2, 0) * CFrame.Angles(math.rad(-15),0,0)
  875. wait()
  876. w.C1 = CFrame.new(-1.5, 0, 0) * CFrame.Angles(0,0,0)
  877. w2.C1 = CFrame.new(1.5, 0, 0) * CFrame.Angles(0,0,0)
  878. wait()
  879. end))
  880. end)
  881.  
  882. hb.Selected:connect(Select)
Add Comment
Please, Sign In to add comment