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: There.

Previous Thread :: Next Thread 
odst508 is not online. odst508
Joined: 03 Apr 2010
Total Posts: 1670
25 Aug 2012 04:22 AM
Theres always people delete the baseplate, Anyone here knows a script for it?
Report Abuse
Fedorakid is not online. Fedorakid
Joined: 17 Jul 2010
Total Posts: 7079
25 Aug 2012 04:25 AM
b = Instance.new("Part",Workspace)
b.Size = Vector3.new(50,1,50)
b.Anchored = true

there.
Report Abuse
IamAwesome777 is not online. IamAwesome777
Joined: 18 Jul 2011
Total Posts: 2640
25 Aug 2012 04:38 AM
I would change the size a bit. 50 by 50 isn't really big...
Report Abuse
RoAnt is not online. RoAnt
Joined: 14 Jul 2008
Total Posts: 16794
25 Aug 2012 04:54 AM
215 for x and z is about right.
Report Abuse
Fedorakid is not online. Fedorakid
Joined: 17 Jul 2010
Total Posts: 7079
25 Aug 2012 06:25 AM
Whatever, idk how big he want it :P
Report Abuse
IamAwesome777 is not online. IamAwesome777
Joined: 18 Jul 2011
Total Posts: 2640
25 Aug 2012 06:50 AM
It is actually 512 by 512 for the classic baseplate.
Report Abuse
nairod7 is not online. nairod7
Joined: 26 Mar 2010
Total Posts: 869
25 Aug 2012 07:24 AM
I made the following script. You just have to say it one time and if the base or the spawn location is deleted, or even if a property of an object is changed ( like the position u_u ), it insert a new base or spawn location (script:Destroy() is supposed to make the script unremovable) :


script:Destroy();

local EPR, ESP;
local PRT, SPN = Instance.new'Part', Instance.new'SpawnLocation';

PRT.Name = "_BASE";
PRT.Anchored = true;
PRT.Locked = true;
PRT.CanCollide = true;
PRT.BrickColor = BrickColor.new'Bright green';
PRT.Size = Vector3.new(512, 1.2, 512);
PRT.CFrame = CFrame.new(0, 0, 0);

SPN.Name = "_SPAWN";
SPN.Anchored = true;
SPN.Locked = true;
SPN.CanCollide = true;
SPN.Transparency = 1;
SPN.Size = Vector3.new(1.2, 1.2, 1.2);
SPN.CFrame = CFrame.new(0, 0, 0);

function InsertPart(VAL)
local TP2, TS2;
if(VAL == nil)then VAL = 0; end
if(VAL == 0)or(VAL == 1)then
if(PR2 ~= nil)then pcall(function() PR2:Destroy(); end); end
TP2 = PRT:Clone();
TP2.Parent = Game:GetService'Workspace';
EPR = TP2.Changed:connect(function()
pcall(function() TP2:Destroy(); end);
end);
end
if(VAL == 0)or(VAL == 2)then
if(SP2 ~= nil)then pcall(function() SP2:Destroy(); end); end
TS2 = SPN:Clone();
TS2.Parent = Game:GetService'Workspace';
ESP = TS2.Changed:connect(function()
pcall(function() TS2:Destroy(); end);
end);
end
return TP2, TS2;
end

local PR2, SP2 = InsertPart();

Game:GetService'Workspace'.DescendantRemoving:connect(function(OBJ)
if(OBJ:IsA'BasePart')then
if(OBJ == PR2)then PR2 = InsertPart(1); end
if(OBJ == SP2)then _, SP2 = InsertPart(2); end
end
end);

Report Abuse
bozor111 is not online. bozor111
Joined: 05 Mar 2012
Total Posts: 1
25 Aug 2012 09:46 AM
I CANT SCRIPT!!!!!!!!!!!!!!!!!!!!!!!!
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