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 » ROBLOX Fun » Look What I Made
Home Search
 

RE:

Previous Thread :: Next Thread 
Laxxe is not online. Laxxe
Joined: 14 Jul 2007
Total Posts: 507
17 Jul 2007 08:34 AM
This script runs when you push a button, I need it to run without a button.

========================================
humanoid = nil

function onTouched(part)
if part.Parent ~= nil then
local h = part.Parent:findFirstChild("Humanoid")
if h~=nil then
if isenabled~=0 then
if h==humanoid then
return
end

while true do
local toast=script.Parent.toast:clone()
isenabled=0
toast.Parent=game.Workspace
toast.Transparency=0
toast.Locked=false
toast.Anchored=false
toast.CanCollide=true
toast.RotVelocity=Vector3.new(0,0,0)
local toastrot=CFrame.new(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
toast.CFrame = script.Parent.toaster.CFrame * CFrame.new(Vector3.new(0,0,0)) * toastrot

wait(1)
isenabled=1


end
end
end
end
end


game.Workspace.ButtonOn.Touched:connect(onTouched)
========================================
Report Abuse
PCwiener is not online. PCwiener
Joined: 03 Mar 2007
Total Posts: 3746
17 Jul 2007 10:15 AM
ah... i made one of these.... can you not turn it into a while loop?

http://wiki.roblox.com/index.php?title=Basic_Scripting#While_Loops


i might help if you cant....
Report Abuse
Laxxe is not online. Laxxe
Joined: 14 Jul 2007
Total Posts: 507
17 Jul 2007 02:28 PM
It...is a while loop...

I just need it to run straight itself, not when you press the button
Report Abuse
PaintballTournament is not online. PaintballTournament
Joined: 23 Jun 2007
Total Posts: 45
18 Jul 2007 03:28 AM
while true do
local toast=script.Parent.toast:clone()
toast.Parent=game.Workspace
toast.Transparency=0
toast.Locked=false
toast.Anchored=false
toast.CanCollide=true
toast.RotVelocity=Vector3.new(0,0,0)
local toastrot=CFrame.new(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
toast.CFrame = script.Parent.toaster.CFrame * CFrame.new(Vector3.new(0,0,0)) * toastrot
end
Report Abuse
PaintballTournament is not online. PaintballTournament
Joined: 23 Jun 2007
Total Posts: 45
18 Jul 2007 03:29 AM
oops mistake

while true do
local toast=script.Parent.toast:clone()
toast.Parent=game.Workspace
toast.Transparency=0
toast.Locked=false
toast.Anchored=false
toast.CanCollide=true
toast.RotVelocity=Vector3.new(0,0,0)
local toastrot=CFrame.new(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
toast.CFrame = script.Parent.toaster.CFrame * CFrame.new(Vector3.new(0,0,0)) * toastrot
wait(5) -- change this to what you want
end
Report Abuse
Laxxe is not online. Laxxe
Joined: 14 Jul 2007
Total Posts: 507
18 Jul 2007 04:36 AM
Perfect thank you!
Now I don't have the trouble with the script double or even triple running itself resulting in a clog and a mass cake explosion!
Report Abuse
TheTrilogy is not online. TheTrilogy
Joined: 19 Mar 2013
Total Posts: 96475
10 Jun 2013 06:11 AM
hi wann trad with me
Report Abuse
TheTrilogy is not online. TheTrilogy
Joined: 19 Mar 2013
Total Posts: 96475
10 Jun 2013 06:12 AM
im downg.rading so send me trades
Report Abuse
TheTrilogy is not online. TheTrilogy
Joined: 19 Mar 2013
Total Posts: 96475
10 Jun 2013 06:12 AM
upgrading .so send me trade!s
Report Abuse
TheTrilogy is not online. TheTrilogy
Joined: 19 Mar 2013
Total Posts: 96475
10 Jun 2013 06:12 AM
100
Report Abuse
TheTrilogy is not online. TheTrilogy
Joined: 19 Mar 2013
Total Posts: 96475
10 Jun 2013 06:12 AM
send me t.rades pls!!!!
Report Abuse
TheTrilogy is not online. TheTrilogy
Joined: 19 Mar 2013
Total Posts: 96475
10 Jun 2013 06:12 AM
40
Report Abuse
TheTrilogy is not online. TheTrilogy
Joined: 19 Mar 2013
Total Posts: 96475
10 Jun 2013 06:12 AM
4
Report Abuse
TheTrilogy is not online. TheTrilogy
Joined: 19 Mar 2013
Total Posts: 96475
10 Jun 2013 06:13 AM
how a.re you my friend?
Report Abuse
TheTrilogy is not online. TheTrilogy
Joined: 19 Mar 2013
Total Posts: 96475
10 Jun 2013 06:13 AM
wanna trade?
Report Abuse
TheTrilogy is not online. TheTrilogy
Joined: 19 Mar 2013
Total Posts: 96475
10 Jun 2013 06:13 AM
71
Report Abuse
TheTrilogy is not online. TheTrilogy
Joined: 19 Mar 2013
Total Posts: 96475
10 Jun 2013 06:13 AM
84
Report Abuse
TheTrilogy is not online. TheTrilogy
Joined: 19 Mar 2013
Total Posts: 96475
10 Jun 2013 06:13 AM
hello friend
Report Abuse
TheTrilogy is not online. TheTrilogy
Joined: 19 Mar 2013
Total Posts: 96475
10 Jun 2013 06:13 AM
trade with mh pls?
Report Abuse
TheTrilogy is not online. TheTrilogy
Joined: 19 Mar 2013
Total Posts: 96475
10 Jun 2013 06:14 AM
82
Report Abuse
TheTrilogy is not online. TheTrilogy
Joined: 19 Mar 2013
Total Posts: 96475
10 Jun 2013 06:14 AM
send me a friend. request!
Report Abuse
TheTrilogy is not online. TheTrilogy
Joined: 19 Mar 2013
Total Posts: 96475
10 Jun 2013 06:14 AM
how much robux do you ha.ve
Report Abuse
TheTrilogy is not online. TheTrilogy
Joined: 19 Mar 2013
Total Posts: 96475
10 Jun 2013 06:14 AM
20
Report Abuse
TheTrilogy is not online. TheTrilogy
Joined: 19 Mar 2013
Total Posts: 96475
10 Jun 2013 06:14 AM
friend ho.w much tix u has
Report Abuse
TheTrilogy is not online. TheTrilogy
Joined: 19 Mar 2013
Total Posts: 96475
10 Jun 2013 06:14 AM
wanna trade with me cuz i like trading
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » ROBLOX Fun » Look What I Made
   
 
   
  • 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