Advertisement
Silly_Guy

Toy story Rex virus (FINAL WARMUP)

Nov 24th, 2024 (edited)
15
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.58 KB | None | 0 0
  1. -- This is the final warmup until i will start working on Builderman virus V.2.4
  2. -- Sorry everyone. I made a little mistake on the soundID. It should be fixed.
  3.  
  4.  
  5. -- Configuration --
  6. local servermessagetext = "THIS GAME WAS DESTROYED BY THE REX VIRUS" -- Put your message here.
  7. local textmessage = "RAAAAAAAAAA!!!!!!!!!!!!" -- Put your message here. The RAAAAAAA text is an example.
  8. local SoundID = "rbxassetid://12221944" -- The sound ID you will use for the sound.
  9.  
  10. -- Don't touch this unless if you know what you are doing. --
  11.  
  12. game.Lighting:ClearAllChildren()
  13. local message = Instance.new("Hint")
  14. message.Parent = workspace
  15. message.Text = servermessagetext
  16. for i, v in pairs(workspace:GetDescendants()) do
  17. if v:IsA("BasePart") and v.Parent:IsA("Model") then
  18. local sound = Instance.new("Sound")
  19. local loud = Instance.new("DistortionSoundEffect")
  20. loud.Parent = sound
  21. loud.Level = 0.99
  22. sound.Parent = v
  23. sound.SoundId = SoundID
  24. sound.RollOffMaxDistance = 1200
  25. sound.Looped = true
  26. sound.Volume = 10
  27. sound:Play()
  28. v.Name = "Uh"
  29. local decalspam1 = Instance.new("Decal")
  30. decalspam1.Parent = v
  31. decalspam1.Texture = "http://www.roblox.com/asset/?id=103859191443110"
  32. decalspam1.Face = "Top"
  33. decalspam1.ZIndex = 99
  34. local decalspam2 = Instance.new("Decal")
  35. decalspam2.Parent = v
  36. decalspam2.Texture = "http://www.roblox.com/asset/?id=103859191443110"
  37. decalspam2.Face = "Bottom"
  38. decalspam2.ZIndex = 99
  39. local decalspam3 = Instance.new("Decal")
  40. decalspam3.Parent = v
  41. decalspam3.Texture = "http://www.roblox.com/asset/?id=103859191443110"
  42. decalspam3.Face = "Left"
  43. decalspam3.ZIndex = 99
  44. local decalspam4 = Instance.new("Decal")
  45. decalspam4.Parent = v
  46. decalspam4.Texture = "http://www.roblox.com/asset/?id=103859191443110"
  47. decalspam4.Face = "Right"
  48. decalspam4.ZIndex = 99
  49. local decalspam5 = Instance.new("Decal")
  50. decalspam5.Parent = v
  51. decalspam5.Texture = "http://www.roblox.com/asset/?id=103859191443110"
  52. decalspam5.Face = "Front"
  53. decalspam5.ZIndex = 99
  54. local decalspam6 = Instance.new("Decal")
  55. decalspam6.Parent = v
  56. decalspam6.Texture = "http://www.roblox.com/asset/?id=103859191443110"
  57. decalspam6.Face = "Back"
  58. decalspam6.ZIndex = 99
  59. v.Anchored = true
  60. v.Color = Color3.new(0.0588235, 0.380392, 0)
  61. v.Orientation = Vector3.new(math.random(-360,360),math.random(-360,360),math.random(-360,360))
  62. v.Position = Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))
  63. local bill = Instance.new("BillboardGui")
  64. local text = Instance.new("TextLabel")
  65. text.TextColor3 = Color3.new(0, 0, 0)
  66. bill.Parent = v
  67. bill.Adornee = v
  68. text.Parent = bill
  69. text.Size = UDim2.new(0,200,0,200)
  70. bill.Size = UDim2.new(0,200,0,200)
  71. text.BackgroundTransparency = 1
  72. text.Text = textmessage
  73. text.TextScaled = true
  74. bill.AlwaysOnTop = true
  75. local message = Instance.new("Hint")
  76. message.Parent = workspace
  77. message.Text = servermessagetext
  78. local outline = Instance.new("SelectionBox")
  79. outline.Adornee = v
  80. outline.Parent = v
  81. outline.Color3 = Color3.new(0.00784314, 0.486275, 0)
  82. local skybox = Instance.new("Sky")
  83. skybox.Parent = game.Lighting
  84. skybox.SkyboxUp = "http://www.roblox.com/asset/?id=103859191443110"
  85. skybox.SkyboxBk = "http://www.roblox.com/asset/?id=103859191443110"
  86. skybox.SkyboxRt = "http://www.roblox.com/asset/?id=103859191443110"
  87. skybox.SkyboxLf = "http://www.roblox.com/asset/?id=103859191443110"
  88. skybox.SkyboxFt = "http://www.roblox.com/asset/?id=103859191443110"
  89. skybox.SkyboxDn = "http://www.roblox.com/asset/?id=103859191443110"
  90. end
  91. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement