I need to know how to convert a r6 tool to r15. I am very bad and crap at scripting. I tried replacing torso with upper right arm or upperleft arm because shoulder is in both of them.but I dont know what I am doing wrong.
local enabled = true
Player = script.Parent.Parent.Parent
Mouse = Player:GetMouse()
run = game:GetService("RunService")
function onActivated()
if script.Parent.Active then
if not enabled then return end
enabled = false
game:GetService("Chat"):Chat(Player.Character.Head, "Water Style: Water Shark Bomb Jutsu!")
local RightShoulder = Player.Character.Torso["Right Shoulder"]
local LeftShoulder = Player.Character.Torso["Left Shoulder"]
local Run = game:GetService("RunService")
for i = 1, 3 do
for i = 1, 10 do
LeftShoulder.C0 = LeftShoulder.C0 *CFrame.Angles(0, 0, -0.16)
RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0, 0, 0.16)
RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0, 0.1, 0)
LeftShoulder.C0 = LeftShoulder.C0 *CFrame.Angles(0, -0.1, 0)
Run.Stepped:wait(0.01)
end
for i = 1, 10 do
LeftShoulder.C0 = LeftShoulder.C0 *CFrame.Angles(0, 0.1, 0)
LeftShoulder.C0 = LeftShoulder.C0 *CFrame.Angles(0, 0, 0.16)
RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0, -0.1, 0)
RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0, 0, -0.16)
Run.Stepped:wait(0.01)
end
end
local x = Instance.new("Part")
x.BrickColor = BrickColor.new("Bright blue")
x.Shape = "Ball"
x.Size = Vector3.new(1, 1, 1)
x.Name = Player.Name
x.TopSurface = "Smooth"
x.BottomSurface = "Smooth"
x.CanCollide = false
fd = script.Firedamage:clone()
fd.Parent = x
x.Transparency = 0.7
a = Instance.new("SpecialMesh", x)
a.MeshId = "http://www.roblox.com/asset/?id=441221710"
a.Parent = x
a.Scale = Vector3.new(1, 1, 1)
y = Instance.new("BodyVelocity")
y.maxForce = Vector3.new(math.huge, math.huge, math.huge)
y.velocity = Player.Character.Torso.CFrame.lookVector*80
x.Parent = game.Workspace
y.Parent = x
fd.Disabled = false
x.CFrame = Player.Character.Torso.CFrame*CFrame.new(0, 0, -12)
game.Debris:AddItem(x, 6)
p = Instance.new("ParticleEmitter")
color1 = Color3.new(84, 161, 168)
color2 = Color3.new(84, 161, 168)
p.Color = ColorSequence.new(color1,color2)
p.Texture = "rbxassetid://292289455"
p.LightEmission = 0
n1 = 10
n2 = 10
p.Size = NumberSequence.new(n1,n2)
p.Lifetime = NumberRange.new(.6, .6)
p.Rotation = NumberRange.new(0)
p.RotSpeed = NumberRange.new(15)
p.Rate = 500
p.Speed = NumberRange.new(40)
p.Parent = x
wait(2)
enabled = true
script.Disabled = true
wait(33)
script.Disabled = false
end
end
Mouse.Button1Down:connect(onActivated)

1 comment
Thank you!