generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Vistor Script

Previous Thread :: Next Thread 
TheWhiteCleaver is not online. TheWhiteCleaver
Joined: 05 Sep 2008
Total Posts: 1556
12 Aug 2013 08:37 AM
Im just learning LUA, cant make a script to remove all the items from the visitor team starterpacks, any help?
Report Abuse
expressmyself is not online. expressmyself
Joined: 19 Apr 2011
Total Posts: 1768
12 Aug 2013 08:45 AM
One thing; you might want to call it Lua unless you love armpits.

game.Players.PlayerAdded:connect(function(player)
wait()
if player.TeamColor = "Color Name Here" then
player.StarterGear["Gear Name Here"]:Destroy() --[[Just copy this line]]
player.Backpack["Gear Name Here"]:Destroy() --[[And this line and paste below this line for more gear.]]
end
end)

This won't work in solo mode test it in a server.
Report Abuse
Infocus is not online. Infocus
Joined: 28 Apr 2011
Total Posts: 8022
12 Aug 2013 08:50 AM
game.Players.PlayerAdded:connect(function(plyr)
if plyr.TeamColor = game.Teams["Visitors"].TeamColor then -- Change visitors to ur team name
for _, v in pairs (plyr.Backpack:children()) do
v:Destroy()
end
end
end)
Report Abuse
expressmyself is not online. expressmyself
Joined: 19 Apr 2011
Total Posts: 1768
12 Aug 2013 08:53 AM
There is always a guy that always beats me, anyhow he's beginner

You guys are just like me you don't get a lot of sleep? Because I saw you post last night at 1 in the morning... now it's 9 in the morning.
Report Abuse
Infocus is not online. Infocus
Joined: 28 Apr 2011
Total Posts: 8022
12 Aug 2013 08:55 AM
Sleeping are for noobs

Noone is ever better at someone lal

I just made ur script simpler

I mix 5 - hour energy and coffee
Report Abuse
bohdan77 is not online. bohdan77
Joined: 10 Aug 2008
Total Posts: 7944
12 Aug 2013 08:57 AM
Or he slept 8 hours, because that's the time you're supposed to sleep. -_-
Report Abuse
blocco is not online. blocco
Joined: 14 Aug 2008
Total Posts: 29474
12 Aug 2013 08:57 AM
"Sleeping are for noobs"

so are grammer
and speling
Report Abuse
Infocus is not online. Infocus
Joined: 28 Apr 2011
Total Posts: 8022
12 Aug 2013 08:58 AM
Not really @ Bohd

I slept @ 5 am and its 11:58 pm here

Report Abuse
Infocus is not online. Infocus
Joined: 28 Apr 2011
Total Posts: 8022
12 Aug 2013 08:58 AM
I had a filing that I was rong, but I couldnt grasp my whole body round it
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image