~~~~~~~~~~~~~~~~~ --In Local Script

Player = game.Players.LocalPlayer

Mouse = Player:GetMouse()

C = Player.Character

Ammo = 1

RS = C.Torso ["Right Shoulder"]

LS = C.Torso ["Left Shoulder"]

Mouse.KeyDown:Connect(function(key,Ammo,RS,LS) key = key:lower()

game.Workspace.RemoteEvent:FireServer(key)

end)

while true do

if Ammo == 0 then

wait(15)

Ammo = 1

end

wait(0.1)

end

--What I put in Server Script

script.Parent.RemoteEvent.OnServerEvent:connect(function(key,Ammo,RS,LS,Player) if key == "h" and Ammo > 0 then local x = Instance.new("Part") Ammo = Ammo - 1 x.Shape = "Ball" x.BrickColor = BrickColor.new("Bright red")
x.Transparency = 0 x.TopSurface = "Smooth" x.BottomSurface = "Smooth" x.CanCollide = false x.Material = "Neon" x.Size = Vector3.new(2,2,2) x.Anchored = true x.CFrame = Player.Character.Torso.CFrame * CFrame.new(0,0,-14) local v = Instance.new("BodyVelocity",x) v.velocity = Player.Character.Torso.CFrame.lookVector * 90

   v.maxForce = Vector3.new(math.huge,math.huge,math.huge)

local S = game.StarterPack["Dai Enki!"] S.Disabled = false S.Parent = x for i = 1,10 do RS.C0 = RS.C0 * CFrame.Angles(0,0,0.3) LS.C0 = LS.C0 * CFrame.Angles(0,0,-0.3) wait(0.005)

end script.Parent.Parent.Character.Torso.Anchored = true x.Parent = workspace x.Size = Vector3.new(3,3,3) wait(0.05) x.Size = Vector3.new(4,4,4) wait(0.05) x.Size = Vector3.new(5,5,5) wait(0.05) x.Size = Vector3.new(6,6,6) wait(0.05) x.Size = Vector3.new(7,7,7) wait(0.05) x.Size = Vector3.new(8,8,8) wait(0.05) x.Size = Vector3.new(9,9,9) wait(0.05) x.Size = Vector3.new(10,10,10) wait(0.05) x.Size = Vector3.new(11,11,11) wait(0.05) x.Size = Vector3.new(12,12,12) wait(0.05) x.Size = Vector3.new(13,13,13) wait(0.05) x.Size = Vector3.new(14,14,14) wait(0.05) x.Size = Vector3.new(15,15,15) wait(0.05) x.Size = Vector3.new(16,16,16) wait(0.05) x.Size = Vector3.new(17,17,17) wait(0.05) x.Size = Vector3.new(18,18,18) wait(0.05) x.Size = Vector3.new(19,19,19) wait(0.05) x.Size = Vector3.new(20,20,20) wait(0.05) x.Size = Vector3.new(21,21,21) wait(0.05) x.Size = Vector3.new(22,22,22) wait(0.05) x.Size = Vector3.new(23,23,23) wait(0.05) x.Size = Vector3.new(24,24,24) wait(0.05) x.Size = Vector3.new(25,25,25) wait(0.1)

x.Anchored = false

script.Parent.Parent.Character.Torso.Anchored = false

for i = 1,10 do RS.C0 = RS.C0 * CFrame.Angles(0,0,-0.3) LS.C0 = LS.C0 * CFrame.Angles(0,0,0.3) wait(0.005) end

   wait(2)

   x:remove()
	end

end)

`
--------

Before you ask yes, I do have a RemoteEvent. In my workspace, please help ASAP.
`

3 comments

0

Script is messed up I do not know how to make it look like code.

0

Tabs screw stuff up for me, maybe it is that? After you make this more readable, I can help!

0

.-. How does that work like executing parts with filtered enabled and making other people see i don't understand.