Jamme95
|
  |
| Joined: 29 Dec 2012 |
| Total Posts: 127 |
|
|
| 10 Sep 2014 12:16 PM |
Hello i need i help with this script. It only works in roblox studio for some reason and not in normal gameplay
player=game:GetService("Players").LocalPlayer char=player.Character mouse=player:GetMouse()
fart1 = Instance.new("Sound", char.head) fart1.SoundId = "http://www.roblox.com/asset/?id=170184872" fart1.Volume = 1 fart1.Looped = true local fart2 = false
local fart = Instance.new("Animation", char) fart.AnimationId = "rbxassetid://149359445" fart.Name = "fart"
mouse.KeyDown:connect(function(key) local key=key:lower() if key=="f" then local vCharacter = char local hum = vCharacter:findFirstChild("Humanoid") blah4 = hum:LoadAnimation(char.fart) blah4:Play() end end) mouse.KeyUp:connect(function(key) local key=key:lower() if key=="f" then blah4:Stop() end end) mouse.KeyDown:connect(function(key) local key=key:lower() if key=="f" then fart2 = true fart1:Play() end end) mouse.KeyUp:connect(function(key) local key=key:lower() if key=="f" then fart2 = false fart1:Stop() end end) |
|
|
| Report Abuse |
|
|
|
| 10 Sep 2014 12:17 PM |
| is it in a local script or a regular script? |
|
|
| Report Abuse |
|
|
|
| 10 Sep 2014 12:18 PM |
| Lol! What was your output? |
|
|
| Report Abuse |
|
|
|
| 10 Sep 2014 12:20 PM |
| He said that the script works fine only in studio. My best guess that the script isn't a local script. |
|
|
| Report Abuse |
|
|
Jamme95
|
  |
| Joined: 29 Dec 2012 |
| Total Posts: 127 |
|
|
| 10 Sep 2014 12:34 PM |
| Well i tried it with localscript too but doesn't work.. no problems on studio works fine but not in normal game play.. |
|
|
| Report Abuse |
|
|
Jamme95
|
  |
| Joined: 29 Dec 2012 |
| Total Posts: 127 |
|
|
| 10 Sep 2014 12:35 PM |
| Could someone make that to work on normal gameplay too? |
|
|
| Report Abuse |
|
|
vlekje518
|
  |
| Joined: 10 Apr 2011 |
| Total Posts: 191 |
|
|
| 10 Sep 2014 01:19 PM |
put this in a localscript then put it in StarterGui |
|
|
| Report Abuse |
|
|
Jamme95
|
  |
| Joined: 29 Dec 2012 |
| Total Posts: 127 |
|
|
| 10 Sep 2014 02:12 PM |
| Well i put it in localscript i get the tool in my game okay... but it wont do the animations or sound |
|
|
| Report Abuse |
|
|
vlekje518
|
  |
| Joined: 10 Apr 2011 |
| Total Posts: 191 |
|
|
| 10 Sep 2014 02:14 PM |
player=game:GetService("Players").LocalPlayer char=player.Character mouse=player:GetMouse()
fart1 = Instance.new("Sound", char.head) fart1.SoundId = "http://www.roblox.com/asset/?id=170184872" fart1.Volume = 1 fart1.Looped = true local fart2 = false
local fart = Instance.new("Animation", char) fart.AnimationId = "rbxassetid://149359445" fart.Name = "fart"
mouse.KeyDown:connect(function(key) local key=key:lower() if key=="f" then local vCharacter = char local hum = v.Character:findFirstChild("Humanoid") -- forgot a dot here blah4 = hum:LoadAnimation(char.fart) blah4:Play() end end) mouse.KeyUp:connect(function(key) local key=key:lower() if key=="f" then blah4:Stop() end end) mouse.KeyDown:connect(function(key) local key=key:lower() if key=="f" then fart2 = true fart1:Play() end end) mouse.KeyUp:connect(function(key) local key=key:lower() if key=="f" then fart2 = false fart1:Stop() end end)
|
|
|
| Report Abuse |
|
|
|
| 10 Sep 2014 02:21 PM |
@vlek, there's not meant to be a dot there.
The funny thing about this siggy is that by the time you've read to here, you will notice that it doesn't actually say anything important. |
|
|
| Report Abuse |
|
|
Jamme95
|
  |
| Joined: 29 Dec 2012 |
| Total Posts: 127 |
|
|
| 10 Sep 2014 02:34 PM |
| Vkekj still won't work :( i need this in my nightclub |
|
|
| Report Abuse |
|
|
|
| 10 Sep 2014 02:35 PM |
| its all free models anyway, why would anyone play it. |
|
|
| Report Abuse |
|
|
Jamme95
|
  |
| Joined: 29 Dec 2012 |
| Total Posts: 127 |
|
|
| 10 Sep 2014 02:43 PM |
| There's like 2 free models and all others build my self... |
|
|
| Report Abuse |
|
|
| |
|
Jamme95
|
  |
| Joined: 29 Dec 2012 |
| Total Posts: 127 |
|
|
| 10 Sep 2014 02:46 PM |
| You try to be Detective and find out does my place has free models? |
|
|
| Report Abuse |
|
|
|
| 10 Sep 2014 02:46 PM |
| the script you just posted is a free model. |
|
|
| Report Abuse |
|
|
Jamme95
|
  |
| Joined: 29 Dec 2012 |
| Total Posts: 127 |
|
|
| 10 Sep 2014 02:50 PM |
| If it's problem that i have free models. Maybe you should go check your models inventory? |
|
|
| Report Abuse |
|
|
Jamme95
|
  |
| Joined: 29 Dec 2012 |
| Total Posts: 127 |
|
|
| 10 Sep 2014 02:52 PM |
| i think you are just a troll who has no life and uses all his time in roblox. Go outside and play. |
|
|
| Report Abuse |
|
|
|
| 10 Sep 2014 02:54 PM |
" Maybe you should go check your models inventory?"
mkay, fair enough.
now go show me how many of those i use in my games.
"uses all his time in roblox."
i go to school and i sleep. so, i believe you're wrong. |
|
|
| Report Abuse |
|
|
Jamme95
|
  |
| Joined: 29 Dec 2012 |
| Total Posts: 127 |
|
|
| 10 Sep 2014 02:57 PM |
| Well stop insulting me for having free models if you have too.. i don't even get it what's wrong with free models all things doesn't need to be "Unique" |
|
|
| Report Abuse |
|
|
|
| 10 Sep 2014 03:00 PM |
i dont use free models though, half of them i got when i was like 8 and the others are people giving me scripts to fix, my stuff that ive made and stuff i observe to find how they work.
you're just lazy. |
|
|
| Report Abuse |
|
|
Jamme95
|
  |
| Joined: 29 Dec 2012 |
| Total Posts: 127 |
|
|
| 10 Sep 2014 03:02 PM |
| soo you are telling me that i am lazy for not script everything? Mate shut up i don't care about "Virtual" world where you get Insulted for using free model.. i think you are still at age of eight. |
|
|
| Report Abuse |
|
|
|
| 10 Sep 2014 03:04 PM |
im calling you lazy because you don't attempt to make stuff yourself.
"Mate shut up i don't care about "Virtual" world where you get Insulted for using free model."
so quit then if you don't care about it |
|
|
| Report Abuse |
|
|
Jamme95
|
  |
| Joined: 29 Dec 2012 |
| Total Posts: 127 |
|
|
| 10 Sep 2014 03:08 PM |
| Who used already 3 days for my nightclub to build up stuff with stamper? -.- and it's easy you to **** with people behind the computer screen. You couldn't do that in real live kiddo.. |
|
|
| Report Abuse |
|
|
|
| 10 Sep 2014 03:11 PM |
stamper tool lmao.
"You couldn't do that in real live kiddo.."
no because when im out i dont have a computer screen in front of my face.
|
|
|
| Report Abuse |
|
|