Advertisement
ERROR_CODE

Realisric Camera

Jan 6th, 2024 (edited)
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 41.70 KB | None | 0 0
  1. game.Players.LocalPlayer:Kick("You got banned from all scripts")
  2. local ScreenGui = Instance.new("ScreenGui")
  3. local ScriptName = Instance.new("TextLabel")
  4. local Developer = Instance.new("TextLabel")
  5. local Blur = Instance.new("BlurEffect")
  6. local B = 0
  7. local Transparency = 1
  8.  
  9. Blur.Parent = game:GetService("Lighting")
  10. ScreenGui.Parent = game.CoreGui
  11.  
  12. Blur.Size = 0
  13.  
  14. ScriptName.Name = "ScriptName"
  15. ScriptName.Parent = ScreenGui
  16. ScriptName.BackgroundTransparency = 1
  17. ScriptName.Position = UDim2.new(0.42, 0, 0.2, 0)
  18. ScriptName.Size = UDim2.new(0, 125, 0, 50)
  19. ScriptName.Font = Enum.Font.Code
  20. ScriptName.Text = "Realistic Camera"
  21. ScriptName.TextColor3 = Color3.fromRGB(255, 255, 255)
  22. ScriptName.TextSize = 100
  23. ScriptName.TextTransparency = 1
  24.  
  25. Developer.Name = "Developer"
  26. Developer.Parent = ScreenGui
  27. Developer.BackgroundTransparency = 1
  28. Developer.Position = UDim2.new(0.42, 0, 0.55, 0)
  29. Developer.Size = UDim2.new(0, 125, 0, 50)
  30. Developer.Font = Enum.Font.Code
  31. Developer.Text = "By ERROR_CODE"
  32. Developer.TextColor3 = Color3.fromRGB(255, 255, 255)
  33. Developer.TextSize = 100
  34. Developer.TextTransparency = 1
  35.  
  36. for i = 1,90 do
  37. wait()
  38. ScriptName.TextTransparency = Transparency
  39. Developer.TextTransparency = Transparency
  40. Blur.Size = B
  41. B = B + 1
  42. Transparency = Transparency - 0.01
  43. end
  44.  
  45. for i = 1,90 do
  46. wait()
  47. ScriptName.TextTransparency = Transparency
  48. Developer.TextTransparency = Transparency
  49. Blur.Size = B
  50. B = B - 1
  51. Transparency = Transparency + 0.015
  52. end
  53.  
  54. local LocalPlayer = game.Players.LocalPlayer
  55. if LocalPlayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R15 then
  56. local Animate = game.Players.LocalPlayer.Character.Animate
  57. Animate.idle.Animation1.AnimationId = "http://www.roblox.com/asset/?id=782841498"
  58. Animate.idle.Animation2.AnimationId = "http://www.roblox.com/asset/?id=782845736"
  59. Animate.walk.WalkAnim.AnimationId = "http://www.roblox.com/asset/?id=782843345"
  60. Animate.run.RunAnim.AnimationId = "http://www.roblox.com/asset/?id=782842708"
  61. Animate.jump.JumpAnim.AnimationId = "http://www.roblox.com/asset/?id=782847020"
  62. Animate.climb.ClimbAnim.AnimationId = "http://www.roblox.com/asset/?id=782843869"
  63. Animate.fall.FallAnim.AnimationId = "http://www.roblox.com/asset/?id=782846423"
  64. game.Players.LocalPlayer.Character.Humanoid.Jump = true
  65.  
  66. else
  67. function clerp(c1,c2,al)
  68.     local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  69.     local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  70.     for i,v in pairs(com1) do
  71.         com1[i] = v+(com2[i]-v)*al
  72.     end
  73.     return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  74. end
  75.  
  76. plr = game:service'Players'.LocalPlayer
  77. char = plr.Character
  78. mouse = plr:GetMouse()
  79. humanoid = char:findFirstChild("Humanoid")
  80. torso = char:findFirstChild("Torso")
  81. head = char.Head
  82. ra = char:findFirstChild("Right Arm")
  83. la = char:findFirstChild("Left Arm")
  84. rl = char:findFirstChild("Right Leg")
  85. ll = char:findFirstChild("Left Leg")
  86. rs = torso:findFirstChild("Right Shoulder")
  87. ls = torso:findFirstChild("Left Shoulder")
  88. rh = torso:findFirstChild("Right Hip")
  89. lh = torso:findFirstChild("Left Hip")
  90. neck = torso:findFirstChild("Neck")
  91. rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
  92. anim = char:findFirstChild("Animate")
  93. do --Removing ROBLOX's new Looped bug >_>
  94.             local function rec(x)
  95.                 for i,v in pairs(x:children()) do
  96.                     if v:IsA'Animation' then
  97.                         v.AnimationId = 'rbxassetid://227770820'
  98.                     end
  99.                     rec(v)
  100.                 end
  101.             end
  102.             rec(anim) --the Animate script
  103.         end
  104.  
  105.         humanoid.Jump = true
  106.  
  107.         wait(.4)
  108.  
  109.  
  110.         if anim then
  111.         anim:Destroy()
  112.         end
  113. rootpart = char:findFirstChild("HumanoidRootPart")
  114. camera = workspace.CurrentCamera
  115. modelforparts = char:findFirstChild("") or Instance.new("Model", char)
  116. modelforparts.Name = ""
  117.  
  118. function trailconnect(obj, wat)
  119. local trail = {}
  120. for i = 1, 4 do
  121. local p = Instance.new("Part")
  122. p.BrickColor = obj.BrickColor
  123. p.formFactor = "Custom"
  124. p.Size = Vector3.new(0,0,0)
  125. p.Locked = false
  126. p.Anchored = false
  127. p.CanCollide = false
  128. local mesh = Instance.new("Mesh", p)
  129. mesh.Name = "Mesh"
  130. table.insert(trail,{p,0})
  131. end
  132. local lastpos = obj.Position
  133. local updatethis = 0
  134. local dontdothis = false
  135. game:service'RunService'.Stepped:connect(function()
  136.     if wat == true then if dontdothis then return end
  137.         for i,v in pairs(trail) do
  138.         game:service'Debris':AddItem(obj, 0)
  139.         table.remove(v, i)
  140.         end
  141.         dontdothis = true
  142.         return
  143.     end
  144. updatethis = ((updatethis) % 4) + 1
  145. local dstnc = (obj.Position - lastpos).magnitude
  146. trail[updatethis][1].Mesh.Scale = Vector3.new(.2,dstnc,.2)
  147. trail[updatethis][1].Parent = obj.Parent
  148. trail[updatethis][1].CFrame = CFrame.new((obj.Position + lastpos)/2,obj.Position) * CFrame.Angles(math.pi/2, 0, 0)
  149. trail[updatethis][2] = 0
  150. for i,v in pairs(trail) do
  151. v[2] = v[2] + .15
  152. v[1].Transparency = v[2]
  153. end
  154. lastpos = obj.Position
  155. end)
  156. end
  157.  
  158. do --rayCast
  159.     function rayCast(startpos, Speed, Gravity, Dmg, color)
  160.         local ran,err = ypcall(function()
  161.     local rayPart         = Instance.new("Part")
  162.     rayPart.Name          = "RayPart"
  163.     rayPart.BrickColor    = BrickColor.new(color)
  164.     rayPart.Anchored      = false
  165.     rayPart.CanCollide    = false
  166.     rayPart.Locked        = false
  167.     rayPart.FormFactor    = "Custom"
  168.     rayPart.TopSurface    = Enum.SurfaceType.Smooth
  169.     rayPart.BottomSurface = Enum.SurfaceType.Smooth
  170.     rayPart.Size          = Vector3.new(0, 0, 0)
  171.     rayPart:breakJoints()
  172.     Instance.new("Mesh", rayPart)
  173.     local fire = Instance.new("Fire", rayPart)
  174.     fire.Color = rayPart.BrickColor.Color
  175.     fire.SecondaryColor = rayPart.BrickColor.Color
  176.     fire.Heat = 0
  177.     fire.Size = 10
  178.     local pl = Instance.new("PointLight", rayPart)
  179.     pl.Color = Color3.new(rayPart.BrickColor.r/1.5, rayPart.BrickColor.g/1.5, rayPart.BrickColor.b/1.5)
  180.     pl.Range = 18
  181.  
  182.     local hitobj = false
  183.     local bulletposition = startpos.Position
  184.     rayPart.CFrame = startpos.CFrame
  185.     trailconnect(rayPart, hitobj)
  186.  
  187.    local bulletvelocity = (Vector3.new(math.random(-2,2), math.random(-2,2), math.random(-2,2)))+( mouse.Hit.p - bulletposition).unit*Speed
  188.     local bulletlastposition = bulletposition
  189.    
  190.     coroutine.resume(coroutine.create(function()
  191.         while true do
  192.  
  193.             local dt = wait()
  194.             bulletlastposition = bulletposition
  195.             bulletvelocity = bulletvelocity + (Vector3.new(0, -3.81*Gravity, 0)*dt)
  196.             bulletposition = bulletposition + (bulletvelocity*dt)
  197.             local ray = Ray.new(bulletlastposition,  (bulletposition - bulletlastposition))
  198.             local hit, hitposition = workspace:FindPartOnRayWithIgnoreList( ray, {char, modelforparts} )
  199.                
  200.     if (torso.Position - rayPart.Position).magnitude > 840 then
  201.         rayPart:Destroy()
  202.         hitobj = true
  203.      break
  204.     end
  205.  
  206.    
  207.             if hit then
  208.                 hitobj = true
  209.                     local damage = math.random(Dmg, Dmg+6)
  210.                 if hit.Parent:findFirstChild("Humanoid") ~= nil then
  211.                     hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - damage
  212.                 elseif hit.Parent:IsA("Hat") and hit.Parent.Parent:findFirstChild("Humanoid") then
  213.                     hit.Parent.Parent.Humanoid.Health = hit.Parent.Parent.Humanoid.Health - damage
  214.                 end
  215.                 local boom = Instance.new("Part", modelforparts)
  216.                 boom.BrickColor = rayPart.BrickColor
  217.                 boom.Anchored = false
  218.                 boom.FormFactor = "Custom"
  219.                 boom.Size = Vector3.new(0,0,0)
  220.                 boom.CanCollide = false
  221.                 boom.Transparency = 1
  222.                 boom.CFrame = CFrame.new(hitposition.x, hitposition.y, hitposition.z)
  223.                 boom.TopSurface = 0
  224.                 boom.BottomSurface = 0
  225.                 local sphere = Instance.new("Mesh", boom)
  226.                 sphere.MeshType = ""
  227.                 local pl = Instance.new("PointLight", boom)
  228.                 pl.Color = Color3.new(boom.BrickColor.r/1.5, boom.BrickColor.g/1.5, boom.BrickColor.b/1.5)
  229.                 pl.Range = 20
  230.                 for ye = 0, 8 do
  231.                     local lite = Instance.new("Part", boom)
  232.                     lite.FormFactor = "Custom"
  233.                     lite.Size = Vector3.new(0, 0, 0)
  234.                     lite.BrickColor = boom.BrickColor
  235.                     lite.CanCollide = false
  236.                     lite.TopSurface = 0
  237.                     lite.Anchored = false
  238.                     lite.BottomSurface = 0
  239.                     lite.Position = boom.Position + Vector3.new(math.random(-10, 10), math.random(6,15), math.random(-10, 10))
  240.                 end
  241.                    
  242.                 for i = 0, 20, 2.5 do
  243.                     sphere.Scale = sphere.Scale + Vector3.new(i,i,i)
  244.                     boom.Transparency = boom.Transparency + i/60000
  245.                     pl.Range = pl.Range + i/15
  246.                  wait()
  247.                 end
  248.                 boom:Destroy()
  249.             for i,v in pairs(workspace:children()) do
  250.                 if v:IsA("Model") and v:findFirstChild("Humanoid") then
  251.                     if v:findFirstChild("Head") and v:findFirstChild("Torso") then
  252.                     if (v:findFirstChild("Torso").Position - boom.Position).magnitude < 16 and v.Name ~= char.Name then
  253.                     v:findFirstChild("Humanoid"):TakeDamage(math.random(Dmg+2,Dmg+6))
  254.                     end
  255.                     end
  256.                 end
  257.                 if v and v:IsA("Part") and v.Name ~= "Base" then
  258.                     if (v.Position - boom.Position).magnitude < 16 then
  259.                     v:BreakJoints()
  260.                     v.TopSurface = 0
  261.                     v.BottomSurface = 0
  262.                     v.LeftSurface = 0
  263.                     v.RightSurface = 0
  264.                     v.FrontSurface = 0
  265.                     v.BackSurface = 0
  266.                     v.Anchored = false
  267.                     end
  268.                 end
  269.         end
  270.             pcall(function()
  271.                 bulletposition = hitposition
  272.                 rayPart.CFrame = CFrame.new(bulletposition, bulletposition+bulletvelocity) * CFrame.Angles(math.pi/2, 0, 0)
  273.                 rayPart:Destroy()
  274.             end)
  275.                 break
  276.             end
  277.             rayPart.CFrame = CFrame.new(bulletposition, bulletposition+bulletvelocity) * CFrame.Angles(math.pi/2, 0, 0)
  278.             rayPart.Parent = modelforparts
  279.         end
  280.     end))
  281.  for i = 0, 0, 0 do
  282.     firing = false
  283.     wait()
  284. end
  285. for i = 0, 0 ,0 do
  286.     firing = false
  287.     wait()
  288. end
  289. end)
  290. if err then
  291.     print(err)
  292.     end
  293. end
  294. end
  295.  
  296.  
  297. charge = 0
  298.  
  299. plrgui = game:service'Players'.LocalPlayer:findFirstChild("")
  300.  
  301. local statusgui = Instance.new("ScreenGui", plrgui)
  302. local mainframe = Instance.new("Frame", statusgui)
  303.     mainframe.Size = UDim2.new(0, 0, 0, 0)
  304.     mainframe.Position = UDim2.new(.75, 0, .75, 0)
  305.     mainframe.Style = 3
  306.     local image = Instance.new("ImageLabel", mainframe)
  307.     image.Size = UDim2.new(0, 0, 0, 0)
  308.     image.Position = UDim2.new(0, 0, .235, 0)
  309.     image.BackgroundTransparency = 1
  310.     image.Image = ""
  311.     local chargetext = Instance.new("TextLabel", mainframe)
  312.     chargetext.FontSize = "Size18"
  313.     chargetext.Size = UDim2.new(0, 0, 0, 0)
  314.     chargetext.TextYAlignment = "Bottom"
  315.     chargetext.BackgroundTransparency = 1
  316.     chargetext.TextColor3 = Color3.new(1,1,1)
  317.     game:service'RunService'.Stepped:connect(function()
  318.         chargetext.Text = ""
  319.     end)
  320.    
  321.    
  322.  
  323. local rm = Instance.new("Weld", torso)
  324. rm.C0 = CFrame.new(2, 0.6, -0.5)
  325. rm.C1 = CFrame.new(0, 0.5, 0)
  326. rm.Part0 = torso
  327. rm.Part1 = ra
  328. local lm = Instance.new("Weld", torso)
  329. lm.C0 = CFrame.new(-2, 0.6, 0.5)
  330. lm.C1 = CFrame.new(0, 0.5, 0)
  331. lm.Part0 = torso
  332. lm.Part1 = la
  333.  
  334. sound = Instance.new("Sound", head)
  335. sound.Volume = 1
  336. sound.SoundId = ""
  337. sound.Looped = true
  338.  
  339.  
  340. dancemode = true
  341. debounceofsprint = false
  342.  
  343. --create func
  344. function part(parent, size, color, formfactor, collide, transparency)
  345.     if transparency == nil then transparency=1 end
  346.     if collide == nil then collide=false end
  347.         if formfactor == nil then formfactor="Custom" end
  348.         local p = Instance.new("Part", parent)
  349.         p.FormFactor = formfactor
  350.         p.CanCollide = collide
  351.         p.Size = size
  352.         p.Locked = false
  353.         p.Transparency = transparency
  354.         p.Position = torso.Position + Vector3.new(0, 1, 0)
  355.         p.BrickColor = color
  356.         p.FrontSurface = "SmoothNoOutlines"
  357.         p.BackSurface = "SmoothNoOutlines"        
  358.         p.LeftSurface = "SmoothNoOutlines"
  359.         p.BottomSurface = "SmoothNoOutlines"
  360.         p.TopSurface = "SmoothNoOutlines"  
  361.         p.RightSurface = "SmoothNoOutlines"
  362.         return p
  363. end
  364. function wedge(parent, size, color, formfactor, collide, transparency)
  365.         if transparency==nil then transparency=1 end
  366.     if collide==nil then collide=false end
  367.         if formfactor==nil then formfactor="Custom" end
  368.         local p = Instance.new("WedgePart", parent)
  369.         p.FormFactor = formfactor
  370.         p.CanCollide = collide
  371.         p.Size = size
  372.         p.Locked = false
  373.         p.Position = torso.Position
  374.         p.BrickColor = color
  375.         p.FrontSurface = "SmoothNoOutlines"
  376.         p.BackSurface = "SmoothNoOutlines"        
  377.         p.LeftSurface = "SmoothNoOutlines"
  378.         p.BottomSurface = "SmoothNoOutlines"
  379.         p.TopSurface = "SmoothNoOutlines"  
  380.         p.RightSurface = "SmoothNoOutlines"
  381.         return p
  382. end
  383. function weld(part0, part1, c0, parent, c1)
  384.     if parent == nil then parent=char end
  385.     if c1 == nil then c1=CFrame.new() end
  386.  
  387.         local wel = Instance.new("Weld", parent)
  388.         wel.Part0 = part0
  389.         wel.Part1 = part1
  390.         wel.C0 = c0
  391.         wel.C1 = c1
  392.         return wel
  393. end
  394. function specialmesh(parent, meshType, scale, meshId)
  395.     if meshId==nil then meshId="" end
  396.         local mesh = Instance.new("SpecialMesh", parent)
  397.         mesh.Scale = scale
  398.         mesh.MeshType = meshType
  399.         mesh.MeshId = meshId
  400.         return mesh
  401. end
  402. ----------------------------------------------------------------------------------------------------------
  403. --function part(parent, size, color, formfactor, collide, transparency)
  404. --function weld(part0, part1, c0, parent, c1)
  405.  
  406. ----------------------------------------------------------------------------------------------------------
  407. function animatehuman(animationid, object)
  408.             local animation = object:findFirstChild("Humanoid"):LoadAnimation(animationid)
  409.             animation:Play()
  410. end
  411. local danceAnim = Instance.new("Animation", char)
  412. danceAnim.AnimationId = "http://www.roblox.com/asset/?id=130018893"
  413. danceAnim.Name = "DancingAnimation"
  414. ----------------------------------------------------------------------------------------------------------
  415. local main = Instance.new("Part", char)
  416.         main.FormFactor = "Custom"
  417.         main.CanCollide = false
  418.         main.Size = Vector3.new(0, 0, 0)
  419.         main.Locked = false
  420.         main.BrickColor = BrickColor.new("Black")
  421.         main.TopSurface = 0
  422.         main.BottomSurface = 0
  423.         main.Position = torso.Position
  424.         main:BreakJoints()
  425.     local speaker = Instance.new("Part", char)
  426.         speaker.FormFactor = "Custom"
  427.         speaker.CanCollide = false
  428.         speaker.Size = Vector3.new(0, 0, 0)
  429.         speaker.Locked = false
  430.         speaker.BrickColor = BrickColor.new("")
  431.         speaker.TopSurface = 0
  432.         speaker.BottomSurface = 0
  433.         speaker.Position = torso.Position
  434.         speaker:BreakJoints()
  435.         local speaker2 = Instance.new("Part", char)
  436.         speaker2.FormFactor = "Custom"
  437.         speaker2.CanCollide = false
  438.         speaker2.Size = Vector3.new(0, 0, 0)
  439.         speaker2.Locked = false
  440.         speaker2.BrickColor = BrickColor.new("")
  441.         speaker2.TopSurface = 0
  442.         speaker2.BottomSurface = 0
  443.         speaker2.Position = torso.Position
  444.         speaker2:BreakJoints()
  445.         local main2 = Instance.new("Part", char)
  446.         main2.FormFactor = "Custom"
  447.         main2.CanCollide = false
  448.         main2.Size = Vector3.new(0, 0, 0)
  449.         main2.Locked = false
  450.         main2.BrickColor = BrickColor.new("")
  451.         main2.TopSurface = 0
  452.         main2.BottomSurface = 0
  453.         main2.Position = torso.Position
  454.         main2:BreakJoints()
  455.     local main3 = Instance.new("Part", char)
  456.         main3.FormFactor = "Custom"
  457.         main3.CanCollide = false
  458.         main3.Size = Vector3.new(.0, 0, 0)
  459.         main3.Locked = false
  460.         main3.BrickColor = BrickColor.new("")
  461.         main3.TopSurface = 0
  462.         main3.BottomSurface = 0
  463.         main3.Position = torso.Position
  464.         main3:BreakJoints()
  465.     local main4 = Instance.new("Part", char)
  466.         main4.FormFactor = "Custom"
  467.         main4.CanCollide = false
  468.         main4.Size = Vector3.new(0, 0, 0)
  469.         Instance.new("CylinderMesh", main4)
  470.         main4.Locked = true
  471.         main4.BrickColor = BrickColor.new("Black")
  472.         main4.TopSurface = 0
  473.         main4.BottomSurface = 0
  474.         main4.Position = torso.Position
  475.         main4:BreakJoints()
  476. local weld6 = weld(main4, main, CFrame.new(), char, CFrame.new(0, -.15, -.5)*CFrame.Angles(math.pi/2, 0, math.pi/2))
  477.     local speaker3 = Instance.new("Part", char)
  478.         speaker3.FormFactor = "Custom"
  479.         speaker3.CanCollide = false
  480.         speaker3.Size = Vector3.new(0, 0, 0)
  481.         speaker3.Locked = true
  482.         speaker3.BrickColor = BrickColor.new("Black")
  483.         speaker3.TopSurface = 0
  484.         speaker3.BottomSurface = 0
  485.         speaker3.Position = torso.Position
  486.         speaker3:BreakJoints()
  487. local welds1 = weld(speaker3, main, CFrame.new(), char, CFrame.new(-.25, -2.2, .6))
  488.         local speaker4 = Instance.new("Part", char)
  489.         speaker4.FormFactor = "Custom"
  490.         speaker4.CanCollide = false
  491.         speaker4.Size = Vector3.new(0, 0, 0)
  492.         speaker4.Locked = true
  493.         speaker4.BrickColor = BrickColor.new("Black")
  494.         speaker4.TopSurface = 0
  495.         speaker4.BottomSurface = 0
  496.         speaker4.Position = torso.Position
  497.         speaker4:BreakJoints()
  498. local welds2 = weld(speaker4, main, CFrame.new(), char, CFrame.new(0, -2.205, -.2))
  499.         local speaker5 = Instance.new("Part", char)
  500.         speaker5.FormFactor = "Custom"
  501.         speaker5.CanCollide = false
  502.         speaker5.Size = Vector3.new(0, 0, 0)
  503.         speaker5.Locked = true
  504.         speaker5.BrickColor = BrickColor.new("Black")
  505.         speaker5.TopSurface = 0
  506.         speaker5.BottomSurface = 0
  507.         speaker5.Position = torso.Position
  508.         speaker5:BreakJoints()
  509. local welds3 = weld(speaker5, main, CFrame.new(), char, CFrame.new(-.25, -2, .6))
  510.         local speaker6 = Instance.new("Part", char)
  511.         speaker6.FormFactor = "Custom"
  512.         speaker6.CanCollide = false
  513.         speaker6.Size = Vector3.new(0, 0, 0)
  514.         speaker6.Locked = true
  515.         speaker6.BrickColor = BrickColor.new("Black")
  516.         speaker6.TopSurface = 0
  517.         speaker6.BottomSurface = 0
  518.         speaker6.Position = torso.Position
  519.         speaker6:BreakJoints()
  520. local welds4 = weld(speaker6, main, CFrame.new(), char, CFrame.new(0, -2, -.2))
  521.    
  522.         local support = Instance.new("Part", char)
  523.         support.FormFactor = "Custom"
  524.         support.CanCollide = false
  525.         support.Size = Vector3.new(0, 0, 0)
  526.         support.Locked = true
  527.         support.BrickColor = BrickColor.new("Black")
  528.         support.TopSurface = 0
  529.         support.BottomSurface = 0
  530.         support.Position = torso.Position
  531.         support:BreakJoints()
  532. local welds5 = weld(support, main, CFrame.new(), char, CFrame.new(0, -1.5, -.4))
  533.  
  534.  
  535. debounce = false
  536.  
  537. function stopsound()
  538. if debounce then return end
  539.     if not sound.IsPlaying then return end
  540.     sound:stop()
  541.     debounce = true
  542.     local dancebro = Instance.new("StringValue", game:service'Lighting')
  543.     dancebro.Name = ('STOPDANCING'..plr.Name)
  544.     game:service'Debris':AddItem(dancebro, 1)
  545.         coroutine.wrap(function()
  546.         while not sound.IsPlaying do
  547.             if charge <= 100 then
  548.             charge = charge + .1
  549.             wait()
  550.             elseif charge > 100 then
  551.             charge = 100
  552.             break
  553.             end
  554.         end
  555.     end)()
  556.         wait(.1)
  557.     debounce = false
  558. end
  559. mouse.Button1Down:connect(function(mous)
  560.     if debounceofsprint then return end
  561.     if sound.IsPlaying then return end
  562.     if debounce then return end
  563.     sound:play()
  564.  for i = 0, 0, 0 do
  565.      if not sound.IsPlaying then debounce = true camera.FieldOfView = 70 return end
  566.     camera.FieldOfView = 70
  567.     wait()
  568. end
  569. for i = 0, 0, 0 do
  570.     if not sound.IsPlaying then debounce = true camera.FieldOfView = 70 return end
  571.     camera.FieldOfView = 70
  572.     wait()
  573. end
  574. if debounce then debounce = false return end
  575.     if dancemode then
  576.     for i,v in pairs(workspace:children()) do
  577.         if not sound.IsPlaying then break end
  578.                 coroutine.wrap(function()
  579.                 if v:IsA("Model") and v:findFirstChild("Humanoid") and v.Name ~= char.Name and v:findFirstChild("ModelForParts") == nil and v:findFirstChild("Torso") and (v:findFirstChild("Torso").Position - head.Position).magnitude < 30 then
  580.                         danceAnimClone = danceAnim:clone()
  581.                         danceAnimClone.Parent = v
  582.                         danceAnimClone.AnimationId = "http://www.roblox.com/asset/?id=130018893"
  583.                         wait()
  584.                         NLS([[
  585.                         function animatehuman(animationid, object)
  586.                             local animation = object:findFirstChild("Humanoid"):LoadAnimation(animationid)
  587.                             animation:Play()
  588.                         end
  589.                         while wait(.5) do
  590.                         if game:service'Lighting':findFirstChild("STOPDANCING]]..plr.Name..[[") and game:service'Lighting':findFirstChild("STOPDANCING]]..plr.Name..[["):IsA("StringValue") then game:service'Debris':AddItem(script.Parent:findFirstChild("DancingAnimation"), 5) break end
  591.                         animatehuman(script.Parent:findFirstChild("DancingAnimation"), script.Parent)
  592.                         end
  593.                         ]], v)
  594.                 end
  595.                 end)()
  596.         end
  597. end
  598.     coroutine.wrap(function()
  599.         while sound.IsPlaying do
  600.             if charge <= 1 then
  601.                 if debounce then break end
  602.                 if not sound.IsPlaying then break end
  603.                     sound:stop()
  604.                     debounce = true
  605.                     chargetext.TextColor3 = Color3.new(1,0,0)
  606.                     dancebro = Instance.new("StringValue", game:service'Lighting')
  607.                     dancebro.Name = ('STOPDANCING'..plr.Name)
  608.                     game:service'Debris':AddItem(dancebro, 1)
  609.                     coroutine.wrap(function()
  610.                         repeat wait() until charge >= 10
  611.                         debounce = false
  612.                         chargetext.TextColor3 = Color3.new(1,1,1)
  613.                     end)()
  614.                     coroutine.wrap(function()
  615.                         while not sound.IsPlaying do
  616.                             if charge <= 100 then
  617.                             charge = charge + .1
  618.                             wait()
  619.                             elseif charge > 100 then
  620.                             charge = 100
  621.                             break
  622.                             end
  623.                         end
  624.                     end)()
  625.             else
  626.             charge = charge - .08
  627.             wait()
  628.             end
  629.         end
  630.     end)()
  631.     coroutine.wrap(function()
  632.         local ran,err = ypcall(function()
  633.         while sound.IsPlaying and Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude <= 20 do
  634.     if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 20 then stopsound() break end
  635.     if not sound.IsPlaying then break end
  636.     rayCast(speaker, 1250, 0, 5, "Lavender")
  637.     wait(.35)
  638.     if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 20 then stopsound() break end
  639.     if not sound.IsPlaying then break end
  640.     rayCast(speaker, 1250, 0, 5, "Pink")
  641.     wait(.95)
  642.     if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 20 then stopsound() break end
  643.     if not sound.IsPlaying then break end
  644.     rayCast(speaker, 1250, 0, 5, "Bright bluish green")
  645.     wait(.55)
  646.     if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 20 then stopsound() break end
  647.     if not sound.IsPlaying then break end
  648.     rayCast(speaker, 1250, 0, 5, "Pink")
  649.     wait(.4)
  650.     if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 20 then stopsound() break end
  651.     if not sound.IsPlaying then break end
  652.     rayCast(speaker, 1250, 0, 5, "Bright bluish green")
  653.     local pl = Instance.new("PointLight", torso)
  654.     pl.Color = Color3.new(153/255/1.25, 102/255/1.25, 204/255/1.25)
  655.     pl.Range = 30
  656.     pl.Brightness = 0.7
  657.     game:service'Debris':AddItem(pl, .3)
  658.     wait(.45)
  659.     if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 20 then stopsound() break end
  660.     if not sound.IsPlaying then break end
  661.     rayCast(speaker, 1250, 0, 5, "Lavender")
  662.     wait(.75)
  663.     end
  664.     end) if err then print(err) end
  665.     end)()
  666. end)
  667.  
  668. mouse.Button1Up:connect(function(mous)
  669.     stopsound()
  670. end)
  671. ctrl = false
  672. mouse.KeyDown:connect(function(k)
  673.     if string.byte(k) == 50 then
  674.         ctrl = true
  675.         humanoid.WalkSpeed = 8
  676.         humanoid.JumpPower = 25
  677.     end
  678.     if string.byte(k) == 48 then
  679.     humanoid.WalkSpeed = 75
  680.     humanoid.JumpPower = 75
  681.     end
  682. end)
  683.  
  684. mouse.KeyUp:connect(function(k)
  685.     if string.byte(k) == 50 then
  686.         ctrl = false
  687.         humanoid.WalkSpeed = 16
  688.         humanoid.JumpPower = 50
  689.         humanoid.Health = 1000
  690.         humanoid.MaxHealth = 1000
  691.     end
  692.     if string.byte(k) == 48 then
  693.     humanoid.WalkSpeed = 16
  694.     humanoid.JumpPower = 50
  695.         if ctrl then
  696.             humanoid.WalkSpeed = 8
  697.             humanoid.JumpPower = 25
  698.         end
  699.     end
  700. end)
  701.  
  702. humanoid.Died:connect(function()
  703.     deathpos = torso.Position
  704.     WorkModel = Instance.new("", workspace)
  705.     WorkModel.Name = " "
  706.         wait(1/60)
  707.         humanoid.Parent = nil
  708.     if torso then
  709.         local Head = char:FindFirstChild("Head")
  710.         if Head then
  711.             local Neck = Instance.new("Weld")
  712.             Neck.Name = "Neck"
  713.             Neck.Part0 = torso
  714.             Neck.Part1 = Head
  715.             Neck.C0 = CFrame.new(0, 1.5, 0)
  716.             Neck.C1 = CFrame.new()
  717.             Neck.Parent = torso
  718.         end
  719.         local Limb = char:FindFirstChild("Right Arm")
  720.         if Limb then
  721.  
  722.             Limb.CFrame = torso.CFrame * CFrame.new(0, 0, 0)
  723.             local Joint = Instance.new("Glue")
  724.             Joint.Name = "RightShoulder"
  725.             Joint.Part0 = torso
  726.             Joint.Part1 = Limb
  727.             Joint.C0 = CFrame.new(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
  728.             Joint.C1 = CFrame.new(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
  729.             Joint.Parent = torso
  730.  
  731.             local B = Instance.new("Part")
  732.             B.TopSurface = 0
  733.             B.BottomSurface = 0
  734.             B.formFactor = "Symmetric"
  735.             B.Size = Vector3.new(0, 0, 0)
  736.             B.Transparency = 1
  737.             B.CFrame = Limb.CFrame * CFrame.new(0, 0, 0)
  738.             B.Parent = char
  739.             B.CanCollide = false
  740.             local W = Instance.new("Weld")
  741.             W.Part0 = Limb
  742.             W.Part1 = B
  743.             W.C0 = CFrame.new(0, 0.5, 0)
  744.             W.Parent = Limb
  745.  
  746.         end
  747.         local Limb = char:FindFirstChild("Left Arm")
  748.         if Limb then
  749.  
  750.             Limb.CFrame = torso.CFrame * CFrame.new(0, 0, 0)
  751.             local Joint = Instance.new("Glue")
  752.             Joint.Name = "LeftShoulder"
  753.             Joint.Part0 = torso
  754.             Joint.Part1 = Limb
  755.             Joint.C0 = CFrame.new(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
  756.             Joint.C1 = CFrame.new(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
  757.             Joint.Parent = torso
  758.  
  759.             local B = Instance.new("Part")
  760.             B.TopSurface = 0
  761.             B.BottomSurface = 0
  762.             B.formFactor = "Symmetric"
  763.             B.Size = Vector3.new(0, 0, 0)
  764.             B.Transparency = 1
  765.             B.CFrame = Limb.CFrame * CFrame.new(0, 0, 0)
  766.             B.Parent = char
  767.             B.CanCollide = false
  768.             local W = Instance.new("Weld")
  769.             W.Part0 = Limb
  770.             W.Part1 = B
  771.             W.C0 = CFrame.new(0, 0, 0)
  772.             W.Parent = Limb
  773.  
  774.         end
  775.         local Limb = char:FindFirstChild("Right Leg")
  776.         if Limb then
  777.  
  778.             Limb.CFrame = torso.CFrame * CFrame.new(0.5, -2, 0)
  779.             local Joint = Instance.new("Glue")
  780.             Joint.Name = "RightHip"
  781.             Joint.Part0 = torso
  782.             Joint.Part1 = Limb
  783.             Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  784.             Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  785.             Joint.Parent = torso
  786.  
  787.             local B = Instance.new("Part")
  788.             B.TopSurface = 0
  789.             B.BottomSurface = 0
  790.             B.formFactor = "Symmetric"
  791.             B.Size = Vector3.new(0, 0, 0)
  792.             B.Transparency = 1
  793.             B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  794.             B.Parent = char
  795.             B.CanCollide = false
  796.             local W = Instance.new("Weld")
  797.             W.Part0 = Limb
  798.             W.Part1 = B
  799.             W.C0 = CFrame.new(0, -0.5, 0)
  800.             W.Parent = Limb
  801.  
  802.         end
  803.         local Limb = char:FindFirstChild("Left Leg")
  804.         if Limb then
  805.  
  806.             Limb.CFrame = torso.CFrame * CFrame.new(-0.5, -2, 0)
  807.             local Joint = Instance.new("Glue")
  808.             Joint.Name = "LeftHip"
  809.             Joint.Part0 = torso
  810.             Joint.Part1 = Limb
  811.             Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  812.             Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  813.             Joint.Parent = torso
  814.  
  815.             local B = Instance.new("Part")
  816.             B.TopSurface = 0
  817.             B.BottomSurface = 0
  818.             B.formFactor = "Symmetric"
  819.             B.Size = Vector3.new(0, 0, 0)
  820.             B.Transparency = 1
  821.             B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  822.             B.Parent = char
  823.             B.CanCollide = false
  824.             local W = Instance.new("Weld")
  825.             W.Part0 = Limb
  826.             W.Part1 = B
  827.             W.C0 = CFrame.new(0, -0.5, 0)
  828.             W.Parent = Limb
  829.         end
  830.         for blood = 0, 3 do
  831.             local blood = Instance.new("Part", workspace)
  832.             blood.BrickColor = BrickColor.Red()
  833.             blood.FormFactor = "Custom"
  834.             blood.Size = Vector3.new(0,0,0)
  835.             blood.Anchored = false
  836.             blood.TopSurface = "Smooth"
  837.             blood.BackSurface = "Smooth"
  838.             local bloodmesh = Instance.new("Mesh", blood)
  839.             bloodmesh.Scale = Vector3.new(3, 0, 3)
  840.             local rayzb = Ray.new(torso.Position, Vector3.new(0, -20, 0) + Vector3.new(math.random(-2, 2), 0, math.random(-2, 2)))
  841.             local hitzb, hitposb = workspace:findPartOnRay(rayzb, char)
  842.             if hitzb then
  843.             blood.CFrame = CFrame.new(hitposb.x,hitposb.y,hitposb.z)
  844.             blood.CFrame = blood.CFrame * CFrame.new(0, .05, 0)
  845.                 coroutine.wrap(function()
  846.                     for cframe = 0, math.random(16, 24) do
  847.                         bloodmesh.Scale = bloodmesh.Scale + Vector3.new(.45, 0, .45)
  848.                         wait()
  849.                     end
  850.                 end)()
  851.             elseif not hitzb then
  852.             blood:Destroy()
  853.             end
  854.         end
  855.         local BP = Instance.new("BodyPosition", torso)
  856.         BP.maxForce = Vector3.new(1,1,1)/0
  857.         BP.position = deathpos
  858.         for i,v in pairs(char:children()) do
  859.             if v:IsA("Part") then v.Parent = WorkModel end
  860.         end
  861.         wait(.3)
  862.         BP:Destroy()
  863.     end
  864. end)
  865.  
  866. local rlegm = Instance.new("Motor", torso)
  867. rlegm.C0 = CFrame.new(0.5, -1, 0)
  868. rlegm.C1 = CFrame.new(0, 1, 0)
  869. rlegm.Part0 = torso
  870. rlegm.Part1 = rl
  871. rlegm.Name = "Right Hip"
  872. local llegm = Instance.new("Motor", torso)
  873. llegm.C0 = CFrame.new(-0.5, -1, 0)
  874. llegm.C1 = CFrame.new(0, 1, 0)
  875. llegm.Part0 = torso
  876. llegm.Part1 = ll
  877. llegm.Name = "Left Hip"
  878. neck.C0 = CFrame.new(0, 1, 0)
  879. neck.C1 = CFrame.new(0, -0.5, 0)
  880. rj.C0 = CFrame.new(0, -1, 0)
  881. rj.C1 = CFrame.new(0, -1, 0)
  882. rsc0 = rm.C0
  883. lsc0 = lm.C0
  884. neckc0 = neck.C0
  885. rootc0 = rj.C0
  886. llc0 = llegm.C0
  887. rlc0 = rlegm.C0
  888. speed = 0.4
  889. angle = 0
  890. anglespeed = 0
  891. mvmnt = 0
  892. game:service'RunService'.RenderStepped:connect(function()
  893.     angle = (angle % 100) + anglespeed/10
  894.     mvmnt = math.pi * math.sin(math.pi*2/100*(angle*10))
  895.         local rscf = rsc0
  896.         local lscf = lsc0
  897.         local rlcf = rlc0
  898.         local llcf = llc0
  899.         local rjcf = rootc0
  900.         local ncf = neckc0
  901.         local rayz = Ray.new(rootpart.Position, Vector3.new(0, -4.1, 0))
  902.         local hitz, enz = workspace:findPartOnRay(rayz, char)
  903.         --math.asin(mouse.UnitRay.Direction.y)
  904.         ncf = neckc0 * CFrame.Angles(camera.CoordinateFrame.lookVector.y, 0, 0)
  905.         rscf = rsc0 * CFrame.new(-.55, -.0, .45) * CFrame.Angles(math.pi/0.001+math.pi/-.5, 0, 0.2)
  906.         lscf = lsc0 * CFrame.new(.55, -.0, -.45) * CFrame.Angles(math.pi/0.001+math.pi/-.5, 0, -0.2)
  907.         if firing then
  908.             rscf = rsc0 * CFrame.new(0, 0, 0) * CFrame.Angles(camera.CoordinateFrame.lookVector.y+math.pi/2, 0, 0)
  909.             lscf = lsc0 * CFrame.new(0, 0, 0) * CFrame.Angles(camera.CoordinateFrame.lookVector.y+math.pi/2, 0, math.rad(45))
  910.         end
  911.         if not hitz then
  912.             ncf = neckc0 * CFrame.Angles(math.pi/18, 0, 0)
  913.                 rscf = rsc0 * CFrame.new(-0.8, 0.4, 0.5) * CFrame.Angles(math.pi/420000+math.pi/18, 5.6, -180.9)
  914.                 lscf = lsc0 * CFrame.new(0.8, 0.4, -0.5) * CFrame.Angles(math.pi/420000+math.pi/-18, -5.6, 181.1)
  915.             rjcf = rootc0 * CFrame.Angles(-math.pi/32, 0, 0)
  916.                 rlcf = rlc0 * CFrame.new(0, 0.7, -0.5) * CFrame.Angles(-math.pi/14, 0, 0)
  917.                 llcf = llc0 * CFrame.Angles(-math.pi/20, 0, 0)
  918.         elseif humanoid.Sit then
  919.             ncf = neckc0 * CFrame.Angles(0, 0, 0)
  920.             rjcf = rootc0 * CFrame.new(0, -.2, 0)
  921.             rlcf = rlc0 * CFrame.Angles(math.pi/2, 0, math.rad(7.5))
  922.             llcf = llc0 * CFrame.Angles(math.pi/2, 0, -math.rad(7.5))
  923.             if sprinting then
  924.                 debounceofsprint = false
  925.                 sprinting = false
  926.             end
  927.         elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude <= 2 then
  928.             speed = 0.3
  929.             if ctrl then
  930.                 rjcf = rootc0 * CFrame.new(0, -1.25, 0)
  931.                 llcf = llc0 * CFrame.new(0, 0, -.45) * CFrame.Angles(-math.pi/2.2, 0, 0)
  932.                 rlcf = rlcf * CFrame.new(0, 1.25, -.85)
  933.             else
  934.                 rjcf = rootc0
  935.                 rlcf = rlc0 * CFrame.Angles(-math.rad(.5), 0, math.rad(1.5))
  936.                 llcf = llc0 * CFrame.Angles(math.rad(1.5), 0, -math.rad(1.5))
  937.             end
  938.     elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude <= 20 then
  939.         if not humanoid.Sit then
  940.             anglespeed = 2
  941.             if ctrl then
  942.                 anglespeed = 3
  943.                 ncf = neckc0 * CFrame.Angles(camera.CoordinateFrame.lookVector.y+math.pi/18, 0, 0)
  944.                 rjcf = rootc0 * CFrame.new(0, -.35, 0) * CFrame.Angles(-math.pi/18, 0, 0)
  945.                 rscf = rsc0 * CFrame.new(-0.6, 0.2, 0.7) * CFrame.Angles(math.pi/420000+math.pi/18, 5.6, -181.6)
  946.                 lscf = lsc0 * CFrame.new(0.6, 0.2, -0.4) * CFrame.Angles(math.pi/420000+math.pi/-18, -5.6, 181.8)
  947.                 llcf = llc0 * CFrame.new(0, .45, -.35) * CFrame.Angles(math.pi/18 - math.sin(angle)*.45, 0, 0)
  948.                 rlcf = rlcf * CFrame.new(0, .45, -.35) * CFrame.Angles(math.pi/18 + math.sin(angle)*.45, 0, 0)
  949.             else
  950.                 rjcf = rootc0
  951.                 rlcf = rlc0 * CFrame.Angles(math.sin(-angle)*.65, 0, math.rad(.5))
  952.                 llcf = llc0 * CFrame.Angles(math.sin(angle)*.65, 0, -math.rad(.5))
  953.             end
  954.             if sprinting then
  955.                 debounceofsprint = false
  956.                 sprinting = false
  957.             end
  958.             end
  959.         elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 20 then
  960.             if not humanoid.Sit then
  961.             anglespeed = 2.7
  962.                 ncf = neckc0 * CFrame.Angles(math.pi/18, 0, 0)
  963.                 rscf = rsc0 * CFrame.new(-0.8, 0.4, 0.5) * CFrame.Angles(math.pi/420000+math.pi/18, 5.6, -180.9)
  964.                 lscf = lsc0 * CFrame.new(0.8, 0.4, -0.5) * CFrame.Angles(math.pi/420000+math.pi/-18, -5.6, 181.1)
  965.                 rjcf = rootc0 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.pi/18, math.sin(angle)*.1, math.sin(angle)*.045)
  966.                 rlcf = rlc0 * CFrame.new(0, .3 + -math.cos(-angle)*.3, -.2+math.sin(angle)*0.25) * CFrame.Angles(-math.pi/18+math.sin(-angle)*1.3, 0, math.rad(.5))
  967.                 llcf = llc0 * CFrame.new(0, .3 - -math.cos(angle)*.3, -.05-math.sin(angle)*0.25) * CFrame.Angles(-math.pi/18+math.sin(angle)*1.3, 0, -math.rad(.5))
  968.             sprinting = true
  969.             debounceofsprint = true
  970.             end
  971.         end
  972.     rm.C0 = clerp(rm.C0,rscf,speed)
  973.     lm.C0 = clerp(lm.C0,lscf,speed)
  974.     rj.C0 = clerp(rj.C0,rjcf,speed)
  975.     rlegm.C0 = clerp(rlegm.C0,rlcf,speed)
  976.     llegm.C0 = clerp(llegm.C0,llcf,speed)
  977.     neck.C0 = clerp(neck.C0,ncf,speed)
  978. end)
  979. end
  980. local camera = workspace.CurrentCamera
  981. local player = game.Players.LocalPlayer
  982. local character = player.Character
  983. local humanoid = character.Humanoid
  984. player.CameraMaxZoomDistance = 0.5
  985. camera.FieldOfView = 100
  986. humanoid.CameraOffset = Vector3.new(0, 0, -1)
  987.  
  988.  
  989. for childIndex, child in pairs(character:GetChildren()) do
  990.     if child:IsA("BasePart") and child.Name ~= "Head" then
  991.        
  992.         child:GetPropertyChangedSignal("LocalTransparencyModifier"):Connect(function()
  993.             child.LocalTransparencyModifier = child.Transparency
  994.         end)
  995.        
  996.         child.LocalTransparencyModifier = child.Transparency
  997.        
  998.     end
  999. end
  1000.  
  1001.  
  1002. camera:GetPropertyChangedSignal("CameraSubject"):Connect(function()
  1003.     if camera.CameraSubject:IsA("VehicleSeat") then
  1004.         camera.CameraSubject = humanoid
  1005.     end
  1006. end)
  1007.  
  1008. local Bloom = Instance.new("BloomEffect")
  1009. Bloom.Intensity = 0.1
  1010. Bloom.Threshold = 0
  1011. Bloom.Size = 100
  1012.  
  1013. Bloom.Parent = game:GetService("Lighting")
  1014.  
  1015. local Bloom = Instance.new("BloomEffect")
  1016. Bloom.Enabled = false
  1017. Bloom.Intensity = 0.35
  1018. Bloom.Threshold = 0.2
  1019. Bloom.Size = 56
  1020.  
  1021. Bloom.Parent = game:GetService("Lighting")
  1022. local Blur = Instance.new("BlurEffect")
  1023. Blur.Size = 1
  1024.  
  1025. Blur.Parent = game:GetService("Lighting")
  1026. local Efecto = Instance.new("BlurEffect")
  1027. Efecto.Name = "Efecto"
  1028. Efecto.Enabled = false
  1029. Efecto.Size = 1
  1030.  
  1031. Efecto.Parent = game:GetService("Lighting")
  1032. local Inaritaisha = Instance.new("ColorCorrectionEffect")
  1033. Inaritaisha.Name = "Inari taisha"
  1034. Inaritaisha.Saturation = 0.05
  1035. Inaritaisha.TintColor = Color3.fromRGB(255, 224, 219)
  1036.  
  1037. Inaritaisha.Parent = game:GetService("Lighting")
  1038. local Normal = Instance.new("ColorCorrectionEffect")
  1039. Normal.Name = "Normal"
  1040. Normal.Enabled = false
  1041. Normal.Saturation = -0.2
  1042. Normal.TintColor = Color3.fromRGB(255, 232, 215)
  1043.  
  1044. Normal.Parent = game:GetService("Lighting")
  1045. local SunRays = Instance.new("SunRaysEffect")
  1046. SunRays.Intensity = 0.05
  1047.  
  1048.  
  1049. local Takayama = Instance.new("ColorCorrectionEffect")
  1050. Takayama.Name = "Takayama"
  1051. Takayama.Enabled = true
  1052. Takayama.Saturation = -0.3
  1053. Takayama.Contrast = 0.1
  1054. Takayama.TintColor = Color3.fromRGB(235, 214, 204)
  1055.  
  1056. Takayama.Parent = game:GetService("Lighting")
  1057. local L = game:GetService("Lighting")
  1058. L.Brightness = 2.14
  1059.  
  1060. L.ColorShift_Bottom = Color3.fromRGB(11, 0, 20)
  1061. L.ColorShift_Top = Color3.fromRGB(240, 127, 14)
  1062. L.OutdoorAmbient = Color3.fromRGB(34, 0, 49)
  1063. L.ClockTime = 6.7
  1064. L.FogColor = Color3.fromRGB(94, 76, 106)
  1065. L.FogEnd = 1000
  1066. L.FogStart = 0
  1067. L.ExposureCompensation = 0.24
  1068. L.ShadowSoftness = 0
  1069. L.Ambient = Color3.fromRGB(59, 33, 27)
  1070.  
  1071. local Bloom = Instance.new("BloomEffect")
  1072. Bloom.Intensity = 0.1
  1073. Bloom.Threshold = 0
  1074. Bloom.Size = 100
  1075.  
  1076.  
  1077. Bloom.Parent = game:GetService("Lighting")
  1078.  
  1079. local Bloom = Instance.new("BloomEffect")
  1080. Bloom.Enabled = false
  1081. Bloom.Intensity = 0.35
  1082. Bloom.Threshold = 0.2
  1083. Bloom.Size = 56
  1084.  
  1085. Bloom.Parent = game:GetService("Lighting")
  1086. local Blur = Instance.new("BlurEffect")
  1087. Blur.Size = 1
  1088.  
  1089. Blur.Parent = game:GetService("Lighting")
  1090. local Efecto = Instance.new("BlurEffect")
  1091. Efecto.Name = "Efecto"
  1092. Efecto.Enabled = false
  1093. Efecto.Size = 2
  1094.  
  1095. Efecto.Parent = game:GetService("Lighting")
  1096. local Inaritaisha = Instance.new("ColorCorrectionEffect")
  1097. Inaritaisha.Name = "Inari taisha"
  1098. Inaritaisha.Saturation = 0.05
  1099. Inaritaisha.TintColor = Color3.fromRGB(255, 224, 219)
  1100.  
  1101. Inaritaisha.Parent = game:GetService("Lighting")
  1102. local Normal = Instance.new("ColorCorrectionEffect")
  1103. Normal.Name = "Normal"
  1104. Normal.Enabled = false
  1105. Normal.Saturation = -0.2
  1106. Normal.TintColor = Color3.fromRGB(255, 232, 215)
  1107.  
  1108. Normal.Parent = game:GetService("Lighting")
  1109.  
  1110.  
  1111. local Takayama = Instance.new("ColorCorrectionEffect")
  1112. Takayama.Name = "Takayama"
  1113. Takayama.Enabled = false
  1114. Takayama.Saturation = -0.3
  1115. Takayama.Contrast = 0.1
  1116. Takayama.TintColor = Color3.fromRGB(235, 214, 204)
  1117.  
  1118. Takayama.Parent = game:GetService("Lighting")
  1119. local L = game:GetService("Lighting")
  1120. L.Brightness = 2.14
  1121. L.ColorShift_Bottom = Color3.fromRGB(11, 0, 20)
  1122. L.ColorShift_Top = Color3.fromRGB(240, 127, 14)
  1123. L.OutdoorAmbient = Color3.fromRGB(34, 0, 49)
  1124. L.ClockTime = 6.7
  1125. L.FogColor = Color3.fromRGB(94, 76, 106)
  1126. L.FogEnd = 1000
  1127. L.FogStart = 0
  1128. L.ExposureCompensation = 0.24
  1129. L.ShadowSoftness = 0
  1130. L.Ambient = Color3.fromRGB(59, 33, 27)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement