Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-3

So, when I press T, it isn't thrown. Any ideas?

Asked by 10 years ago

It says, Character is not a valid members of part. Code:

01Mouse = game.Players.LocalPlayer:GetMouse()
02Player = game.Players.LocalPlayer
03Character = Player.Character
04Torso = Character.Torso
05Part = game.Workspace.Part
06Part.Anchored = true
07 
08 
09Mouse.KeyDown:connect(function(key)
10    key = key:lower()
11    if key == "f" then
12        for i = 1, 10 do
13            wait(0.000000001)
14                Part.Size = Part.Size + Vector3.new(1,1,1)
15            Part.Position = Part.Position + Vector3.new(0,2,0)     
View all 62 lines...

1 answer

Log in to vote
4
Answered by
yumtaste 476 Moderation Voter
10 years ago

On line 60, you put Torso.Character. I think you meant Character.Torso. That explains the error.

0
Will he ever acknowledge my answer? Will he ever get more than 0 points? Stay tuned for the next episode of Scripting Helpers Island! (seriously wtf, tyler isn't acknowledging me) yumtaste 476 — 10y
0
^ lol Perci1 4988 — 10y
0
LOLOLOLOL tyler46783 0 — 10y
Ad

Answer this question