|
| 07 Sep 2015 01:32 PM |
script.Parent.Touched:connect(function(hit) if hit.Parent.ClassName ~= "Hat" then if hit.Parent.Humanoid then hit.Parent.Torso.Anchored = true local ice = game.Lighting.Hugeiceprop:Clone() ice.Parent = game.Workspace ice.Anchored = true ice.CFrame = hit.Parent.Torso.CFrame wait(4) ice:Destroy() hit.Parent.Torso.Anchored = false end end end)
Everything works fine, except that the player is still frozen after wait(4)
i think people will bash me for this |
|
|
| Report Abuse |
|
|
ScriptOn
|
  |
| Joined: 22 Aug 2010 |
| Total Posts: 10885 |
|
|
| 07 Sep 2015 01:42 PM |
| if hit.Parent:findFirstChild("Humanoid") then |
|
|
| Report Abuse |
|
|
|
| 07 Sep 2015 01:44 PM |
I like the tip, but the Wait(4) still doesn't complete. I tried using multiple wait() but that didn't work either.
Updated Script
script.Parent.Touched:connect(function(hit) if hit.Parent.ClassName ~= "Hat" then if hit.Parent:findFirstChild("Humanoid") then hit.Parent.Torso.Anchored = true local ice = game.Lighting.Hugeiceprop:Clone() ice.Parent = game.Workspace ice.Anchored = true ice.CFrame = hit.Parent.Torso.CFrame wait(1) ice.Transparency = 0.6 wait(1) ice.Transparency = 0.8 wait(1) ice.Transparency = 0.9 ice:Destroy() hit.Parent.Torso.Anchored = false end end end)
i think people will bash me for this |
|
|
| Report Abuse |
|
|
|
| 07 Sep 2015 01:46 PM |
I think I found the problem, I need a debounce for it. The ice is cloning way too many times.
i think people will bash me for this |
|
|
| Report Abuse |
|
|
|
| 07 Sep 2015 01:52 PM |
Even after using a debounce script, I cannot use any wait() more than one. Any solutions?
i think people will bash me for this |
|
|
| Report Abuse |
|
|
|
| 07 Sep 2015 02:01 PM |
Help?
i think people will bash me for this |
|
|
| Report Abuse |
|
|
|
| 07 Sep 2015 02:02 PM |
| omg why is your indenting so bad |
|
|
| Report Abuse |
|
|
| |
|
|
| 07 Sep 2015 02:04 PM |
15:03:47.997 - Humanoid is not a valid member of Player 15:03:47.998 - Script 'Players.Player.Backpack.Fire Rune.Handle.LocalScript', Line 26 15:03:47.999 - Stack End 15:03:51.708 - Humanoid is not a valid member of Player 15:03:51.709 - Script 'Players.Player.Backpack.Ice Rune.Handle.LocalScript', Line 26 15:03:51.710 - Stack End
i think people will bash me for this |
|
|
| Report Abuse |
|
|
|
| 07 Sep 2015 02:10 PM |
Honestly, this might be a glitch on roblox's side.
i think people will bash me for this |
|
|
| Report Abuse |
|
|
|
| 07 Sep 2015 02:11 PM |
I thought I would not have trouble with such a simple thing like wait().
i think people will bash me for this |
|
|
| Report Abuse |
|
|
|
| 07 Sep 2015 02:18 PM |
Help, please...
i think people will bash me for this |
|
|
| Report Abuse |
|
|
|
| 07 Sep 2015 02:20 PM |
| Humanoid is a part of the character, not the player. |
|
|
| Report Abuse |
|
|
|
| 07 Sep 2015 02:21 PM |
Player is what the character is called in studio test.
i think people will bash me for this |
|
|
| Report Abuse |
|
|
Wowgnomes
|
  |
| Joined: 27 Sep 2009 |
| Total Posts: 26255 |
|
|
| 07 Sep 2015 02:22 PM |
| No cause there is a humanoid in character of player lol |
|
|
| Report Abuse |
|
|
|
| 07 Sep 2015 02:33 PM |
hnng
i think people will bash me for this |
|
|
| Report Abuse |
|
|
|
| 07 Sep 2015 02:49 PM |
HNNNG
i think people will bash me for this |
|
|
| Report Abuse |
|
|
litalela
|
  |
| Joined: 30 Mar 2010 |
| Total Posts: 6267 |
|
|
| 07 Sep 2015 02:54 PM |
script.Parent.Touched:connect(function(hit) if hit.Parent:FindFirstChild("Humanoid") then hit.Parent.Torso.Anchored = true local ice = game.Lighting.Hugeiceprop:Clone() ice.Parent = game.Workspace ice.Anchored = true ice.CFrame = hit.Parent.Torso.CFrame wait(4) ice:Destroy() hit.Parent.Torso.Anchored = false end end)
➳Lɪᴛᴀʟᴇʟᴀ ɪs ᴍʏ ɴᴀᴍᴇ, Lᴜᴀ ɪs ᴍʏ ɢᴀᴍᴇツ |
|
|
| Report Abuse |
|
|
|
| 07 Sep 2015 02:58 PM |
still doesnt unfreeze
i think people will bash me for this |
|
|
| Report Abuse |
|
|
litalela
|
  |
| Joined: 30 Mar 2010 |
| Total Posts: 6267 |
|
|
| 07 Sep 2015 03:00 PM |
script.Parent.Touched:connect(function(hit) if hit.Parent:FindFirstChild("Humanoid") then local priorspeed = hit.Parent.Humanoid.WalkSpeed hit.Parent.Humanoid.WalkSpeed = 0 local ice = game.Lighting.Hugeiceprop:Clone() ice.Parent = game.Workspace ice.Anchored = true ice.CFrame = hit.Parent.Torso.CFrame wait(4) ice:Destroy() hit.Parent.Humanoid.WalkSpeed = priorspeed end end)
/gowild
➳Lɪᴛᴀʟᴇʟᴀ ɪs ᴍʏ ɴᴀᴍᴇ, Lᴜᴀ ɪs ᴍʏ ɢᴀᴍᴇツ |
|
|
| Report Abuse |
|
|
|
| 07 Sep 2015 03:01 PM |
Still doesn't work. Honestly, I think this is on ROBLOX's side.
i think people will bash me for this |
|
|
| Report Abuse |
|
|
litalela
|
  |
| Joined: 30 Mar 2010 |
| Total Posts: 6267 |
|
|
| 07 Sep 2015 03:01 PM |
no, this is a problem with you
are you doing this in a server script?
➳Lɪᴛᴀʟᴇʟᴀ ɪs ᴍʏ ɴᴀᴍᴇ, Lᴜᴀ ɪs ᴍʏ ɢᴀᴍᴇツ |
|
|
| Report Abuse |
|
|
|
| 07 Sep 2015 03:02 PM |
I tried doing it in both, nothing worked.
i think people will bash me for this |
|
|
| Report Abuse |
|
|
Kekodeko
|
  |
| Joined: 27 Jul 2015 |
| Total Posts: 1676 |
|
|
| 07 Sep 2015 03:04 PM |
| OMG STFU THIS IS A STUPID FORUM PUT IT IN SCRIPTS!!! IF YOU CAN'T SCRIPT IT TELL SCRIPT HELPERS!! God you're annoying as hell! |
|
|
| Report Abuse |
|
|
|
| 07 Sep 2015 03:05 PM |
scripting helpers is gone scripters subforum is for scripting discussions this is a thread, not a forum, honey. stop raging.
i think people will bash me for this |
|
|
| Report Abuse |
|
|