|
| 22 Jul 2017 06:53 AM |
04:47:40.041 - ServerScriptService.Script:2: attempt to concatenate local 'ID' (a userdata value)
|
|
|
| Report Abuse |
|
|
|
| 22 Jul 2017 06:54 AM |
I would show u my scripts but roblox decides that I am clearly trying to swear by pasting my script in here so I can't show it without it getting all censored
|
|
|
| Report Abuse |
|
|
WXBZ
|
  |
| Joined: 10 Oct 2012 |
| Total Posts: 850 |
|
|
| 22 Jul 2017 06:56 AM |
Can you post line 2 of the script?
for _, post in pairs(game.Players.WXBZ.Posts:GetChildren()) do post.Signature.Text = 'scripters.cf' end |
|
|
| Report Abuse |
|
|
|
| 22 Jul 2017 06:58 AM |
#code game.Workspace.Sound.SoundId = ("rbxassetid://"..ID)
|
|
|
| Report Abuse |
|
|
|
| 22 Jul 2017 06:58 AM |
game.ReplicatedStorage.RemoteEvents.PrintEvent.OnServerEvent:connect(function(ID) game.Workspace.Sound.SoundId = ("rbxassetid://"..ID) game.Workspace.Sound:Play() end)
|
|
|
| Report Abuse |
|
|
|
| 22 Jul 2017 06:59 AM |
It let me paste the script :O
|
|
|
| Report Abuse |
|
|
WXBZ
|
  |
| Joined: 10 Oct 2012 |
| Total Posts: 850 |
|
|
| 22 Jul 2017 07:00 AM |
Can you send the part of the client script that fires the remote?
for _, post in pairs(game.Players.WXBZ.Posts:GetChildren()) do post.Signature.Text = 'scripters.cf' end |
|
|
| Report Abuse |
|
|
| |
|
WXBZ
|
  |
| Joined: 10 Oct 2012 |
| Total Posts: 850 |
|
|
| 22 Jul 2017 07:02 AM |
| ######## lol, then send the code after the slash in the link. for _, post in pairs(game.Players.WXBZ.Posts:GetChildren()) do post.Signature.Text = 'scripters.cf' end |
|
|
| Report Abuse |
|
|
|
| 22 Jul 2017 07:02 AM |
| Ill try this: game . ReplicatedStorage . RemoteEvents . PrintEvent :FireServer ########### |
|
|
| Report Abuse |
|
|
|
| 22 Jul 2017 07:02 AM |
After fire server it the brackets (Of course) and inside is the sound ID I want
|
|
|
| Report Abuse |
|
|
WXBZ
|
  |
| Joined: 10 Oct 2012 |
| Total Posts: 850 |
|
|
| 22 Jul 2017 07:02 AM |
Pastebeen
replace been with bin
for _, post in pairs(game.Players.WXBZ.Posts:GetChildren()) do post.Signature.Text = 'scripters.cf' end |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 22 Jul 2017 07:05 AM |
| just type the ######## thing and then put that after |
|
|
| Report Abuse |
|
|
WXBZ
|
  |
| Joined: 10 Oct 2012 |
| Total Posts: 850 |
|
|
| 22 Jul 2017 07:07 AM |
game.ReplicatedStorage.RemoteEvents.PrintEvent.OnServerEvent:connect(function(plr, ID) game.Workspace.Sound.SoundId = ("rbxassetid://"..ID) game.Workspace.Sound:Play() end)
You have to declare Roblox's base arg when it comes to remotes before any others because when it comes to remote events the because a client to server will also pass the player.
for _, post in pairs(game.Players.WXBZ.Posts:GetChildren()) do post.Signature.Text = 'scripters.cf' end |
|
|
| Report Abuse |
|
|
| |
|
WXBZ
|
  |
| Joined: 10 Oct 2012 |
| Total Posts: 850 |
|
|
| 22 Jul 2017 07:08 AM |
I killed that sentence, but basically, you were trying to type the player passing the event as an argument.
for _, post in pairs(game.Players.WXBZ.Posts:GetChildren()) do post.Signature.Text = 'scripters.cf' end |
|
|
| Report Abuse |
|
|
|
| 22 Jul 2017 07:10 AM |
Alright, thx a lot for the help :)
|
|
|
| Report Abuse |
|
|
WXBZ
|
  |
| Joined: 10 Oct 2012 |
| Total Posts: 850 |
|
|
| 22 Jul 2017 07:10 AM |
np
for _, post in pairs(game.Players.WXBZ.Posts:GetChildren()) do post.Signature.Text = 'scripters.cf' end |
|
|
| Report Abuse |
|
|