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 » Club Houses » Let's Make a Deal
Home Search
 

Re: 200 robux to whom ever can do this

Previous Thread :: Next Thread 
Aggressions is not online. Aggressions
Joined: 31 Jul 2015
Total Posts: 8914
17 Aug 2015 02:27 PM
Make it so that if the person who spawns the car either dies or spawns a new one,

then it removes the car

local config = {
gear = script.Parent,
check = true,
PlayersService = Game:GetService('Players'),
DebrisService = Game:GetService('Debris'),
MyCharacter = nil,
MyTorso = nil,
DeployedCar = nil,
Tool = script.Parent,
Handle = script.Parent:WaitForChild('Handle'),
COOLDOWN_TIME = 5,
Car = Game:GetService('InsertService'):LoadAsset(163379061):GetChildren()[1]
};

function config.CreateOwnerTag()
local ownerTag = Instance.new('ObjectValue')
ownerTag.Value = config.PlayersService:GetPlayerFromCharacter(config.MyCharacter)
ownerTag.Name = "Owner"
return ownerTag
end

function config.SpawnCar()
if config.MyTorso then
local ownerTag = config.CreateOwnerTag()
if config.DeployedCar ~= nil then
config.DeployedCar:Destroy();
end
local carClone = config.Car:Clone();
ownerTag.Parent = carClone;
carClone.Parent = workspace;
carClone:TranslateBy((config.MyTorso.CFrame.p - config.Car:GetModelCFrame().p) + Vector3.new(0,5,0) + config.MyTorso.CFrame.lookVector * 15)
carClone:MakeJoints()
config.DeployedCar = carClone
DebrisService:AddItem(config.DeployedCar, 60 * 15)
end
end


config.gear.Equipped:connect(function(m)
-- config.Handle.Touched:connect(OnTouched);
config.MyCharacter = config.gear.Parent;
config.MyTorso = config.MyCharacter:WaitForChild('Torso');
m.Button1Up:connect(function()
if config.check then
config.check = false;
config.SpawnCar();
wait(config.COOLDOWN_TIME);
config.check = true;
end
end);
end);

-~|| CCC + LS IS NFT/NFS UNLESS OP || ROBUX: R$6,725 || RAP: 287,182 ||~-
Report Abuse
Aggressions is not online. Aggressions
Joined: 31 Jul 2015
Total Posts: 8914
17 Aug 2015 02:29 PM
1

-~|| CCC + LS IS NFT/NFS UNLESS OP || ROBUX: R$6,725 || RAP: 287,182 ||~-
Report Abuse
Aggressions is not online. Aggressions
Joined: 31 Jul 2015
Total Posts: 8914
17 Aug 2015 02:31 PM
2

-~|| CCC + LS IS NFT/NFS UNLESS OP || ROBUX: R$6,725 || RAP: 287,182 ||~-
Report Abuse
CaliforniaTexan is not online. CaliforniaTexan
Joined: 25 May 2012
Total Posts: 1050
17 Aug 2015 02:31 PM
if player=nil then clr.object
Report Abuse
CaliforniaTexan is not online. CaliforniaTexan
Joined: 25 May 2012
Total Posts: 1050
17 Aug 2015 02:31 PM
I don't need the money
Report Abuse
Aggressions is not online. Aggressions
Joined: 31 Jul 2015
Total Posts: 8914
17 Aug 2015 02:32 PM
@Cali

gotta paste the whole script all put together and make it work!1

-~|| CCC + LS IS NFT/NFS UNLESS OP || ROBUX: R$6,725 || RAP: 287,182 ||~-
Report Abuse
Aggressions is not online. Aggressions
Joined: 31 Jul 2015
Total Posts: 8914
17 Aug 2015 02:34 PM
qq halp

-~|| CCC + LS IS NFT/NFS UNLESS OP || ROBUX: R$6,725 || RAP: 210,153 ||~-
Report Abuse
Aggressions is not online. Aggressions
Joined: 31 Jul 2015
Total Posts: 8914
17 Aug 2015 02:35 PM
3

-~|| CCC + LS IS NFT/NFS UNLESS OP || ROBUX: R$6,725 || RAP: 287,182 ||~-
Report Abuse
CaliforniaTexan is not online. CaliforniaTexan
Joined: 25 May 2012
Total Posts: 1050
17 Aug 2015 02:35 PM
Add it after second section, I'm on mobile do I cant
Report Abuse
Aggressions is not online. Aggressions
Joined: 31 Jul 2015
Total Posts: 8914
17 Aug 2015 02:37 PM
@cali i added it after the second function and its not workin!

-~|| CCC + LS IS NFT/NFS UNLESS OP || ROBUX: R$6,725 || RAP: 287,182 ||~-
Report Abuse
Aggressions is not online. Aggressions
Joined: 31 Jul 2015
Total Posts: 8914
17 Aug 2015 02:40 PM
qqqqq

-~|| CCC + LS IS NFT/NFS UNLESS OP || ROBUX: R$6,725 || RAP: 287,182 ||~-
Report Abuse
Aggressions is not online. Aggressions
Joined: 31 Jul 2015
Total Posts: 8914
17 Aug 2015 02:41 PM
yyyyy

-~|| CCC + LS IS NFT/NFS UNLESS OP || ROBUX: R$6,725 || RAP: 287,182 ||~-
Report Abuse
Aggressions is not online. Aggressions
Joined: 31 Jul 2015
Total Posts: 8914
17 Aug 2015 02:42 PM
gggggg

-~|| CCC + LS IS NFT/NFS UNLESS OP || ROBUX: R$6,725 || RAP: 287,182 ||~-
Report Abuse
pischokiller is not online. pischokiller
Joined: 16 Dec 2011
Total Posts: 3902
17 Aug 2015 02:42 PM
naw... to lazy
Report Abuse
Aggressions is not online. Aggressions
Joined: 31 Jul 2015
Total Posts: 8914
17 Aug 2015 02:43 PM
qq

-~|| CCC + LS IS NFT/NFS UNLESS OP || ROBUX: R$6,725 || RAP: 287,182 ||~-
Report Abuse
Aggressions is not online. Aggressions
Joined: 31 Jul 2015
Total Posts: 8914
17 Aug 2015 02:45 PM
y u do dis

-~|| CCC + LS IS NFT/NFS UNLESS OP || ROBUX: R$6,725 || RAP: 287,187 ||~-
Report Abuse
Aggressions is not online. Aggressions
Joined: 31 Jul 2015
Total Posts: 8914
17 Aug 2015 02:46 PM
aaaaaaaaaaaaaaaa

-~|| CCC + LS IS NFT/NFS UNLESS OP || ROBUX: R$6,725 || RAP: 287,187 ||~-
Report Abuse
Aggressions is not online. Aggressions
Joined: 31 Jul 2015
Total Posts: 8914
17 Aug 2015 02:47 PM
kkkk

-~|| CCC + LS IS NFT/NFS UNLESS OP || ROBUX: R$6,725 || RAP: 287,187 ||~-
Report Abuse
Aggressions is not online. Aggressions
Joined: 31 Jul 2015
Total Posts: 8914
17 Aug 2015 02:51 PM
rwrw

-~|| CCC + LS IS NFT/NFS UNLESS OP || ROBUX: R$6,725 || RAP: 287,127 ||~-
Report Abuse
Aggressions is not online. Aggressions
Joined: 31 Jul 2015
Total Posts: 8914
17 Aug 2015 02:54 PM
ergegege

-~|| CCC + LS IS NFT/NFS UNLESS OP || ROBUX: R$6,725 || RAP: 287,127 ||~-
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Club Houses » Let's Make a Deal
   
 
   
  • 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