Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

I DID IT?

Okay I am trying to make blood come out of the player when It dies and My instance.new isn't working correctly. For one, It doesn't recognize what FormFactor is. Nor does it Size. Here is what it says for Formfactor: 15:50:29.370 - Workspace.Player.LocalScript:7: attempt to call field 'FormFactor' (a userdata value) And this is what it says for size: 15:53:08.846 - Workspace.Player.LocalScript:7: bad argument #3 to 'Size' (Vector3 expected, got number) I put vector 3 in and then the number but that didn't work. I also tried leaving out both of these, there was no error but there was also no brick! I need help! Also here is the script I have so far:

s = script.Parent

s.Humanoid.Died:connect (function ()
wait (0)
P = Instance.new("Part")
P.BrickColor = BrickColor.new("Bright Red")
P.FormFactor("Plate")
P.Size = 1,0.4,1
end)

I already have the script that inserts the localscript into the player. Thank you!

1 answer

I think you should make the blood's parent game.Workspace.

This discussion is preserved as it was. New answers, comments, and votes are closed.