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: what is wrong with this script?

Previous Thread :: Next Thread 
Hanboy16 is not online. Hanboy16
Joined: 22 Aug 2008
Total Posts: 3808
22 Aug 2014 03:39 PM
gab=false
game.Players.PlayerAdded:connect(function(playa)
playa.CharacterAdded:connect(function(char)
char.Humanoid.Changed:connect(function()
if char:findFirstChild("Football") then
if char.Humanoid.Jump and not gab then
char.Torso.CFrame=char.Torso.CFrame*CFrame.Angles(math.rad(-40),0,0)
gab=true
elseif not char.Humanoid.Jump then
gab=false
end end end
)
end
)
end
)
Report Abuse
Hanboy16 is not online. Hanboy16
Joined: 22 Aug 2008
Total Posts: 3808
22 Aug 2014 03:45 PM
|
Report Abuse
Vescatur is not online. Vescatur
Joined: 18 Feb 2012
Total Posts: 3426
22 Aug 2014 03:57 PM
First off, when you title your post "what is wrong with this script?", people don't want to look at it, they just go on to the next one. Try doing something like "Error with PlayerAdded event", or whatever the problem is.

Secondly, if you have a problem with your script, we very much appreciate if you tell us what the Output is, so we can locate and solve the problem.

Thirdly, try annotating the problem. Just giving us code and saying "Doesn't work" isn't really helpful to us in being able to figure out your problem.

~I am Vescatur, who are you?
Report Abuse
Hanboy16 is not online. Hanboy16
Joined: 22 Aug 2008
Total Posts: 3808
22 Aug 2014 04:04 PM
im not good with scripting, someone else made this script and nobody has tooken an attempt from the league/game to fix the script so im tryin to ask good scripters to see if they know if theres a problem in the script. But what broke (if your wondering) is that when someone has the football in their hands, when they jumped, it would kinda like trip them, but now it doesn't do it anymore and people can jump as much as they want now without tripping when they have the ball.
Report Abuse
Hanboy16 is not online. Hanboy16
Joined: 22 Aug 2008
Total Posts: 3808
22 Aug 2014 04:47 PM

[]
Report Abuse
Hanboy16 is not online. Hanboy16
Joined: 22 Aug 2008
Total Posts: 3808
22 Aug 2014 11:55 PM
[][]
Report Abuse
Hanboy16 is not online. Hanboy16
Joined: 22 Aug 2008
Total Posts: 3808
23 Aug 2014 01:14 AM
[][][]
Report Abuse
Roblok1 is not online. Roblok1
Joined: 27 Jul 2011
Total Posts: 2019
23 Aug 2014 01:23 AM
i must say, people have some funny signatures after their posts.
Report Abuse
Hanboy16 is not online. Hanboy16
Joined: 22 Aug 2008
Total Posts: 3808
23 Aug 2014 04:56 PM
[][][][]
Report Abuse
Hanboy16 is not online. Hanboy16
Joined: 22 Aug 2008
Total Posts: 3808
24 Aug 2014 01:56 AM
Probably gonna have to bump it tomorrow tbh
Report Abuse
baheeg is not online. baheeg
Joined: 19 Jul 2010
Total Posts: 72846
24 Aug 2014 01:59 AM
what's the purpose of the script
and is this the full script
and what's the output
Report Abuse
Hanboy16 is not online. Hanboy16
Joined: 22 Aug 2008
Total Posts: 3808
25 Aug 2014 05:49 PM
what's the purpose of the script:

This is suppose to not let u jump fully, it trips kind of if u try jumping (ONLY WHEN SOMEONE IS HOLDING A FOOTBALL)

and is this the full script:

Well the model holds different scripts but this is the broken script out of the scripts (if you need the model link,i'll give it)

what's the output:
Idk how to find the output very much,I tried my best, and I found this (using what I learned from tutorials)
18:48:35.258 - Workspace.Part.Script:1: unfinished string near ''gab=false'
18:48:35.260 - Jersey is not a valid member of Script
18:48:35.261 - Script 'Workspace.AutoTackle 2.1 (Workspace)', Line 1
18:48:35.261 - Stack End
Report Abuse
Hanboy16 is not online. Hanboy16
Joined: 22 Aug 2008
Total Posts: 3808
25 Aug 2014 06:02 PM
[][][][][]
Report Abuse
kingstarwest is not online. kingstarwest
Joined: 15 Aug 2010
Total Posts: 1156
25 Aug 2014 06:09 PM
game.Players.PlayerAdded:connect(function(player)
player.CharacterAdded:connect(function(char)
char.Humanoid.Changed:connect(function()
if char:FindFirstChild("Football") then
if char.Humanoid.Jump then
char.Torso.CFrame=char.Torso.CFrame*CFrame.Angles(math.rad(-40),0,0)
end
end
end)
end)
end)
Report Abuse
Laedere is not online. Laedere
Joined: 17 Jun 2013
Total Posts: 23601
25 Aug 2014 06:10 PM
...
░░░░░░░░░░░░▄▐
░░░░░░▄▄▄░░▄██▄
░░░░░▐▀█▀▌░░░░▀█▄
░░░░░▐█▄█▌░░░░░░▀█▄
░░░░░░▀▄▀░░░▄▄▄▄▄▀▀
░░░░▄▄▄██▀▀▀▀
░░░█▀▄▄▄█░▀▀
░░░▌░▄▄▄▐▌▀▀▀
▄░▐░░░▄▄░█░▀▀ U HAVE BEEN SPOOKED BY THE
▀█▌░░░▄░▀█▀░▀
░░░░░░░▄▄▐▌▄▄
░░░░░░░▀███▀█░▄
░░░░░░▐▌▀▄▀▄▀▐▄SPOOKY SKILENTON
░░░░░░▐▀░░░░░░▐▌
░░░░░░█░░░░░░░░█
░░░░░▐▌░░░░░░░░░█
░░░░░█░░░░░░░░░░▐▌SEND THIS TO 7 PPL OR SKELINTONS WILL EAT YOU
Report Abuse
kingstarwest is not online. kingstarwest
Joined: 15 Aug 2010
Total Posts: 1156
25 Aug 2014 06:10 PM
Is "Football" located in the character btw?
Report Abuse
Hanboy16 is not online. Hanboy16
Joined: 22 Aug 2008
Total Posts: 3808
25 Aug 2014 06:13 PM
I dont believe so
Report Abuse
kingstarwest is not online. kingstarwest
Joined: 15 Aug 2010
Total Posts: 1156
25 Aug 2014 06:14 PM
Well try this:

game.Players.PlayerAdded:connect(function(player)
player.CharacterAdded:connect(function(char)
char.Humanoid.Changed:connect(function()
if char:FindFirstChild("Football") then
if char.Humanoid.Jump then
char.Torso.CFrame=char.Torso.CFrame*CFrame.Angles(math.rad(-40),0,0)
end
end
end)
end)
end)

and you need a "Football" in the Character btw then
Report Abuse
Hanboy16 is not online. Hanboy16
Joined: 22 Aug 2008
Total Posts: 3808
25 Aug 2014 06:24 PM
still doesnt work
19:23:28.601 - Selected is not a valid member of Tool
19:23:28.601 - Script 'Workspace.Football .Script', Line 50
19:23:28.602 - Stack End
19:23:28.623 - Workspace.Part.Script:1: unfinished string near ''gab=false'
19:23:28.624 - Jersey is not a valid member of Script
19:23:28.625 - Script 'Workspace.AutoTackle 2.1 (Workspace)', Line 1
19:23:28.626 - Stack End
19:23:28.641 - Jersey is not a valid member of Lighting
19:23:28.642 - Script 'Workspace.Script (Workspace)', Line 3
19:23:28.643 - Stack End
19:23:28.643 - Disconnected event because of exception
19:23:28.779 - Character is not a valid member of Workspace
19:23:28.780 - Script 'Workspace.Football .PowerGui.Frame.Script', Line 4
19:23:28.781 - Stack End
Hello world!
Cutscene Editor Loaded
19:23:31.042 - Football is not a valid member of Model
19:23:31.042 - Script 'Players.Player1.PlayerGui.PowerGui.Frame.Script', Line 4
19:23:31.043 - Stack End
is what it told me in output when i tested it
Report Abuse
Hanboy16 is not online. Hanboy16
Joined: 22 Aug 2008
Total Posts: 3808
25 Aug 2014 06:36 PM
[][][][][][]
Report Abuse
Hanboy16 is not online. Hanboy16
Joined: 22 Aug 2008
Total Posts: 3808
25 Aug 2014 06:53 PM
cry faic
Report Abuse
Hanboy16 is not online. Hanboy16
Joined: 22 Aug 2008
Total Posts: 3808
25 Aug 2014 08:23 PM
pls someone
Report Abuse
Hanboy16 is not online. Hanboy16
Joined: 22 Aug 2008
Total Posts: 3808
25 Aug 2014 10:17 PM
;(
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