Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local plr = game.Players.LocalPlayer.Character
- local hum = plr.HumanoidRootPart
- setting = settings().Network
- local point = Instance.new("PointLight")
- point.Parent = plr.Torso
- point.Brightness = 20
- point.Range = 10
- point.Enabled = false
- point.Color = Color3.fromRGB(245, 229, 6)
- local Effect = Instance.new("ColorCorrectionEffect")
- Effect.Parent = game.Lighting
- Effect.Saturation = .8
- Effect.Brightness = 0.1
- Effect.Contrast = 0.3
- Effect.Enabled = false
- local time = false
- game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(key)
- if key == "e" then
- if time == false then
- time = true
- local sav = hum.CFrame
- point.Enabled = true
- Effect.Enabled = true
- setting.IncomingReplicationLag = 1000
- local plr = game.Players.LocalPlayer.Character
- local light = Instance.new("Part")
- light.Parent = Workspace
- light.Material = "Neon"
- light.Name = "Lighting"
- light.CFrame = plr.Torso.CFrame*CFrame.new(0,-1,1.2)
- light.CanCollide = false
- light.Anchored = true
- light.Color = Color3.fromRGB(255,254, 0)
- light.Transparency = 0.56
- light.Size = Vector3.new(1,2.4,6)
- light.Position = light.Position+Vector3.new(-1.7,1,-.45)
- while wait() do
- light.CFrame = plr.Torso.CFrame*CFrame.new(0,0,2.5)
- if time == false then
- break
- end
- end
- else
- time = false
- point.Enabled = false
- Effect.Enabled = false
- setting.IncomingReplicationLag = 0
- game.Workspace.Lighting:Remove()
- end
- end
- end
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement