Advertisement
00fjg

Untitled

Sep 24th, 2017
265
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.61 KB | None | 0 0
  1. local Player = game.Players.localPlayer
  2. local Character = game.Players.localPlayer.Character
  3. local Create = LoadLibrary("RbxUtility").Create
  4. CFuncs = {
  5.  
  6.  
  7.  
  8.  
  9. ["Weld"] = {
  10. Create = function(Parent, Part0, Part1, C0, C1)
  11. local Weld = Create("Weld"){
  12. Parent = Parent,
  13. Part0 = Part0,
  14. Part1 = Part1,
  15. C0 = C0,
  16. C1 = C1,
  17. }
  18. return Weld
  19. end;
  20. };
  21.  
  22. ["Sound"] = {
  23. Create = function(id, par, vol, pit)
  24. coroutine.resume(coroutine.create(function()
  25. local S = Create("Sound"){
  26. Volume = vol,
  27. Pitch = pit or 1,
  28. SoundId = id,
  29. Parent = par or workspace,
  30. }
  31. wait()
  32. S:play()
  33. game:GetService("Debris"):AddItem(S, 6)
  34. end))
  35. end;
  36. };
  37.  
  38. ["ParticleEmitter"] = {
  39. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  40. local fp = Create("ParticleEmitter"){
  41. Parent = Parent,
  42. Color = ColorSequence.new(Color1, Color2),
  43. LightEmission = LightEmission,
  44. Size = Size,
  45. Texture = Texture,
  46. Transparency = Transparency,
  47. ZOffset = ZOffset,
  48. Acceleration = Accel,
  49. Drag = Drag,
  50. LockedToPart = LockedToPart,
  51. VelocityInheritance = VelocityInheritance,
  52. EmissionDirection = EmissionDirection,
  53. Enabled = Enabled,
  54. Lifetime = LifeTime,
  55. Rate = Rate,
  56. Rotation = Rotation,
  57. RotSpeed = RotSpeed,
  58. Speed = Speed,
  59. VelocitySpread = VelocitySpread,
  60. }
  61. return fp
  62. end;
  63. };
  64.  
  65. CreateTemplate = {
  66.  
  67. };
  68. }
  69.  
  70.  
  71.  
  72. New = function(Object, Parent, Name, Data)
  73. local Object = Instance.new(Object)
  74. for Index, Value in pairs(Data or {}) do
  75. Object[Index] = Value
  76. end
  77. Object.Parent = Parent
  78. Object.Name = Name
  79. return Object
  80. end
  81.  
  82.  
  83. CV="Really black"
  84. ArtificialHB = Create("BindableEvent", script){
  85. Parent = script,
  86. Name = "Heartbeat",
  87. }
  88.  
  89. function swait(num)
  90. if num == 0 or num == nil then
  91. ArtificialHB.Event:wait()
  92. else
  93. for i = 0, num do
  94. ArtificialHB.Event:wait()
  95. end
  96. end
  97. end
  98.  
  99. function chatfunc(text)
  100. local chat = coroutine.wrap(function()
  101. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  102. Character:FindFirstChild("TalkingBillBoard"):destroy()
  103. end
  104. local naeeym2 = Instance.new("BillboardGui",Character)
  105. naeeym2.Size = UDim2.new(0,100,0,40)
  106. naeeym2.StudsOffset = Vector3.new(0,3,0)
  107. naeeym2.Adornee = Character.Head
  108. naeeym2.Name = "TalkingBillBoard"
  109. local tecks2 = Instance.new("TextLabel",naeeym2)
  110. tecks2.BackgroundTransparency = 1
  111. tecks2.BorderSizePixel = 0
  112. tecks2.Text = ""
  113. tecks2.Font = "Fantasy"
  114. tecks2.TextSize = 30
  115. tecks2.TextStrokeTransparency = 0
  116. tecks2.TextColor3 = Color3.new(0,0,0)
  117. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  118. tecks2.Size = UDim2.new(1,0,0.5,0)
  119. local tecks3 = Instance.new("TextLabel",naeeym2)
  120. tecks3.BackgroundTransparency = 1
  121. tecks3.BorderSizePixel = 0
  122. tecks3.Text = ""
  123. tecks3.Font = "Fantasy"
  124. tecks3.TextSize = 30
  125. tecks3.TextStrokeTransparency = 0
  126. tecks3.TextColor3 = Color3.new(0,0,0)
  127. tecks3.TextStrokeColor3 = Color3.new(255,255,255)
  128. tecks3.Size = UDim2.new(1,0,0.5,0)
  129. for i = 1,string.len(text),1 do
  130. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=565939471", Character, 6, .8)
  131. tecks2.Text = string.sub(text,1,i)
  132. tecks3.Text = string.sub(text,1,i)
  133. wait(0.01)
  134. end
  135. wait(2)
  136. for i = 1, 50 do
  137. swait()
  138. tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  139. tecks2.Rotation = tecks2.Rotation - .8
  140. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  141. tecks2.TextTransparency = tecks2.TextTransparency + .04
  142. tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  143. tecks3.Rotation = tecks2.Rotation + .8
  144. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  145. tecks3.TextTransparency = tecks2.TextTransparency + .04
  146. end
  147. naeeym2:Destroy()
  148. end)
  149. chat()
  150.  
  151. end
  152. function onChatted(msg)
  153. chatfunc(msg)
  154.  
  155. end
  156. Player.Chatted:connect(onChatted)
  157.  
  158. abss = Instance.new("BillboardGui",Character)
  159. abss.Size = UDim2.new(10,0,10,0)
  160. abss.Enabled = false
  161. abss.Name = "ROCKYMOUNT"
  162. imgl = Instance.new("ImageLabel",abss)
  163. imgl.Position = UDim2.new(0,0,0,0)
  164. imgl.Size = UDim2.new(1,0,1,0)
  165. imgl.Image = "rbxassetid://711463989"
  166. imgl.BackgroundTransparency = 1
  167. imgl.ImageColor3 = Color3.new(0,255,255)
  168. img2 = Instance.new("ImageLabel",abss)
  169. img2.Position = UDim2.new(0,0,0,0)
  170. img2.Size = UDim2.new(1,0,1,0)
  171. img2.Image = "rbxassetid://711463989"
  172. img2.BackgroundTransparency = 1
  173. img2.ImageColor3 = Color3.new(0,255,255)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement