Advertisement
pitrioptixiop

Roblox | The Last Guest script

Jul 20th, 2018
1,368
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 8.98 KB | None | 0 0
  1. wait(1)
  2. warn([[Controls other than pistol and grenade:
  3.    
  4. t = taunt
  5. l = believe
  6. z = teleport [must believe first]
  7. q = nuke ball [must believe first]
  8. when you believe you can do 2 extra moves and your grenade and pistol is stronger
  9. when you believe the script tries it's best to make you invincible
  10. ]])
  11. pistoldamage = 30
  12. grenaderadius = 50
  13. names = {"anime chicken","ChirstineDo","VV_29","Shedletsky","Telamon","MrDoomBringer","retrojooooono","builderman","InceptionTime","Marcus_WatchDogs2","Micro_Game","Airound","igric","cekoblox","DeadpanLuck2","rostarck"}
  14. taunts = {"Come here, you sucker!","You can't get me, can you? Nah, you can't!","You suck!","Nerd!","Sucker!","Come here, show me what you got!","I won't perish so easily!"}
  15. lp = game.Players.LocalPlayer
  16. char = lp.Character
  17. head = char.Head
  18. hum = char:FindFirstChildOfClass("Humanoid")
  19. music = Instance.new("Sound",head)
  20. music.SoundId = "rbxassetid://1346358521"
  21. music.Looped = true
  22. music:Play()
  23. gc = char:GetChildren()
  24. for i=1, #gc do
  25. if gc[i].ClassName == "Hat" or gc[i].ClassName == "Accessory" or gc[i].ClassName == "Shirt" or gc[i].ClassName == "Pants" or gc[i].ClassName == "ShirtGraphic" or gc[i].ClassName == "ShirtGraphics" then
  26. gc[i]:Destroy()
  27. end
  28. end
  29. shirt = Instance.new("Shirt")
  30. shirt.ShirtTemplate = "rbxassetid://1240343936"
  31. shirt.Parent = char
  32. pants = Instance.new("Pants")
  33. pants.PantsTemplate = "rbxassetid://1324545475"
  34. pants.Parent = char
  35. findbc = char:FindFirstChildOfClass("BodyColors")
  36. if findbc then
  37. findbc:Destroy()
  38. end
  39. newbc = Instance.new("BodyColors",char)
  40. newbc.HeadColor = BrickColor.new("Pastel brown")
  41. newbc.LeftArmColor = BrickColor.new("Fawn brown")
  42. newbc.TorsoColor = BrickColor.new("Fawn brown")
  43. newbc.RightArmColor = BrickColor.new("Fawn brown")
  44. newbc.LeftLegColor = BrickColor.new("Dark stone grey")
  45. newbc.RightLegColor = BrickColor.new("Dark stone grey")
  46. tool = Instance.new("Tool",lp.Backpack)
  47. tool.Name = "Pistol"
  48. handle = Instance.new("Part",tool)
  49. handle.Name = "Handle"
  50. handle.Size = Vector3.new(1,1,3)
  51. handle.BrickColor = BrickColor.Black()
  52. shoot = Instance.new("Sound",handle)
  53. shoot.Volume = 5
  54. shoot.SoundId = "rbxassetid://131257506"
  55. pistoldebounce = false
  56. tool.Equipped:connect(function(mouse)
  57.     print("Tool equipped!")
  58.  
  59.     mouse.Button1Down:connect(function()
  60.         if pistoldebounce == false then
  61.             pistoldebounce = true
  62.             shoot:Play()
  63.             print("Mouse pressed!")
  64.             local ray = Ray.new(tool.Handle.CFrame.p, (mouse.Hit.p - tool.Handle.CFrame.p).unit * 300)
  65.             local part, position = workspace:FindPartOnRay(ray, char, false, true)
  66.      
  67.             local beam = Instance.new("Part", workspace)
  68.             beam.BrickColor = BrickColor.new("Bright yellow")
  69.             beam.FormFactor = "Custom"
  70.             beam.Material = "Neon"
  71.             beam.Transparency = 0.25
  72.             beam.Anchored = true
  73.             beam.Locked = true
  74.             beam.CanCollide = false
  75.      
  76.             local distance = (tool.Handle.CFrame.p - position).magnitude
  77.             beam.Size = Vector3.new(0.3, 0.3, distance)
  78.             beam.CFrame = CFrame.new(tool.Handle.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  79.      
  80.             game:GetService("Debris"):AddItem(beam, 0.1)
  81.      
  82.             if part then
  83.                 local humanoid = part.Parent:FindFirstChild("Humanoid")
  84.      
  85.                 if not humanoid then
  86.                     humanoid = part.Parent.Parent:FindFirstChild("Humanoid")
  87.                 end
  88.      
  89.                 if humanoid then
  90.                     humanoid:TakeDamage(pistoldamage)
  91.                 end
  92.                
  93.             end
  94.             wait(0.5)
  95.             pistoldebounce = false
  96.         end
  97.     end)
  98. end)
  99. grenade = Instance.new("Tool",lp.Backpack)
  100. grenade.Name = "Grenade"
  101. gh = Instance.new("Part",grenade)
  102. gh.Name = "Handle"
  103. gh.Size = Vector3.new(1,1,1)
  104. gh.BrickColor = BrickColor.Green()
  105. gd = false
  106. grenade.Activated:connect(function()
  107. if gd == false then
  108.     gd = true
  109.     gh.Parent = workspace
  110.     gh.CanCollide = true
  111.     wait(5)
  112.     explosion = Instance.new("Explosion")
  113.     explosion.BlastRadius = 30
  114.     explosion.BlastPressure = grenaderadius
  115.     explosion.Position = gh.Position
  116.     explosion.Parent = workspace
  117.     gh.Parent = grenade
  118.     gh.CanCollide = false
  119.     wait(1)
  120.     explosion:Destroy()
  121.     wait(5)
  122.     gd = false
  123. end
  124. end)
  125. bgui = Instance.new("BillboardGui",head)
  126. bgui.Name = "TextGui"
  127. bgui.Size = UDim2.new(0,500,0,1000)
  128. bgui.Adornee = head
  129. text = Instance.new("TextLabel",bgui)
  130. text.BackgroundTransparency = 1
  131. text.Size = UDim2.new(0,500,0,100)
  132. text.Position = UDim2.new(0,0,0,250)
  133. text.TextColor3 = Color3.new(1,1,1)
  134. text.Font = Enum.Font.Bodoni
  135. text.Text = "script dedicated to Marcus_WatchDogs2"
  136. text.TextScaled = true
  137. function changetext(msg)
  138. for i=1, string.len(msg) do
  139. wait(0.01)
  140. text.Text = string.sub(msg,1,i)
  141. end
  142. wait(0.2)
  143. for i=1, 10 do
  144. wait(0.02)
  145. text.TextTransparency = text.TextTransparency + 0.1
  146. end
  147. text.Text = ""
  148. text.TextTransparency = 0
  149. end
  150. wait(2)
  151. text.Text = "made by retrojooooono"
  152. wait(2)
  153. text.Text = "The Last Guest"
  154. function ce(g,t)
  155. ball = Instance.new("Part",char)
  156. ball.Size = Vector3.new(5,5,5)
  157. ball.Anchored = true
  158. ball.CanCollide = false
  159. ball.BrickColor = BrickColor.new("Institutional white")
  160. ball.Material = Enum.Material.Neon
  161. ball.CFrame = head.CFrame
  162. for e=1, 10 do
  163. wait(t)
  164. ball.Transparency = ball.Transparency + 0.1
  165. ball.Size = ball.Size + Vector3.new(g,g,g)
  166. end
  167. end
  168. believed = false
  169. lp:GetMouse().KeyDown:connect(function(key)
  170.     if key == "l" then
  171.         if believed == false then
  172.             believed = true
  173.             for m=1, 10 do
  174.             wait(0.5)
  175.             music.PlaybackSpeed = music.PlaybackSpeed - 0.1
  176.             hum.WalkSpeed = hum.WalkSpeed - 1.6
  177.             end
  178.             music:Stop()
  179.             music:Destroy()
  180.             changetext("Everything has been going bad lately.")
  181.             changetext("Bacon hair has killed all my friends.")
  182.             changetext("However, my foes, I have a message for you...")
  183.             changetext("...I BELIEVE IN GOD!")
  184.             changetext("I bElIeVe In GoD!!!!!")
  185.             newbc.HeadColor = BrickColor.Red()
  186.             newbc.TorsoColor = BrickColor.Red()
  187.             newbc.LeftArmColor = BrickColor.Red()
  188.             newbc.RightArmColor = BrickColor.Red()
  189.             newbc.LeftLegColor = BrickColor.Red()
  190.             newbc.RightLegColor = BrickColor.Red()
  191.             ce(10,0.1)
  192.             wait(2)
  193.             changetext("Are you scared?")
  194.             changetext("No? I only turned red, hmm?")
  195.             changetext("No. I have believed in God and this happened.")
  196.             changetext("I am stronger than Super Saiyan.")
  197.             changetext("And my name is not The Last Guest.")
  198.             changetext("My REAL name is "..lp.Name..".")
  199.             changetext("Ah, if "..names[math.random(1,#names)].." was here he would say '"..string.upper(lp.Name).."IS GOING TO DOOM US ALL!!!'.")
  200.             changetext("Prepare to perish.")
  201.             hum.WalkSpeed = 25
  202.             believemusic = Instance.new("Sound",head)
  203.             believemusic.SoundId = "rbxassetid://582476855"
  204.             believemusic.Looped = true
  205.             believemusic:Play()
  206.             believemusic.Volume = 2
  207.             text.Text = lp.Name.." the nightmare"
  208.             grenaderadius = 250
  209.             pistoldamage = 999999999999
  210.            
  211.         end
  212.     end
  213.     if key == "z" then
  214.         if believed == true then
  215.             head.CFrame = lp:GetMouse().Hit
  216.             ce(2.5,0.05)
  217.         end
  218.     end
  219.     if key == "q" then
  220.         if believed == true then
  221.             hum.HipHeight = 15
  222.             hum.WalkSpeed = 0
  223.             wait(5)
  224.             hum.WalkSpeed = 0
  225.             changetext("I.")
  226.             changetext("Believe.")
  227.             changetext("In.")
  228.             changetext("God.")
  229.             changetext("Prepare to die.")
  230.             head.Anchored = true
  231.             ball2 = Instance.new("Part",char)
  232.             ball2.Material = Enum.Material.Neon
  233.             ball2.BrickColor = BrickColor.Red()
  234.             ball2.Transparency = 0
  235.             ball2.CanCollide = true
  236.             ball2.Shape = Enum.PartType.Ball
  237.             ball2.Anchored = true
  238.             ball2.Size = Vector3.new(5,5,5)
  239.             ball2.CFrame = head.CFrame
  240.             ball2.Touched:connect(function(hit)
  241.                 if hit.Parent ~= char and hit.Parent.Parent ~= char and hit.Parent.Parent.Parent ~= char then
  242.                     hit:BreakJoints()
  243.                 end
  244.             end)
  245.             for n=1, 1000 do
  246.                 wait(0.01)
  247.                 print(n)
  248.                 ball2.Size = ball2.Size + Vector3.new(0.5,0.5,0.5)
  249.                 ball2.Transparency = ball2.Transparency + 0.001
  250.             end
  251.             ball2:Destroy()
  252.             head.Anchored = false
  253.             hum.HipHeight = 0
  254.             hum.PlatformStand = true
  255.             changetext("...m..my p...power...")
  256.             changetext("...did I die?")
  257.             changetext("...at least I killed all my foes...")
  258.             changetext("...wait, the nuke ball kills everyone except me...everyone...")
  259.             changetext("...what have I done...")
  260.             changetext("...at least I will rest here alone...")
  261.             for bm=1, 10 do
  262.             wait(0.1)
  263.             believemusic.PlaybackSpeed = believemusic.PlaybackSpeed - 0.1
  264.             end
  265.             believemusic:Stop()
  266.             believemusic:Destroy()
  267.             newbc.HeadColor = BrickColor.Black()
  268.             wait(1)
  269.             newbc.TorsoColor = BrickColor.Black()
  270.             wait(1)
  271.             newbc.LeftArmColor = BrickColor.Black()
  272.             newbc.RightArmColor = BrickColor.Black()
  273.             newbc.LeftLegColor = BrickColor.Black()
  274.             newbc.RightLegColor = BrickColor.Black()
  275.             wait(1)
  276.             if head:FindFirstChildOfClass("Decal") then
  277.                 head:FindFirstChildOfClass("Decal"):Destroy()
  278.             end
  279.             for i=1, 10 do
  280.                 wait(0.1)
  281.                 head.Transparency = head.Transparency + 0.1
  282.             end
  283.             head:Destroy()
  284.         end
  285.     end
  286.     if key == "t" then
  287.         changetext(taunts[math.random(1,#taunts)])
  288.     end
  289. end)
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318. while true do
  319. wait(0.01)
  320. if believed == true then
  321. hum.Health = hum.MaxHealth
  322. end
  323. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement