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 » Scripters
Home Search
 

Re: Whats wrong with this basic script?

Previous Thread :: Next Thread 
Apollohh is not online. Apollohh
Joined: 28 Dec 2012
Total Posts: 114
10 Feb 2017 08:23 PM
print'Test'

reload = 0.4 -- Change Wait Time for Each Brick...

while true do
local p = game.ServerStorage.KillBrickTop2:Clone()
local droppers = script.Parent.Droppers
local d1 = droppers.D1
local d2 = droppers.D2
local d3 = droppers.D3
local d4 = droppers.D4
local d5 = droppers.D5
local d6 = droppers.D6
local d7 = dr###########l######8####r##################9 = droppers.D9
local d10 = droppers.D10
local d11 = droppers.D11
local d12 = droppers.D12
local d13 = droppers.D13
local d14 = droppers.D14
local d15 = droppers.D15
local d16 = droppers.D16

local s = math.random(1,16)
wait(0.1)
if s == 1 then
p.CFrame = d1.CFrame
p.Parent = d1
wait(reload)
end
if s == 2 then
p.CFrame = d2.CFrame
p.Parent = d2##wait(reload)
end
if s == 3 then
p.CFrame = d3#########p.Parent = d3##wait(reload)
end
if s == 4 then
p.CFrame = d4.CFrame
p.Parent = d4
wait(reload)
end
if s == 5 then
p.CFrame = d5.CFrame
p.Parent = d5
wait(reload)
end
if s == 6 then
p.CFrame = d6.CFrame
p.Parent = d6
wait(reload)
end
if s == 7 then
p.CFrame = d7.CFrame
p.Parent = d7
wait(reload)
end
if s == 8 then
p.CFrame = d8################### d8################end
if s == 9 then
p.CFrame = d9.CFrame
p.Parent = d9
wait(reload)
end
if s == 10 then
p.CFrame = d10.CFrame
p.Parent = d10
wait(reload)
end
if s == 11 then
p.CFrame = d1##########p.Parent = d1###wait(reload)
end
if s == 12 then
p.CFrame = d1#################### d1#################end
if s == 13 then
p.CFrame = d1#################### d1#################end
if s == 14 then
p.CFrame = d1##########p.Parent = d1###wait(reload)
end
if s == 15 then
p.CFrame = d1##########p.Parent = d15
wait(reload)
end
if s == 16 then
p.CFrame = d16.CFrame
p.Parent = d16
wait(reload)
end
end



~Mitchell
Report Abuse
Apollohh is not online. Apollohh
Joined: 28 Dec 2012
Total Posts: 114
10 Feb 2017 08:23 PM
Not sure why of it above is #####


~Mitchell
Report Abuse
KingJacko is not online. KingJacko
Joined: 20 Jun 2008
Total Posts: 3944
10 Feb 2017 08:24 PM
There's an easier way of doing this.
Report Abuse
Intended_Pun is not online. Intended_Pun
Joined: 10 Aug 2016
Total Posts: 4384
10 Feb 2017 08:25 PM
>Posts looooong code
>Doesn't say what it's supposed to do
>Doesn't post any output
>Calls it "basic"
>Expetcs help
Report Abuse
KingJacko is not online. KingJacko
Joined: 20 Jun 2008
Total Posts: 3944
10 Feb 2017 08:26 PM
Your YT channel is also cancer, so you lost a ton of respect there.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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