Forum > Scripts >

Lit Bar | Limited Lua

Posts: 41

Threads: 17

Joined: Apr, 2018

Reputation: 0

Posted

I'm gonna be honest with you, this script is pretty useless,
however - you can use this for any reason :P

Copy all below:
------------------------------------
local x = Instance.new("Tool", game:GetService("Players").LocalPlayer.StarterGear); -- Allows the tool to be given when the player spawns.
x.Name = "Illuminator"
local z = Instance.new("Part");
z.Name = "Handle";
z.Shape = 'Cylinder'
z.Material = 'Neon'
z.Transparency = .45
z.BrickColor = BrickColor.new(255, 0, 0); -- RGB
z.Size = Vector3.new(4, .25, .25);
x.GripPos = Vector3.new(-1, 0, 0);
x.GripRight = Vector3.new(0, -1, 0)
z.Locked = true;
z.Parent = x;
local light = Instance.new("SpotLight", z);
light.Angle = 90;
light.Face = 3;
light.Brightness = 10;
light.Color = x.Color;
light.Shadows = false;
x:Clone().Parent = game:GetService("Players").LocalPlayer.Backpack
----------------------------------
Note: this is a cylinder with a light. That's it. I use it when I'm in a dark area and I need to see :)

~ The tool will be given at spawn (aside from some games)
~ You can change the colour! Go to where "RGB" is and change the values in parenthesis to (num, num, num) - num is a number between 1 - 255 .

ok goodbye, I'll post again maybe
  • 0

Posts: 6

Threads: 1

Joined: Apr, 2018

Reputation: 0

Replied

Not working for me, I've tried several games? Please update :)
  • 0

Posts: 41

Threads: 17

Joined: Apr, 2018

Reputation: 0

Replied

UPDATED LINK: https://wearedevs.net/forum/thread.php?tid=992
  • 0

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )