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
 

What would this error mean?

Previous Thread :: Next Thread 
superpants2020 is not online. superpants2020
Joined: 10 Feb 2013
Total Posts: 804
28 Aug 2016 09:19 PM
Players.superpants2020.Backpack.temp wand.Mizu: taretto!:71: ')' expected (to close '(' at line 8) near 'end'


I really would like to know...


i like ducks bro. deal wit it.
Report Abuse
Flashiness is not online. Flashiness
Joined: 25 Dec 2012
Total Posts: 1212
28 Aug 2016 09:28 PM
its telling you to close a parentheses


+1
Report Abuse
superpants2020 is not online. superpants2020
Joined: 10 Feb 2013
Total Posts: 804
28 Aug 2016 09:32 PM
where though.


i like ducks bro. deal wit it.
Report Abuse
Flashiness is not online. Flashiness
Joined: 25 Dec 2012
Total Posts: 1212
28 Aug 2016 09:33 PM
>at line 8) near 'end'


+1
Report Abuse
Flashiness is not online. Flashiness
Joined: 25 Dec 2012
Total Posts: 1212
28 Aug 2016 09:34 PM
if you cant figure out post script will do for u


+1
Report Abuse
superpants2020 is not online. superpants2020
Joined: 10 Feb 2013
Total Posts: 804
28 Aug 2016 09:38 PM
Alright, thanks.


local uis = game:GetService("UserInputService")

local Player = game.Players.LocalPlayer

local Tool = script.Parent


uis.InputBegan:connect(function(input,event)
if event then return end
if input.KeyCode == Enum.KeyCode.F and not debounce then

Debounce = true

local Data = Player:FindFirstChild('Data')

local xp = Player.Data:FindFirstChild('xp')

Data.xp.Value = Data.xp.Value + 5


local s = Instance.new("Part", workspace)


local ChatService = game:GetService("Chat")

ChatService:Chat(Player.Character.Head, "Mizu: Taretto!")


s.CanCollide = false
s.Name = "s"
s.Shape = "Ball"
s.Size = Vector3.new(10, 10, 10)
s.BrickColor = BrickColor.new(11)
s.Transparency = 1
s.TopSurface = "Smooth"
s.BottomSurface = "Smooth"


local p = Instance.new("ParticleEmitter")

p.Parent = s
p.Texture = "rbxassetid://243457340"
p.Size = NumberSequence.new(6)
p.Color = ColorSequence.new(Color3.new(0, 170, 255))
p.Transparency = NumberSequence.new(0.6)
p.Lifetime = NumberRange.new(10)
p.Speed = NumberRange.new(15)
p.EmissionDirection = "Back"

local bv = Instance.new("BodyVelocity")

bv.Parent = s
bv.MaxForce = Vector3.new(math.huge ,math.huge ,math.huge)
bv.Velocity = Player.Character.Torso.CFrame.lookVector * 80
s.CFrame = Player.Character.Torso.CFrame * CFrame.new(0, 0, -10)

local Damage = script.Damage:clone()

Damage.Parent = s

wait(9)

s:Destroy()

Debounce = false

end

end

end

end






i like ducks bro. deal wit it.
Report Abuse
Flashiness is not online. Flashiness
Joined: 25 Dec 2012
Total Posts: 1212
28 Aug 2016 09:40 PM
local uis = game:GetService("UserInputService")

local Player = game.Players.LocalPlayer

local Tool = script.Parent


uis.InputBegan:connect(function(input,event)
if event then return end
if input.KeyCode == Enum.KeyCode.F and not debounce then

Debounce = true

local Data = Player:FindFirstChild('Data')

local xp = Player.Data:FindFirstChild('xp')

Data.xp.Value = Data.xp.Value + 5


local s = Instance.new("Part", workspace)


local ChatService = game:GetService("Chat")

ChatService:Chat(Player.Character.Head, "Mizu: Taretto!")


s.CanCollide = false
s.Name = "s"
s.Shape = "Ball"
s.Size = Vector3.new(10, 10, 10)
s.BrickColor = BrickColor.new(11)
s.Transparency = 1
s.TopSurface = "Smooth"
s.BottomSurface = "Smooth"


local p = Instance.new("ParticleEmitter")

p.Parent = s
p.Texture = "rbxassetid://243457340"
p.Size = NumberSequence.new(6)
p.Color = ColorSequence.new(Color3.new(0, 170, 255))
p.Transparency = NumberSequence.new(0.6)
p.Lifetime = NumberRange.new(10)
p.Speed = NumberRange.new(15)
p.EmissionDirection = "Back"

local bv = Instance.new("BodyVelocity")

bv.Parent = s
bv.MaxForce = Vector3.new(math.huge ,math.huge ,math.huge)
bv.Velocity = Player.Character.Torso.CFrame.lookVector * 80
s.CFrame = Player.Character.Torso.CFrame * CFrame.new(0, 0, -10)

local Damage = script.Damage:clone()

Damage.Parent = s

wait(9)

s:Destroy()

Debounce = false

end

end

end

end)

enjoy


+1
Report Abuse
superpants2020 is not online. superpants2020
Joined: 10 Feb 2013
Total Posts: 804
28 Aug 2016 09:44 PM
it still says



Players.superpants2020.Backpack.temp wand.Mizu: taretto!:71: ')' expected (to close '(' at line 8) near 'end'


i like ducks bro. deal wit it.
Report Abuse
Flashiness is not online. Flashiness
Joined: 25 Dec 2012
Total Posts: 1212
28 Aug 2016 09:45 PM
one of the ends at the end should have a red underline under it fix it


+1
Report Abuse
superpants2020 is not online. superpants2020
Joined: 10 Feb 2013
Total Posts: 804
28 Aug 2016 09:50 PM
Alright I got rid of the red underline on the end by putting a parenthesis on the first one.

Now it says this though



Players.superpants2020.Backpack.temp wand.Mizu: taretto!:67: unexpected symbol near ')'



And whenever I try to add it to any other ones it doesnt work ._.


i like ducks bro. deal wit it.
Report Abuse
peIicans is not online. peIicans
Joined: 02 Nov 2013
Total Posts: 1148
28 Aug 2016 09:53 PM
local uis = game:GetService("UserInputService")

local Player = game.Players.LocalPlayer

local Tool = script.Parent


uis.InputBegan:connect(function(input,event)
if event then return end
if input.KeyCode == Enum.KeyCode.F and not debounce then

Debounce = true

local Data = Player:FindFirstChild('Data')

local xp = Player.Data:FindFirstChild('xp')

Data.xp.Value = Data.xp.Value + 5


local s = Instance.new("Part", workspace)


local ChatService = game:GetService("Chat")

ChatService:Chat(Player.Character.Head, "Mizu: Taretto!")


s.CanCollide = false
s.Name = "s"
s.Shape = "Ball"
s.Size = Vector3.new(10, 10, 10)
s.BrickColor = BrickColor.new(11)
s.Transparency = 1
s.TopSurface = "Smooth"
s.BottomSurface = "Smooth"


local p = Instance.new("ParticleEmitter")

p.Parent = s
p.Texture = "rbxassetid://243457340"
p.Size = NumberSequence.new(6)
p.Color = ColorSequence.new(Color3.new(0, 170, 255))
p.Transparency = NumberSequence.new(0.6)
p.Lifetime = NumberRange.new(10)
p.Speed = NumberRange.new(15)
p.EmissionDirection = "Back"

local bv = Instance.new("BodyVelocity")

bv.Parent = s
bv.MaxForce = Vector3.new(math.huge ,math.huge ,math.huge)
bv.Velocity = Player.Character.Torso.CFrame.lookVector * 80
s.CFrame = Player.Character.Torso.CFrame * CFrame.new(0, 0, -10)

local Damage = script.Damage:clone()

Damage.Parent = s

wait(9)

s:Destroy()

Debounce = false

end


end

end)


Report Abuse
Flashiness is not online. Flashiness
Joined: 25 Dec 2012
Total Posts: 1212
28 Aug 2016 09:53 PM
i actually read the script and you have 1 function and thats it. There is no need for the extra 3

local uis = game:GetService("UserInputService")

local Player = game.Players.LocalPlayer

local Tool = script.Parent


uis.InputBegan:connect(function(input,event)
if event then return end
if input.KeyCode == Enum.KeyCode.F and not debounce then

Debounce = true

local Data = Player:FindFirstChild('Data')

local xp = Player.Data:FindFirstChild('xp')

Data.xp.Value = Data.xp.Value + 5

end)

local s = Instance.new("Part", workspace)


local ChatService = game:GetService("Chat")

ChatService:Chat(Player.Character.Head, "Mizu: Taretto!")


s.CanCollide = false
s.Name = "s"
s.Shape = "Ball"
s.Size = Vector3.new(10, 10, 10)
s.BrickColor = BrickColor.new(11)
s.Transparency = 1
s.TopSurface = "Smooth"
s.BottomSurface = "Smooth"


local p = Instance.new("ParticleEmitter")

p.Parent = s
p.Texture = "rbxassetid://243457340"
p.Size = NumberSequence.new(6)
p.Color = ColorSequence.new(Color3.new(0, 170, 255))
p.Transparency = NumberSequence.new(0.6)
p.Lifetime = NumberRange.new(10)
p.Speed = NumberRange.new(15)
p.EmissionDirection = "Back"

local bv = Instance.new("BodyVelocity")

bv.Parent = s
bv.MaxForce = Vector3.new(math.huge ,math.huge ,math.huge)
bv.Velocity = Player.Character.Torso.CFrame.lookVector * 80
s.CFrame = Player.Character.Torso.CFrame * CFrame.new(0, 0, -10)

local Damage = script.Damage:clone()

Damage.Parent = s

wait(9)

s:Destroy()

Debounce = false

end)



+1
Report Abuse
peIicans is not online. peIicans
Joined: 02 Nov 2013
Total Posts: 1148
28 Aug 2016 09:55 PM
no flash he needs 1 end) for the function and 2 ends for the 2 if statements


Report Abuse
Flashiness is not online. Flashiness
Joined: 25 Dec 2012
Total Posts: 1212
28 Aug 2016 09:56 PM
sorry im stupid and skim too much

didnt see if statements thought they were just other variables you put in a weird position but yeah what he said


+1
Report Abuse
superpants2020 is not online. superpants2020
Joined: 10 Feb 2013
Total Posts: 804
28 Aug 2016 10:01 PM
Thanks for the help guys but I actually just needed 2 ends

and the last end needed to be end)

the thing now is that Debounce has a blue line under it the first time I use it but the script still uses a debounce...

Either way thank you all! I can now continue the other part of my game!


i like ducks bro. deal wit it.
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