Advertisement
LPGhatguy

Lua Somethin'

Oct 16th, 2011
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.38 KB | None | 0 0
  1. local Seat = script.Parent.Seat
  2. local Tool = game.Lighting.TheTool
  3.  
  4. Seat.ChildAdded:connect(function(Child)
  5.     if (Child:IsA("Weld")) then
  6.         local Torso = Child.Part1
  7.         if (Torso and Torso.Parent) then
  8.             local Player = game.Players:GetPlayerFromCharacter(Torso.Parent)
  9.             if (Player) then
  10.                 local New = Tool:Clone()
  11.                 New.Parent = Player.Backpack
  12.             end
  13.         end
  14.     end
  15. end)
  16.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement