Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local name = "aaronremmers14"
- local me = game.Players.aaronremmers14
- local char = me.Character
- selected = false
- attacking = false
- attack = false
- dela = 0.4
- normdmg = 9
- avgdmg = normdmg
- normal = 14
- speed = 14
- normchance = 9333333333333
- criticalchance = normchance
- splashdist = 14333333333333333333333333333333333333333333333333
- plat = 1
- healcols = {"Bright blue", "Light blue", "Medium blue", "White"}
- if char:findFirstChild("Sword",true) ~= nil then
- char:findFirstChild("Sword",true).Parent = nil
- end
- function prop(part, parent, collide, tran, ref, x, y, z, color, anchor, form)
- part.Parent = parent
- part.formFactor = form
- part.CanCollide = collide
- part.Transparency = tran
- part.Reflectance = ref
- part.Size = Vector3.new(x,y,z)
- part.BrickColor = BrickColor.new(color)
- part.TopSurface = 0
- part.BottomSurface = 0
- part.Anchored = anchor
- part.Locked = true
- part:BreakJoints()
- end
- function weld(w, p, p1, a, b, c, x, y, z)
- w.Parent = p
- w.Part0 = p
- w.Part1 = p1
- w.C1 = CFrame.fromEulerAnglesXYZ(a,b,c) * CFrame.new(x,y,z)
- end
- function mesh(mesh, parent, x, y, z, type)
- mesh.Parent = parent
- mesh.Scale = Vector3.new(x, y, z)
- mesh.MeshType = type
- end
- function getcharparts(path)
- local objs = {}
- for _,v in pairs(path:children()) do
- if v:IsA("Model") and v.Name ~= name then
- for _,k in pairs(v:children()) do
- if k.Name == "Torso" then
- table.insert(objs,k)
- end
- end
- end
- end
- return objs
- end
- sword = Instance.new("Model",me.Character)
- sword.Name = "Sword"
- --Parts-------------------------Parts-------------------------Parts-------------------------Parts----------------------
- rarm = char:findFirstChild("Right Arm")
- larm = char:findFirstChild("Left Arm")
- torso = char:findFirstChild("Torso")
- hum = char:findFirstChild("Humanoid")
- main = Instance.new("Part")
- prop(main, sword, false, 0, 0, 0.38, 2.2, 0.38, "White", false, "Custom")
- mme = Instance.new("SpecialMesh")
- mesh(mme,main,1,1,1,"Head")
- part1 = Instance.new("Part")
- prop(part1, sword, false, 0, 0, 0.7, 0.45, 0.4, "Medium blue", false, "Custom")
- p1m = Instance.new("BlockMesh",part1)
- w1 = Instance.new("Weld")
- weld(w1, main, part1, 0, 0, 0, 0, 0.9, 0)
- part2 = Instance.new("Part")
- prop(part2, sword, false, 0, 0, 0.7, 0.45, 0.4, "Medium blue", false, "Custom")
- p2m = Instance.new("BlockMesh",part2)
- w2 = Instance.new("Weld")
- weld(w2, main, part2, 0, 0, 0.8, 0.5, 0.85, 0)
- part3 = Instance.new("Part")
- prop(part3, sword, false, 0, 0, 0.7, 0.45, 0.4, "Medium blue", false, "Custom")
- p3m = Instance.new("BlockMesh",part3)
- w3 = Instance.new("Weld")
- weld(w3, main, part3, 0, 0, -0.8, -0.5, 0.85, 0)
- part4 = Instance.new("Part")
- prop(part4, sword, false, 0, 0, 1.3, 0.45, 0.4, "Medium blue", false, "Custom")
- p4m = Instance.new("BlockMesh",part4)
- w4 = Instance.new("Weld")
- weld(w4, main, part4, 0, 0, -1.25, 0.8, 1, 0)
- part5 = Instance.new("Part")
- prop(part5, sword, false, 0, 0, 1.3, 0.45, 0.4, "Medium blue", false, "Custom")
- p5m = Instance.new("BlockMesh",part5)
- w5 = Instance.new("Weld")
- weld(w5, main, part5, 0, 0, 1.25, -0.8, 1, 0)
- part6 = Instance.new("Part")
- prop(part6, sword, false, 0, 0, 0.45, 0.6, 0.45, "Light blue", false, "Custom")
- p6m = Instance.new("SpecialMesh")
- mesh(p6m,part6,1.3,1.2,1.3,"Sphere")
- w6 = Instance.new("Weld")
- weld(w6, main, part6, 0, 0, 0, 0, -0.9, 0)
- blade1 = Instance.new("Part")
- prop(blade1, sword, false, 0, 0.2, 0.85, 2, 0.1, "Light blue", false, "Custom")
- b1m = Instance.new("SpecialMesh")
- mesh(b1m,blade1,1,1,1,"Torso")
- bw1 = Instance.new("Weld")
- weld(bw1, main, blade1, 0, 0, 0, 0, 2, 0)
- uns = Instance.new("Sound",blade1)
- uns.Volume = 1
- uns.Pitch = 1
- uns.SoundId = "rbxasset://sounds\\unsheath.wav"
- slash = Instance.new("Sound",blade1)
- slash.Volume = 1
- slash.Pitch = 1
- slash.SoundId = "rbxasset://sounds\\swordslash.wav"
- shea = Instance.new("Sound",blade1)
- shea.Volume = 1
- shea.Pitch = -0.9
- shea.SoundId = "rbxasset://sounds\\unsheath.wav"
- spi = Instance.new("Sound",blade1)
- spi.Volume = 1
- spi.Pitch = 1
- spi.SoundId = "http://www.roblox.com/asset/?id=28144268"
- charge = Instance.new("Sound",blade1)
- charge.Volume = 1
- charge.Pitch = 0.5
- charge.SoundId = "http://www.roblox.com/asset/?id=2692844"
- boom = Instance.new("Sound",blade1)
- boom.Volume = 1
- boom.Pitch = 2.2
- boom.SoundId = "rbxasset://sounds\\Rocket shot.wav"
- blade2 = Instance.new("Part")
- prop(blade2, sword, false, 0, 0.2, 1.2, 1.2, 0.1, "Light blue", false, "Custom")
- b2m = Instance.new("BlockMesh",blade2)
- bw2 = Instance.new("Weld")
- weld(bw2, main, blade2, 0, 0, math.pi/4, 0, 3, 0)
- blade3 = Instance.new("Part")
- prop(blade3, sword, false, 0, 0.2, 0.1, 4.5, 0.6, "Light blue", false, "Custom")
- b3m = Instance.new("SpecialMesh")
- mesh(b3m,blade3,1,1,1,"Wedge")
- bw3 = Instance.new("Weld")
- weld(bw3, main, blade3, math.pi, math.pi/2, 0, 0.3, 5.2, 0)
- blade4 = Instance.new("Part")
- prop(blade4, sword, false, 0, 0.2, 0.1, 4.5, 0.6, "Light blue", false, "Custom")
- b4m = Instance.new("SpecialMesh")
- mesh(b4m,blade4,1,1,1,"Wedge")
- bw4 = Instance.new("Weld")
- weld(bw4, main, blade4, math.pi, -math.pi/2, 0, -0.3, 5.2, 0)
- blade5 = Instance.new("Part")
- prop(blade5, sword, false, 0, 0.2, 0.6, 0.6, 0.1, "Light blue", false, "Custom")
- b5m = Instance.new("BlockMesh",blade5)
- bw5 = Instance.new("Weld")
- weld(bw5, main, blade5, 0, 0, math.pi/4, 0, 6.6, 0)
- part7 = Instance.new("Part")
- prop(part7, sword, false, 0.2, 0.2, 0.7, 1.6, 0.22, "Medium blue", false, "Custom")
- p7m = Instance.new("SpecialMesh")
- mesh(p7m,part7,1.3,1.2,1.3,"Sphere")
- w7 = Instance.new("Weld")
- weld(w7, main, part7, 0, 0, 0, 0, 3, 0)
- tup1 = Instance.new("Part")
- prop(tup1, sword, false, 0, 0.4, 1.2, 0.7, 0.4, "Bright blue", false, "Custom")
- tw1 = Instance.new("Weld")
- weld(tw1, torso, tup1, -0.3+(math.pi/2), -0.3, 0.2+(math.pi/2), 1.1, 1.2, 0)
- holdpart = Instance.new("Part")
- prop(holdpart, char, false, 1, 0, 0.5, 0.5, 0.5, "White", false, "Custom")
- hu = Instance.new("Weld")
- weld(hu, rarm, holdpart, 0, 0, 0, 0, 1, 0)
- holdweld = Instance.new("Weld")
- weld(holdweld, main, tup1, 0, 0, 0, 0, 1.5, 0)
- weaponweld = Instance.new("Weld")
- weld(weaponweld, holdpart, nil, -(math.pi/2), 0, (math.pi/2), 0, 0, 0)
- --Arm connections----------Arm connections----------Arm connections----------Arm connections--------
- rb = Instance.new("Part")
- prop(rb, char, false, 1, 0, 1, 1, 1, "White", false, "Symmetric")
- rh = Instance.new("Weld")
- weld(rh, rb, torso, 0, 0, 0, 1.5, 0.5, 0)
- lb = Instance.new("Part")
- prop(lb, char, false, 1, 0, 1, 1, 1, "White", false, "Symmetric")
- lh = Instance.new("Weld")
- weld(lh, lb, torso, 0, 0, 0, -1.5, 0.5, 0)
- rw = Instance.new("Weld")
- weld(rw, rb, nil, 0, 0, 0, 0, 0.5, 0)
- lw = Instance.new("Weld")
- weld(lw, lb, nil, 0, 0, 0, 0, 0.5 ,0)
- neck = torso.Neck
- neor = neck.C1
- rightfight = CFrame.fromEulerAnglesXYZ(0.85,0.7,0) * CFrame.new(-0.23,-0.25,-0.1)
- leftfight = CFrame.fromEulerAnglesXYZ(0.3,0,0.4) * CFrame.new(0.2,-0.4,0.1)
- function selectmotion()
- weaponweld.C0 = CFrame.new(0,0,0)
- rw.C0 = CFrame.new(0,0,0)
- lw.C0 = CFrame.new(0,0,0)
- rw.Part1 = rarm
- lw.Part1 = larm
- for i=1, 15 do
- neck.C1 = neck.C1 * CFrame.fromEulerAnglesXYZ(-0.04,0,-0.07) * CFrame.new(0,0,0)
- rw.C0 = rw.C0 * CFrame.fromEulerAnglesXYZ(0.07,0.16,0.04) * CFrame.new(-0.01,-0.05,-0.04)
- lw.C0 = lw.C0 * CFrame.fromEulerAnglesXYZ(0.04,0.08,0.01) * CFrame.new(0,0,0)
- wait()
- end
- weaponweld.Part1 = main
- holdweld.Part1 = nil
- wait(0.14)
- uns:play()
- for i=1, 4 do
- neck.C1 = neck.C1 * CFrame.fromEulerAnglesXYZ(0.05,0,0.03) * CFrame.new(0,0,0)
- rw.C0 = rw.C0 * CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0.12,-0.03,0.26)
- lw.C0 = lw.C0 * CFrame.fromEulerAnglesXYZ(-0.05,0.04,0.03) * CFrame.new(0,0,0)
- wait()
- end
- for i=1, 10 do
- neck.C1 = neck.C1 * CFrame.fromEulerAnglesXYZ(0,0,0.15) * CFrame.new(0,0,0)
- rw.C0 = rw.C0 * CFrame.fromEulerAnglesXYZ(-0.15,-0.22,0.1) * CFrame.new(0.05,0.1,0.05)
- weaponweld.C0 = weaponweld.C0 * CFrame.fromEulerAnglesXYZ(-0.1,0,0) * CFrame.new(0,0.07,0)
- lw.C0 = lw.C0 * CFrame.fromEulerAnglesXYZ(-0.04,0.06,0.03) * CFrame.new(0,0,0)
- wait()
- end
- bw5 = Instance.new("Weld")
- weld(bw5, main, blade5, 0, 0, math.pi/4, 0, 6.6, 0)
- part7 = Instance.new("Part")
- prop(part7, sword, false, 0.2, 0.2, 0.7, 1.6, 0.22, "Medium blue", false, "Custom")
- p7m = Instance.new("SpecialMesh")
- mesh(p7m,part7,1.3,1.2,1.3,"Sphere")
- w7 = Instance.new("Weld")
- weld(w7, main, part7, 0, 0, 0, 0, 3, 0)
- tup1 = Instance.new("Part")
- prop(tup1, sword, false, 0, 0.4, 1.2, 0.7, 0.4, "Bright blue", false, "Custom")
- tw1 = Instance.new("Weld")
- weld(tw1, torso, tup1, -0.3+(math.pi/2), -0.3, 0.2+(math.pi/2), 1.1, 1.2, 0)
- holdpart = Instance.new("Part")
- prop(holdpart, char, false, 1, 0, 0.5, 0.5, 0.5, "White", false, "Custom")
- hu = Instance.new("Weld")
- weld(hu, rarm, holdpart, 0, 0, 0, 0, 1, 0)
- holdweld = Instance.new("Weld")
- weld(holdweld, main, tup1, 0, 0, 0, 0, 1.5, 0)
- weaponweld = Instance.new("Weld")
- weld(weaponweld, holdpart, nil, -(math.pi/2), 0, (math.pi/2), 0, 0, 0)
- --Arm connections----------Arm connections----------Arm connections----------Arm connections--------
- rb = Instance.new("Part")
- prop(rb, char, false, 1, 0, 1, 1, 1, "White", false, "Symmetric")
- rh = Instance.new("Weld")
- weld(rh, rb, torso, 0, 0, 0, 1.5, 0.5, 0)
- lb = Instance.new("Part")
- prop(lb, char, false, 1, 0, 1, 1, 1, "White", false, "Symmetric")
- lh = Instance.new("Weld")
- weld(lh, lb, torso, 0, 0, 0, -1.5, 0.5, 0)
- rw = Instance.new("Weld")
- weld(rw, rb, nil, 0, 0, 0, 0, 0.5, 0)
- lw = Instance.new("Weld")
- weld(lw, lb, nil, 0, 0, 0, 0, 0.5 ,0)
- neck = torso.Neck
- neor = neck.C1
- rightfight = CFrame.fromEulerAnglesXYZ(0.85,0.7,0) * CFrame.new(-0.23,-0.25,-0.1)
- leftfight = CFrame.fromEulerAnglesXYZ(0.3,0,0.4) * CFrame.new(0.2,-0.4,0.1)
- function selectmotion()
- weaponweld.C0 = CFrame.new(0,0,0)
- rw.C0 = CFrame.new(0,0,0)
- lw.C0 = CFrame.new(0,0,0)
- rw.Part1 = rarm
- lw.Part1 = larm
- for i=1, 15 do
- neck.C1 = neck.C1 * CFrame.fromEulerAnglesXYZ(-0.04,0,-0.07) * CFrame.new(0,0,0)
- rw.C0 = rw.C0 * CFrame.fromEulerAnglesXYZ(0.07,0.16,0.04) * CFrame.new(-0.01,-0.05,-0.04)
- lw.C0 = lw.C0 * CFrame.fromEulerAnglesXYZ(0.04,0.08,0.01) * CFrame.new(0,0,0)
- wait()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement