Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- maincol = "New Yeller"
- function CreateTrailObj(parent,color1,color2,ofsx,ofsz)
- local Att1 = New("Attachment",parent,"Att1",{Position = Vector3.new(ofsx,parent.Size.Y/2,ofsz)})
- local Att2 = New("Attachment",parent,"Att2",{Position = Vector3.new(ofsx,-(parent.Size.Y/2),ofsz)})
- local TEff = New("Trail",parent,"TrailEff",{Color = ColorSequence.new({ColorSequenceKeypoint.new(0,BrickColor.new(color1).Color),ColorSequenceKeypoint.new(1,BrickColor.new(color2).Color)}),Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.5),NumberSequenceKeypoint.new(1,1)}),Attachment0 = Att1,Attachment1 = Att2,Enabled = false,Lifetime = .5,MinLength = .001})
- return TEff
- end
- mouse.Button1Down = CreateTrailObj(chara["Right Arm"],"New Yeller","New Yeller",0,0)
- mouse.Button1Down = CreateTrailObj(chara["Left Arm"],"New Yeller","New Yeller",0,0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement