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: Why Doesn't This Script Work?

Previous Thread :: Next Thread 
Toughlizard1345 is not online. Toughlizard1345
Joined: 13 Jul 2010
Total Posts: 1077
21 Jun 2014 07:22 PM
db = false
player = game.Players:GetPlayerFromCharacter(Workspace.VehicleSeat.Weld.Parent)

function onTouch(points)
if db or player == false then return end
db = true
Game:GetService("PointsService"):AwardPoints(Player.userId, 5)
db = false
end

script.Parent.Touched:connect(onTouch)

Thanks,

Toughlizard1345
Report Abuse
Toughlizard1345 is not online. Toughlizard1345
Joined: 13 Jul 2010
Total Posts: 1077
21 Jun 2014 07:27 PM
Bump
Report Abuse
xXFIREFACEXx is not online. xXFIREFACEXx
Joined: 18 Jul 2012
Total Posts: 1427
21 Jun 2014 07:29 PM
Error message?
Report Abuse
Toughlizard1345 is not online. Toughlizard1345
Joined: 13 Jul 2010
Total Posts: 1077
21 Jun 2014 07:30 PM
Weld is not a valid member of vehicle seat.
Report Abuse
Toughlizard1345 is not online. Toughlizard1345
Joined: 13 Jul 2010
Total Posts: 1077
21 Jun 2014 07:38 PM
Bump
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