Advertisement
roblox_cal2

make things easier

Jul 21st, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.78 KB | None | 0 0
  1. local StarterGui = game:GetService("StarterGui")
  2.  
  3. function speak(Message, Size)
  4.     repeat
  5.         wait()
  6.         local Success = pcall(function()
  7.             StarterGui:SetCore("ChatMakeSystemMessage", {
  8.                 Text = Message;
  9.                 Color = Color3.fromRGB(0, 255, 255);
  10.                 Font = Enum.Font.SourceSansBold;
  11.                 TextSize = Size
  12.             })
  13.         end)
  14.     until Success
  15. end
  16.  
  17. function colchange(color)
  18.     repeat
  19.         wait()
  20.         local Success = pcall(function()
  21.             cPart.BrickColor = BrickColor.new(color)   
  22.         end)
  23.     until Success
  24. end
  25.  
  26. function tranpc(number)
  27.     repeat
  28.         wait()
  29.         local Success = pcall(function()
  30.             cPart.Transparency = number
  31.         end)
  32.     until Success
  33. end
  34.  
  35. function matchange(material)
  36.     repeat
  37.         wait()
  38.         local Success = pcall(function()
  39.             cPart.Material = material
  40.         end)
  41.     until Success
  42. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement