Luxurity
|
  |
| Joined: 09 Sep 2013 |
| Total Posts: 691 |
|
|
| 15 Jan 2014 07:43 AM |
I forgot how to make anti tk guns
lol |
|
|
| Report Abuse |
|
|
Luxurity
|
  |
| Joined: 09 Sep 2013 |
| Total Posts: 691 |
|
| |
|
| |
|
HMAX12
|
  |
| Joined: 25 Jul 2009 |
| Total Posts: 32693 |
|
|
| 15 Jan 2014 07:53 AM |
r = game:service("RunService")
local damage = 1.5
local slash_damage = 1.5
sword = script.Parent.Handle Tool = script.Parent
local SlashSound = Instance.new("Sound") SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav" SlashSound.Parent = sword SlashSound.Volume = .7 SlashSound.Pitch = 1.2
local UnsheathSound = Instance.new("Sound") UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav" UnsheathSound.Parent = sword UnsheathSound.Volume = 1
function isTurbo(character) return character:FindFirstChild("PirateHat") ~= nil end
function blow(hit) local humanoid = hit.Parent:findFirstChild("Humanoid") local vCharacter = Tool.Parent local vPlayer = game.Players:playerFromCharacter(vCharacter) local hum = vCharacter:findFirstChild("Humanoid") -- non-nil if tool held by a character if humanoid~=nil and humanoid ~= hum and hum ~= nil then -- final check, make sure sword is in-hand
local right_arm = vCharacter:FindFirstChild("Right Arm") if (right_arm ~= nil) then local joint = right_arm:FindFirstChild("RightGrip") if (joint ~= nil and (joint.Part0 == sword or joint.Part1 == sword)) then tagHumanoid(humanoid, vPlayer) if (isTurbo(vCharacter) == true) then humanoid:TakeDamage(damage * 1.5)
|
|
|
| Report Abuse |
|
|
HMAX12
|
  |
| Joined: 25 Jul 2009 |
| Total Posts: 32693 |
|
| |
|
| |
|
captain26
|
  |
| Joined: 11 Sep 2009 |
| Total Posts: 3226 |
|
| |
|