|
| 30 Apr 2014 06:47 PM |
I made this script and whenever the part appears, it freezes the character into place, dont ask why I made this.
repeat wait() until game.Players.LocalPlayer plyr = game.Players.LocalPlayer char = plyr.Character
while char:FindFirstChild("Humanoid").Health > 0 do wait(math.random(15,60)) poop = Instance.new("Part",game.Workspace) poop.BrickColor = BrickColor.new("Reddish brown") poop.Anchored = false poop.CFrame = CFrame.new(char.Torso.Position + Vector3.new(0,1,0)) poop.CanCollide = true poop.FormFactor = "Custom" poop.Transparency = 0 mat = math.random(1,2) if mat == 1 then poop.Material = "CorrodedMetal" elseif mat == 2 then poop.Material = "Grass" end poop.Size = Vector3.new(math.random(0.2,1.5),math.random(0.2,1.5),math.random(0.2,1.5)) --game.Workspace.BindableFunctions["RemoveBrick(part)"]:Invoke(poop) end
|
|
|
| Report Abuse |
|
|
Goulstem
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 7177 |
|
|
| 30 Apr 2014 06:50 PM |
Well it's like impossible to anchor something without welding or anchoring.. unless you like added a force pushing it down..which you didn't.
Anyways, are you asking for help or just shoring the script? If the latter then go to Scripters. |
|
|
| Report Abuse |
|
|
|
| 30 Apr 2014 06:50 PM |
| I need to know how to make it stop freezing your character. |
|
|
| Report Abuse |
|
|
Goulstem
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 7177 |
|
|
| 30 Apr 2014 06:53 PM |
| The script isn't doing anything TO freeze the character. So... uhm.. idk. |
|
|
| Report Abuse |
|
|
| |
|
|
| 30 Apr 2014 06:54 PM |
| Is it because I spawned it inside the Torso? I wanted it to spawn at his.. moon.. but I havent learned lookVector yet. |
|
|
| Report Abuse |
|
|
Goulstem
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 7177 |
|
|
| 30 Apr 2014 06:55 PM |
| Unless the poop is somehow interferring.. if so then like move it one back on the z axis instead of the y so it won't get cloned and posiitoned into the charaacter. |
|
|
| Report Abuse |
|
|
|
| 30 Apr 2014 06:55 PM |
| You see, I was going to do that, but it would be better if I learned lookVector to do that so that it always spawns behind him. |
|
|
| Report Abuse |
|
|
Goulstem
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 7177 |
|
|
| 30 Apr 2014 06:57 PM |
Okay well then learn it..
~ http://wiki.roblox.com/index.php?title=CFraming#lookVector ~ |
|
|
| Report Abuse |
|
|
|
| 30 Apr 2014 07:09 PM |
| If you want to stop the character from moving, without anchoring or welding, you could remove their control. Or easier, set their Walkspeed to 0. But they can still jump XD |
|
|
| Report Abuse |
|
|
|
| 30 Apr 2014 07:42 PM |
| I DONT want them to freeze. I want them to walk normally. -_- |
|
|
| Report Abuse |
|
|
|
| 30 Apr 2014 07:44 PM |
| Then why do you say in the title you want them anchored... |
|
|
| Report Abuse |
|
|
vlekje513
|
  |
| Joined: 28 Dec 2010 |
| Total Posts: 9057 |
|
|
| 30 Apr 2014 07:45 PM |
its what the script does.
here
repeat wait() until game.Players.LocalPlayer plyr = game.Players.LocalPlayer char = plyr.Character
while char:FindFirstChild("Humanoid").Health > 0 do wait(math.random(15,60)) poop = Instance.new("Part",game.Workspace) poop.BrickColor = BrickColor.new("Reddish brown") poop.Anchored = true poop.CFrame = CFrame.new(char.Torso.Position + Vector3.new(0,1,0)) poop.CanCollide = false poop.FormFactor = "Custom" poop.Transparency = 0 mat = math.random(1,2) if mat == 1 then poop.Material = "CorrodedMetal" elseif mat == 2 then poop.Material = "Grass" end poop.Size = Vector3.new(math.random(0.2,1.5),math.random(0.2,1.5),math.random(0.2,1.5)) --game.Workspace.BindableFunctions["RemoveBrick(part)"]:Invoke(poop) end |
|
|
| Report Abuse |
|
|