Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Trails Test
- if self.Owner:IsValid() and Speed >= Min and self.IsRunning == 0 then
- self.IsRunning = 1
- self.Owner:TrailAddTest(testingtrail, self.Owner, self.Owner:GetBonePosition(ply:LookupBone("ValveBiped.Bip01_L_Hand")), self.Owner:LookupBone("ValveBiped.Bip01_L_Hand"), 1, "Test" )
- self.Owner:TrailAddTest(testingtrailtwo, self.Owner, self.Owner:GetBonePosition(ply:LookupBone("ValveBiped.Bip01_R_Hand")), self.Owner:LookupBone("ValveBiped.Bip01_R_Hand"), 1, "TestTwo" )
- self.Owner:TrailAddTest(testingtrailthree, self.Owner, self.Owner:GetBonePosition(ply:LookupBone("ValveBiped.Bip01_L_Foot")), self.Owner:LookupBone("ValveBiped.Bip01_L_Foot"), 1, "TestThree" )
- self.Owner:TrailAddTest(testingtrailfour, self.Owner, self.Owner:GetBonePosition(ply:LookupBone("ValveBiped.Bip01_R_Foot")), self.Owner:LookupBone("ValveBiped.Bip01_R_Foot"), 1, "TestFour" )
- end
- if self.Owner:IsValid() and Speed >= Min then
- self.Owner:UpdateTrail(self.Owner:GetBonePosition(ply:LookupBone("ValveBiped.Bip01_L_Hand")), "Test" )
- self.Owner:UpdateTrail(self.Owner:GetBonePosition(ply:LookupBone("ValveBiped.Bip01_R_Hand")), "TestTwo" )
- self.Owner:UpdateTrail(self.Owner:GetBonePosition(ply:LookupBone("ValveBiped.Bip01_L_Foot")), "TestThree" )
- self.Owner:UpdateTrail(self.Owner:GetBonePosition(ply:LookupBone("ValveBiped.Bip01_R_Foot")), "TestFour" )
- end
- if self.Owner:IsValid() and Speed <= Min then
- self.IsRunning = 0
- self.Owner:TrailRemoveTest(player.trailtests)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement