Advertisement
Puppet213321

test 2

Jun 7th, 2018
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.07 KB | None | 0 0
  1. -- ty krystalburger
  2. --[[
  3. Thomas The Dank Engine:
  4. By: KrystalTeam
  5. Features: Being a dank engine that kill people
  6. Version: 1.0.0.2
  7. --]]
  8. local naeeym2 = Instance.new("BillboardGui",Character)
  9. naeeym2.Size = UDim2.new(0,100,0,40)
  10. naeeym2.StudsOffset = Vector3.new(0,3,0)
  11. naeeym2.Adornee = Character.Head
  12. naeeym2.Name = "TalkingBillBoard"
  13. local tecks3 = Instance.new("TextLabel",naeeym2)
  14. tecks3.BackgroundTransparency = 1
  15. tecks3.BorderSizePixel = 0
  16. tecks3.Text = ""
  17. tecks3.Font = "Bodoni"
  18. tecks3.TextSize = 30
  19. tecks3.TextStrokeTransparency = 0
  20. tecks3.TextColor3 = Color3.new(255,255,255)
  21. tecks3.TextStrokeColor3 = Color3.new(255,255,255)
  22. tecks3.Size = UDim2.new(1,0,0.5,0)
  23. for i = 1,string.len(text),1 do
  24. tecks3.Text = string.sub(text,1,i)
  25. wait(0.01)
  26. end
  27. wait(3)
  28. for i = 1, 80 do
  29. wait()
  30. tecks3.Position = tecks3.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  31. tecks3.Rotation = tecks3.Rotation + .8
  32. tecks3.TextStrokeTransparency = tecks3.TextStrokeTransparency +.03
  33. tecks3.TextTransparency = tecks3.TextTransparency + .03
  34. end
  35. end)
  36. chat()
  37. end
  38. chatfunc("Hi.")
  39. wait(2)
  40. chatfunc("I'm an editor.")
  41. wait(2)
  42. chatfunc("I edited this train just to show off in servers.")
  43. wait(5)
  44. chatfunc("so that is why... i am here...")
  45. wait(3)
  46. chatfunc("to annoy you")
  47. wait(3)
  48. local sick = Instance.new("Sound",Character)
  49. sick.SoundId = "rbxassetid://395351949"
  50. sick.Looped = true
  51. sick.Pitch = 1
  52. sick.Volume = 5
  53. sick:Play()
  54.  
  55.  
  56. script.Name = "train zoom"
  57.  
  58. CF = CFrame.new
  59. VT = Vector3.new
  60. RAD = math.rad
  61. C3 = Color3.new
  62. UD2 = UDim2.new
  63. BRICKC = BrickColor.new
  64. ANGLES = CFrame.Angles
  65. EULER = CFrame.fromEulerAnglesXYZ
  66. COS = math.cos
  67. ACOS = math.acos
  68. SIN = math.sin
  69. ASIN = math.asin
  70. ABS = math.abs
  71. MRANDOM = math.random
  72. FLOOR = math.floor
  73.  
  74. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  75. local NEWMESH = IT(MESH)
  76. if MESH == "SpecialMesh" then
  77. NEWMESH.MeshType = MESHTYPE
  78. if MESHID ~= "nil" and MESHID ~= "" then
  79. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  80. end
  81. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  82. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  83. end
  84. end
  85. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  86. NEWMESH.Scale = SCALE
  87. NEWMESH.Parent = PARENT
  88. return NEWMESH
  89. end
  90.  
  91. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  92. local NEWPART = IT("Part")
  93. NEWPART.formFactor = FORMFACTOR
  94. NEWPART.Reflectance = REFLECTANCE
  95. NEWPART.Transparency = TRANSPARENCY
  96. NEWPART.CanCollide = false
  97. NEWPART.Locked = true
  98. NEWPART.Anchored = true
  99. if ANCHOR == false then
  100. NEWPART.Anchored = false
  101. end
  102. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  103. NEWPART.Name = NAME
  104. NEWPART.Size = SIZE
  105. NEWPART.Position = Torso.Position
  106. NEWPART.Material = MATERIAL
  107. NEWPART:BreakJoints()
  108. NEWPART.Parent = PARENT
  109. return NEWPART
  110. end
  111.  
  112. local p = game.Players.LocalPlayer.Character
  113. local weld = Instance.new("Weld",p.Torso)
  114. weld.Part0 = p.Torso
  115.  
  116. local train = Instance.new("Part",p.Torso)
  117. train.Anchored = true
  118. train.CanCollide = false
  119. train.Size = Vector3.new(3,2,6)
  120. train.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  121. weld.Part1 = train
  122. weld.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(180),0)
  123. train.Anchored = false
  124. local TrainMesh = Instance.new("SpecialMesh",train)
  125. TrainMesh.MeshType = Enum.MeshType.FileMesh
  126. TrainMesh.Scale = Vector3.new(0.020,0.020,0.015)
  127. TrainMesh.MeshId = "rbxassetid://431017802"
  128. TrainMesh.TextureId = "rbxassetid://431017809"
  129.  
  130.  
  131. local weld2 = Instance.new("Weld",p.Torso)
  132. weld2.Part0 = p.Torso
  133. local Smoke = Instance.new("Part",p.Torso)
  134. Smoke.Anchored = true
  135. Smoke.CanCollide = false
  136. Smoke.Size = Vector3.new(1,1,1)
  137. Smoke.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  138. weld2.Part1 = Smoke
  139. weld2.C1 = CFrame.new(0,-4,3.5)-- * CFrame.Angles(0,math.rad(180),0)
  140. Smoke.Anchored = false
  141. Smoke.Transparency = 1;
  142.  
  143. local Particle = Instance.new("ParticleEmitter",Smoke)
  144. Particle.Rate = 50;
  145. Particle.Speed = NumberRange.new(30,60);
  146. Particle.VelocitySpread = 4;
  147. Particle.Texture = "rbxassetid://133619974"
  148.  
  149. local Light = Instance.new("SpotLight",train)
  150. Light.Angle = 45;
  151. Light.Brightness = 100;
  152. Light.Face = Enum.NormalId.Back;
  153. Light.Range = 30;
  154.  
  155. p.Humanoid.WalkSpeed = 60;
  156.  
  157.  
  158. for i,v in pairs(p:GetChildren()) do
  159. if v:IsA("Part") then
  160. v.Transparency = 1;
  161. elseif v:IsA("Hat") then
  162. v:Destroy()
  163. elseif v:IsA("Model") then
  164. v:Destroy()
  165. end
  166. end
  167.  
  168. local function SFX(id) local s=Instance.new("Sound",p.Torso); s.SoundId = "rbxassetid://"..id; s.Volume = 1; return s; end
  169. train.Touched:connect(function(p)
  170. if p.Parent then
  171. if p.Parent:IsA("Model") then
  172. if game.Players:FindFirstChild(p.Parent.Name) then
  173. if p.Parent.Name ~= game.Players.LocalPlayer.Name then
  174. game.Players:FindFirstChild(p.Parent.Name).Character:BreakJoints()
  175. local Whistle = SFX(475073913)
  176. Whistle:Play()
  177. end
  178. end
  179. end
  180. end
  181. end)
  182.  
  183. local Music = SFX(257453119)
  184. Music.Looped = true;
  185. wait(1)
  186. Music:Play();
  187. -- ~CL 2016f
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement