Advertisement
1x1x1x1IAMbck

gaster blaster

May 6th, 2018
587
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.13 KB | None | 0 0
  1. wait(1)
  2. plr = game.Players.LocalPlayer
  3. char = plr.Character
  4. mouse = plr:GetMouse()
  5. whitecolor = Color3.new(1,1,1)
  6. epicmode = false
  7. normal = true
  8.  
  9. -- Chat
  10. local talksound = Instance.new("Sound",char.Torso)
  11. talksound.SoundId = "rbxassetid://928210219"
  12. talksound.Volume = 4
  13. local blastsound = Instance.new("Sound",char.Torso)
  14. blastsound.Name = "blast_sound"
  15. blastsound.SoundId = "rbxassetid://345052019"
  16. blastsound.Volume = 4
  17. function swait(num)
  18. if num==0 or num==nil then
  19. game:service'RunService'.Stepped:wait(0)
  20. else
  21. for i=0,num do
  22. game:service'RunService'.Stepped:wait(0)
  23. end
  24. end
  25. end
  26.  
  27. function chatfunc(text)
  28. local chat = coroutine.wrap(function()
  29. if char:FindFirstChild("TalkingBillBoard") ~= nil then
  30. char:FindFirstChild("TalkingBillBoard"):Destroy()
  31. end
  32. local naeeym2 = Instance.new("BillboardGui",char)
  33. naeeym2.Size = UDim2.new(0,100,0,40)
  34. naeeym2.StudsOffset = Vector3.new(0,3,0)
  35. naeeym2.Adornee = char.Head
  36. naeeym2.Name = "TalkingBillBoard"
  37. local tecks2 = Instance.new("TextLabel",naeeym2)
  38. tecks2.BackgroundTransparency = 1
  39. tecks2.BorderSizePixel = 0
  40. tecks2.Text = ""
  41. tecks2.Font = "Fantasy"
  42. tecks2.TextSize = 30
  43. tecks2.TextStrokeTransparency = 0
  44. tecks2.TextColor3 = Color3.new(.6,0,0)
  45. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  46. tecks2.Size = UDim2.new(1,0,0.5,0)
  47. local tecks3 = Instance.new("TextLabel",naeeym2)
  48. tecks3.BackgroundTransparency = 1
  49. tecks3.BorderSizePixel = 0
  50. tecks3.Text = ""
  51. tecks3.Font = "Fantasy"
  52. tecks3.TextSize = 30
  53. tecks3.TextStrokeTransparency = 0
  54. tecks3.TextColor3 = Color3.new(0,0,0)
  55. tecks3.TextStrokeColor3 = Color3.new(1,1,1)
  56. tecks3.Size = UDim2.new(1,0,0.5,0)
  57. for i = 1,string.len(text),1 do
  58. tecks2.Text = string.sub(text,1,i)
  59. tecks3.Text = string.sub(text,1,i)
  60. talksound:Play()
  61. wait(0.01)
  62. end
  63. wait(2)
  64. for i = 1, 50 do
  65. swait()
  66. tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  67. tecks2.Rotation = tecks2.Rotation - .8
  68. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  69. tecks2.TextTransparency = tecks2.TextTransparency + .04
  70. tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  71. tecks3.Rotation = tecks2.Rotation + .8
  72. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  73. tecks3.TextTransparency = tecks2.TextTransparency + .04
  74. end
  75. naeeym2:Destroy()
  76. end)
  77. chat()
  78. end
  79. function onChatted(msg)
  80. chatfunc(msg)
  81. end
  82. plr.Chatted:connect(onChatted)
  83. wait(0.2)
  84. char.Humanoid.Name = "Sans"
  85. local music = Instance.new("Sound",char.Torso)
  86. music.SoundId = "rbxassetid://0"
  87. music.Volume = 4
  88. music.Looped = true
  89. music:Play()
  90.  
  91. -- Funcs
  92. function Blast(AAA)
  93. if AAA == "f" then
  94. local gasterblaster = Instance.new("Part",char.Torso)
  95. gasterblaster.Size = Vector3.new(7, 100, 4)
  96. gasterblaster.CanCollide = false
  97. local gasterblastermesh = Instance.new("FileMesh",gasterblaster)
  98. gasterblastermesh.MeshId = "rbxassetid://431908407"
  99. gasterblastermesh.Scale = Vector3.new(0.05,0.05,0.05)
  100. local gasterblastertexture = Instance.new("Decal",gasterblaster)
  101. gasterblastertexture.Face = "Back"
  102. gasterblastertexture.Texture = "http://www.roblox.com/asset/?id=441975828"
  103. local weeld = Instance.new("Weld",gasterblaster)
  104. weeld.Part0 = gasterblaster
  105. weeld.Part1 = char.Torso
  106. weeld.C0 = CFrame.new(3.71674585, -11.54426, -0.129204988, -0.999741375, 0, 0.0227420069, 0, 1, 0, -0.0227420069, 0, -0.999741375)
  107. blastsound:Play()
  108. char.Head.Anchored = true
  109. wait(1)
  110. local blast = Instance.new("Part",gasterblaster)
  111. blast.Size = Vector3.new(18.07, 16.36, 73.54)
  112. blast.Transparency = 0.7
  113. blast.Material = "Neon"
  114. blast.Color = Color3.new(1,1,1)
  115. blast.CanCollide = true
  116. local blastweld = Instance.new("Weld",blast)
  117. blastweld.Part0 = blast
  118. blastweld.Part1 = gasterblaster
  119. blastweld.C0 = CFrame.new(-0.430000305, 1.73999977, -40.1399994, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  120. blast.Touched:connect(function(part)
  121. part.Parent:FindFirstChildOfClass("Humanoid"):Destroy() -- Makes them not able to move
  122. end)
  123. wait(2)
  124. char.Head.Anchored = false
  125. blast:Destroy()
  126. gasterblaster:Destroy()
  127. end
  128. end
  129. mouse.KeyDown:connect(Blast)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement