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
 

Re: whats wrong with this ??

Previous Thread :: Next Thread 
joshrocks101 is not online. joshrocks101
Joined: 07 Jun 2011
Total Posts: 1712
05 Sep 2011 06:04 PM
x = script.Parent.game.Workspace.Players.Backpack.Demyx Guitar

function onTouched()
wait(0.1)
x.RocketScript:Remove()
wait(0.1)
x.SwordScript.Disabled = true
wait(0.1)
x.SwordScript.Disabled = false
end

script.Parent.Note.Touched:connect(onTouched)

???
Report Abuse
kornawe is not online. kornawe
Joined: 25 Nov 2008
Total Posts: 1272
05 Sep 2011 06:06 PM
Outpt?
Report Abuse
MrgamesNwatch is not online. MrgamesNwatch
Joined: 02 Feb 2009
Total Posts: 7729
05 Sep 2011 06:06 PM
x = script.Parent.game.Workspace.Players.Backpack{"Demyx Guitar"]
Report Abuse
MrgamesNwatch is not online. MrgamesNwatch
Joined: 02 Feb 2009
Total Posts: 7729
05 Sep 2011 06:07 PM
woops i mean:
x = script.Parent.game.Workspace.Players.Backpack["Demyx Guitar"]
Report Abuse
MrgamesNwatch is not online. MrgamesNwatch
Joined: 02 Feb 2009
Total Posts: 7729
05 Sep 2011 06:07 PM
grrrrr fail..

x = script.Parent.gamePlayers.Backpack["Demyx Guitar"]
Report Abuse
nate890 is not online. nate890
Joined: 22 Nov 2008
Total Posts: 21686
05 Sep 2011 06:09 PM
x=WUT?!?!

deb=false
function onTouched()
if hit:FindFirstChild("Humanoid")~=nil then
if deb==false then
deb=true
x=game.Player:getPlayerFromCharacter(hit.Parent)
wait(0.1)
x.BackPack:FindFirstChild("Demyx Guitar").RocketScript:Remove()
wait(0.1)
x.BackPack:FindFirstChild("Demyx Guitar").SwordScript.Disabled = true
wait(0.1)
x.BackPack:FindFirstChild("Demyx Guitar").SwordScript.Disabled = false
end
deb=false
end

script.Parent.Note.Touched:connect(onTouched)

I don't even know if that'll work. Your script was messed up.

­<'+1 Post. Ujelly?'>
Report Abuse
joshrocks101 is not online. joshrocks101
Joined: 07 Jun 2011
Total Posts: 1712
05 Sep 2011 06:09 PM
@mrgames this is the output
Players.joshrocks101.Backpack.Demyx Guitar.Note.Script:3: '=' expected near 'function'




and @ the other guy that didnt work D:
Report Abuse
joshrocks101 is not online. joshrocks101
Joined: 07 Jun 2011
Total Posts: 1712
05 Sep 2011 06:12 PM
@nate890 heres the output ur script said
Players.joshrocks101.Backpack.Demyx Guitar.Note.Script:3: '=' expected near 'deb'
Report Abuse
nate890 is not online. nate890
Joined: 22 Nov 2008
Total Posts: 21686
05 Sep 2011 06:54 PM
deb=false
function onTouched()
if hit.Parent:FindFirstChild("Humanoid") then
if deb==false then
deb=true
x=game.Player:getPlayerFromCharacter(hit.Parent)
wait(0.1)
x.BackPack:FindFirstChild("Demyx Guitar").RocketScript:Remove()
wait(0.1)
x.BackPack:FindFirstChild("Demyx Guitar").SwordScript.Disabled = true
wait(0.1)
x.BackPack:FindFirstChild("Demyx Guitar").SwordScript.Disabled = false
end
deb=false
end

script.Parent.Note.Touched:connect(onTouched)

­<'+1 Post. Ujelly?'>
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