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
 

Help with my script!

Previous Thread :: Next Thread 
Diviseon is not online. Diviseon
Joined: 04 Mar 2013
Total Posts: 2
06 Mar 2013 04:27 PM
Ok, so I made a script that creates baseplates for players when they step on a block, then it supposedly makes it so they can't use it again, even when dead. but when its stepped on for a second time, it deletes the baseplate made then makes another one. I never put any remove codes in it at all. here's the script.

---------------------------------------------------------------------------------
--Random list things
---------------------------------------------------------------------------------
Materials = {"Concrete", "Plastic", "Grass", "Wood", "Slate", "DiamondPlate", "Foil", "Ice", "CorrodedMetal"}
Words = {"Hi", "Bye", "No", "lol", "shg", "ajglhf", "gshiuh", "aglnr", "jghsiuh", "afljhg", "gjlanre", "afkjrbg", "ljganrkaen", "jangtjn", "jlknakn", "karlg", "lnjkgra"}

---------------------------------------------------------------------------------
local r = game.Workspace
local p = Instance.new("Part")
local v = Instance.new("Vector3Value")
local m = Instance.new("Model")
local pos = Instance.new("Vector3Value")
---------------------------------------------------------------------------------

---------------------------------------------------------------------------------
function onTouched(hit)
local guy = game.Players:findFirstChild(hit.Parent.Name)
---------------------------------------------------------------------------------
--[[local nam = "" ..player.Name.. ""
local mo = "" ..r.Mainer.name.Value.. ""
--------------------------------------------------------------------------------
m.Parent = game.Workspace
m.Name = "" ..Words[math.random(1, #Words)].. ""
---------------------------------------------------------------------------------
v.Parent = r.Mainer
v.Value = m.Name
v.Name = player.Name--]]
--------------------------------------------------------------------------------
p.Parent = script.Parent
p.Anchored = true
p.Position = Vector3.new(math.random(-10000,10000),math.random(-10000,10000),math.random(-10000,10000))
p.Color = Color3.new(math.random(),math.random(),math.random())
p.FormFactor = "Plate"
p.Size = game.Workspace.Baseplate.Size
p.Material = Materials[math.random(1,#Materials)]
p.Locked = true
p.Name = "" ..math.random().. ""
---------------------------------------------------------------------------------
pos.Name = "Pos"
pos.Value = Vector3.new(p.Position.X,p.Position.Y + 9,p.Position.Z)
---------------------------------------------------------------------------------
v.Value = p.Position
v.Parent = game.Workspace.Pos
v.Name = "Val"
---------------------------------------------------------------------------------
--player.Character.Torso.CFrame = CFrame.new(Vector3.new(p.Position.x, p.Position.y + 9, p.Position.z))
---------------------------------------------------------------------------------
wait(5)
pos.Parent = guy.PlayerGui.Tele
---------------------------------------------------------------------------------
end

script.Parent.Touched:connect(onTouched)

please help!
Report Abuse
masterblokz is not online. masterblokz
Joined: 17 Nov 2010
Total Posts: 9517
06 Mar 2013 04:30 PM
This is not your script.
Don't steal a script and say it's urs.
k?
If you made this script you would know the error.
Report Abuse
Diviseon is not online. Diviseon
Joined: 04 Mar 2013
Total Posts: 2
06 Mar 2013 04:41 PM
I very much made this script, thank you very much. I worked very hard on it. And the error only happens when theres more than one character on it.
Report Abuse
cpextra360 is not online. cpextra360
Joined: 30 Jan 2010
Total Posts: 1973
06 Mar 2013 04:50 PM
we were video chatting and i watched him make this 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