Advertisement
xiaxiaokid

noob morph

Aug 29th, 2017
489
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 9.49 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("Br. yellowish green")
  46.         LeftLeg.BrickColor = BrickColor.new("Br. yellowish green")
  47.     end
  48. end)
  49. for i,v in pairs(Character:children()) do
  50.     if v:IsA("Hat") then
  51.         v:Destroy()
  52.     end
  53. end
  54. for i,v in pairs(Character:children()) do
  55.     if v:IsA("Accessory") then
  56.         v:Destroy()
  57.     end
  58. end
  59. for i,v in pairs(Character:children()) do
  60.     if v:IsA("Hair") then
  61.         v:Destroy()
  62.     end
  63. end
  64. for i,v in pairs(Character:children()) do
  65.     if v:IsA("Shirt") then
  66.         v:Destroy()
  67.     end
  68. end
  69. for i,v in pairs(Character:children()) do
  70.     if v:IsA("Pants") then
  71.         v:Destroy()
  72.     end
  73. end
  74. for i,v in pairs(Character:children()) do
  75.     if v:IsA("Graphic Shirt") then
  76.         v:Destroy()
  77.     end
  78. end
  79. ArtificialHB = Create("BindableEvent", script){
  80.     Parent = script,
  81.     Name = "Heartbeat",
  82. }
  83.  
  84. script:WaitForChild("Heartbeat")
  85.  
  86. frame = 1 / 30
  87. tf = 0
  88. allowframeloss = false
  89. tossremainder = false
  90. lastframe = tick()
  91. script.Heartbeat:Fire()
  92.  
  93. game:GetService("RunService").Heartbeat:connect(function(s, p)
  94.     tf = tf + s
  95.     if tf >= frame then
  96.         if allowframeloss then
  97.             script.Heartbeat:Fire()
  98.             lastframe = tick()
  99.         else
  100.             for i = 1, math.floor(tf / frame) do
  101.                 script.Heartbeat:Fire()
  102.             end
  103.             lastframe = tick()
  104.         end
  105.         if tossremainder then
  106.             tf = 0
  107.         else
  108.             tf = tf - frame * math.floor(tf / frame)
  109.         end
  110.     end
  111. end)
  112.  
  113. function swait(num)
  114.     if num == 0 or num == nil then
  115.         ArtificialHB.Event:wait()
  116.     else
  117.         for i = 0, num do
  118.             ArtificialHB.Event:wait()
  119.         end
  120.     end
  121. end
  122.  
  123. CFuncs = { 
  124.     ["Part"] = {
  125.         Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  126.             local Part = Create("Part"){
  127.                 Parent = Parent,
  128.                 Reflectance = Reflectance,
  129.                 Transparency = Transparency,
  130.                 CanCollide = false,
  131.                 Locked = true,
  132.                 BrickColor = BrickColor.new(tostring(BColor)),
  133.                 Name = Name,
  134.                 Size = Size,
  135.                 Material = Material,
  136.             }
  137.             RemoveOutlines(Part)
  138.             return Part
  139.         end;
  140.     };
  141.    
  142.     ["Mesh"] = {
  143.         Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  144.             local Msh = Create(Mesh){
  145.                 Parent = Part,
  146.                 Offset = OffSet,
  147.                 Scale = Scale,
  148.             }
  149.             if Mesh == "SpecialMesh" then
  150.                 Msh.MeshType = MeshType
  151.                 Msh.MeshId = MeshId
  152.             end
  153.             return Msh
  154.         end;
  155.     };
  156.    
  157.     ["Mesh"] = {
  158.         Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  159.             local Msh = Create(Mesh){
  160.                 Parent = Part,
  161.                 Offset = OffSet,
  162.                 Scale = Scale,
  163.             }
  164.             if Mesh == "SpecialMesh" then
  165.                 Msh.MeshType = MeshType
  166.                 Msh.MeshId = MeshId
  167.             end
  168.             return Msh
  169.         end;
  170.     };
  171.    
  172.     ["Weld"] = {
  173.         Create = function(Parent, Part0, Part1, C0, C1)
  174.             local Weld = Create("Weld"){
  175.                 Parent = Parent,
  176.                 Part0 = Part0,
  177.                 Part1 = Part1,
  178.                 C0 = C0,
  179.                 C1 = C1,
  180.             }
  181.             return Weld
  182.         end;
  183.     };
  184.  
  185.     ["Sound"] = {
  186.         Create = function(id, par, vol, pit)
  187.             coroutine.resume(coroutine.create(function()
  188.                 local S = Create("Sound"){
  189.                     Volume = vol,
  190.                     Pitch = pit or 1,
  191.                     SoundId = id,
  192.                     Parent = par or workspace,
  193.                 }
  194.                 wait()
  195.                 S:play()
  196.                 game:GetService("Debris"):AddItem(S, 6)
  197.             end))
  198.         end;
  199.     };
  200.    
  201.     ["ParticleEmitter"] = {
  202.         Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  203.             local fp = Create("ParticleEmitter"){
  204.                 Parent = Parent,
  205.                 Color = ColorSequence.new(Color1, Color2),
  206.                 LightEmission = LightEmission,
  207.                 Size = Size,
  208.                 Texture = Texture,
  209.                 Transparency = Transparency,
  210.                 ZOffset = ZOffset,
  211.                 Acceleration = Accel,
  212.                 Drag = Drag,
  213.                 LockedToPart = LockedToPart,
  214.                 VelocityInheritance = VelocityInheritance,
  215.                 EmissionDirection = EmissionDirection,
  216.                 Enabled = Enabled,
  217.                 Lifetime = LifeTime,
  218.                 Rate = Rate,
  219.                 Rotation = Rotation,
  220.                 RotSpeed = RotSpeed,
  221.                 Speed = Speed,
  222.                 VelocitySpread = VelocitySpread,
  223.             }
  224.             return fp
  225.         end;
  226.     };
  227.  
  228.     CreateTemplate = {
  229.    
  230.     };
  231. }
  232.  
  233. function chatfunc(text)
  234. local chat = coroutine.wrap(function()
  235. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  236. Character:FindFirstChild("TalkingBillBoard"):destroy()
  237. end
  238. local naeeym2 = Instance.new("BillboardGui",Character)
  239. naeeym2.Size = UDim2.new(0,100,0,40)
  240. naeeym2.StudsOffset = Vector3.new(0,3,0)
  241. naeeym2.Adornee = Character.Head
  242. naeeym2.Name = "TalkingBillBoard"
  243. local tecks2 = Instance.new("TextLabel",naeeym2)
  244. tecks2.BackgroundTransparency = 1
  245. tecks2.BorderSizePixel = 0
  246. tecks2.Text = ""
  247. tecks2.Font = "Cartoon"
  248. tecks2.TextSize = 30
  249. tecks2.TextStrokeTransparency = 0
  250. tecks2.TextColor3 = Color3.new(.6,0,0)
  251. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  252. tecks2.Size = UDim2.new(1,0,0.5,0)
  253. local tecks3 = Instance.new("TextLabel",naeeym2)
  254. tecks3.BackgroundTransparency = 1
  255. tecks3.BorderSizePixel = 0
  256. tecks3.Text = ""
  257. tecks3.Font = "Cartoon"
  258. tecks3.TextSize = 30
  259. tecks3.TextStrokeTransparency = 0
  260. tecks3.TextColor3 = BrickColor.new("Hot white").Color
  261. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  262. tecks3.Size = UDim2.new(1,0,0.5,0)
  263. spawn(function()
  264.     while wait() do
  265.         tecks3.TextColor3 = BrickColor.random().Color
  266.         tecks2.TextColor3 = BrickColor.random().Color
  267.     end
  268. end)
  269. for i = 1,string.len(text),1 do
  270. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=178104975", Character, 1, 1)
  271. tecks2.Text = string.sub(text,1,i)
  272. tecks3.Text = string.sub(text,1,i)
  273. wait(0.01)
  274. end
  275. wait(2)
  276. for i = 1, 50 do
  277. swait()
  278. tecks2.Position = tecks2.Position - UDim2.new(math.random(-1,1),math.random(-5,5),.05,math.random(-5,5))
  279. tecks2.Rotation = tecks2.Rotation - .8
  280. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  281. tecks2.TextTransparency = tecks2.TextTransparency + .04
  282. tecks3.Position = tecks2.Position - UDim2.new(math.random(-1,1),math.random(-5,5),.05,math.random(-5,5))
  283. tecks3.Rotation = tecks2.Rotation + .8
  284. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  285. tecks3.TextTransparency = tecks2.TextTransparency + .04
  286. end
  287. naeeym2:Destroy()
  288. end)
  289. chat()
  290. end
  291. function onChatted(msg)
  292. chatfunc(msg)
  293. end
  294. Player.Chatted:connect(onChatted)
  295.  
  296. abss = Instance.new("BillboardGui",Character)
  297. abss.Size = UDim2.new(10,0,10,0)
  298. abss.Enabled = false
  299. imgl = Instance.new("ImageLabel",abss)
  300. imgl.Position = UDim2.new(0,0,0,0)
  301. imgl.Size = UDim2.new(1,0,1,0)
  302. imgl.Image = "rbxassetid://183711814"
  303. imgl.BackgroundTransparency = 1
  304. imgl.ImageColor3 = Color3.new(.9,0,0)
  305. img2 = Instance.new("ImageLabel",abss)
  306. img2.Position = UDim2.new(0,0,0,0)
  307. img2.Size = UDim2.new(1,0,1,0)
  308. img2.Image = "rbxassetid://183711814"
  309. img2.BackgroundTransparency = 1
  310. img2.ImageColor3 = Color3.new(.9,0,0)
  311. spawn(function()
  312.     while wait() do
  313.         imgl.ImageColor3 = BrickColor.random().Color
  314.         img2.ImageColor3 = BrickColor.random().Color
  315.     end
  316. end)
  317.  
  318. spawn(function()
  319. chatfunc("Noob morph By xiaxiaokid")
  320. wait(3)
  321. chatfunc("Modified Date : 08/30/2017")
  322. wait(3)
  323. chatfunc("Original Script : Noobcider")
  324. wait(3)
  325. chatfunc("Have Fun!1!!")
  326. end)
  327.  
  328. function ofmoosic() -- 2 lazi hoh
  329. delays = true
  330. while wait() and kkk and kkk.Volume >= 0.02 do
  331.     kkk.Volume = kkk.Volume - 3
  332. end
  333. wait(0.1)
  334. kkk.Pitch = 0
  335. kkk.PlaybackSpeed = 0
  336. play = false
  337. delays = false
  338. end
  339. function onmoosic()
  340. delays = true
  341. kkk.Pitch = 1
  342. kkk.PlaybackSpeed = 1
  343. while wait() and kkk and kkk.Volume <= 1.5 do
  344.     kkk.Volume = kkk.Volume + 3
  345. end
  346. wait(0.1)
  347. play = true
  348. delays = false
  349. end
  350.  
  351. Mouse.KeyDown:connect(function(k)
  352.     k = k:lower()
  353.     if k == 'g' and delays == false then
  354.     delays = true
  355.     chatfunc("Finally!")
  356.     wait(3)
  357.     chatfunc("i pay 999 tix for dis skript.")
  358.     wait(4)
  359.     chatfunc("Now let testing!")
  360.     delays = false
  361.     elseif k == 'm' and play == true and delays == false then
  362.     ofmoosic()
  363.     chatfunc("music : off")
  364.     elseif k == 'm' and play == false and delays == false then
  365.     onmoosic()
  366.     chatfunc("music : on")
  367.     end
  368. end)
  369.  
  370. kkk = Instance.new("Sound",Character)
  371. kkk.Volume = 3
  372. kkk.Pitch = 1
  373. kkk.SoundId = "rbxassetid://494244670"
  374. kkk:Play()
  375. kkk.Name = "a"
  376. kkk.Looped = true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement