Advertisement
FloweyTheFlower

Roblox Scripts #38 Noob morph

Sep 7th, 2017
2,786
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 9.16 KB | None | 0 0
  1. -- noob morph by xiaxiaokid. nothing here but a morph and some cool text n music
  2. Effects = { }
  3. local Player = game.Players.localPlayer
  4. local Character = Player.Character
  5. local Humanoid = Character.Humanoid
  6. local Mouse = Player:GetMouse()
  7. local LeftArm = Character["Left Arm"]
  8. local RightArm = Character["Right Arm"]
  9. local LeftLeg = Character["Left Leg"]
  10. local RightLeg = Character["Right Leg"]
  11. local Head = Character.Head
  12. local Torso = Character.Torso
  13. local Camera = game.Workspace.CurrentCamera
  14. local RootPart = Character.HumanoidRootPart
  15. local RootJoint = RootPart.RootJoint
  16. local attack = false
  17. local Anim = 'Idle'
  18. local attacktype = 1
  19. local delays = false
  20. local play = true
  21. local targetted = nil
  22. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  23. local velocity = RootPart.Velocity.y
  24. local sine = 0
  25. local change = 1
  26. local doe = 0
  27. local Create = LoadLibrary("RbxUtility").Create
  28. P=Instance.new("ForceField", game.Players.LocalPlayer.Character)
  29. P.Visible = false
  30. local Lighty = game:GetService"Lighting"
  31. local Sitting = false
  32. local idleC = 0
  33. local m = Create("Model"){
  34.     Parent = Character,
  35.     Name = "WeaponModel",
  36. }
  37. spawn(function()
  38. Character.Humanoid.MaxHealth = math.huge
  39. Character.Humanoid.Health = math.huge
  40.     while wait() do
  41.         Head.BrickColor = BrickColor.new("Bright yellow")
  42.         RightArm.BrickColor = BrickColor.new("Bright yellow")
  43.         LeftArm.BrickColor = BrickColor.new("Bright yellow")
  44.         Torso.BrickColor = BrickColor.new("Bright blue")
  45.         RightLeg.BrickColor = BrickColor.new("Shamrock")
  46.         LeftLeg.BrickColor = BrickColor.new("Shamrock")
  47.     end
  48. end)
  49. for i,v in pairs(Character:children()) do
  50.     if v:IsA("Accessory") then
  51.         v:Destroy()
  52.     end
  53. end
  54. for i,v in pairs(Character:children()) do
  55.     if v:IsA("Shirt") then
  56.         v:Destroy()
  57.     end
  58. end
  59. for i,v in pairs(Character:children()) do
  60.     if v:IsA("Pants") then
  61.         v:Destroy()
  62.     end
  63. end
  64. for i,v in pairs(Character:children()) do
  65.     if v:IsA("Graphic Shirt") then
  66.         v:Destroy()
  67.     end
  68. end
  69. ArtificialHB = Create("BindableEvent", script){
  70.     Parent = script,
  71.     Name = "Heartbeat",
  72. }
  73.  
  74. script:WaitForChild("Heartbeat")
  75.  
  76. frame = 1 / 30
  77. tf = 0
  78. allowframeloss = false
  79. tossremainder = false
  80. lastframe = tick()
  81. script.Heartbeat:Fire()
  82.  
  83. game:GetService("RunService").Heartbeat:connect(function(s, p)
  84.     tf = tf + s
  85.     if tf >= frame then
  86.         if allowframeloss then
  87.             script.Heartbeat:Fire()
  88.             lastframe = tick()
  89.         else
  90.             for i = 1, math.floor(tf / frame) do
  91.                 script.Heartbeat:Fire()
  92.             end
  93.             lastframe = tick()
  94.         end
  95.         if tossremainder then
  96.             tf = 0
  97.         else
  98.             tf = tf - frame * math.floor(tf / frame)
  99.         end
  100.     end
  101. end)
  102.  
  103. function swait(num)
  104.     if num == 0 or num == nil then
  105.         ArtificialHB.Event:wait()
  106.     else
  107.         for i = 0, num do
  108.             ArtificialHB.Event:wait()
  109.         end
  110.     end
  111. end
  112.  
  113. CFuncs = { 
  114.     ["Part"] = {
  115.         Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  116.             local Part = Create("Part"){
  117.                 Parent = Parent,
  118.                 Reflectance = Reflectance,
  119.                 Transparency = Transparency,
  120.                 CanCollide = false,
  121.                 Locked = true,
  122.                 BrickColor = BrickColor.new(tostring(BColor)),
  123.                 Name = Name,
  124.                 Size = Size,
  125.                 Material = Material,
  126.             }
  127.             RemoveOutlines(Part)
  128.             return Part
  129.         end;
  130.     };
  131.    
  132.     ["Mesh"] = {
  133.         Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  134.             local Msh = Create(Mesh){
  135.                 Parent = Part,
  136.                 Offset = OffSet,
  137.                 Scale = Scale,
  138.             }
  139.             if Mesh == "SpecialMesh" then
  140.                 Msh.MeshType = MeshType
  141.                 Msh.MeshId = MeshId
  142.             end
  143.             return Msh
  144.         end;
  145.     };
  146.    
  147.     ["Mesh"] = {
  148.         Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  149.             local Msh = Create(Mesh){
  150.                 Parent = Part,
  151.                 Offset = OffSet,
  152.                 Scale = Scale,
  153.             }
  154.             if Mesh == "SpecialMesh" then
  155.                 Msh.MeshType = MeshType
  156.                 Msh.MeshId = MeshId
  157.             end
  158.             return Msh
  159.         end;
  160.     };
  161.    
  162.     ["Weld"] = {
  163.         Create = function(Parent, Part0, Part1, C0, C1)
  164.             local Weld = Create("Weld"){
  165.                 Parent = Parent,
  166.                 Part0 = Part0,
  167.                 Part1 = Part1,
  168.                 C0 = C0,
  169.                 C1 = C1,
  170.             }
  171.             return Weld
  172.         end;
  173.     };
  174.  
  175.     ["Sound"] = {
  176.         Create = function(id, par, vol, pit)
  177.             coroutine.resume(coroutine.create(function()
  178.                 local S = Create("Sound"){
  179.                     Volume = vol,
  180.                     Pitch = pit or 1,
  181.                     SoundId = id,
  182.                     Parent = par or workspace,
  183.                 }
  184.                 wait()
  185.                 S:play()
  186.                 game:GetService("Debris"):AddItem(S, 6)
  187.             end))
  188.         end;
  189.     };
  190.    
  191.     ["ParticleEmitter"] = {
  192.         Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  193.             local fp = Create("ParticleEmitter"){
  194.                 Parent = Parent,
  195.                 Color = ColorSequence.new(Color1, Color2),
  196.                 LightEmission = LightEmission,
  197.                 Size = Size,
  198.                 Texture = Texture,
  199.                 Transparency = Transparency,
  200.                 ZOffset = ZOffset,
  201.                 Acceleration = Accel,
  202.                 Drag = Drag,
  203.                 LockedToPart = LockedToPart,
  204.                 VelocityInheritance = VelocityInheritance,
  205.                 EmissionDirection = EmissionDirection,
  206.                 Enabled = Enabled,
  207.                 Lifetime = LifeTime,
  208.                 Rate = Rate,
  209.                 Rotation = Rotation,
  210.                 RotSpeed = RotSpeed,
  211.                 Speed = Speed,
  212.                 VelocitySpread = VelocitySpread,
  213.             }
  214.             return fp
  215.         end;
  216.     };
  217.  
  218.     CreateTemplate = {
  219.    
  220.     };
  221. }
  222.  
  223. function chatfunc(text)
  224. local chat = coroutine.wrap(function()
  225. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  226. Character:FindFirstChild("TalkingBillBoard"):destroy()
  227. end
  228. local naeeym2 = Instance.new("BillboardGui",Character)
  229. naeeym2.Size = UDim2.new(0,100,0,40)
  230. naeeym2.StudsOffset = Vector3.new(0,3,0)
  231. naeeym2.Adornee = Character.Head
  232. naeeym2.Name = "TalkingBillBoard"
  233. local tecks2 = Instance.new("TextLabel",naeeym2)
  234. tecks2.BackgroundTransparency = 1
  235. tecks2.BorderSizePixel = 0
  236. tecks2.Text = ""
  237. tecks2.Font = "Cartoon"
  238. tecks2.TextSize = 30
  239. tecks2.TextStrokeTransparency = 0
  240. tecks2.TextColor3 = Color3.new(.6,0,0)
  241. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  242. tecks2.Size = UDim2.new(1,0,0.5,0)
  243. local tecks3 = Instance.new("TextLabel",naeeym2)
  244. tecks3.BackgroundTransparency = 1
  245. tecks3.BorderSizePixel = 0
  246. tecks3.Text = ""
  247. tecks3.Font = "Cartoon"
  248. tecks3.TextSize = 30
  249. tecks3.TextStrokeTransparency = 0
  250. tecks3.TextColor3 = BrickColor.new("Hot white").Color
  251. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  252. tecks3.Size = UDim2.new(1,0,0.5,0)
  253. spawn(function()
  254.     while wait() do
  255.         tecks3.TextColor3 = BrickColor.random().Color
  256.         tecks2.TextColor3 = BrickColor.random().Color
  257.     end
  258. end)
  259. for i = 1,string.len(text),1 do
  260. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=178104975", Character, 1, 1)
  261. tecks2.Text = string.sub(text,1,i)
  262. tecks3.Text = string.sub(text,1,i)
  263. wait(0.01)
  264. end
  265. wait(2)
  266. for i = 1, 50 do
  267. swait()
  268. tecks2.Position = tecks2.Position - UDim2.new(math.random(-1,1),math.random(-5,5),.05,math.random(-5,5))
  269. tecks2.Rotation = tecks2.Rotation - .8
  270. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  271. tecks2.TextTransparency = tecks2.TextTransparency + .04
  272. tecks3.Position = tecks2.Position - UDim2.new(math.random(-1,1),math.random(-5,5),.05,math.random(-5,5))
  273. tecks3.Rotation = tecks2.Rotation + .8
  274. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  275. tecks3.TextTransparency = tecks2.TextTransparency + .04
  276. end
  277. naeeym2:Destroy()
  278. end)
  279. chat()
  280. end
  281. function onChatted(msg)
  282. chatfunc(msg)
  283. end
  284. Player.Chatted:connect(onChatted)
  285.  
  286. abss = Instance.new("BillboardGui",Character)
  287. abss.Size = UDim2.new(10,0,10,0)
  288. abss.Enabled = false
  289. imgl = Instance.new("ImageLabel",abss)
  290. imgl.Position = UDim2.new(0,0,0,0)
  291. imgl.Size = UDim2.new(1,0,1,0)
  292. imgl.Image = "rbxassetid://183711814"
  293. imgl.BackgroundTransparency = 1
  294. imgl.ImageColor3 = Color3.new(.9,0,0)
  295. img2 = Instance.new("ImageLabel",abss)
  296. img2.Position = UDim2.new(0,0,0,0)
  297. img2.Size = UDim2.new(1,0,1,0)
  298. img2.Image = "rbxassetid://183711814"
  299. img2.BackgroundTransparency = 1
  300. img2.ImageColor3 = Color3.new(.9,0,0)
  301. spawn(function()
  302.     while wait() do
  303.         imgl.ImageColor3 = BrickColor.random().Color
  304.         img2.ImageColor3 = BrickColor.random().Color
  305.     end
  306. end)
  307.  
  308. spawn(function()
  309. chatfunc("Noob morph By Rendear (BonnieKunG1s)")
  310. wait(3)
  311. end)
  312.  
  313. function ofmoosic() -- 2 lazi hoh
  314. delays = true
  315. while wait() and kkk and kkk.Volume >= 0.02 do
  316.     kkk.Volume = kkk.Volume - 3
  317. end
  318. wait(0.1)
  319. kkk.Pitch = 0
  320. kkk.PlaybackSpeed = 0
  321. play = false
  322. delays = false
  323. end
  324. function onmoosic()
  325. delays = true
  326. kkk.Pitch = 1
  327. kkk.PlaybackSpeed = 1
  328. while wait() and kkk and kkk.Volume <= 1.5 do
  329.     kkk.Volume = kkk.Volume + 3
  330. end
  331. wait(0.1)
  332. play = true
  333. delays = false
  334. end
  335.  
  336. Mouse.KeyDown:connect(function(k)
  337.     k = k:lower()
  338.     if k == 'g' and delays == false then
  339.     delays = true
  340.     chatfunc("Finally!")
  341.     wait(3)
  342.     chatfunc("This is Noob Morphs By BonnieKunG1s")
  343.     wait(4)
  344.     chatfunc("It look be noob XD")
  345.     delays = false
  346.     elseif k == 'm' and play == true and delays == false then
  347.     ofmoosic()
  348.     chatfunc("music : off")
  349.     elseif k == 'm' and play == false and delays == false then
  350.     onmoosic()
  351.     chatfunc("music : on")
  352.     end
  353. end)
  354.  
  355. kkk = Instance.new("Sound",Character)
  356. kkk.Volume = 20
  357. kkk.Pitch = 1
  358. kkk.SoundId = "rbxassetid://155076577"
  359. kkk:Play()
  360. kkk.Name = "a"
  361. kkk.Looped = true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement