DANNYHA7
|
  |
| Joined: 26 Sep 2008 |
| Total Posts: 415 |
|
|
| 27 Oct 2015 04:46 PM |
anyone know howto make a script that makes everyone in the server randomly trip (sit) at once?
for how much time until someone trips, make it a math.random please. im not a good enough scripter to do this.
if you could also make it play an audio when it happens that'd be really awesome.
Developer | Builder | Alt of Dannyha,DANNYHA7 R$1337 Tx324 |
|
|
| Report Abuse |
|
|
| |
|
Klink45
|
  |
| Joined: 06 Jun 2011 |
| Total Posts: 26054 |
|
|
| 27 Oct 2015 04:49 PM |
Aren't you from RT?
u sicko! |
|
|
| Report Abuse |
|
|
|
| 27 Oct 2015 04:50 PM |
local p = game.Players:GetChildern() local audio = AUDIO for i=1,#p do p[i].Character.Humanoid.Sit = true audio:Play() end |
|
|
| Report Abuse |
|
|
DANNYHA7
|
  |
| Joined: 26 Sep 2008 |
| Total Posts: 415 |
|
|
| 27 Oct 2015 04:53 PM |
@dermon
i should probably remove that because i quit the developing business a while ago (as in building for ppl but i guess thats not developing)
Builder | Alt of Dannyha,DANNYHA7 R$1337 Tx324
Builder | Alt of Dannyha,DANNYHA7 R$1337 Tx324 |
|
|
| Report Abuse |
|
|
DANNYHA7
|
  |
| Joined: 26 Sep 2008 |
| Total Posts: 415 |
|
|
| 27 Oct 2015 04:56 PM |
@shadow
thanks, but where is the seconds waiting?
Builder | Alt of Dannyha,DANNYHA7 R$1337 Tx324 |
|
|
| Report Abuse |
|
|
DANNYHA7
|
  |
| Joined: 26 Sep 2008 |
| Total Posts: 415 |
|
|
| 27 Oct 2015 04:59 PM |
b123
Builder | Alt of Dannyha,DANNYHA7 R$1337 Tx324 |
|
|
| Report Abuse |
|
|
|
| 27 Oct 2015 05:01 PM |
while wait(math.random(1,5)) do for i,v in pairs(game.Players:GetChildren()) do v.Character.Humanoid.Sit = true end end
FilteringDisabled is for squares |
|
|
| Report Abuse |
|
|
DANNYHA7
|
  |
| Joined: 26 Sep 2008 |
| Total Posts: 415 |
|
|
| 27 Oct 2015 05:06 PM |
@leitris
may you make it so an audio plays at the same time as they sit?
Builder | Alt of Dannyha,DANNYHA7 R$1337 Tx324 |
|
|
| Report Abuse |
|
|
DANNYHA7
|
  |
| Joined: 26 Sep 2008 |
| Total Posts: 415 |
|
|
| 27 Oct 2015 05:19 PM |
BringUpMyPost of guidance
Builder | Alt of Dannyha,DANNYHA7 R$1337 Tx330 |
|
|
| Report Abuse |
|
|
|
| 27 Oct 2015 05:28 PM |
soundID = PUTSOUNDIDHERE soundVolume = 1 --Number between 0 & 1
while wait(math.random(1,5)) do for i,v in pairs(game.Players:GetChildren()) do local character = v.Character local slipSound = Instance.new('Sound',character.HumanoidRootPart) slipSound.SoundId = "rbxassetid://"..soundID slipSound.Volume = soundVolume v.Character.Humanoid.Sit = true slipSound:Play() slipSound.Ended:connect(function() slipSound:Destroy() end) end end
FilteringDisabled is for squares |
|
|
| Report Abuse |
|
|