|
| 01 Nov 2014 01:36 AM |
| how do you make it so when ever anyone spawns, they get a light around them? (dynamic pls) and dont need to use a tool to on a light. Is there any script to make it so that whenever anyone comes in my game, they get like a light around them |
|
|
| Report Abuse |
|
|
| |
|
powertool
|
  |
| Joined: 01 Feb 2008 |
| Total Posts: 3771 |
|
|
| 01 Nov 2014 02:12 AM |
Please wait at least an hour between bumps.
Put this localscript into StarterGui.
function giveLight() game.Players.LocalPlayer:WaitForChild("Character") if game.Players.LocalPlayer.Character then Light = Instance.new("SpotLight", game.Players.LocalPlayer.Character.HumanoidRootPart) print("Lit up") end end
giveLight() |
|
|
| Report Abuse |
|
|
| |
|
powertool
|
  |
| Joined: 01 Feb 2008 |
| Total Posts: 3771 |
|
| |
|
| |
|
|
| 01 Nov 2014 02:23 AM |
in this
then Light = Instance.new("SpotLight", game.Pl ------
the light has a blue squiggly line underneath it,. |
|
|
| Report Abuse |
|
|
powertool
|
  |
| Joined: 01 Feb 2008 |
| Total Posts: 3771 |
|
|
| 01 Nov 2014 02:24 AM |
Disreg.
function giveLight() repeat wait() until game.Players.LocalPlayer.Character if game.Players.LocalPlayer.Character then Light = Instance.new("PointLight", game.Players.LocalPlayer.Character.HumanoidRootPart) print("Lit up") end end
giveLight() |
|
|
| Report Abuse |
|
|
|
| 01 Nov 2014 02:28 AM |
| thanks!!! is there a way to make it a bit brighter? |
|
|
| Report Abuse |
|
|
powertool
|
  |
| Joined: 01 Feb 2008 |
| Total Posts: 3771 |
|
|
| 01 Nov 2014 02:29 AM |
| http://wiki.roblox.com/index.php?title=API:Class/PointLight |
|
|
| Report Abuse |
|
|
| |
|
powertool
|
  |
| Joined: 01 Feb 2008 |
| Total Posts: 3771 |
|
|
| 01 Nov 2014 02:33 AM |
I'm linking you to the api.
I gave you the base script for free.
It's really not hard to add a line in there to change the brightness.
Try this.
while true do Light.Brightness = 1.5 end |
|
|
| Report Abuse |
|
|
noah
|
  |
| Joined: 11 Sep 2006 |
| Total Posts: 18977 |
|
|
| 01 Nov 2014 02:35 AM |
| I avoid threads like this because the OP usually expects the code and won't give scripting a try either. |
|
|
| Report Abuse |
|
|
powertool
|
  |
| Joined: 01 Feb 2008 |
| Total Posts: 3771 |
|
|
| 01 Nov 2014 02:36 AM |
| If he rage PMs me after his studio crashes, I'll tell him it's his fault for not recognizing the most basic noob logic bomb in the book. |
|
|
| Report Abuse |
|
|
|
| 01 Nov 2014 02:36 AM |
| which line do i add it in? |
|
|
| Report Abuse |
|
|
powertool
|
  |
| Joined: 01 Feb 2008 |
| Total Posts: 3771 |
|
|
| 01 Nov 2014 02:36 AM |
| Right after Light = Instance.new(... |
|
|
| Report Abuse |
|
|
| |
|
| |
|
powertool
|
  |
| Joined: 01 Feb 2008 |
| Total Posts: 3771 |
|
|
| 01 Nov 2014 02:43 AM |
And that's why you should know how to script.
That's how I know you know nothing about scripting at all, 'cause you failed to recognize a "while true do end" bomb.
Learn to script, and you can fix this little script very fast. |
|
|
| Report Abuse |
|
|
|
| 01 Nov 2014 02:43 AM |
| wait...................................................................................... can you tell me the whole script again. |
|
|
| Report Abuse |
|
|
|
| 01 Nov 2014 02:45 AM |
| i didnt see that......... i copy and paste scripts so.,...... |
|
|
| Report Abuse |
|
|
| |
|