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: this works in solo?? whats wrong?

Previous Thread :: Next Thread 
ownedyou1 is not online. ownedyou1
Joined: 03 Jul 2008
Total Posts: 528
11 Mar 2017 07:07 PM
ive tried every variation of scripts (local, normal ect) its not working in online mode only in solo Lol. If anyone has expierence in this kind of thing do you think you could look over my script and help me out please :)?




local t=script.Parent
local cr=script:WaitForChild("PlayerName")
local tv=script:WaitForChild("TeamValue")
local char=t.Parent






local yint=-2
local xint=-5
local m=Instance.new("Model")
m.Name="BrickWall"
m.Parent=workspace

char.Humanoid.WalkSpeed=char.Humanoid.WalkSpeed-14
local ogcf=t.CFrame
local bv=Instance.new("BodyVelocity")
bv.Parent=t
bv.MaxForce=Vector3.new(2000,2000,2000)
bv.Velocity=Vector3.new(0,3,0)
game.Debris:AddItem(bv,1)
t.CFrame=ogcf+Vector3.new(0,30,0)
for b=1,10 do
local p=Instance.new("Part")
p.Parent=m
p.Transparency=1
local hit=script.hit:clone()
local pn=cr:clone()
pn.Parent=hit
local tv1=tv:clone()
tv1.Parent=hit

hit.Parent=p
hit.Disabled=false
p.Size=Vector3.new(5,24,5)
p.TopSurface="Smooth"
p.Material="Sand"
p.BottomSurface="Smooth"
p.CFrame=ogcf+Vector3.new(xint,yint,xint)
p.BrickColor=script.SpellColor.Value
p.Anchored=true
local s=script.del:clone()
s.Parent=p
s.Disabled=false
xint=xint+1
wait()
end


char.Humanoid.WalkSpeed=char.Humanoid.WalkSpeed+14

wait()

script:Destroy()
Report Abuse
breifmanny is online. breifmanny
Joined: 23 Dec 2011
Total Posts: 341
11 Mar 2017 07:09 PM
did u just try to wait for a child that the server doesnt even have logged as a variable yet lol
Report Abuse
ownedyou1 is not online. ownedyou1
Joined: 03 Jul 2008
Total Posts: 528
11 Mar 2017 07:11 PM
??
Report Abuse
ownedyou1 is not online. ownedyou1
Joined: 03 Jul 2008
Total Posts: 528
11 Mar 2017 07:11 PM
what part of "works in solo" dont you understand
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