So, the walkspeed script, adding on I tried to make it like the flash where light travels behind him. Any idea on how to insert particles scripting? And, whats wrong with the parts? I don't see them. It doesn't error out on the output because my speed increases.
Player = game.Players.LocalPlayer Character = Player.Character Torso = Character.Torso Mouse = Player:GetMouse() hold = false Mouse.Button1Down:connect(function() if hold == false then hold = true while hold == true do wait(0.00001) Player.Character.Humanoid.WalkSpeed = Player.Character.Humanoid.WalkSpeed +1 local Brick = Instance.new("Part", Player) Brick.Anchored = true Brick.Position = Torso.Position Brick.BrickColor = BrickColor.new("New Yeller") Brick.Size = Vector3.new(3,5,4) end end end) Mouse.Button1Up:connect(function() if hold == true then hold = false Player.Character.Humanoid.WalkSpeed = 16 end end)
if its not visible, is the part transparent? if so that can be fixed by adding this:
Brick.Transparency = 0
Player = game.Players.LocalPlayer Character = Player.Character Torso = Character.Torso Mouse = Player:GetMouse() hold = false Mouse.Button1Down:connect(function() if hold == false then hold = true while hold == true do wait(0.00001) Player.Character.Humanoid.WalkSpeed = Player.Character.Humanoid.WalkSpeed +1 local Brick = Instance.new("Part", Character) --Changed Player to Character Brick.Anchored = true Brick.Position = Torso.Position Brick.BrickColor = BrickColor.new("New Yeller") Brick.Size = Vector3.new(3,5,4) end end end) Mouse.Button1Up:connect(function() if hold == true then hold = false Player.Character.Humanoid.WalkSpeed = 16 end end)
I think it is because you made the part a child of Player which you defined as game.Players.LocalPlayer
for it to be visible it would need to be a child of the players character.