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 » All Things ROBLOX
Home Search
 

Re: Own made script crashes Studio

Previous Thread :: Next Thread 
TetraZazicII is not online. TetraZazicII
Joined: 23 Feb 2012
Total Posts: 476
28 May 2015 01:43 AM
...

Plain stupidity. I need help here, because the output doesn't know if it's right or wrong.

local p = Workspace.Closer

while true do
function OnClicked ()
wait(0.1)
p.Transparency = 0.9
wait(0.1)
p.Transparency = 0.8
wait(0.1)
p.Transparency = 0.7
wait(0.1)
p.Transparency = 0.6
wait(0.1)
p.Transparency = 0.5
p.CanCollide = true
end
end

What's wrong here? The moment I click Play it won't load.
Report Abuse
Tevolo is not online. Tevolo
Joined: 13 Nov 2009
Total Posts: 1252
28 May 2015 01:49 AM
First off, you should post this in the 'Scripters' forum. Secondly, you are not connecting the onclick function to any event.
Report Abuse
Doumina is not online. Doumina
Joined: 24 May 2012
Total Posts: 2308
28 May 2015 01:57 AM
You need to ad, Anti-Lag script into that script of yours.



Take one free - http://www.roblox.com/Dominus-Arantis-item?id=252877256
Report Abuse
ChasingSpace is online. ChasingSpace
Joined: 09 May 2015
Total Posts: 1979
28 May 2015 01:59 AM
local p = Workspace.Closer

while true do ------< bingo, this is what's causing it.
function OnClicked ()
wait(0.1)
p.Transparency = 0.9
wait(0.1)
p.Transparency = 0.8
wait(0.1)
p.Transparency = 0.7
wait(0.1)
p.Transparency = 0.6
wait(0.1)
p.Transparency = 0.5
p.CanCollide = true
end
end ------ yep

what to heck
Report Abuse
PvN is not online. PvN
Joined: 10 Apr 2010
Total Posts: 22145
28 May 2015 05:03 AM
lol ha ha

http://www.roblox.com/games/245480007/Forum-Simulator
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Roblox » All Things ROBLOX
   
 
   
  • 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