Advertisement
buildermanwannabe

egg

Jun 28th, 2018
505
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.75 KB | None | 0 0
  1. --[[ by iliketrainsornot ]]--
  2. wait(0.2)
  3.  
  4.  
  5. Player = game.Players.LocalPlayer
  6. Character = Player.Character
  7. local txt = Instance.new("BillboardGui", Character)
  8. txt.Adornee = Character.Head
  9. txt.Name = "_status"
  10. txt.Size = UDim2.new(2, 0, 1.2, 0)
  11. txt.StudsOffset = Vector3.new(-9, 12, 0)
  12. local text = Instance.new("TextLabel", txt)
  13. text.Size = UDim2.new(10, 0, 7, 0)
  14. text.FontSize = "Size24"
  15. text.TextScaled = true
  16. text.TextTransparency = 0
  17. text.BackgroundTransparency = 10
  18. text.TextTransparency = 0
  19. text.TextStrokeTransparency = 0
  20. text.Font = "Antique"
  21. text.TextStrokeColor3 = Color3.new(0,0,0)
  22. text.Text = ("Darkness")
  23.  
  24. warn("w h y")
  25. print("this cancer is made by iliketrainsornot")
  26. plr = game:GetService("Players").LocalPlayer
  27. char = plr.Character
  28. Instance.new("ForceField",char).Visible = false
  29. hed = char.Head
  30. torso = char.Torso
  31. mouse = plr:GetMouse()
  32. rarm = char["Right Arm"]
  33. larm = char["Left Arm"]
  34. rleg = char["Right Leg"]
  35. lleg = char["Left Leg"]
  36. rarm.Transparency = 1
  37. larm.Transparency = 1
  38. lleg.Transparency = 1
  39. rleg.Transparency = 1
  40. torso.Transparency = 1
  41. activ = false
  42. sound = false
  43. Create = LoadLibrary("RbxUtility").Create
  44. char.Animate:Destroy()
  45. hum = char:FindFirstChildOfClass("Humanoid")
  46. hum.Animator:Destroy()
  47. hum.MaxHealth = math.huge
  48. hum.Health = math.huge
  49. hum.Name = "despacito"
  50. hum.JumpPower = 125
  51. hum.WalkSpeed = 130
  52. for _,c in pairs(char:GetChildren()) do
  53. if (c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "ShirtGraphic") and c.Name ~= "Cloth" then
  54. c:Remove()
  55. end
  56. end
  57.  
  58. ------Chat Func.------
  59. bbg = Instance.new("BillboardGui",h)
  60. bbg.Size = UDim2.new(0,200,0,50)
  61. bbg.StudsOffset = Vector3.new(0,2,0)
  62. bbgTl = Instance.new("TextLabel",bbg)
  63. bbgTl.BackgroundTransparency = 1
  64. bbgTl.Size = UDim2.new(10,0,1,0)
  65. bbgTl.Position = UDim2.new(-4.5,0,0,0)
  66. bbgTl.Font = "Cartoon"
  67. bbgTl.Text = " "
  68. bbgTl.TextSize = 30
  69. bbgTl.TextStrokeColor3 = Color3.fromRGB(255,160)
  70. bbgTl.TextColor3 = Color3.fromRGB(255,255,255)
  71. bbgTl.TextStrokeTransparency = 0
  72. bbgTl.TextWrapped = true
  73. plr.Chatted:connect(function(msg)
  74. bbgTl.Text = msg
  75. wait(5)
  76. if bbgTl.Text == msg then
  77. bbgTl.Text = " "
  78. end
  79. end)
  80. ------...------
  81. hed:FindFirstChildOfClass("SpecialMesh").MeshId = "http://www.roblox.com/asset/?id=110221140"
  82. hed:FindFirstChildOfClass("SpecialMesh").TextureId = "http://www.roblox.com/asset/?id=110163825"
  83. hed.face:Destroy()
  84. hed:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(2.5, 2.5, 2.5)
  85. hed:FindFirstChildOfClass("SpecialMesh").Offset = Vector3.new(0,1.8,0)
  86. redhead = Instance.new("Part",torso)
  87. redhead.Size = torso.Size
  88. redhead.Transparency = 0
  89. weld = Instance.new("Weld",redhead)
  90. weld.Part0 = redhead
  91. weld.Part1 = torso
  92. weld.C0 = CFrame.Angles(math.rad(-180), math.rad(-90), math.rad(0))
  93. redhead1 = Instance.new("SpecialMesh",redhead)
  94. redhead1.MeshId = hed:FindFirstChildOfClass("SpecialMesh").MeshId
  95. redhead1.Scale = Vector3.new(2.85,2.85,2.85)
  96. redhead1.TextureId = "http://www.roblox.com/asset/?id=110163825"
  97. redhead.CanCollide = false
  98. redhead1.Offset = Vector3.new(0,0.3,0)
  99.  
  100. redhead = Instance.new("Part",rleg)
  101. redhead.Size = rleg.Size
  102. weld = Instance.new("Weld",redhead)
  103. weld.Part0 = redhead
  104. weld.Part1 = torso
  105. weld.C0 = CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  106. redhead1 = Instance.new("SpecialMesh",redhead)
  107. redhead1.MeshId = "rbxassetid://147982651"
  108. redhead1.Scale = Vector3.new(60, 60, 60)
  109. redhead.CanCollide = false
  110. redhead1.Offset = Vector3.new(0, 10, 5)
  111.  
  112. redhead2 = Instance.new("Decal", redhead)
  113.  
  114. redhead2.Texture = "rbxassetid://845817136"
  115. despacitotext = Instance.new("Part",hed)
  116. despacitotext.Name = "Darkness"
  117. despacitotext.Size = Vector3.new(6.5,3,5.5)
  118. despacitotext.Transparency = 1
  119. despacitotext.CanCollide = false
  120. weld = Instance.new("Weld",redhead)
  121. weld.Part0 = despacitotext
  122. weld.Part1 = hed
  123. surfacegui = Instance.new("SurfaceGui",despacitotext)
  124. text = Instance.new("TextLabel",surfacegui)
  125. text.Size = UDim2.new(1,0,1,0)
  126. text.TextSize = 150
  127. text.Font = Enum.Font.Legacy
  128. text.BackgroundTransparency = 1
  129. surfacegui.AlwaysOnTop = true
  130. text.TextStrokeColor3 = Color3.fromRGB(4,0,6)
  131. text.TextStrokeTransparency = 0
  132. text.TextColor3 = Color3.fromRGB(1,0,2)
  133. text.Text = "Darkness"
  134. despacito = Instance.new("Sound",char)
  135. despacito.SoundId = "rbxassetid://919050740"
  136. despacito.Volume = 10
  137. despacito.EmitterSize = 100
  138. despacito:Play()
  139. despacito.Name = "despacito"
  140. local seffect = Instance.new("ReverbSoundEffect",despacito)
  141. char.ChildRemoved:connect(function(h)
  142. if h == despacito then
  143. despacito = Instance.new("Sound",char)
  144. despacito.SoundId = "rbxassetid://919050740"
  145. despacito.Volume = 10
  146. despacito.EmitterSize = 100
  147. despacito:Play()
  148. despacito.Name = "despacito"
  149. despacito.TimePosition = despacito.TimePosition
  150. local seffect = Instance.new("ReverbSoundEffect",despacito)
  151. end
  152. end)
  153. function RemoveOutlines(part)
  154. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  155. end
  156. CFuncs = {
  157. Part = {
  158. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  159. local Part = Create("Part")({
  160. Parent = Parent,
  161. Reflectance = Reflectance,
  162. Transparency = Transparency,
  163. CanCollide = false,
  164. Locked = true,
  165. BrickColor = BrickColor.new(tostring(BColor)),
  166. Name = Name,
  167. Size = Size,
  168. Material = Material
  169. })
  170. RemoveOutlines(Part)
  171. if Size == Vector3.new() then
  172. Part.Size = Vector3.new(0.2, 0.2, 0.2)
  173. else
  174. Part.Size = Size
  175. end
  176. return Part
  177. end
  178. },
  179. Mesh = {
  180. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  181. local Msh = Create(Mesh)({
  182. Parent = Part,
  183. Offset = OffSet,
  184. Scale = Scale
  185. })
  186. if Mesh == "SpecialMesh" then
  187. Msh.MeshType = MeshType
  188. Msh.MeshId = MeshId
  189. end
  190. return Msh
  191. end
  192. },
  193. Weld = {
  194. Create = function(Parent, Part0, Part1, C0, C1)
  195. local Weld = Create("Weld")({
  196. Parent = Parent,
  197. Part0 = Part0,
  198. Part1 = Part1,
  199. C0 = C0,
  200. C1 = C1
  201. })
  202. return Weld
  203. end
  204. },
  205. Sound = {
  206. Create = function(id, par, vol, pit)
  207. local Sound = Create("Sound")({
  208. Volume = vol,
  209. Pitch = pit or 1,
  210. SoundId = "rbxassetid://" .. id,
  211. Parent = par or workspace
  212. })
  213. Sound:play()
  214. return Sound
  215. end
  216. },
  217. Decal = {
  218. Create = function(Color, Texture, Transparency, Name, Parent)
  219. local Decal = Create("Decal")({
  220. Color3 = Color,
  221. Texture = "rbxassetid://" .. Texture,
  222. Transparency = Transparency,
  223. Name = Name,
  224. Parent = Parent
  225. })
  226. return Decal
  227. end
  228. },
  229. BillboardGui = {
  230. Create = function(Parent, Image, Position, Size)
  231. local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
  232. BillPar.CFrame = CFrame.new(Position)
  233. local Bill = Create("BillboardGui")({
  234. Parent = BillPar,
  235. Adornee = BillPar,
  236. Size = UDim2.new(1, 0, 1, 0),
  237. SizeOffset = Vector2.new(Size, Size)
  238. })
  239. local d = Create("ImageLabel", Bill)({
  240. Parent = Bill,
  241. BackgroundTransparency = 1,
  242. Size = UDim2.new(1, 0, 1, 0),
  243. Image = "rbxassetid://" .. Image
  244. })
  245. return BillPar
  246. end
  247. },
  248. ParticleEmitter = {
  249. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  250. local Particle = Create("ParticleEmitter")({
  251. Parent = Parent,
  252. Color = ColorSequence.new(Color1, Color2),
  253. LightEmission = LightEmission,
  254. Size = Size,
  255. Texture = Texture,
  256. Transparency = Transparency,
  257. ZOffset = ZOffset,
  258. Acceleration = Accel,
  259. Drag = Drag,
  260. LockedToPart = LockedToPart,
  261. VelocityInheritance = VelocityInheritance,
  262. EmissionDirection = EmissionDirection,
  263. Enabled = Enabled,
  264. Lifetime = LifeTime,
  265. Rate = Rate,
  266. Rotation = Rotation,
  267. RotSpeed = RotSpeed,
  268. Speed = Speed,
  269. VelocitySpread = VelocitySpread
  270. })
  271. return Particle
  272. end
  273. },
  274. CreateTemplate = {}
  275. }
  276. function text(Pos, Text, Time, Color)
  277. local Rate = 0.03333333333333333
  278. local Pos = Pos or Vector3.new(0, 0, 0)
  279. local Text = Text or ""
  280. local Time = Time or 2
  281.  
  282. local EffectPart = CFuncs.Part.Create(hed, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  283. EffectPart.Anchored = true
  284. local BillboardGui = Create("BillboardGui")({
  285. Size = UDim2.new(3, 0, 3, 0),
  286. Adornee = EffectPart,
  287. Parent = EffectPart
  288. })
  289. local TextLabel = Create("TextLabel")({
  290. BackgroundTransparency = 1,
  291. Size = UDim2.new(1, 0, 1, 0),
  292. TextSize = 55,
  293. Text = Text,
  294. Font = Enum.Font.Cartoon,
  295. TextColor3 = Color3.fromRGB(255,255,255),
  296. TextScaled = false,
  297. Parent = BillboardGui
  298. })
  299. game.Debris:AddItem(EffectPart, Time)
  300. EffectPart.Parent = game:GetService("Workspace")
  301. delay(0, function()
  302. local Frames = Time / Rate
  303. for Frame = 1, Frames do
  304. wait(Rate)
  305. local Percent = Frame / Frames
  306. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  307. TextLabel.TextTransparency = Percent
  308. end
  309. if EffectPart and EffectPart.Parent then
  310. EffectPart:Destroy()
  311. end
  312. end)
  313. end
  314. ArtificialHB = Instance.new("BindableEvent", script)
  315. ArtificialHB.Name = "ArtificialHB"
  316.  
  317. script:WaitForChild("ArtificialHB")
  318. Frame_Speed = 1 / 60
  319. frame = Frame_Speed
  320. tf = 0
  321. allowframeloss = false
  322. tossremainder = false
  323. lastframe = tick()
  324. script.ArtificialHB:Fire()
  325.  
  326. game:GetService("RunService").Heartbeat:connect(function(s, p)
  327. tf = tf + s
  328. if tf >= frame then
  329. if allowframeloss then
  330. script.ArtificialHB:Fire()
  331. lastframe = tick()
  332. else
  333. for i = 1, math.floor(tf / frame) do
  334. script.ArtificialHB:Fire()
  335. end
  336. lastframe = tick()
  337. end
  338. if tossremainder then
  339. tf = 0
  340. else
  341. tf = tf - frame * math.floor(tf / frame)
  342. end
  343. end
  344. end)
  345.  
  346. function CreateSound(ID, PARENT, VOLUME, PITCH)
  347. --coroutine.resume(coroutine.create(function()
  348. local NEWSOUND = Instance.new("Sound", PARENT)
  349. NEWSOUND.Volume = VOLUME
  350. NEWSOUND.Pitch = PITCH
  351. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  352. NEWSOUND:play()
  353. game:GetService("Debris"):AddItem(NEWSOUND, 100)
  354. return NEWSOUND
  355. --end))
  356. end
  357. function Swait(NUMBER)
  358. if NUMBER == 0 or NUMBER == nil then
  359. ArtificialHB.Event:wait()
  360. else
  361. for i = 1, NUMBER do
  362. ArtificialHB.Event:wait()
  363. end
  364. end
  365. end
  366. function itstimetostop()
  367. sound = true
  368. local snd = Instance.new("Sound",char)
  369. snd.SoundId = "rbxassetid://253729308"
  370. snd.Volume = 100
  371. snd.TimePosition = 0.25
  372. snd.EmitterSize = 350
  373. snd:Play()
  374. text(hed.CFrame * CFrame.new(0, 0, hed.Size.Y / 2).p + Vector3.new(0, 6, 0), "lol m8 u try to kill meh", 2, Color3.fromRGB(255,255,255))
  375. wait(2)
  376. text(hed.CFrame * CFrame.new(0, 0, hed.Size.Y / 2).p + Vector3.new(0, 6, 0), "welp i guess its it for u ", 2, Color3.fromRGB(255,255,255))
  377. wait(2.6)
  378. text(hed.CFrame * CFrame.new(0, 0, hed.Size.Y / 2).p + Vector3.new(0, 6, 0), "GET READY TO DIE", 2, Color3.fromRGB(255,255,255))
  379. sound = false
  380. end
  381. function youbetterstop()
  382. sound = true
  383. local snd = Instance.new("Sound",char)
  384. snd.SoundId = "rbxassetid://200538945"
  385. snd.Volume = 10
  386. snd.TimePosition = 1.2
  387. snd:Play()
  388. snd.EmitterSize = 100
  389. text(hed.CFrame * CFrame.new(0, 0, hed.Size.Y / 2).p + Vector3.new(0, 6, 0), "youbetterstop.mp3", 5.2, Color3.fromRGB(255,255,255))
  390. wait(5.2)
  391. sound = false
  392. end
  393. function ecksdee()
  394. sound = true
  395. local snd = Instance.new("Sound",char)
  396. snd.SoundId = "rbxassetid://130771265"
  397. snd.Volume = 10
  398. snd:Play()
  399. snd.EmitterSize = 150
  400. text(hed.CFrame * CFrame.new(0, 0, hed.Size.Y / 2).p + Vector3.new(0, 6, 0), "EETS", 1, Color3.fromRGB(255,255,255))
  401. wait(0.95)
  402. text(hed.CFrame * CFrame.new(0, 0, hed.Size.Y / 2).p + Vector3.new(0, 6, 0), "FRI", 1, Color3.fromRGB(255,255,255))
  403. sound = false
  404. end
  405. function lukatthisdude()
  406. sound = true
  407. local snd = Instance.new("Sound",char)
  408. snd.SoundId = "rbxassetid://965845438"
  409. snd.Volume = 10
  410. snd:Play()
  411. snd.EmitterSize = 300
  412. text(hed.CFrame * CFrame.new(0, 0, hed.Size.Y / 2).p + Vector3.new(0, 6, 0), "ITS TIME", 27, Color3.fromRGB(4,0,6))
  413. wait(27)
  414. sound = false
  415. end
  416. function stopdespacito()
  417. if despacito.Playing == true then
  418. despacito:Pause()
  419. elseif despacito.Playing == false then
  420. despacito:Play()
  421. end
  422. end
  423. function bruh()
  424. sound = true
  425. local snd = Instance.new("Sound",char)
  426. snd.SoundId = "rbxassetid://430616210"
  427. snd.Volume = 10
  428. snd:Play()
  429. snd.EmitterSize = 150
  430. text(hed.CFrame * CFrame.new(0, 0, hed.Size.Y / 2).p + Vector3.new(0, 6, 0), "RAWR", 1.7, Color3.fromRGB(1,1,1))
  431. wait(1.7)
  432. sound = false
  433. end
  434. SHIELD = false
  435. function shield()
  436. IT = Instance.new
  437. VT = Vector3.new
  438. RootPart = char.HumanoidRootPart
  439. CF = CFrame.new
  440. if SHIELD == false then
  441. SHIELD = true
  442. warn("DED")
  443. coroutine.resume(coroutine.create(function()
  444. local yotengo = IT("Part",char)
  445. yotengo.Size = VT(20,30,0)
  446. yotengo.CFrame = RootPart.CFrame * CF(0,3,-7)
  447. yotengo.Anchored = true
  448. local mesh = IT("SpecialMesh",yotengo)
  449. mesh.MeshType = "FileMesh"
  450. mesh.MeshId = "http://www.roblox.com/asset/?id=1158007"
  451. mesh.TextureId = "http://www.roblox.com/asset/?id=1158415"
  452. mesh.Scale = VT(3,3,3)
  453. CreateSound("176238381", yotengo, 50, 1)
  454. local woosh = yotengo.Touched:Connect(function(hit)
  455. if hit.Parent.ClassName == "Model" then
  456. hit.Parent:BreakJoints()
  457. CreateSound("176238381", hit, 2, 1)
  458. elseif hit.ClassName == "Part" and hit.Anchored == false then
  459. hit:remove()
  460. end
  461. end)
  462. woosh:disconnect()
  463. CreateSound("176238381", yotengo, 50, 1)
  464. yotengo.Anchored = false
  465. local bv = Instance.new("BodyVelocity")
  466. bv.maxForce = Vector3.new(4e9, 4e9, 4e9)
  467. bv.velocity = RootPart.CFrame.lookVector*300
  468. bv.Parent = yotengo
  469. bv.Name = "speedy"
  470. local paw = yotengo.Touched:Connect(function(hit)
  471. if hit.Parent.ClassName == "Model" then
  472. yotengo:remove()
  473. hit.Parent:BreakJoints()
  474. wait(0.1)
  475. hit.Parent:ClearAllChildren()
  476. end
  477. end)
  478. end))
  479. elseif SHIELD == true then
  480. SHIELD = false
  481. end
  482. end
  483. mouse.KeyDown:connect(function(k)
  484. if k == "z" and sound == false then
  485. itstimetostop()
  486. elseif k == "x" and sound == false then
  487. youbetterstop()
  488. elseif k == "c" and sound == false then
  489. ecksdee()
  490. elseif k == "v" and sound == false then
  491. lukatthisdude()
  492. elseif k == "b" then
  493. stopdespacito()
  494. elseif k == "n" and sound == false then
  495. bruh()
  496. elseif k == "q" and sound == true then
  497. print("sounds delay resetted!")
  498. sound = false
  499. elseif k == "f" then
  500. shield()
  501. end
  502. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement