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: 500 ROBUX FOR WHOEVER CAN DO THIS AND IT WORKS

Previous Thread :: Next Thread 
Aggressions is not online. Aggressions
Joined: 31 Jul 2015
Total Posts: 8914
17 Aug 2015 06:09 PM
make it so when you die the car gets removed

and make it so if u spawn 2 cars then the old car gets despawned and the new car stays spawned.

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,680 || RAP: 286,970 ||~-
Report Abuse
Gredgar is not online. Gredgar
Joined: 19 Jun 2015
Total Posts: 4829
17 Aug 2015 06:10 PM
ask lmad's #1 ape verbal he can do it


Gnna give this ape a cracker ( ͡° ͜ʖ ͡° )
Report Abuse
Aggressions is not online. Aggressions
Joined: 31 Jul 2015
Total Posts: 8914
17 Aug 2015 06:10 PM
O

-~|| CCC + LS IS NFT/NFS UNLESS OP || ROBUX: R$6,680 || RAP: 286,970 ||~-
Report Abuse
Aggressions is not online. Aggressions
Joined: 31 Jul 2015
Total Posts: 8914
17 Aug 2015 06:11 PM
KKKK

-~|| CCC + LS IS NFT/NFS UNLESS OP || ROBUX: R$6,680 || RAP: 286,970 ||~-
Report Abuse
Aggressions is not online. Aggressions
Joined: 31 Jul 2015
Total Posts: 8914
17 Aug 2015 06:12 PM
qq

-~|| CCC + LS IS NFT/NFS UNLESS OP || ROBUX: R$6,680 || RAP: 286,970 ||~-
Report Abuse
Aggressions is not online. Aggressions
Joined: 31 Jul 2015
Total Posts: 8914
17 Aug 2015 06:12 PM
yyyy

-~|| CCC + LS IS NFT/NFS UNLESS OP || ROBUX: R$6,680 || RAP: 286,970 ||~-
Report Abuse
Aggressions is not online. Aggressions
Joined: 31 Jul 2015
Total Posts: 8914
17 Aug 2015 06:14 PM
kk

-~|| CCC + LS IS NFT/NFS UNLESS OP || ROBUX: R$6,680 || RAP: 286,970 ||~-
Report Abuse
Aggressions is not online. Aggressions
Joined: 31 Jul 2015
Total Posts: 8914
17 Aug 2015 06:15 PM
gg

-~|| CCC + LS IS NFT/NFS UNLESS OP || ROBUX: R$6,680 || RAP: 286,970 ||~-
Report Abuse
Aggressions is not online. Aggressions
Joined: 31 Jul 2015
Total Posts: 8914
17 Aug 2015 06:15 PM
dd

-~|| CCC + LS IS NFT/NFS UNLESS OP || ROBUX: R$6,680 || RAP: 286,970 ||~-
Report Abuse
lagoman29 is not online. lagoman29
Joined: 08 Jul 2010
Total Posts: 34
17 Aug 2015 06:16 PM
make a value in the gui.
when a car is spawned then:
value.value = 1 (number value)

then

if you go to spawn another car then
value.value = 0
car:destroy()
wait(2)
value.value = 1
spawn car

to remove:
if the player's health is 0 then
value.value = 0
car:destroy()


hope it helps, if you need the ACTUAL code, PM me! I'll be glad to help more.
--for free :)--
-lago
Report Abuse
Aggressions is not online. Aggressions
Joined: 31 Jul 2015
Total Posts: 8914
17 Aug 2015 06:17 PM
tt

-~|| CCC + LS IS NFT/NFS UNLESS OP || ROBUX: R$6,680 || RAP: 286,970 ||~-
Report Abuse
Aggressions is not online. Aggressions
Joined: 31 Jul 2015
Total Posts: 8914
17 Aug 2015 06:18 PM
@lag

i need the whole entire script posted here with the things i said added

-~|| CCC + LS IS NFT/NFS UNLESS OP || ROBUX: R$6,680 || RAP: 286,970 ||~-
Report Abuse
Aggressions is not online. Aggressions
Joined: 31 Jul 2015
Total Posts: 8914
17 Aug 2015 06:20 PM
aaaaaaaa

-~|| CCC + LS IS NFT/NFS UNLESS OP || ROBUX: R$6,680 || RAP: 286,970 ||~-
Report Abuse
Aggressions is not online. Aggressions
Joined: 31 Jul 2015
Total Posts: 8914
17 Aug 2015 06:21 PM
yyyyyy

-~|| CCC + LS IS NFT/NFS UNLESS OP || ROBUX: R$6,680 || RAP: 286,970 ||~-
Report Abuse
Aggressions is not online. Aggressions
Joined: 31 Jul 2015
Total Posts: 8914
17 Aug 2015 06:23 PM
155

-~|| CCC + LS IS NFT/NFS UNLESS OP || ROBUX: R$6,680 || RAP: 286,970 ||~-
Report Abuse
Aggressions is not online. Aggressions
Joined: 31 Jul 2015
Total Posts: 8914
17 Aug 2015 06:24 PM
655

-~|| CCC + LS IS NFT/NFS UNLESS OP || ROBUX: R$6,680 || RAP: 286,970 ||~-
Report Abuse
Aggressions is not online. Aggressions
Joined: 31 Jul 2015
Total Posts: 8914
17 Aug 2015 06:28 PM
34535353

-~|| CCC + LS IS NFT/NFS UNLESS OP || ROBUX: R$6,680 || RAP: 286,970 ||~-
Report Abuse
Aggressions is not online. Aggressions
Joined: 31 Jul 2015
Total Posts: 8914
17 Aug 2015 06:29 PM
yyyy

-~|| CCC + LS IS NFT/NFS UNLESS OP || ROBUX: R$6,680 || RAP: 286,970 ||~-
Report Abuse
Aggressions is not online. Aggressions
Joined: 31 Jul 2015
Total Posts: 8914
17 Aug 2015 06:30 PM
np

-~|| CCC + LS IS NFT/NFS UNLESS OP || ROBUX: R$6,680 || RAP: 286,970 ||~-
Report Abuse
Aggressions is not online. Aggressions
Joined: 31 Jul 2015
Total Posts: 8914
17 Aug 2015 06:32 PM
ertetete

-~|| CCC + LS IS NFT/NFS UNLESS OP || ROBUX: R$6,680 || RAP: 286,970 ||~-
Report Abuse
Aggressions is not online. Aggressions
Joined: 31 Jul 2015
Total Posts: 8914
17 Aug 2015 06:46 PM
123131

-~|| CCC + LS IS NFT/NFS UNLESS OP || ROBUX: R$6,680 || RAP: 286,970 ||~-
Report Abuse
Aggressions is not online. Aggressions
Joined: 31 Jul 2015
Total Posts: 8914
17 Aug 2015 06:51 PM
12414141

-~|| CCC + LS IS NFT/NFS UNLESS OP || ROBUX: R$6,680 || RAP: 286,970 ||~-
Report Abuse
Aggressions is not online. Aggressions
Joined: 31 Jul 2015
Total Posts: 8914
17 Aug 2015 06:58 PM
23424242

-~|| CCC + LS IS NFT/NFS UNLESS OP || ROBUX: R$6,680 || RAP: 286,970 ||~-
Report Abuse
Aggressions is not online. Aggressions
Joined: 31 Jul 2015
Total Posts: 8914
17 Aug 2015 07:12 PM
4234242

-~|| CCC + LS IS NFT/NFS UNLESS OP || ROBUX: R$6,630 || RAP: 286,970 ||~-
Report Abuse
Aggressions is not online. Aggressions
Joined: 31 Jul 2015
Total Posts: 8914
17 Aug 2015 07:15 PM
3424242

-~|| CCC + LS IS NFT/NFS UNLESS OP || ROBUX: R$6,630 || RAP: 286,970 ||~-
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